rfxn / advanced-policy-firewall

Advanced Policy Firewall (APF)
GNU General Public License v2.0
93 stars 46 forks source link

Bug in sysctl.rules #37

Open almayeen opened 4 years ago

almayeen commented 4 years ago

Hi, Please change the file sysctl.rules line 68 replace if [ "$SYSCTL_TCP_NOSACK" ]; then by if [ "$SYSCTL_TCP_NOSACK" == "1" ]; then

Thanks

evcz commented 3 years ago

pull request: https://github.com/rfxn/advanced-policy-firewall/pull/44

indeed without this change tcp_sack is always disabled