Arpwatch vendor database doesn't work, upper/lower case bug.
Symon last edited by Symon
I just installed the latest arpwatch package. The list of vendors in the database page, at https://x.x.x.x/arpwatch_database.php only works if the vendor MAC is all numeric digits. Any alpha hex characters stop it working. I fixed it by changing a line in massagevendor from
vendor = row.lower()
vendor = row.upper()
This keeps the hex in upper case in ethercodes.dat .
Can anyone please point me in the direction where I can report this bug to the developer? Thanks.
p.s. I know this isn't a 'proper' fix. But it was quick. The real bug is somewhere in arpwatch.inc
Edit. Someone already reported it.
I'll get my coat...
indeed someone asked for it on freenode. and i verified it was not working.
we can set that to lower or to upper or set the preg_match case insensitive
anyway it will be ok in a few days