You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, all
The function "iptables_fw_destroy_mention" deletes iptables rules by specify rule numbers (selected by matching the given string), normally it does right, but in rare cases if some other rules are inserted by other apps after it gets the rule list and before it deletes it, the rule numbers of the list are no longer the right ones, hence it deletes the wrong rules. (in my case, I have multiple wifidog instance running, and sometimes one's rules are deleted by others)
One of my thought is to use "-S" instead of "-L" option, i.e, using
"iptables -w -t TABLE -S CHAIN| grep -F 'MENTION'" to select desired rules string, and then delete them by using these rules string.
The text was updated successfully, but these errors were encountered:
Hi, all
The function "iptables_fw_destroy_mention" deletes iptables rules by specify rule numbers (selected by matching the given string), normally it does right, but in rare cases if some other rules are inserted by other apps after it gets the rule list and before it deletes it, the rule numbers of the list are no longer the right ones, hence it deletes the wrong rules. (in my case, I have multiple wifidog instance running, and sometimes one's rules are deleted by others)
One of my thought is to use "-S" instead of "-L" option, i.e, using
"iptables -w -t TABLE -S CHAIN| grep -F 'MENTION'" to select desired rules string, and then delete them by using these rules string.
The text was updated successfully, but these errors were encountered: