• Buelldozer@lemmy.today
    link
    fedilink
    English
    arrow-up
    45
    ·
    22 hours ago

    I too read Drew DeVault’s article the other day and I’m still wondering how the hell these companies have access to “tens of thousands” of unique IP addresses. Seriously, how the hell do they have access to so many IP addresses that SysAdmins are resorting to banning entire countries to make it stop?

    • festus@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      6 hours ago

      There are residential IP providers that provide services to scrapers, etc. that involves them having thousands of IPs available from the same IP ranges as real users. They route traffic through these IPs via malware, hacked routers, “free” VPN clients, etc. If you block the IP range for one of these addresses you’ll also block real users.

      • Buelldozer@lemmy.today
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 hours ago

        There are residential IP providers that provide services to scrapers, etc. that involves them having thousands of IPs available from the same IP ranges as real users.

        Now that makes sense. I hadn’t considered rogue ISPs.

        • festus@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 hours ago

          It’s not even necessarily the ISPs that are doing it. In many cases they don’t like this because their users start getting blocked on websites; it’s bad actors piggy-packing on legitimate users connections without those users’ knowledge.

      • Buelldozer@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        Sure, network blocking like this has been a thing for decades but it still requires ongoing manual intervention which is what these SysAdmins are complaining about.

    • GreenKnight23@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      20 hours ago

      fail2ban will always get you better results than banning countries because VPNs are a thing.

      that said, I automatically ban any IP that comes from outside the US because there’s literally no reason for anyone outside the US to make requests to my infra. I still use smart IP filtering though.

      also, use a WAF on a NAT to expose your apps.

      • Buelldozer@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        4 hours ago

        fail2ban

        I’m familiar with f2b. I even have several clients licensed with the commercial version but it doesn’t fit this use case as there’s no logon failure for it to work with.

        I automatically ban any IP that comes from outside the US because there’s literally no reason for anyone outside the US to make requests to my infra.

        I have systems setup with geo-blocking but it’s of limited use due to the prevalence of VPNs.

        also, use a WAF on a NAT to expose your apps.

        This isn’t a solution either because a WAF has no way to know what traffic is bad so it doesn’t know what to block.