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

AbuseIPDB Scripting

Scheduled Pinned Locked Moved Development
5 Posts 4 Posters 969 Views
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.
  • J
    John Willard
    last edited by Feb 2, 2024, 3:01 AM

    Hello there - this is my first time on this forum and my first time posting on a serious forum (only did some gaming ones before), so do excuse me if my posting style is weird.

    Anyways, I wanted to ask about writing a script to automatically report port scans (with certain count thresholds) to AbuseIPDB. The first question I wish to ask in language. I know PHP is the most supported language for scripting on pfSense, but I wanted to ask - should I use PHP for this task or should I use Python?

    If there is a category better suited for this, please do let me know - thank you in advance!

    G 1 Reply Last reply Feb 2, 2024, 3:47 PM Reply Quote 0
    • G
      Gertjan @John Willard
      last edited by Feb 2, 2024, 3:47 PM

      @John-Willard

      Use what you're comfortable with !
      sh or bash, perl, and probably lua is available.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      J 1 Reply Last reply Feb 2, 2024, 6:03 PM Reply Quote 0
      • J
        John Willard @Gertjan
        last edited by Feb 2, 2024, 6:03 PM

        @Gertjan I see - thank you!

        1 Reply Last reply Reply Quote 0
        • D
          Danil 0
          last edited by Feb 13, 2024, 11:21 AM

          It will be great, if you share your script :). Thanks.

          1 Reply Last reply Reply Quote 2
          • 0
            0x44
            last edited by 11 days ago

            Hi guys,
            I create simple shell script reports for AbuseIPDB from filter.log file. Maybe it will be helpful to someone.
            It was tested over a one-week period and works as expected.
            Here is the link: ttps://github.com/whoami-0x44/abuseipdb-reporting-pfsense

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received