4
0
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:
Neil Alexander
2018-10-07 17:13:41 +01:00
parent 401960e17e
commit 2e2c58bfef
6 changed files with 103 additions and 2 deletions

View File

@@ -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{}
}