Squid Errors



  • 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> 
    


  • This look more like a pfBlocker issue to me.


Log in to reply