I'd like to see the host name and an external to whois information on the event detail. It would need something like this line to add another row to the table after the ip address.

$output .= ' <tr><th>'. t('Hostname') .'</th><td>' . gethostbyaddr($behave->ip) . ' (' . l('whois','http://www.whois.sc/'.$behave->ip) . ')</td></tr>';

Sorry, I'd make a patch but the Unix line endings were giving me grief for some reason.

Tim

CommentFileSizeAuthor
#1 badbehavior.module_01.patch1011 bytessanduhrs

Comments

sanduhrs’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new1011 bytes

I like this feature too, so here is the patch.
From my point of view it is RTC.

dpangier’s picture

Status: Reviewed & tested by the community » Fixed

Patch applied, thank you.

Anonymous’s picture

Status: Fixed » Closed (fixed)