Bug #4410
closedpfBlockerNG adding commented IPs
0%
Description
We have a list provider that requires our IP be passed as a variable in the query (e.g. http://example.com/list.php?ip=x.x.x.x). There is a reason for it, but the details of that are unimportant. What is important is that the outputted list has a comment at the top that contains the IP we passed in (e.g. # This is a list for x.x.x.x). It appears that pfBlockerNG is reading that line and adding the IP address to the block list. If I look in /var/db/pfblockerng/original/ at the orig file, it shows the IP in the commented line and nowhere else. However, if I look in /var/db/pfblockerng/deny at the txt file, it shows the IP address in the list itself.
I was able to work around this by adding the IP to a whitelist. Shouldn't comments be ignore when parsing the IPs?
pfSense - 2.2-RELEASE
pfBlockerNG - 1.03