Arpwatch vendor database doesn't work, upper/lower case bug.
-
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[1].lower()
to
vendor = row[1].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.incEdit. Someone already reported it.
https://redmine.pfsense.org/issues/10432
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy