Add Whois information to fail2ban reports

When I look at the mails I receive from fail2ban I am intrigued by this part:

Here is more information about [ipaddress] :
missing whois program
Regards,
Fail2Ban

Would it be possible to add the Whois info to the reports? Ultimately a “your are busted ass-hole” email to the offender would be a nice option too… :smiley:

From the f2b faq:
https://www.fail2ban.org/wiki/index.php/FAQ_english#I_get_emails_containing_.22Here_are.2Fis_more_information_about_.3Cip.3E.22_and_then_nothing

short recap of linked post

run which whois
or

To check if you got bit by misleading feed back.

problem in linked post was:

Hope it helps

3 Likes

Thank you for pointing to @GG_jr’s topic. I totally missed that one. I’ll have it a go…

2 Likes