mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
![]() Sometimes when querying the kernel for a given connection, the inode of the connection is 0, i.e.: invalid (or not yet valid). In these cases we search for the connection in /proc/net/. It turns out that some connections are found in netstat but the inode is still 0, and we were accepting them erronously. As a result, when looking for the inode under /proc we didn't find it, so an "Unknown process" dialog was shown to the user. Discarding this type of connections avoids unknown process dialogs when using Epiphany in particular. It retries to establish the connection several times, and finally we're able to find the PID of the process. |
||
---|---|---|
.. | ||
connection.go |