OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
Find a file
Gustavo Iñiguez Goia 785500cd08
clean dns ebpf hooks on exit
We were not reacting to common exit signals, only to kill/interrupt
signals, so the DNS uprobes were never properly removed. Each uprobe
has the PID of the daemon in the identifier, so in theory, there
shouldn't be conflicts, but better clean our probes on exit.

previous to this commit with the daemon running
(and lot of starts/stops):

~ # cat /sys/kernel/debug/tracing/uprobe_events |wc -l
367

after stopping the daemon:
~ # cat /sys/kernel/debug/tracing/uprobe_events |wc -l
364

~ # > /sys/kernel/debug/tracing/uprobe_events
~ # cat /sys/kernel/debug/tracing/uprobe_events |wc -l
0

~ # cp opensnitchd-new /usr/bin/opensnitchd ; service opensnitchd start
~ # cat /sys/kernel/debug/tracing/uprobe_events |wc -l
3
~ # service opensnitchd stop
~ # cat /sys/kernel/debug/tracing/uprobe_events |wc -l
0
2024-01-28 01:10:00 +01:00
.github ci: use go1.20 compiler 2023-10-23 20:32:29 +02:00
daemon clean dns ebpf hooks on exit 2024-01-28 01:10:00 +01:00
ebpf_prog on aarch64 send exec events directly to userspace 2024-01-26 20:58:07 +01:00
proto rules: improved operator list parsing and conversion 2023-10-09 14:55:15 +02:00
screenshots added more screenshots 2020-02-25 22:39:32 +01:00
ui ui:use appimages pattern as default target if found 2024-01-22 12:54:10 +01:00
utils rpm pkgs: changed autostart path 2023-11-29 22:54:02 +01:00
.gitignore misc 2023-07-23 22:29:47 +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 addded donations section 2023-06-12 16:19:10 +02: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 Packaging status

OpenSnitch is a GNU/Linux application firewall.

•• Key FeaturesDownloadInstallationUsage examplesIn the press ••

OpenSnitch

Key features

Download

Download deb/rpm packages for your system from https://github.com/evilsocket/opensnitch/releases

Installation

deb

$ sudo apt install ./opensnitch*.deb ./python3-opensnitch-ui*.deb

rpm

$ sudo yum localinstall opensnitch-1*.rpm; sudo yum localinstall opensnitch-ui*.rpm

Then run: $ opensnitch-ui or launch the GUI from the Applications menu.

Please, refer to the documentation for detailed information.

OpenSnitch in action

Examples of OpenSnitch intercepting unexpected connections:

https://github.com/evilsocket/opensnitch/discussions/categories/show-and-tell

Have you seen a connection you didn't expect? submit it!

In the press

Donations

If you find OpenSnitch useful and want to donate to the dedicated developers, you can do it from the Sponsor this project section on the right side of this repository.

You can see here who are the current maintainers of OpenSnitch: https://github.com/evilsocket/opensnitch/commits/master

Contributors

See the list

Translating

Translation status