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

    pfSense Sporadic unable to get to internet.

    General pfSense Questions
    5
    16
    1.2k
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @bmeeks
      last edited by johnpoz

      @bmeeks said in pfSense Sporadic unable to get to internet.:

      Snort configured in the Service Watchdog package

      But he doesn't even show that as a running service, he has Suricata listed.. So trying to run both?, switched to it vs snort, but left short in the watchdog?

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      bmeeksB 1 Reply Last reply Reply Quote 1
      • bmeeksB
        bmeeks @johnpoz
        last edited by bmeeks

        @johnpoz said in pfSense Sporadic unable to get to internet.:

        @bmeeks said in pfSense Sporadic unable to get to internet.:

        Snort configured in the Service Watchdog package

        But he doesn't even show that as a running service, he has Suricata listed.. So trying to run both?, switched to it vs snort, but left short in the watchdog?

        Yeah, I'm thinking Service Watchdog has some improper entries.

        I just immediately looked into the posted log attachment and did not examine all the installed packages. But yes, you are correct. He has Suricata installed now, but Service Watchdog is trying to start Snort.

        1 Reply Last reply Reply Quote 1
        • P
          panzerscope @bmeeks
          last edited by

          @bmeeks
          @johnpoz

          Thanks very much for your comments and help. So it is true that I switched from Snort to Suricata, thus must have ended up being a left over entry in the Service Watchdog.

          I have removed Snort as well as the DNS Forwarder from the Service Watchdog. Currently my watchdog list looks like the following.

          bbfe72ee-7c24-48b4-935e-1913ea029201-image.png

          Does this list look appropriate, will retaining the unbound DNS Resolver in the list cause any issues ? Once I have this cleared up I will reboot the pfsense box and see if I get these issues again further down the line.

          bmeeksB 1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks @panzerscope
            last edited by

            @panzerscope said in pfSense Sporadic unable to get to internet.:

            @bmeeks
            @johnpoz

            Thanks very much for your comments and help. So it is true that I switched from Snort to Suricata, thus must have ended up being a left over entry in the Service Watchdog.

            I have removed Snort as well as the DNS Forwarder from the Service Watchdog. Currently my watchdog list looks like the following.

            bbfe72ee-7c24-48b4-935e-1913ea029201-image.png

            Does this list look appropriate, will retaining the unbound DNS Resolver in the list cause any issues ? Once I have this cleared up I will reboot the pfsense box and see if I get these issues again further down the line.

            Personally, there is really no need to run the Service Watchdog package. At best, if you have services randomly stopping, it is a band aid. You need to identify why the services are randomly stopping and fix that root cause. Service Watchdog is not a package I would consider installing.

            unbound makes a great resolver for pfSense, but it begins to get a bit strained when you use a package like pfBlockerNG-devel to create and maintain large DNS blacklists (via the DNSBL addon, for example).

            P 1 Reply Last reply Reply Quote 2
            • P
              panzerscope @bmeeks
              last edited by

              @bmeeks said in pfSense Sporadic unable to get to internet.:

              @panzerscope said in pfSense Sporadic unable to get to internet.:

              @bmeeks
              @johnpoz

              Thanks very much for your comments and help. So it is true that I switched from Snort to Suricata, thus must have ended up being a left over entry in the Service Watchdog.

              I have removed Snort as well as the DNS Forwarder from the Service Watchdog. Currently my watchdog list looks like the following.

              bbfe72ee-7c24-48b4-935e-1913ea029201-image.png

              Does this list look appropriate, will retaining the unbound DNS Resolver in the list cause any issues ? Once I have this cleared up I will reboot the pfsense box and see if I get these issues again further down the line.

              Personally, there is really no need to run the Service Watchdog package. At best, if you have services randomly stopping, it is a band aid. You need to identify why the services are randomly stopping and fix that root cause. Service Watchdog is not a package I would consider installing.

              unbound makes a great resolver for pfSense, but it begins to get a bit strained when you use a package like pfBlockerNG-devel to create and maintain large DNS blacklists (via the DNSBL addon, for example).

              That is a fair point to be honest, best to fix the problem over the service continuously restarting the service. With that in mind, I have gone ahead and removed Service Watchdog altogether. Stops it from being a factor after all.

              johnpozJ 1 Reply Last reply Reply Quote 0
              • P
                panzerscope
                last edited by

                I also meant to ask, specifically regarding this screenshot where it makes references to netmap. Is this normal ? I just cannot recall if I got this before. I know I did solve all my netmap issues when switching to the Intel I350 -T4 NIC. A discussion previously had here: https://forum.netgate.com/topic/171570/editing-loader-conf

                Pfsense Netmap Message.jpg

                Thanks again!

                bmeeksB 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @panzerscope
                  last edited by

                  @panzerscope why would you have pcscd in watchdog - are you actually using it? Its got a memory leak, there are multiple threads about it. And it was set to not run on default I do believe a update or so back, etc.

                  I don't even have the service watchdog package installed..

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • bmeeksB
                    bmeeks @panzerscope
                    last edited by

                    @panzerscope said in pfSense Sporadic unable to get to internet.:

                    I also meant to ask, specifically regarding this screenshot where it makes references to netmap. Is this normal ? I just cannot recall if I got this before. I know I did solve all my netmap issues when switching to the Intel I350 -T4 NIC. A discussion previously had here: https://forum.netgate.com/topic/171570/editing-loader-conf

                    Pfsense Netmap Message.jpg

                    Thanks again!

                    Yes, those are purely informational startup messages logged by the netmap device. They show that your NIC is providing 4 TX and 4 RX netmap queues (or rings).

                    The messages I saw in your logs that indicated problems were the ones that said something along the lines of "... netmap_reinint ...". I don't recall that exact wording off the top of my head. But those messages in your previous system log showing netmap issues indicate that multiple threads were stepping on each other's netmap buffer (or ring) areas.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Yeah, you do not want pcscd running at all. It's disabled by default in 2.6.
                      https://redmine.pfsense.org/issues/11933

                      And, yeah, you probably don't need/want the services watchdog running at all. You should have a specific reason for enabling that for any service.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • P
                        panzerscope
                        last edited by

                        Thanks all for your help. I just wanted to come back and things seem to now be resolved due to the above steps. Fingers crossed it stays that way. Hopefully some other newb will find this useful in the future.

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