Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfblocker bad alias file

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jsbsmd
      last edited by

      i just loaded pfblocker into my pfsense server. I chose all of teh top spammers to deny both inbound and outbound traffic. seems like topspammerlist.txt file may be corrupt. is anyone else having the same error?

      syslog:

      SystemFirewallDHCPPortal AuthIPsecPPPVPNLoad BalancerOpenVPNOpenNTPDWirelessSettings
      Last 100 system log entries
      Nov 5 16:38:54 php: /pkg_edit.php: [pfblocker] pfblocker_xmlrpc_sync.php is starting.
      Nov 5 16:38:54 check_reload_status: Reloading filter
      Nov 5 16:38:53 php: /pkg_edit.php: Starting pfBlocker sync process.
      Nov 5 16:38:48 php: /pkg_edit.php: [pfblocker] pfblocker_xmlrpc_sync.php is starting.
      Nov 5 16:38:48 check_reload_status: Reloading filter
      Nov 5 16:38:48 check_reload_status: Syncing firewall
      Nov 5 16:38:47 check_reload_status: Syncing firewall
      Nov 5 16:38:47 php: /pkg_edit.php: Starting pfBlocker sync process.
      Nov 5 16:30:16 php: : There were error(s) loading the rules: /tmp/rules.debug:28: cannot define table pfBlockerTopSpammers: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [28]: table <pfblockertopspammers>persist file "/var/db/aliastables/pfBlockerTopSpammers.txt"
      Nov 5 16:30:16 php: : Message sent to john@gmail.com OK
      Nov 5 16:30:15 php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:28: cannot define table pfBlockerTopSpammers: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded The line in question reads [28]: table <pfblockertopspammers>persist file "/var/db/aliastables/pfBlockerTopSpammers.txt"
      Nov 5 16:30:12 php: : The command '/sbin/pfctl -o basic -f /tmp/rules.debug' returned exit code '1', the output was '/tmp/rules.debug:28: cannot define table pfBlockerTopSpammers: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded'
      Nov 5 16:27:01 php: /pkg_edit.php: [pfblocker] pfblocker_xmlrpc_sync.php is starting.
      Nov 5 16:27:01 check_reload_status: Reloading filter</pfblockertopspammers></pfblockertopspammers>

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        You need higher limits for tables under System>Advanced, has nothing to do with the list.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.