Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Arpwatch vendor database doesn't work, upper/lower case bug.

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 395 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      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[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.inc

      Edit. Someone already reported it.
      https://redmine.pfsense.org/issues/10432
      I'll get my coat...

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        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

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.