-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglob.go
More file actions
45 lines (37 loc) · 982 Bytes
/
glob.go
File metadata and controls
45 lines (37 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package main
import (
"net"
"sync"
"time"
)
var (
serverID int
tunnelServerAddress string
clientAddress string
forwardedPorts []int
forwardedPortsNames []string
listeners []*net.UDPConn
batchingMicroseconds int
compressionLevel int = 1
reservedValueA int
reservedValueB int
debugLog, verboseDebug bool
ephemeralTop int = 1
ephemeralIDRecycle []int
ephemeralIDRecycleLen int
ephemeralSessionsTotal int
ephemeralPeak int
startTime time.Time
bytesInTotal int64
bytesOutTotal int64
serverListUpdaterOnce sync.Once
tunnelRunLock sync.Mutex
tunnelRunning bool
ephemeralIDMap map[int]*ephemeralData = map[int]*ephemeralData{}
ephemeralPortMap map[string]*ephemeralData = map[string]*ephemeralData{}
ephemeralLock sync.Mutex
publicMode bool
publicClientFlag string
version string
notFirstConnect bool
)