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

    Arpwatch enhancements -> Interface descriptions and email with interface information

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 536 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.
    • M
      moeller
      last edited by

      Hi,

      i did not like the interface names on the arpwatch database listening. So i created a patch for it.

      Maybe it is a bug, because it shows "LAN", "OPT1" and so on as the interface-description instead the user defined description under the interface general settings.

      --- arpwatch_database.php   2019-01-24 16:44:30.143901000 +0100
      +++ arpwatch_database.php        2019-01-24 16:44:52.875785000 +0100
      @@ -53,7 +53,7 @@
                   <?php if (count($entries)) : ?>
                   <?php foreach ($entries as $entry): ?>
                   <tr>
      -                <td><?=htmlspecialchars($entry['ifdescr'])?></td>
      +                <td><?=htmlspecialchars($entry['ifname'])?></td>
                       <td><?=htmlspecialchars($entry['ip'])?></td>
                       <td><?=htmlspecialchars($entry['mac'])?></td>
                       <td><?=htmlspecialchars($entry['vendor'])?></td>
      

      Path: /usr/local/www/

      So it uses the Interface name with the vlan tag: "vmx0.100".

      I also had in my memory, that arpwatch was sending emails with the interface of the detected arp-packets in the message body. But since one of the last couple updates i where missing this feature. Does someone have an idea?

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