Project

General

Profile

Actions

Bug #4410

closed

pfBlockerNG adding commented IPs

Added by Ryan . almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
pfBlockerNG
Target version:
-
Start date:
02/11/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

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

Actions

Also available in: Atom PDF