thinkst / opencanary

Modular and decentralised honeypot
http://opencanary.org
BSD 3-Clause "New" or "Revised" License
2.27k stars 355 forks source link

Suse Linux: different iptables path #228

Closed hagen-bauer-regioit closed 1 year ago

hagen-bauer-regioit commented 1 year ago

On SLES iptables is in

which iptables
/usr/sbin/iptables

which leads to the situation that the firewall rules for logging are not created.

It would be better if the path is checked.

jayjb commented 1 year ago

Hi @hagen-bauer-regioit,

Thanks for reporting this. We are aiming to be as compatible across different OSs as possible. We would really appreciate a PR doing what you suggest 😄

hagen-bauer-regioit commented 1 year ago

I would already have done it if my python skills would be good enough ;-)