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

    Squid, SquidGuard, Lightsquid status on 2.3

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    61 Posts 14 Posters 41.5k 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.
    • V
      Valex
      last edited by

      @jimp:

      Lightsquid is broken in many ways (see the earlier posts in the thread) – no hope of it working util we fix up nginx for CGI.

      @jimp:

      We've made no attempt to test or work on clamav or c-icap, just the base functions of the forward proxy currently.

      What does this mean? It's fixed in 2.3 final right?

      1 Reply Last reply Reply Quote 0
      • R
        rubinho
        last edited by

        @seanelias:

        When ever i turn on Transparent HTTP Proxy  i couldn't browse any website , but there is no problem if i use explicit  proxy  .

        Any one have the same issue ???

        I can confirm that, the transparent proxy does not work

        [Pfsense 2.4] Supermicro A1SRI-2558F@Atom C2558 4Gb RAM
        [Pfsense 2.4] Jetway NF9D@Atom D2550 + AD3INLAN-G Expansioncard  (3x Intel 82541PI Gigabit Controller)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          @Valex:

          @jimp:

          Lightsquid is broken in many ways (see the earlier posts in the thread) – no hope of it working util we fix up nginx for CGI.

          @jimp:

          We've made no attempt to test or work on clamav or c-icap, just the base functions of the forward proxy currently.

          What does this mean? It's fixed in 2.3 final right?

          The package version has no relation to 2.3 "final", it could be changed before or after release. Hopefully, before. It just means it isn't working or isn't tested now. The functions I stated we didn't work on may work fine, we just haven't tested them because they're not functions of squid we intend to "officially" support at this time.

          Others are free to test and submit fixes as needed if they want, though.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • U
            UltramaticOrange
            last edited by

            Reading threads from older versions of pfSense, it sounds like this is a known issue, but I wanted to report that I am also having issues with the transparent proxy and getting "ERR_EMPTY_RESPONSE" on Chrome. However, my observation has been that everything works fine when the DNS response is still hanging around from the last time I visited the page (read: squid was off). To me, this might suggest that Squid is either having a hard time talking to the dns server (isn't pointed a the local machine/general DNS settings), squid isn't giving dns enough time to respond (timeout setting too short), or there's some conflicting setting between squid and dns.

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              There's a workaround for the transparent proxy issue in https://redmine.pfsense.org/issues/5869

              chgrp squid /dev/pf
              

              Proper fix to come.

              1 Reply Last reply Reply Quote 0
              • B
                brianc69
                last edited by

                Work around confirmed working on my end! Squidguard also functioning now that squid is responding. Thank you!!!

                Now I await the return of Lightsquid for reporting but for now the important part of content filtering has returned!

                1 Reply Last reply Reply Quote 0
                • B
                  brianc69
                  last edited by

                  Also pleased to report that enabling antivirus is working too! I attempted to download the eicar.txt file and it was blocked with a virus warning as it should be!

                  Only thing left I notice is on the realtime log page.

                  Message
                  WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.sock: No such file or directory
                  Database updated (6435493 signatures) from db.us.clamav.net (IP: 194.8.197.22)
                  

                  Everything else looks good to my knowledge.

                  1 Reply Last reply Reply Quote 0
                  • B
                    brianc69
                    last edited by

                    Work around did not survive a reboot. Reapplied and things work again. Just an FYI.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      That's expected, it's just a temp workaround.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        New revision of the squid package is up now for testing. If you did the chgrp work around you need to change it back to 'proxy' or reboot before upgrading the package.

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • B
                          brianc69
                          last edited by

                          Rebooted, updated squid package. Seems to be ok. Content filtering and virus scanning are working.

                          1 Reply Last reply Reply Quote 0
                          • R
                            rubinho
                            last edited by

                            Thx for fixing this issue

                            Transparentproxy works fine now.

                            [Pfsense 2.4] Supermicro A1SRI-2558F@Atom C2558 4Gb RAM
                            [Pfsense 2.4] Jetway NF9D@Atom D2550 + AD3INLAN-G Expansioncard  (3x Intel 82541PI Gigabit Controller)

                            1 Reply Last reply Reply Quote 0
                            • U
                              UltramaticOrange
                              last edited by

                              I'm noticing that between the 12-24hr mark, DNS issues return. Timing has seemed relatively inconsistent and I haven't really narrowed down any possible causes just yet.

                              Here's what I've observed so far:
                              I restarted unbound, and the issue persisted.
                              I disabled squid and the issue went away.
                              I re-enabled squid and everything stayed good.

                              Next time, I'll check the squid logs and restart the service and report back.

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                Update on Lightsquid: The package now runs in its own web server instance using lighttpd, on its own port and with password protection. It was the smoothest way to get perl cgi support without dragging extra dependencies into base.

                                Note there are some subtle changes to navigation in the package.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • B
                                  brianc69
                                  last edited by

                                  There is a port issue when you click Lightsquid. I see myip:9000:7445

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    @brianc69:

                                    There is a port issue when you click Lightsquid. I see myip:9000:7445

                                    I'll look into that.

                                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      maverick_slo
                                      last edited by

                                      Also nothing happens if I hit refresh buttons.
                                      It seems like it is working but I have no data in the logs.

                                      When I: /usr/local/www/lightsquid/lightparser.pl from console, data appears.
                                      In logs I have: /pkg_edit.php: [lightsquid] Parsing today's entries in access.log using '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'

                                      There has to be something wrong here…

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        maverick_slo
                                        last edited by

                                        Oh and one more thing..

                                        If I manually do: /usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today
                                        This is in the crontab.

                                        Output is /usr/bin/perl: Command not found.

                                        1 Reply Last reply Reply Quote 0
                                        • jimpJ
                                          jimp Rebel Alliance Developer Netgate
                                          last edited by

                                          I fixed the perl path (should be /usr/local/bin/perl) and fixed the parsing of the link with the port.

                                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                          Need help fast? Netgate Global Support!

                                          Do not Chat/PM for help!

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            I split the unrelated hit % posts off into their own thread and cleaned up the references here.

                                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

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