Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. We're doing some work this week on our automation so our block lists are not accessible at this time on the Intel site:

We're doing some work this week on our automation so our block lists are not accessible at this time on the Intel site:

Scheduled Pinned Locked Moved Uncategorized
gayint
2 Posts 2 Posters 0 Views
  • 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.
  • gayint@infosec.exchangeG This user is from outside of this forum
    gayint@infosec.exchangeG This user is from outside of this forum
    gayint@infosec.exchange
    wrote last edited by
    #1

    We're doing some work this week on our automation so our block lists are not accessible at this time on the Intel site:

    https://intel.gayint.org/

    However, you can still generate your own prefix lists based on our ASN block list, the Spamhaus ASN DROP list, or your own by following the instructions here:

    Link Preview Image
    Convert ASNs to Prefixes

    Use Python to easily do the thing the firewall vendors say they can't.

    favicon

    GAYINT Blog (blog.gayint.org)

    And if you want direct access to the latest naughty ASN list, you can get to it here for now:

    https://blog.gayint.org/intel/naughtyAsns.txt

    #GAYINT

    krishean@tech.lgbtK 1 Reply Last reply
    1
    0
    • gayint@infosec.exchangeG gayint@infosec.exchange

      We're doing some work this week on our automation so our block lists are not accessible at this time on the Intel site:

      https://intel.gayint.org/

      However, you can still generate your own prefix lists based on our ASN block list, the Spamhaus ASN DROP list, or your own by following the instructions here:

      Link Preview Image
      Convert ASNs to Prefixes

      Use Python to easily do the thing the firewall vendors say they can't.

      favicon

      GAYINT Blog (blog.gayint.org)

      And if you want direct access to the latest naughty ASN list, you can get to it here for now:

      https://blog.gayint.org/intel/naughtyAsns.txt

      #GAYINT

      krishean@tech.lgbtK This user is from outside of this forum
      krishean@tech.lgbtK This user is from outside of this forum
      krishean@tech.lgbt
      wrote last edited by
      #2

      @gayint so in the asnsToPrefixes page you say you'd appreciate hearing about what people have done with the script, so have some bash:

      for line in "${asn_list[@]}";do
      res_json=$(curl -fsSL "https://stat.ripe.net/data/announced-prefixes/data.json?resource=AS${line}")
      if [ ! -z "${res_json}" ];then
      # convert json into iptables rules.v4 lines
      echo "${res_json}" | jq -r '.data.prefixes[].prefix' | grep -v ':' | sort -g | sed "s/^/-A INPUT -s /;s/$/ -m comment --comment \"drop AS${line}\" -j DROP/"
      else
      echo "Error: Unable to retrieve json for ${line}"
      fi
      done

      hopefully this is useful to someone, the sed expression could be modified to output other blocklist formats if needed, and rules.v6 output could be easily added as well

      1 Reply Last reply
      0
      • R relay@relay.infosec.exchange shared this topic
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups