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

    SquidGurad service stop issue

    Scheduled Pinned Locked Moved Cache/Proxy
    27 Posts 3 Posters 4.2k 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.
    • S Offline
      sjain
      last edited by

      Hi,

      Whenever I reboot the pfsense Machine then squidGuard service stop and lot of time i tried to start the service of SquidGuard but not get any success.

      So please can someone help me ho i can start the squidGuard service. (Screen shot attached)

      Thanks,
      Sjain

      squidguard_Service_1.JPG_thumb
      squidguard_Service_1.JPG
      squidguard_Service_2.JPG
      squidguard_Service_2.JPG_thumb

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

        squidGuard can appear to not be started since it gets called on-demand.  The real question is, is it doing its job?

        1 Reply Last reply Reply Quote 0
        • S Offline
          sjain
          last edited by

          When I reboot the machine then squidguard service not starting  and then when I am trying to start the service so it is showing me stopped, which i have drop the screen shot in my last message.

          Thanks,
          Sjain

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

            Yes yes I understand you perfectly but you didn't answer my question.  When you go to a blocked page, does the page get blocked?  In other words, does squidGuard work regardless of whether it shows as being started or not?

            1 Reply Last reply Reply Quote 0
            • S Offline
              sjain
              last edited by

              when I tried to open the any website it show me page not found and squidguard stopped showing.

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

                Do you have blacklists enabled?  If so, have you downloaded and expanded the list?  Is there anything in the System log?  Is there anything in /var/squidGuard/logs/squidGuard.log?  Does squid work by itself without squidGuard?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sjain
                  last edited by

                  1. Yes I enabled blacklists option.

                  2. Yes I downloaded list and expanded from this link (http://www.shallalist.de/Downloads/shallalist.tar.gz )

                  3. I have checked the system logs and found error which mentioned below

                  pfSense php-fpm[12157]: /pkg_edit.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy'

                  4. Yes Squid is working without squidGuard.

                  Kindly help me from this issue.

                  Thanks,
                  Sjain

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

                    When was the last time you rebooted the box?  I have seen numerous cases where squid/squidGuard is misbehaving and a reboot fixes it right up.  Which version of pfSense are you using?  If it's the 2.2 branch then I can't help you since I suspect that one or more squid/squidGuard packages are broken.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sjain
                      last edited by

                      today when I have open the ticket on this form and I am using Pfsense version 2.2.

                      So please can  you tell me which version are the stable in PfSense.

                      Thanks,
                      Sjain

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

                        I have squid3 3.1.20 pkg 2.1.2 and squidGuard-squid3 1.4_4 pkg v.1.9.6 working like a charm under pfSense 2.1.5.

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sjain
                          last edited by

                          It is possible to install squid3 3.1.20 pkg 2.1.2 and squidGuard-squid3 1.4_4 pkg v.1.9.6 in pfsense 2.2

                          Thanks,
                          Sjain

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

                            Nope.  The packages are specific to the base version.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sjain
                              last edited by

                              Thanks I have move in pfsense 2.1.5 version and it is working fine

                              appreciate of your help  :)

                              I have two issue

                              1. I am not able to block the facebook already enable the socialnet in blocking categories and user able to access the facebook
                              (Screenshot Attached- File name Blocking_Categoried_1 & Blocking_Categoried_2)

                              So please help me how i can block the facebook and other https websites.

                              2. second issue related Blocking message. I want the customized the blocking message. 
                              (Screenshot attached- File Name blocking_Messages_Screen_Shot)

                              So please help me how i can customized the blocking message.

                              Thanks,
                              Sjain

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sjain
                                last edited by

                                Thanks I have move in pfsense 2.1.5 version and it is working fine

                                appreciate of your help  :)

                                I have two issue

                                1. I am not able to block the facebook already enable the socialnet in blocking categories and user able to access the facebook
                                (Screenshot Attached- File name Blocking_Categoried_1 & Blocking_Categoried_2)

                                So please help me how i can block the facebook and other https websites.

                                2. second issue related Blocking message. I want the customized the blocking message. 
                                (Screenshot attached- File Name blocking_Messages_Screen_Shot)

                                So please help me how i can customized the blocking message.

                                Thanks,
                                Sjain

                                Blocking_Categoried_1.JPG
                                Blocking_Categoried_1.JPG_thumb
                                Blocking_Categoried_2.JPG
                                Blocking_Categoried_2.JPG_thumb
                                blocking_Messages_Screen_Shot.JPG
                                blocking_Messages_Screen_Shot.JPG_thumb

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

                                  1.  Blocking of Facebook works for me using the Socialnet category.  Are you running in explicit mode or transparent mode?

                                  2.  Read this -> https://forum.pfsense.org/index.php?topic=93097.0

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sjain
                                    last edited by

                                    1. I am running Squid as a Transparent mode (Configuration Screen shot attached)

                                    2. How i can access the  sgerror.php and pfsense directory /usr/local/www/, Please guide me….

                                    3. One more query that I am giving the internet access on user mobile & laptop also, so please guide how i can configure the mac address filter in pfsense. ( I don't want configure the mac filter in wifi Access point).

                                    Thanks,
                                    Sjain

                                    Squid_Transparent_Mode_1.JPG
                                    Squid_Transparent_Mode_1.JPG_thumb
                                    Squid_Transparent_Mode_2.JPG
                                    Squid_Transparent_Mode_2.JPG_thumb
                                    Squid_Transparent_Mode_3.JPG
                                    Squid_Transparent_Mode_3.JPG_thumb

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

                                      2. How i can access the  sgerror.php and pfsense directory /usr/local/www/, Please guide me

                                      Either Enable Secure Shell in System - Advanced - Admin Access - Secure Shell and then use SCP to copy files over or install the File Manager package and use that to copy files to & from.

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        killmasta93
                                        last edited by

                                        facebook will be only block http not https unless you run explicit mode which then you need to configure WPAD.

                                        Tutorials:

                                        https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                                          facebook will be only block http not https unless you run explicit mode which then you need to configure WPAD.

                                          You can block HTTPS in Transparent mode, but you need to install a pfSense server certificate on every client that will use the proxy, which is a massive pain in the ass.

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sjain
                                            last edited by

                                            Hi Kom,

                                            As per your steps I am trying to access the scp but it is giving the error (screen shot attached).

                                            Kindly suggest..

                                            Thanks,
                                            Sjain

                                            scp_error.JPG
                                            scp_error.JPG_thumb

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