mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-09-15 05:02:32 +00:00
Add session firewall (extra security for controlling traffic flow to/from a given node)
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
type peers struct {
|
||||
core *Core
|
||||
mutex sync.Mutex // Synchronize writes to atomic
|
||||
ports atomic.Value //map[Port]*peer, use CoW semantics
|
||||
ports atomic.Value //map[switchPort]*peer, use CoW semantics
|
||||
authMutex sync.RWMutex
|
||||
allowedEncryptionPublicKeys map[boxPubKey]struct{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user