Browse Source

Check if everything is pishjed

Toby Chui 9 months ago
parent
commit
f8b2885f98
6 changed files with 40 additions and 10 deletions
  1. 0 9
      build/release.sh
  2. 10 0
      build/update_acmedns.sh
  3. BIN
      docs/mockup.png
  4. BIN
      docs/mockup.psd
  5. 3 1
      mod/tcpprox/tcpprox.go
  6. 27 0
      system/gomod-license.csv

+ 0 - 9
build/release.sh

@@ -1,14 +1,5 @@
 # /bin/sh
 
-# Build the acmedns
-echo "Building ACMEDNS"
-cd ../tools/provider_config_updater/
-./update.sh
-cd ../../
-
-cp ./tools/provider_config_updater/acmedns/acmedns.go ./mod/acme/acmedns/acmedns.go
-cp ./tools/provider_config_updater/acmedns/providers.json ./mod/acme/acmedns/providers.json
-
 # Create a dist version of the system
 #cd ../../
 

+ 10 - 0
build/update_acmedns.sh

@@ -0,0 +1,10 @@
+# /bin/sh
+
+# Build the acmedns
+echo "Building ACMEDNS"
+cd ../tools/provider_config_updater/
+./update.sh
+cd ../../
+
+cp ./tools/provider_config_updater/acmedns/acmedns.go ./mod/acme/acmedns/acmedns.go
+cp ./tools/provider_config_updater/acmedns/providers.json ./mod/acme/acmedns/providers.json

BIN
docs/mockup.png


BIN
docs/mockup.psd


+ 3 - 1
mod/tcpprox/tcpprox.go

@@ -3,6 +3,7 @@ package tcpprox
 import (
 	"errors"
 	"net"
+	"sync"
 	"sync/atomic"
 
 	"github.com/google/uuid"
@@ -59,7 +60,8 @@ type Manager struct {
 	Configs []*ProxyRelayConfig
 
 	//Realtime Statistics
-	Connections int //currently connected connect counts
+	Connections  int      //currently connected connect counts
+	UDPClientMap sync.Map //map storing the UDP client-server connections
 }
 
 func NewTCProxy(options *Options) *Manager {

+ 27 - 0
system/gomod-license.csv

@@ -0,0 +1,27 @@
+github.com/aymerick/douceur,https://github.com/aymerick/douceur/blob/v0.2.0/LICENSE,MIT
+github.com/boltdb/bolt,https://github.com/boltdb/bolt/blob/v1.3.1/LICENSE,MIT
+github.com/cenkalti/backoff,https://github.com/cenkalti/backoff/blob/v2.2.1/LICENSE,MIT
+github.com/cenkalti/backoff/v4,https://github.com/cenkalti/backoff/blob/v4.3.0/LICENSE,MIT
+github.com/go-acme/lego/v4,https://github.com/go-acme/lego/blob/v4.16.1/LICENSE,MIT
+github.com/go-jose/go-jose/v4,https://github.com/go-jose/go-jose/blob/v4.0.1/LICENSE,Apache-2.0
+github.com/go-jose/go-jose/v4/json,https://github.com/go-jose/go-jose/blob/v4.0.1/json\LICENSE,BSD-3-Clause
+github.com/go-ping/ping,https://github.com/go-ping/ping/blob/v1.1.0/LICENSE,MIT
+github.com/google/uuid,https://github.com/google/uuid/blob/v1.6.0/LICENSE,BSD-3-Clause
+github.com/gorilla/css/scanner,https://github.com/gorilla/css/blob/v1.0.1/LICENSE,BSD-3-Clause
+github.com/gorilla/securecookie,https://github.com/gorilla/securecookie/blob/v1.1.2/LICENSE,BSD-3-Clause
+github.com/gorilla/sessions,https://github.com/gorilla/sessions/blob/v1.2.2/LICENSE,BSD-3-Clause
+github.com/gorilla/websocket,https://github.com/gorilla/websocket/blob/v1.5.1/LICENSE,BSD-3-Clause
+github.com/grandcat/zeroconf,https://github.com/grandcat/zeroconf/blob/v1.0.0/LICENSE,MIT
+github.com/likexian/whois,https://github.com/likexian/whois/blob/v1.15.1/LICENSE,Apache-2.0
+github.com/microcosm-cc/bluemonday,https://github.com/microcosm-cc/bluemonday/blob/v1.0.26/LICENSE.md,BSD-3-Clause
+github.com/miekg/dns,https://github.com/miekg/dns/blob/v1.1.58/LICENSE,BSD-3-Clause
+golang.org/x/crypto,https://cs.opensource.google/go/x/crypto/+/v0.21.0:LICENSE,BSD-3-Clause
+golang.org/x/net,https://cs.opensource.google/go/x/net/+/v0.23.0:LICENSE,BSD-3-Clause
+golang.org/x/sync/errgroup,https://cs.opensource.google/go/x/sync/+/v0.6.0:LICENSE,BSD-3-Clause
+golang.org/x/sys/windows,https://cs.opensource.google/go/x/sys/+/v0.18.0:LICENSE,BSD-3-Clause
+golang.org/x/text,https://cs.opensource.google/go/x/text/+/v0.14.0:LICENSE,BSD-3-Clause
+imuslab.com/zoraxy,Unknown,MIT
+imuslab.com/zoraxy/mod/dynamicproxy/dpcore,Unknown,MIT
+imuslab.com/zoraxy/mod/forwardproxy/cproxy,Unknown,MIT
+imuslab.com/zoraxy/mod/reverseproxy,Unknown,MIT
+imuslab.com/zoraxy/mod/websocketproxy,Unknown,MIT