mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
netlink: exclude connections with invalid inode
This commit is contained in:
parent
c51d9542ae
commit
d6af47813e
1 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,9 @@ func SocketGet(family uint8, proto uint8, srcPort, dstPort uint16, local, remote
|
|||
s.ID.SourcePort, s.ID.Source, s.ID.Destination, s.ID.DestinationPort)
|
||||
continue
|
||||
}
|
||||
if s.INode == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
sock = append([]*Socket{s}, sock...)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue