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

    DNS 8000+ms, troubleshooting help

    Scheduled Pinned Locked Moved General pfSense Questions
    75 Posts 4 Posters 10.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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @srytryagn
      last edited by johnpoz

      @srytryagn A sniff on your lan for everything without your stuff running, and then again with it running would be good to start with for sure.. it defaults to 1000 packets.. Which should be enough to see if network is being flooded with stuff.

      The tool would be much better to change your public IP.. And you can also remove payload if you want and truncate the frames.. We really don't need to see what the data is - but helpful to see all the protocols and such.. A spreadsheet would be much more difficult to look at then just opening it in wireshark.

      You can look at the anon file it creates to make sure your public IP has been changed, etc.

      The tool is pretty good for anonymizing the traffic.. But still see what is taking to what.. For example 1.2.3.4 while clearly made up that is my wan, so with some insight to what your changed to what we can get the details we need of what is trying to talk to what, etc.

      States and mbuf are one thing - but do they jump up to insane amounts - I mean 30 peers isn't crazy, unless they are creating like 10k states each to each other, etc.

      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.8, 24.11

      S 2 Replies Last reply Reply Quote 0
      • S
        srytryagn @johnpoz
        last edited by

        @johnpoz Will do that and post it here soon.

        1 Reply Last reply Reply Quote 0
        • S
          srytryagn @johnpoz
          last edited by srytryagn

          @johnpoz File enclosed with No apps and AppA + AppB running.

          I have a bunch of other captures, no port fwd, port fed, start AppA, Sync AppA, Running AppA, AppA + AppB.....

          Please let me know what the file points to being wrong w/ my setup and how I may repair it, thanks.

          pcap_AppA_AppB_anon.pcapng

          pcap_apps_off_Ports_Fwd_anon.pcapng

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

            @srytryagn could you give some insight to what IPs you changed to what..

            Your one with stuff off I see 993 packets in a total of 228 ms.. between 10.50.18.154 and 10.50.245.28, that is a lot of packets between 2 devices in short amount of time.. For what I would assume is network not doing anything.. Is one of those IPs your public, one of one these node devices.. Thought you said they were off?

            Then in this other one with on, Its hard to follow because there is 166 different conversations in it all with this 192.168.86.26, what is this 192.168.86.26? in a total sniff of 1.4 seconds?

            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.8, 24.11

            S 1 Reply Last reply Reply Quote 0
            • S
              srytryagn @johnpoz
              last edited by

              @johnpoz

              In Apps off mode:
              10.-50.18.154 = PC on network 2
              10.50.245.28 = KVM over IP connected to PC above

              In Apps on mode:
              192.168.86.26 = PC on network 1 running the apps

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

                @srytryagn said in DNS 8000+ms, troubleshooting help:

                10.50.245.28 = KVM over IP connected to PC above

                Well is the only traffic really in that sniff.. So that sniff is pretty useless..

                So your saying with that 2nd pcap - is when your network is dead?

                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.8, 24.11

                S 1 Reply Last reply Reply Quote 0
                • S
                  srytryagn @johnpoz
                  last edited by

                  @johnpoz

                  labelled -> pcap_AppA_AppB_anon.pcap = Apps on internet DEAD

                  labelled -> pcap_apps_off_Port_Fwd_anon.pcap = Apps off, internet and everything else working normal.

                  Should I do a longer pcap with a particular configuration to make it more useful for analysis ?

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

                    @srytryagn well your sniff where you said stuff is broke, I see nothing but this 192.168.86.26 talking to bunch of stuff.. I don't see anything else.. So its hard to say well dns was delayed or arps failed or lots of retrans.. There are a few retrans, but nothing out of the ordinary..

                    Looking at that sniff I don't see anything wrong at all.. But then again there isn't much other traffic.. And the small about there is, its in the middle of something and don't see any problems.. No retrans for example.. If your network had huge delays on it, you would see loads and loads of retrans when something didn't get an answer fast enough, etc..

                    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.8, 24.11

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      srytryagn @johnpoz
                      last edited by

                      @johnpoz Yup, I cant sort out what is going wrong, many folks have confirmed being able to run the apps without any issue.

                      What do you reckon ?

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

                        Seems very likely one or both 'apps' are misconfigured and flooding traffic that should never leave the host IMO.

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

                          @srytryagn said in DNS 8000+ms, troubleshooting help:

                          What do you reckon ?

                          Can't reckon anything from those sniff.. One is just kvm traffic, and the other is an IP talking to lots of other stuff, but nothing that is insane amount of traffic.. no errors seen, no retrans seen that are anything of any significance.. Don't even see any other traffic, no broakcast, no flood of multicast, Then again is 1.4 seconds worth of data.. So wouldn't expect to see anything - unless there was some sort of flood of traffic..

                          Maybe a longer sniff - while your trying to do stuff that says failing.

                          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.8, 24.11

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            srytryagn @johnpoz
                            last edited by srytryagn

                            @johnpoz Sure will run a longer sniff and will try to connect to some websites that will fail.

                            Any point in sniffing the Wan side or anything else while I am working on this ?

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

                              @srytryagn not really - you say your devices when turned on are what cause the problem.. So unless when your devices phone home they are doing a volumetric ddosing attack against your wan? The traffic has to go through your lan to get anywhere.

                              Guess that is a possibility, and if all the traffic was just dropped it wouldn't show really on pfsense as anything.. But your internet could become crazy slow..

                              I guess if your connecting to some sort of swarm or something - and you get bombed from 100s or thousands of devices trying to talk to your wan? And they are bombing you with large UDP packets or something?

                              Couldn't hurt to see normal taffic flow on your wan, and then sniff after you turn on your stuff and you say stuff fails/slow, etc.

                              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.8, 24.11

                              S 2 Replies Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                If that is the case then DNS and/or ping response from pfSense itself to something external would also be affected. I think we asked about that but I may have missed the reply.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  srytryagn @johnpoz
                                  last edited by

                                  This post is deleted!
                                  johnpozJ 1 Reply Last reply Reply Quote 0
                                  • S
                                    srytryagn @johnpoz
                                    last edited by srytryagn

                                    @johnpoz pcap enclosed w/ couple of attemtps at reaching out to websites (they all failed). extralongpcap_anon.zip

                                    Please let me know what mapping IPs/descriptions are helpful to know if at all.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      srytryagn @stephenw10
                                      last edited by

                                      @stephenw10 Can I ping from the console in web gui to test that ?

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

                                        In the gui use Diag > Ping or Diag > DNS Lookup.

                                        But better to test from the CLI via SSH if you can.

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

                                          @srytryagn you can also dump the data from the file.. Just really need the headers and such.. but just to split it up to post if you have no where else to host it.. splitcap comes to mind.. https://www.netresec.com/?page=SplitCap

                                          You should also be able to just zip it and split it up that way, 7z can do that really easy.. There is also a truncate option in that wrangler, which can cut out the data of large packets, we just really need to see the headers.

                                          I just did a quick pcap of wan traffic and fired off a speedtest to make sure it was big.. 226MB, after truncated it down to 18MB.. so something like that could maybe shrink your 7MB file down to size to be able to upload.

                                          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.8, 24.11

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            srytryagn @johnpoz
                                            last edited by

                                            @johnpoz I deleted post asking about split, it shrunk in wrangler and I posted it above.

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