fail2ban bad ip database: api

| ip database | live view | stats | report | ip blacklist | help | api key:

See the API< page how to optain your own api key.

download ip blacklist:


https://fail2ban.bytefarm.ch/fail2ban/blist?[g=abcdef01234567890][&s=<service>][&t=<time_in_secs>][&h=<num_of_hits>][&l=<limit>]
https://fail2ban.bytefarm.ch/fail2ban/blist?g=abcdef01234567890&t=2592000&h=30&l=65536

Note: If no api key is provided at this point, a global blacklist from all database records will be generated

$ curl [-s] [--compressed] [-F "s=<service>"] [-F "t=<time_in_secs>"] [-F "h=<num_of_hits>"]  [-F "l=<limit>"] [-F "g=abcdef01234567890"] "https://fail2ban.bytefarm.ch/fail2ban/blist"
$ curl -s --compressed -F "g=abcdef01234567890" -F "h=30" -F "t=2592000" -F "l=65536" "https://fail2ban.bytefarm.ch/fail2ban/blist"

A cron script could be used to download the blacklist and insert/update the rules for ipset/iptables:
$ ./blist.sh abcdef01234567890

Σ = 90 | Δt = 0.0064778327941895s