mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Merge pull request #187 from neilalexander/sessionfirewall
Add session firewall
This commit is contained in:
commit
ba8af20817
7 changed files with 125 additions and 2 deletions
|
@ -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{}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue