Skip to content

Commit

Permalink
Revert "Update firewall.sh"
Browse files Browse the repository at this point in the history
This reverts commit 1040726.
  • Loading branch information
Adamm00 committed Nov 5, 2024
1 parent 1040726 commit 21931fb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions firewall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# #
# Router Firewall And Security Enhancements #
# By Adamm - https://github.com/Adamm00/IPSet_ASUS #
# 05/11/2024 - v7.6.4 #
# 27/07/2024 - v7.6.3 #
#############################################################################################################


Expand Down Expand Up @@ -563,9 +563,6 @@ Check_IPTables() {
if [ "$(nvram get fw_log_x)" = "drop" ] || [ "$(nvram get fw_log_x)" = "both" ] && [ "$loginvalid" = "enabled" ]; then
iptables -C logdrop -m state --state NEW -j LOG --log-prefix "[BLOCKED - INVALID] " --log-tcp-sequence --log-tcp-options --log-ip-options 2>/dev/null || fail="${fail}#24 "
fi
if [ "$(nvram get fw_log_x)" = "drop" ] || [ "$(nvram get fw_log_x)" = "both" ]; then
iptables -C logdrop -m state --state NEW -j LOG --log-prefix "DROP " --log-tcp-sequence --log-tcp-options --log-ip-options 2>/dev/null || fail="${fail}#25 "
fi
fi
if [ -n "$fail" ]; then return 1; fi
}
Expand Down

0 comments on commit 21931fb

Please sign in to comment.