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

    Torrents Resulting in WAN Packet Loss

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 4 Posters 141 Views 4 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.
    • planedropP Offline
      planedrop @Gertjan
      last edited by

      @Gertjan said in Torrents Resulting in WAN Packet Loss:

      @planedrop said in Torrents Resulting in WAN Packet Loss:

      Anyone heard of an ISP not just throttling torrent traffic, but nuking an entire network due to torrents being detected?

      Officially ? Never 😊

      Have ISP being suspected of filtering and limiting ? All the time.
      Of course they do.
      Because we all would do the same thing when we detect that the little brother was gobbing the entire home network as he was coping the entire pirate bay content on his laptop.
      So, most of us just pulled his plug, or put him behind a limiter.

      The ISP is/does the same thing, just one set higher.
      I'm not saying it's ok or even justified, but maybe torrent traffic makes them nervous.

      Pulled the monitoring data for PPS, figured it would be easiest to just show it, the first is my PPS graph and the second is my packet loss and latency graphs for the same time period, so they do line up (not that that's surprising).

      Maybe this many pps was overwhelming the ISP?

      53bd4add-ab59-48dc-996d-29688de6618a-image.png

      e663c251-371c-44d7-bd5f-d72358752557-image.png

      1 Reply Last reply Reply Quote 0
      • AndyRHA Offline
        AndyRH
        last edited by

        Is the ISP router in the path? Even in bridge mode they track states. Running out of states can cause odd things to happen. ATT routers has state table that is only 8192. Similar to you I have a seed box for Linux ISOs and it can easily cause me to exceed 11k states. You might try limiting the global max peers to a much smaller number and see if that resolves the problem. When the ATT router was in my path I had the global peers set to 75.

        A VPN will make this problem go away, but add latency to the seed box.

        o||||o
        7100-1u

        planedropP 1 Reply Last reply Reply Quote 0
        • planedropP Offline
          planedrop @AndyRH
          last edited by

          @AndyRH I do have their router inbetween, though it's in theory in passthrough mode, but I haven't dived into what all that actually means and whether or not it's performing any actual routing functions.

          I know some people have gotten this fiber link to work with direct to the firewall connectivity, so I may give that a shot just to eliminate it from the picture.

          This is a great question though so thanks for bringing it up. I may end up going with a VPN just to eliminate the headache of this, they're not that expensive anyway.

          AndyRHA 1 Reply Last reply Reply Quote 0
          • AndyRHA Offline
            AndyRH @planedrop
            last edited by

            @planedrop A search for "8311project" will lead you to the solution I used to rid myself of ATT HW.

            o||||o
            7100-1u

            planedropP 1 Reply Last reply Reply Quote 0
            • planedropP Offline
              planedrop @AndyRH
              last edited by

              @AndyRH Yeah I've heard of this, thanks for the reminder. I might go down this path just to see if it fixes the issue, if not I'll do a VPN, but this would be free so might as well give it a shot.

              I don't really foresee the 6100 being the limit here though, sure it's a lot of pps and connections, but shouldn't be enough to slow it down I wouldn't think.

              AndyRHA 1 Reply Last reply Reply Quote 0
              • AndyRHA Offline
                AndyRH @planedrop
                last edited by

                @planedrop said in Torrents Resulting in WAN Packet Loss:

                I don't really foresee the 6100 being the limit here

                I have a 7100, same CPU, and it is not troubled by my ~20 ISOs seeding. Last I looked I was running about 11k open states. My torrent client has a global max of 500.

                o||||o
                7100-1u

                planedropP 1 Reply Last reply Reply Quote 0
                • planedropP Offline
                  planedrop @AndyRH
                  last edited by

                  @AndyRH OK yeah figured that was the case, in theory it should have more than enough oomph to handle something like this.

                  I'll look into bypassing the ONT and see if that makes a difference, otherwise I'll go with a VPN.

                  For reference, I was seeding 200 ISOs, in less than 1 month I'm already over 10TiB of uploads with it lol, so was definitely doing a lot of it but it still should be within the realm of possibility.

                  Considering it worked fine for a while, I am wondering if my ISP is just being awful and I'm on a "blacklist" so to speak.

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

                    Latency at >1s is pretty bad!

                    What sort of WAN connection do you have? Failing modem perhaps?

                    planedropP 1 Reply Last reply Reply Quote 0
                    • planedropP Offline
                      planedrop @stephenw10
                      last edited by

                      @stephenw10 Correct, but that was only during the torrents, otherwise latency is like 5ms.

                      Something about the torrenting in specific is making my ISP crap the bed basically, and I'm trying to get to the bottom of whether it's my ONT, just my provider in general, or something intentional from the provider.

                      (and initially posted here to make sure it wasn't pfSense possibly causing the issue, though I didn't think so)

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

                        Some connections/states limit perhaps? The graphs should show you that too.

                        planedropP 1 Reply Last reply Reply Quote 0
                        • planedropP Offline
                          planedrop @stephenw10
                          last edited by

                          @stephenw10 There was a lot of states, and state changes per second, during this time, but nothing that should be going over what it can handle.

                          For reference here is a photo, the spikes are during torrents being on, the rest is normal traffic.

                          9ce6913a-56e9-4a58-b4d1-586ee9f15a65-image.png

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

                            Hmm. I mean 6000 states is nothing for pfSense but potentially could be an issue for something else in the route.

                            planedropP 1 Reply Last reply Reply Quote 0
                            • planedropP Offline
                              planedrop @stephenw10
                              last edited by

                              @stephenw10 Yeah that's what I'm thinking, maybe the ONT itself can't handle it or something along those lines.

                              I know many ISPs do throttle torrents, but you'd usually see that as the torrent traffic itself having higher latency and stuff, not just dropped packets on the entire connection, though it doesn't appear the later is unheard of.

                              Pretty confident at this point it isn't pfSense, so at least that's good. May also see if my ISP can get a tech out, after I test both VPNs and possibly direct fiber connectivity instead of the ONT.

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