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

    dpinger stops (crashes?) after update to 2.6.0

    Scheduled Pinned Locked Moved General pfSense Questions
    47 Posts 6 Posters 8.8k 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.
    • R
      reberhar @bmeeks
      last edited by reberhar

      @bmeeks Hi bmeeks, Actually I saw the post on inline as opposed to legacy mode. I am using legacy mode. However I will try your suggestion. I am using a 2440 box at that location so memory is an issue. So I have adequate swap space however.

      Roy

      bmeeksB 1 Reply Last reply Reply Quote 0
      • R
        reberhar @NollipfSense
        last edited by

        @nollipfsense Thanks for reminding me about the buffer change. I had forgotten that. I was over focused on the other problem. I have a 4 head box and had to do that with that install.

        R 1 Reply Last reply Reply Quote 0
        • R
          reberhar @reberhar
          last edited by

          @reberhar I had the guy on site change the cable for the sendto error. First the simple stuff. I will be watching the site. One of the dpinger offlines stopped with a reinstall of Suricata. Now I am waiting to see if the Live Rule Swap on Update option helps on the other two.

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

            @reberhar said in dpinger stops (crashes?) after update to 2.6.0:

            @bmeeks Hi bmeeks, Actually I saw the post on inline as opposed to legacy mode. I am using legacy mode. However I will try your suggestion. I am using a 2440 box at that location so memory is an issue. So I have adequate swap space however.

            Roy

            I saw the physical interface "link state changed" messages, that's why I wondered about Suricata Inline IPS mode. Those messages occur when that mode is used. They should not happen in Legacy Mode (or at least they did not in previous FreeBSD versions).

            1 Reply Last reply Reply Quote 0
            • dennypageD
              dennypage @stephenw10
              last edited by

              @stephenw10 said in dpinger stops (crashes?) after update to 2.6.0:

              Mmm, I would expect dpinger to stop if the WAN loses link and that's the only gateway. But it should start again when you reconnect it. Without needing the watchdog package.

              Once successfully started, dpinger itself will not stop/exit for any reason other than a TERM signal. Send and recv errors are logged, but they do not cause the program to exit.

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

                Hmm, I wonder what's killing it then...

                R dennypageD 2 Replies Last reply Reply Quote 0
                • R
                  reberhar @stephenw10
                  last edited by reberhar

                  @stephenw10 I tried the Live Reload on 2440 box and that worked even though I am using Legacy mode. I am going to try it on the 4 head system next.

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

                    @reberhar said in dpinger stops (crashes?) after update to 2.6.0:

                    @stephenw10 I tried the Live Reload on 2440 box and that worked even though I am using Legacy mode. I am going to try it on the 4 head system next.

                    That's interesting. The only thing Legacy Mode does with an interface is enable an instance of the PCAP library on it to capture traffic. Well that, and also enabling promiscuous mode. The Suricata binary does this using FreeBSD system calls. In the past, that never resulted in the physical interface bouncing.

                    R 1 Reply Last reply Reply Quote 0
                    • dennypageD
                      dennypage @stephenw10
                      last edited by

                      @stephenw10 To help with this kind of thing in the future, I added logging of the signal number on exit to dpinger. It's pushed as release v3.2. I sent a note to Renato asking him to pull it in when he has time.

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

                        Thanks for that. Should be in soon. 👍

                        1 Reply Last reply Reply Quote 0
                        • R
                          reberhar @dennypage
                          last edited by

                          @dennypage Yes thanks for that. That should help.

                          1 Reply Last reply Reply Quote 0
                          • R
                            reberhar @bmeeks
                            last edited by

                            @bmeeks My multihead site responded to changing to the Live Rule Swap option as well. The one that I thought was fixed by a reinstall of Suricata failed again so I have turned on Live Rule Swap there as well. Suricata reloads the rules even if you have blocking turned off and the same problem occurs.

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

                              @reberhar said in dpinger stops (crashes?) after update to 2.6.0:

                              @bmeeks My multihead site responded to changing to the Live Rule Swap option as well. The one that I thought was fixed by a reinstall of Suricata failed again so I have turned on Live Rule Swap there as well. Suricata reloads the rules even if you have blocking turned off and the same problem occurs.

                              In order to monitor traffic, Suricata generally must put the interface in promiscuous mode. That happens whether blocking is enabled or not. And even when run in IDS mode (no blocking), Suricata still must update its rules.

                              R 1 Reply Last reply Reply Quote 1
                              • R
                                reberhar @bmeeks
                                last edited by reberhar

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