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

    Extremely Frustrating Outages

    Scheduled Pinned Locked Moved General pfSense Questions
    44 Posts 5 Posters 7.7k Views 6 Watching
    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
      Stewart
      last edited by

      I still don't know what to make of this. I don't see any drops or errors inside of the network. The drops only happen outside of the network with communication between the pfSense box and the modem, or really the modem and anything else.

      What seems to have fixed the issue is to unplug the access points in the network and get all the wireless devices offline. With them unplugged for a day they had no issues. We've plugged them back in and changed the SSID and password. We've been monitoring as we slowly have moved devices back on and so far no issues. I'm thinking it's one of the computers that connect but I have no idea how a PC with a chatty wnic could cause this type of issue. No problems inside of the network but it causes the modem to lose the ability to route or pass traffic. So bizarre.

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

        I would run a packet capture on the WAN when its happening see what that reveals.

        Sounds like it could be a conflict of some sort there. IP, ARP perhaps.
        Does it get a different public IP on the OPT interface?

        Steve

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

          @stephenw10

          The WAN is the only internet connection. OPT1 is reserved for administrative connections, in case something happens to the LAN it gives us a backup. Just DHCP and open firewall rules in case we plug into it. What am I looking for in the WAN capture? While at the site I mentioned above we found the issue to be a device connecting to the wifi, I've been made aware that it is happening to another client of ours so I'm just beginning this all over again. I'm not aware of any possible way that something inside of the network can cause the firewall and modem to lose communication so this is new to me. Thanks for the assistance!

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

            The only thing I could imagine causing a problem from inside is something spoofing the MAC or IP maybe. Even then it would prevent the inside clients connect9ing but should not stop pfSense seeing the modem.
            One thing we do se relatively often is a rogue DHCP server. A router being used as an access point that decided to go back to being an access point for example. Or I once saw a situation with a cell phone configured in hotspot mode that stole dhcp clients when it was broughr into the office. Tough to troubleshoot because it only happened when all the employees were present.
            That can appear as really weird behavior.

            I only asked about OPT1 because you said you tested using that port as WAN and it was OK. But presumably it has a different MAC so might pull a different IP?

            Steve

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

              @stephenw10 said in Extremely Frustrating Outages:

              The only thing I could imagine causing a problem from inside is something spoofing the MAC or IP maybe. Even then it would prevent the inside clients connecting but should not stop pfSense seeing the modem.

              Which is exactly my thoughts. How could something in the network prevent the firewall from seeing the modem? How could something in the network prevent even other devices from seeing the modem? That's what makes it so frustrating as it just doesn't seem possible.

              One thing we do se relatively often is a rogue DHCP server. A router being used as an access point that decided to go back to being an access point for example. Or I once saw a situation with a cell phone configured in hotspot mode that stole dhcp clients when it was broughr into the office. Tough to troubleshoot because it only happened when all the employees were present.
              That can appear as really weird behavior.

              I've seen plenty of times with routers resetting breaking a network. I usually find those with devices outside of the network scope or if I unplug the router and arp the IP. Never thought of a phone hotspot mucking up DHCP, though. Regardless, all those would do is stop internal traffic from getting out.

              I only asked about OPT1 because you said you tested using that port as WAN and it was OK. But presumably it has a different MAC so might pull a different IP?

              Steve

              I see. I plugged in OPT1 purely from a Layer 1 perspective to see if some kind of voltage on the line (since Spectrum was blaming voltage feedback) would be causing the issue. However this is happening, everything appears fine inside of the network. The modem just becomes unresponsive, dropping packets and facing very high latency. To me, that would indicate a modem issue but, at least at 1 client, it isn't.

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

                Ok pcap on the WAN when this is happening. Try to access the modem. See what's happening in the capture. Is the modem actually talking that long to respond? Errors? Re-transmissions?

                Steve

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

                  @stephenw10 said in Extremely Frustrating Outages:

                  Ok pcap on the WAN when this is happening. Try to access the modem. See what's happening in the capture. If the modem actually talking thar long to respond? Errors? Re-transmissions?

                  Steve

                  This site is remote to me so I'm a little limited on what I can do. I was remotely connected into the firewall when they started having issues again. I managed to get a pcap but couldn't connect to a PC to try to log into the modem as the service was too bad. By the time I got in the service had corrected itself. I'm not sure what I'm looking for in the pcap, though. Normally I'd go pick it apart by protocol to diagnose an SMB, FTP or SIP issue. I do see a lot of Protocol=QUIC, Info=.....Len=55[Malformed Packet]. Not sure how normal that is.

                  JKnottJ 1 Reply Last reply Reply Quote 0
                  • JKnottJ Offline
                    JKnott @Stewart
                    last edited by

                    @stewart said in Extremely Frustrating Outages:

                    QUIC

                    Here's what QUIC is. If you're getting malformed packets, that tends to indicate a hardware issue nearby. Malformed packets shouldn't be passing through routers or switches, as they'd be caught with the CRC check. What MAC address are they coming from? That would indicate the failing hardware.

                    PfSense running on Qotom mini PC
                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                    UniFi AC-Lite access point

                    I haven't lost my mind. It's around here...somewhere...

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

                      Hardware offloading in the NIC can make the checksum appear invalid in a pcap.

                      I would disable all hardware offloading anyway in Sys > Adv > Net.

                      Steve

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Stewart @JKnott
                        last edited by

                        @jknott said in Extremely Frustrating Outages:

                        @stewart said in Extremely Frustrating Outages:

                        QUIC

                        Here's what QUIC is. If you're getting malformed packets, that tends to indicate a hardware issue nearby. Malformed packets shouldn't be passing through routers or switches, as they'd be caught with the CRC check. What MAC address are they coming from? That would indicate the failing hardware.

                        I see the Malformed Packets coming into my pfSense box from the modem MAC address but I also see them leaving my pfSense box going into the modem MAC address. That would indicate that Wireshark is saying that packets coming and going are all malformed. Perhaps that is due to the Hardware offloading that @stephenw10 was mentioning?

                        JKnottJ 1 Reply Last reply Reply Quote 0
                        • S Offline
                          Stewart @stephenw10
                          last edited by

                          @stephenw10

                          I've now checked the Disable hardware checksum offload box.

                          I did manage to get another packet capture. There are hundreds, if not more, of
                          -TCP Retransmissions
                          -TCP Dup ACK
                          -TCP Out of Order
                          -TCP Previous segment not captured

                          1 Reply Last reply Reply Quote 0
                          • JKnottJ Offline
                            JKnott @Stewart
                            last edited by

                            @stewart

                            Can you set up a separate capture using Wireshark? That could help determine source of the capture errors. You'd need a data tap though.

                            PfSense running on Qotom mini PC
                            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                            UniFi AC-Lite access point

                            I haven't lost my mind. It's around here...somewhere...

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              Stewart @JKnott
                              last edited by

                              @jknott

                              You mean throw a switch in there with port mirroring into a PC and run wireshark on there?

                              JKnottJ 1 Reply Last reply Reply Quote 0
                              • JKnottJ Offline
                                JKnott @Stewart
                                last edited by

                                @stewart

                                Yes, just in case the pfsense NIC is the source. If the errors appear in Packet Capture, but not Wireshark that's likely the cause.

                                PfSense running on Qotom mini PC
                                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                UniFi AC-Lite access point

                                I haven't lost my mind. It's around here...somewhere...

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Stewart @JKnott
                                  last edited by

                                  @jknott said in Extremely Frustrating Outages:

                                  @stewart

                                  Yes, just in case the pfsense NIC is the source. If the errors appear in Packet Capture, but not Wireshark that's likely the cause.

                                  In the first site that had this issue, that's what I thought as a possibility so I swapped the firewall. Can't say for sure that it's the same as this site but at the last site it didn't help. The errors persisted across 2 firewalls.

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

                                    7dd54b6b-2bc2-45b2-af64-ca2c0ce63f81-image.png

                                    1ab2bff1-03e5-4ed0-9007-0b93f4685924-image.png

                                    Here's a snippet from when things are bad.

                                    JKnottJ 1 Reply Last reply Reply Quote 0
                                    • JKnottJ Offline
                                      JKnott @Stewart
                                      last edited by

                                      @stewart

                                      Can you upload the capture?

                                      PfSense running on Qotom mini PC
                                      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                      UniFi AC-Lite access point

                                      I haven't lost my mind. It's around here...somewhere...

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        Stewart @JKnott
                                        last edited by

                                        @jknott I can tomorrow, but wouldn't want it public? How should I send it to you?

                                        JKnottJ 1 Reply Last reply Reply Quote 0
                                        • JKnottJ Offline
                                          JKnott @Stewart
                                          last edited by

                                          @stewart

                                          Please post it here, as others may be able to help.
                                          There might be something useful here or here.

                                          In addition to the comments in the first link, you might try reducing MTU on the source computer, in case the packets are being fragmented, but not recovered properly.

                                          PfSense running on Qotom mini PC
                                          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                          UniFi AC-Lite access point

                                          I haven't lost my mind. It's around here...somewhere...

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

                                            Mmm, that pcap is pretty ugly though.

                                            No packet loss on the WAN when this happens?

                                            Almost looks like asymmetry. I'd still be looking for something on the wifi providing an alternate route somehow.

                                            Steve

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