Fork of evilsocket/opensnitch (maintained)
  • Python 57.8%
  • Go 31.1%
  • C 10.1%
  • Shell 0.7%
  • Makefile 0.3%
Find a file
Gustavo Iñiguez Goia 479b8ded59
Some checks failed
Build status / Build (push) Has been cancelled
improved connections parsing
Under certain conditions, when we dumped inodes via netlink, we were
linking network connections to wrong applications.

- To improve this situation:

1) Use netfilter's UID by default:
   Sometimes the UID reported via netlink was different than the one
   reported by libnetfilter. libnetfilter UID is always correct.
   If you had a rule that filtered by UID, this problem could cause to
   prompt you again to allow the connection.

2) Use the netlink entry that matches exactly the properties of an
   outgoing connection:
   There're some in-kernel sockets that doesn't match 1:1 outgoing
   connections (daemon/netlink/socket.go#L22).
   In order to identify the applications that initiate these network
   connections we use a workaround. But under certain conditions
   (source port reuse), we were associating connections to wrong
   applications.
   So in order to avoid this problem, if there's a 1:1 match use that
   netlink entry. If not, fallback to the workaround.

- misc: added more logs to better debug these issues.
2021-11-15 13:26:52 +01:00
.github Create feature-request.md 2021-10-06 23:54:37 +02:00
daemon improved connections parsing 2021-11-15 13:26:52 +01:00
debian Bump versions to v1.5.0rc1 2021-10-19 12:00:22 +02:00
ebpf_prog Allow to intercept more kernel connections (#513) 2021-09-23 01:44:12 +02:00
proto updated protoc command to generate the protobuffer 2021-10-06 11:10:57 +02:00
screenshots added more screenshots 2020-02-25 22:39:32 +01:00
ui set prompt width and height after initial display; set prompt minimum and maximum size using initial width and height values 2021-11-04 09:41:08 -04:00
utils added script to update ads lists, old script relocated. 2021-07-17 00:41:13 +02:00
.gitignore misc: small fix or general refactoring i did not bother commenting 2018-04-16 17:51:54 +02:00
LICENSE Update LICENSE 2020-06-20 17:48:59 +02:00
Makefile makefile: 2021-02-13 18:48:49 +03:00
README.md fixed urls 2021-02-15 11:03:18 +01:00
release.sh misc: small fix or general refactoring i did not bother commenting 2018-04-10 19:49:58 +02:00

opensnitch

Release Software License Go Report Card

OpenSnitch is a GNU/Linux application firewall.

OpenSnitch

Installation and configuration

Please, refer to the documentation for detailed information.

Contributors

See the list