4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-09-15 05:02:32 +00:00

Merge pull request #187 from neilalexander/sessionfirewall

Add session firewall
This commit is contained in:
Arceliar
2018-10-08 18:41:15 -05:00
committed by GitHub
7 changed files with 125 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{}
}