Navigation

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

    PfSense 2.0-BETA1 & Squid 2.6.21_11 not caching

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    2
    2424
    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.
    • R
      redvivi last edited by

      Hello,

      I encounter some problems using pfSense 2.0 BETA1 with Squid 2.6.21_11 on a gateway between 1 LAN (10.0.254.1 with CARP virtual IP 10.0.254.254) and 1 WAN.

      Firstly, Squid didn't start before linking/copying some libraries (libcrypto, libssl and so on.). I managed to solve this first point (for the record).

      Secondly, It seemed Squid didn't cache at all, I enabled logging and monitored access.log in order to be sure and nothing appeared. I tried to set a NAT rules but it didn't work, plus, I think I don't need any setup as I configured Squid by GUI.

      This is my Squid configuration:

      ProxyInterface: LAN
      Allow users on interface: yes
      Transparent proxy: yes
      Proxy port: 3128
      Disable X-Forward/Via: yes
      Suppress Squid version: yes
      

      The others parameters are set by default or empty.

      This is my cache.log:

      2010/01/23 11:15:45| Starting Squid Cache version 2.6.STABLE21 for i386-portbld-freebsd7.0...
      2010/01/23 11:15:45| Process ID 32518
      2010/01/23 11:15:45| With 11072 file descriptors available
      2010/01/23 11:15:45| Using kqueue for the IO loop
      2010/01/23 11:15:45| helperOpenServers: Starting 5 'dnsserver' processes
      2010/01/23 11:15:45| User-Agent logging is disabled.
      2010/01/23 11:15:45| Referer logging is disabled.
      2010/01/23 11:15:45| Unlinkd pipe opened on FD 15
      2010/01/23 11:15:45| Swap maxSize 204800000 + 2048000 KB, estimated 0 objects
      2010/01/23 11:15:45| Target number of buckets: 795569
      2010/01/23 11:15:45| Using 1048576 Store buckets
      2010/01/23 11:15:45| Max Mem  size: 2048000 KB
      2010/01/23 11:15:45| Max Swap size: 204800000 KB
      2010/01/23 11:15:45| Store logging disabled
      2010/01/23 11:15:45| Rebuilding storage in /var/squid/cache (CLEAN)
      2010/01/23 11:15:45| Using Least Load store dir selection
      2010/01/23 11:15:45| Current Directory is /tmp
      2010/01/23 11:15:45| Loaded Icons.
      2010/01/23 11:15:45| Accepting proxy HTTP connections at 10.0.254.1, port 3128, FD 18.
      2010/01/23 11:15:45| Accepting transparently proxied HTTP connections at 127.0.0.1, port 80, FD 19.
      2010/01/23 11:15:45| Accepting HTCP messages on port 4827, FD 20.
      2010/01/23 11:15:45| WCCP Disabled.
      2010/01/23 11:15:45| Pinger socket opened on FD 22
      2010/01/23 11:15:45| Ready to serve requests.
      2010/01/23 11:15:45| Done reading /var/squid/cache swaplog (0 entries)
      2010/01/23 11:15:45| Finished rebuilding storage from disk.
      2010/01/23 11:15:45|         0 Entries scanned
      2010/01/23 11:15:45|         0 Invalid entries.
      2010/01/23 11:15:45|         0 With invalid flags.
      2010/01/23 11:15:45|         0 Objects loaded.
      2010/01/23 11:15:45|         0 Objects expired.
      2010/01/23 11:15:45|         0 Objects cancelled.
      2010/01/23 11:15:45|         0 Duplicate URLs purged.
      2010/01/23 11:15:45|         0 Swapfile clashes avoided.
      2010/01/23 11:15:45|   Took 0.4 seconds (   0.0 objects/sec).
      2010/01/23 11:15:45| Beginning Validation Procedure
      2010/01/23 11:15:45|   Completed Validation Procedure
      2010/01/23 11:15:45|   Validated 0 Entries
      2010/01/23 11:15:45|   store_swap_size = 0k
      2010/01/23 11:15:46| storeLateRelease: released 0 objects
      

      And my access.log is empty. Did I miss something ?

      Regards,
      RedVivi

      1 Reply Last reply Reply Quote 0
      • _
        _igor_ last edited by

        Yep. You missed that squid isn't still adapted to 2.0. You should wait til the developer actualizes the package.
        Threre are several posts stating about this fact.

        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