Skip to content

Commit

Permalink
Merge pull request firehol#373 from tycho/preserve-icmpv6-rules-in-op…
Browse files Browse the repository at this point in the history
…timal-mode

firehol: don't drop icmpv6 rules with FIREHOL_RULESET_MODE optimal
  • Loading branch information
philwhineray authored Nov 5, 2018
2 parents 193b3ed + 0215542 commit 825185b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/firehol
Original file line number Diff line number Diff line change
Expand Up @@ -8028,7 +8028,7 @@ rule() {
# In FIREHOL_RULESET_MODE="optimal" (given as the parameter optimal=1) to us,
# we just create the state=NEW rules.
# We will work normaly though if a helper is required.
if [ ${optimal} -eq 1 -a "${table}" = "filter" -a -z "${helper[*]}" ]
if [ ${optimal} -eq 1 -a "${table}" = "filter" -a -z "${helper[*]}" -a "${proto[0]}" != "icmpv6" ]
then
if [[ "${state}" =~ 'NEW' ]]
then
Expand Down

0 comments on commit 825185b

Please sign in to comment.