-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ping is blocked #1194
Comments
I think I found a solution! I uninstalled (purged) it. Can the version in Debian's repository be updated to this one, that seems to work? BTW, the uninstall (purge) command probably doesn't work correctly, at least as I expected it, by removing not only the rules, but also the settings that I previously made and the tab that I have selected last time I had it open. |
hey @Danny3 !
This may be the reason of the issue. Check where is the And see if the path is added to $PATH.
If I'm still on time to do it yes. I haven't had all the free time I expected this year. |
whereis iptables, gives this output (without or with sudo): command -v iptables gives no (empty) output (without sudo) I even tried logging in as root with this command: And then rand the both commands, which for the first it gave me the same: sudo command -v iptables gives this output: I logged out from the root account and I rant this command too: BTW echo $PATH, gives this output: Any idea how the firewall downloaded from here works without the iptables package being installed and the one from Debian's repository doesn't? Thank you very much (sorry for the delay in response)! |
With your current configuration yes. You'll have "Firewall: iptables" in your /etc/opensnitchd/default-config.json
I think that it used to be installed by default on all distros, so probably that's why it's not added as dependency.
Version v1.6.x works without iptables, because by default we use nftables. For nftables we don't rely in any system binary, we add/remove rules directly to the kernel with a lib. Try changing "Firewall: iptables" to "Firewall: nftables", I think it should work. |
The 'ping' command is blocked
I was trying to ping another computer on my LAN with the following command:
ping 192.168.1.2
Which gave this output:
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
Here the above message stays unchanged for a long time, until I press CTRL+C, which then shows:
--- 192.168.1.2 ping statistics ---
60 packets transmitted, 0 received, 100% packet loss, time 60423ms
After spending 2-3 hours on the other computer to see what is going on, I moved to the firewall and deleted all rules to see if I blocked ping by mistake and see the pop-up again, but the pop-up is never shown when the ping command is executed.
Include the following information:
6.10.9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.9-1 (2024-09-08) x86_64 GNU/Linux
To Reproduce
Install the firewall from Debian's repository with a command like:
sudo apt install opensnitch
Steps to reproduce the behavior:
Post error logs:
There are no error logs, as far as I can see.
Except this one in the
�[2m[2024-09-20 10:04:37]�[0m �[97m�[43m WAR �[0m iptables not available: exec: "iptables": executable file not found in $PATH
Expected behavior (optional)
Ping command not blocked, as always.
This is the first time in years when I see that is blocked.
Additional context
I saw another open issue about ping being blocked by having Firefox open.
I don't use Firefox, but LibreWolf and I tried to close it for testing, but doesn't solve this problem.
Only pausing the firewall solves the problem.
Any idea what could be the problem here or what more should I try?
Thank you!
The text was updated successfully, but these errors were encountered: