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

    Package! Squid can not keep cache

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 2.1k 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.
    • H Offline
      hnu25
      last edited by

      setup Pfsense 1.0.1 Live-cd and install package Squid 2.6
      -Squid can not Keep Cache
      -Squid not working
      -i check box-Transparent proxying-Allow users on interface- webpage not connection
      want an advice
      thank you.

      1 Reply Last reply Reply Quote 0
      • J Offline
        josempinto
        last edited by

        @hnu25:

        setup Pfsense 1.0.1 Live-cd and install package Squid 2.6
        -Squid can not Keep Cache
        -Squid not working
        -i check box-Transparent proxying-Allow users on interface- webpage not connection
        want an advice
        thank you.

        Can you post the list of packages you have instaled?

        You can have a problematic package instaled or many (5 or more) packages instaled, which cause you not having Squid working.

        Regards.

        1 Reply Last reply Reply Quote 0
        • H Offline
          hnu25
          last edited by

          General settings
          -Proxy interface: LAN
          -Allow users on interface: Not check
          -Transparent proxy:  check
          -Do NOT proxy Private Address Space (RFC 1918):  check
          -Enabled logging : check
          -Log store directory: /var/squid/log
          -Proxy port: 3128
          -etc standr
          …................................................................................
          Cache management
          -Hard disk cache size:1000
          -Hard disk cache location: /var/squid/cache
          -Memory cache size: 180
          -Minimum object size: 8
          -Maximum object size: 3000
          -etc standr
          ...................................................................................
          *Squid can not keep cache
          *Allow users on interface: to check (internet no connection)

          1 Reply Last reply Reply Quote 0
          • H Offline
            hnu25
            last edited by

            Do not edit manually!

            http_port 192.168.1.1:3128
            http_port 127.0.0.1:80 transparent
            icp_port 0

            pid_filename /var/run/squid.pid
            cache_effective_user proxy
            cache_effective_group proxy
            error_directory /usr/local/etc/squid/errors/English
            visible_hostname localhost
            cache_mgr admin@localhost

            access_log /var/squid/log/access.log
            cache_log /var/squid/log/cache.log
            cache_store_log none
            shutdown_lifetime 3 seconds
            uri_whitespace strip

            cache_dir aufs /var/squid/cache 1000 16 256
            cache_mem 180 MB
            maximum_object_size 8000 KB
            minimum_object_size 2 KB
            cache_replacement_policy heap LFUDA
            memory_replacement_policy heap GDSF
            offline_mode off

            No redirector configured

            Setup some default acls

            acl all src 0.0.0.0/0
            acl localhost src 127.0.0.1
            acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901  1025-65535
            acl sslports port 443 563
            acl manager proto cache_object
            acl purge method PURGE
            acl connect method CONNECT
            acl dynamic urlpath_regex cgi-bin ?
            cache deny dynamic
            http_access allow manager localhost
            http_access deny manager
            http_access allow purge localhost
            http_access deny purge
            http_access deny !safeports
            http_access deny CONNECT !sslports

            Always allow localhost connections

            http_access allow localhost

            request_body_max_size 0 KB
            reply_body_max_size 0 allow all
            delay_pools 1
            delay_class 1 2
            delay_parameters 1 -1/-1 -1/-1
            delay_initial_bucket_level 100
            delay_access 1 allow all

            Default block all to be sure

            http_access deny all

            1 Reply Last reply Reply Quote 0
            • M Offline
              mhab12
              last edited by

              Why are you using 1.0.1?  Please use 1.2 or later and let us know the results.  The package has changed greatly since it was compatible with 1.0.1.

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