PfBlocker Fails to start



  • Hi,

    I am running the latest release of pfsense, and just installed pfBlocker, but it was never able to start:

    php: rc.filter_configure_sync: The command '/usr/local/pkg/pf/IP-Blocklist.sh start' returned exit code '2', the output was 'not running root: IP-Blocklist was found not running Status: 404 Not Found Content-type: text/html No input file specified. 0 table deleted. 0 table deleted. /usr/local/pkg/pf/IP-Blocklist.sh: cannot create /usr/local/www/packages/ipblocklist/file_list.txt: No such file or directory /usr/local/pkg/pf/IP-Blocklist.sh: cannot create /usr/local/www/packages/ipblocklist/file_Wlist.txt: No such file or directory cat: /usr/local/www/packages/ipblocklist/file_list.txt: No such file or directory cat: /usr/local/www/packages/ipblocklist/file_Wlist.txt: No such file or directory rm: /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP: No such file or directory /usr/local/pkg/pf/IP-Blocklist.sh: cannot create /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP: No such file or directory /usr/bin/sort: open failed: /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw: No
    , with errors complaining about a missing directory ipblocklist, which I created manually, then it complained about lists and Wlists, created them. Eventually, it just fails to start with the following error (running it from the console) :

    __not running
    admin: IP-Blocklist was found not running
    Status: 404 Not Found
    Content-type: text/html

    No input file specified.
    1 table deleted.
    1 table deleted.
    Can't open perl script "/usr/local/www/packages/ipblocklist/convert.pl": No such file or directory
    rm: /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP: No such file or directory
    rm: /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP: No such file or directory
    rm: /tmp/rules.debug.tmp: No such file or directory
    rm: /tmp/rules.debug.tmp: No such file or directory
    0

    cat: /usr/local/www/packages/ipblocklist/interfaces.txt: No such file or directory__

    All what I am getting now on the log tab: root:
    IP-Blocklist was found not running

    Tried to uninstall and install but no luck.

    Thanks in advance,

    Dan



  • I am getting another error too:

    there were errors loading the rules /tmp/rules.debug:179: macro pfBlockerAfrica not defined - The line in question reads [179]: block in log quick on $WAN reply-to (bge0 xxx.xx.xx.xx) from $pfBlockerAfrica to any label USER_RULE: pfBlockerAfrica auto rule

    Regards,

    Dan



  • Hi All,

    Problem resolved.

    Dan.