BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
140 stars 68 forks source link

DoS Protection should not hard-code location of iptables executables #154

Open RaddishIoW opened 1 year ago

RaddishIoW commented 1 year ago

In the DoS Protection, the paths to iptables are hard coded to /sbin/iptables and /sbin/ip6tables.

This is not where my iptables live... on my Debian 10 install, they are in /usr/sbin/iptables.

Shouldn't Flexisip try to find the exe rather than hard code it and fail when it's not there?