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

    Squid3 on Transparent HTTP proxy dont work

    Scheduled Pinned Locked Moved Cache/Proxy
    35 Posts 3 Posters 4.6k 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.
    • A
      aGeekhere
      last edited by

      did your try deleting the squid cache?

      In ssh option 8

      cd /var/squid/cache
      rm -rf *
      squid -z

      Never Fear, A Geek is Here!

      1 Reply Last reply Reply Quote 0
      • F
        firefox
        last edited by

        did your try deleting the squid cache?

        cd /var/squid/cache
        rm -rf *
        squid -z
        

        yes i try
        i know this command

        
        cat /var/squid/logs/cache.log
        

        give me this

        2015/09/01 08:00:02| pinger: Initialising ICMP pinger ...
        2015/09/01 08:00:02|  icmp_sock: (1) Operation not permitted
        2015/09/01 08:00:02| pinger: Unable to start ICMP pinger.
        2015/09/01 08:00:02|  icmp_sock: (1) Operation not permitted
        2015/09/01 08:00:02| pinger: Unable to start ICMPv6 pinger.
        2015/09/01 08:00:02| FATAL: pinger: Unable to open any ICMP sockets.
        2015/09/01 08:03:23 kid1| WARNING: Creating /var/squid/cache/00/04
        2015/09/01 08:07:23 kid1| WARNING: Creating /var/squid/cache/00/05
        
        cat /var/squid/logs/access.log
        
        

        didnt give anything

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          OK, cache.log shows it created the cache structure.  Your system seems to be totally loaded with various packages.  Unless this is a production firewall, you might want to try removing some of the extra packages and then try again with just Squid3.

          1 Reply Last reply Reply Quote 0
          • F
            firefox
            last edited by

            There are fewer packages on 2.2.4

            from the Packages that were on 2.1.5

            squid
            snort
            Sarg
            Avahi
            Check_mk agent
            pfBlockerNG
            Service Watchdog
            arpwatch

            it is an old computer that i use for pfsense

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              As finicky as Squid can be, I've never had the kind of ongoing issues that you seem to have.  That's why I suggested blowing it all up and starting off fresh, one thing at a time.  I had my own issues last Friday when trying to go from 0.2.8 to 0.2.9.  Nothing worked after the upgrade.  Good thing for me I'm virtual and I just rolled back to the good config.

              1 Reply Last reply Reply Quote 0
              • F
                firefox
                last edited by

                I would try it
                I will make an image of the hard disk first

                I would give it another week
                If I do not succeed
                Then I will format

                1 Reply Last reply Reply Quote 0
                • A
                  aGeekhere
                  last edited by

                  I had my own issues last Friday when trying to go from 0.2.8 to 0.2.9.  Nothing worked after the upgrade.

                  I found that after an upgrade I need to delete the squid cache or else webpages will not load (took me awhile to work out that was the issue).

                  Never Fear, A Geek is Here!

                  1 Reply Last reply Reply Quote 0
                  • F
                    firefox
                    last edited by

                    It's the first thing I tried
                    Usually
                    When the machine is turned off in a disjointed fashion

                    Then squid causing problems

                    Then I do what you said

                    cd /var/squid/cache
                    rm -rf *
                    squid -z

                    1 Reply Last reply Reply Quote 0
                    • A
                      aGeekhere
                      last edited by

                      I agree with KOM, maybe its time for a format and reinstall.

                      Never Fear, A Geek is Here!

                      1 Reply Last reply Reply Quote 0
                      • KOMK
                        KOM
                        last edited by

                        I found that after an upgrade I need to delete the squid cache or else webpages will not load

                        Thanks.  My next maintenance window is this Friday night.  I'll try it again after whacking the cache structure.

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