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

    Squid Errors

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 525 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.
    • nesenseN
      nesense
      last edited by

      Using pfSense 2.4.3-RELEASE and Squid 0.4.43

      System logs showing these errors:

      /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:26: syntax error /tmp/rules.test.packages:28: syntax error' 
      
      /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc. 
      
      /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:27: syntax error' 
      

      Contents of /tmp/rules.test.packages:

      #System aliases
      
      loopback = "{ lo0 }"
      WAN = "{ igb0 }"
      LAN = "{ igb1 }"
      
      #SSH Lockout Table
      table <sshlockout>persist
      table <webconfiguratorlockout>persist
      #Snort tables
      table <snort2c>table <virusprot>table <bogons>persist file "/etc/bogons"
      table <negate_networks># User Aliases
      table <pfb_dnsblip>persist file "/var/db/aliastables/pfB_DNSBLIP.txt"
      pfB_DNSBLIP = "<pfb_dnsblip>"
      table <pfb_cinsscore>persist file "/var/db/aliastables/pfB_CINSscore.txt"
      pfB_CINSscore = "<pfb_cinsscore>"
      table <pfb_dshield>persist file "/var/db/aliastables/pfB_dshield.txt"
      pfB_dshield = "<pfb_dshield>"
      # Setup squid pass rules for proxy
      pass in quick on igb1 proto tcp from any to (igb1) port {3128,3129} flags S/SA keep state
      
      # Setup squid pass rules for proxy
      pass in quick on  proto tcp from any to () port {3128,3129} flags S/SA keep state</pfb_dshield></pfb_dshield></pfb_cinsscore></pfb_cinsscore></pfb_dnsblip></pfb_dnsblip></negate_networks></bogons></virusprot></snort2c></webconfiguratorlockout></sshlockout> 
      
      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        This look more like a pfBlocker issue to me.

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