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

    Squid Alternative? Perhaps Polipo?

    Scheduled Pinned Locked Moved pfSense Packages
    10 Posts 4 Posters 8.3k 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.
    • G
      greenpoise
      last edited by

      Hi there. I am new to pfsense and although the overall experience has been enjoyable and fairly simple once again squid has just disappointed me. This is the second time I try to implement squid at an office. The first timeit was under gentoo. The problems however are the same. Lots of connection errors (403 forbidden or connection error page) I dont need squidguard but I do need monitoring. I am writing this from home hoping that when i get back to work, i have some feedback/leads to the topic. I have played around before with polipo proxy, it is small, simple and it works. Anyone out there with a solid configuration (whether is squid or other proxy) that could share some insight? I managed to get sargs with squid but it only works as long as squid is working and that usually is not very long. I would like to throw this into a production environment asap. Also, the pfsense i am using is 2.1, it was the only one that worked with my sata disks.

      Thanks
      G

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        Are you testing squid 2 or squid 3 package?

        Do you have ipv6 configured on your setup?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • G
          greenpoise
          last edited by

          @marcelloc:

          Are you testing squid 2 or squid 3 package?

          Do you have ipv6 configured on your setup?

          Thanks Marcello, I tried both, squid 2 and 3. I dropped the ipv6 configuration yesterday because it was not working. So, to answer your question, no, no ipv6 setup.

          Thanks!

          1 Reply Last reply Reply Quote 0
          • G
            greenpoise
            last edited by

            @marcelloc:

            Are you testing squid 2 or squid 3 package?

            Do you have ipv6 configured on your setup?

            by the way..I was able to go a bit further with squid 3. I didnt get any disconnection issues, however, some sites wouldnt just process such as yahoo.com and msnbc.com. The first page would show up but if I clicked anywhere, the end user browser would not go anywhere. It would try but wouldnt go anywhere…

            1 Reply Last reply Reply Quote 0
            • N
              Nachtfalke
              last edited by

              When you are using squid3 you should set the option "Use IPv4 first" on squid GUI.

              Are you using transparent or non-transparent proxy setting ?

              What are your system specs and what did you set for squid HDD and mem ?
              Are you using any webfilter like squidguard or dansguardian ?

              1 Reply Last reply Reply Quote 0
              • G
                greenpoise
                last edited by

                @Nachtfalke:

                When you are using squid3 you should set the option "Use IPv4 first" on squid GUI.

                Are you using transparent or non-transparent proxy setting ?

                What are your system specs and what did you set for squid HDD and mem ?
                Are you using any webfilter like squidguard or dansguardian ?

                Thanks for the help. I am or was trying transparent proxy setting.

                and these are my settings:

                HD cache 1000
                cache system ufs
                level 1 subdir 64
                min object 0
                max object 64
                mem cache 1000
                max object in ram 256
                heap lfuda

                my specs are: 2GB RAM, HDD 500GB, X2

                thanks again, appreciate it!

                1 Reply Last reply Reply Quote 0
                • N
                  Nachtfalke
                  last edited by

                  Are you using any other packages on this machine ?

                  If you are using 1000MB mem cache that means that squid is using minimum 1000MB but will probably need more RAM because of IP cache, DNS cache, HDD index and so on. So you should have an eye on RAM usage and perhaps reduce squid mem to 512MB.

                  In general with this settings squid should run without problems and without disconnects.
                  Are you using any custom settings ?
                  Are you using squid3 and enabled windows updates caching and/or dynamic caching ? by default this in disabled and if you should leave this disabled for the first time to make sure all works as you want.

                  PS: When using ufs take a look at "System –> Advanced --> System tunables" and set the vfs.read_max to 128 to increase performance.

                  1 Reply Last reply Reply Quote 0
                  • G
                    greenpoise
                    last edited by

                    @Nachtfalke:

                    Are you using any other packages on this machine ?

                    If you are using 1000MB mem cache that means that squid is using minimum 1000MB but will probably need more RAM because of IP cache, DNS cache, HDD index and so on. So you should have an eye on RAM usage and perhaps reduce squid mem to 512MB.

                    In general with this settings squid should run without problems and without disconnects.
                    Are you using any custom settings ?
                    Are you using squid3 and enabled windows updates caching and/or dynamic caching ? by default this in disabled and if you should leave this disabled for the first time to make sure all works as you want.

                    PS: When using ufs take a look at "System –> Advanced --> System tunables" and set the vfs.read_max to 128 to increase performance.

                    will follow as said. Thanks. I think my system needed an upgrade. I did an upgrade and all of the sudden, my problems are gone! for now that is. Kinda tricky I guess since I am using nightbuild. I will however change the settings you mention.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • D
                      dhatz
                      last edited by

                      I don't know the scale of your caching proxy (10 users, 100 users, 500 users etc), but for any "busy" system I'd be inclined to split the proxy functionality into a separate system, properly tuned (kernel & fs) for the task.

                      1 Reply Last reply Reply Quote 0
                      • G
                        greenpoise
                        last edited by

                        @dhatz:

                        I don't know the scale of your caching proxy (10 users, 100 users, 500 users etc), but for any "busy" system I'd be inclined to split the proxy functionality into a separate system, properly tuned (kernel & fs) for the task.

                        I would say between 20-25 constant users. They will fluctuate to the 30's with other devices syncing in every now and then. ..I was able to achieve some stability yesterday. I did a few updates along with reboots. I noticed that I get an error page on forums (no route). I am not on site right now so I cant tell exactly the message. I am beginning to think that I am having connection errors. Thanks!!

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