rfxn / advanced-policy-firewall

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

Fix bug where IP's are interpreted as regexen #12

Closed leto closed 8 years ago

leto commented 8 years ago

Attempting to block 1.1.1.1 will fail if the IP 2.3.141.121 is already in the system with error "already exists".

The -F option of grep makes the IP be interpreted as a literal string.