The package supports APIv2. No other API is currently available. Uploading a CSV report of abusive IP addresses is not yet implemented, but is in the plans to do so.
Installation is planned to be done around Composer. Please be sure to NOT try to clone this repository and try your luck with getting it working.
composer install AbuseIpDb
We only support APIv2 to select the API version (this can be passed in as a parameter or is used as the default). Newer values will be provided when the API is updated and our group has time to implement. This is currently the only API supported by AbuseIPDB.
TBD, still in implementation phase
If you have a subscription plan with Abuse IP DB, you can indicate this with an additional parameter.
TBD, still in implementation phase
TBD, still in implementation phase
TBD, still in implementation phase
All the following calls result in the same call to AbuseIpDb. If you pass in
an unkonwn category, it will raise a ValueError
.
TBD, still in implementation phase
This adds a comment to the report.
TBD, still in implementation phase
Please refer to IP Bulk Reporter for the exact specification of the CSV file.
TBD, still in implementation phase
NOTE: This is currently not implemented.
TBD, still in implementation phase
You can invoke the module on the command line. It supports all the commands
listed above. For the explicit syntax and the required configuration call it
with the --help
parameter.
abuseipdb --help
The CLI was developed for usage with fail2ban. Use the following action instead of wget or curl:
TBD, still in implementation phase
The lines do the same. Of course you can leave out the masking of sensitive
data, but it is a bad idea. It will replace your own hostname with *host*
,
any existing user with *user*
and any email address with *email*
. This
will prevent any information leakage about your system and reduce the attack
surface a little bit.