PfSense 2.0-BETA1 & Squid 2.6.21_11 not caching



  • 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



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


Locked