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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | badbehavior.module_01.patch | 1011 bytes | sanduhrs |
Comments
Comment #1
sanduhrsI like this feature too, so here is the patch.
From my point of view it is RTC.
Comment #2
dpangier commentedPatch applied, thank you.
Comment #3
(not verified) commented