ARP records aren't closed when router goes down

Bug #790600 reported by Morten Brekkevold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Morten Brekkevold

Bug Description

As described by Matej Gregr on the nav-users list:

> Hello,
> I noticed, that NAV does not close arp entries after monitored node
> become unavailable. For example: There is an active mac address
> 11:22:33:44:55:66 with end_time set to infinity. When the monitored node
> goes down, the mac address remains in active state, so you can find it
> using machinetracker as a still active address, which apparently is not
> true.
>
> I suggest, that there should be another rule in database, enssuring that
> arp entries will be closed.
>
> Something like:
>
> CREATE OR REPLACE RULE netbox_status_close_arp AS ON UPDATE TO netbox
> WHERE NEW.up='n'
> DO UPDATE arp SET end_time=NOW()
> WHERE netboxid=OLD.netboxid AND end_time='infinity';

Tags: sql
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.