mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Add session firewall (extra security for controlling traffic flow to/from a given node)
This commit is contained in:
parent
401960e17e
commit
2e2c58bfef
6 changed files with 103 additions and 2 deletions
|
@ -164,7 +164,7 @@ func (iface *tcpInterface) call(saddr string, socksaddr *string, sintf string) {
|
|||
if err != nil {
|
||||
return
|
||||
} else {
|
||||
if ief.Flags & net.FlagUp == 0 {
|
||||
if ief.Flags&net.FlagUp == 0 {
|
||||
return
|
||||
}
|
||||
addrs, err := ief.Addrs()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue