mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
remove session firewall, this can't prevent memory use so it's better to just use OS native tools
This commit is contained in:
parent
838bca083d
commit
e7da3d72c4
5 changed files with 3 additions and 100 deletions
|
@ -116,9 +116,6 @@ func (tun *TunAdapter) write() {
|
|||
continue // bad local address/subnet
|
||||
}
|
||||
info := tun.store.update(ed25519.PublicKey(from.(iwt.Addr)))
|
||||
if info == nil {
|
||||
continue // Blocked by the gatekeeper
|
||||
}
|
||||
if srcAddr != info.address && srcSubnet != info.subnet {
|
||||
continue // bad remote address/subnet
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue