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
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
6 changed files with 103 additions and 2 deletions

View file

@ -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()