Navigation

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

    Squid Errors

    Cache/Proxy
    2
    2
    224
    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.
    • nesense
      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
      • KOM
        KOM last edited by

        This look more like a pfBlocker issue to me.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense Plus
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy