• Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    12
    ·
    5 months ago

    Is there a database of “this IP belongs to this state” these companies use? Or do they just use GeoIP stuff? I don’t want my Lemmy server to accidentally violate American laws and get in trouble/banned, so I may need to start doing some IP filtering myself.

    • Good_morning@lemmynsfw.com
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      Only the biggest websites are even acknowledging this, it’ll get torn down as soon as it actually goes into effect, can’t keep the Mormons away from their porn.

    • Empathy [he/him]@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 months ago

      Easiest solution IMO if you’re already using CloudFlare, even the free version: you can filter out certain countries. Otherwise, there’s probably other alternatives, even open source ones. Good terms to search for with your cloud provider or self hosted software may be middlewares, firewalls, serverless, edge functions, etc.