Bug #5766
closed
JP
gateways widget: Incorrect monitoring of v6 over v4 tunnels
Added by Anonymous over 10 years ago. Updated over 10 years ago.
100%
Updated by Anonymous over 10 years ago
Actions
#1
- File support.jpg added

Updated by Anonymous over 10 years ago
Actions
#2
- Category changed from Web Interface to Gateway Monitoring
- Assignee changed from Anonymous to Renato Botelho
MK Updated by Michael Kellogg over 10 years ago Actions #3
in this example isn't monitoring HENETIPV6_TUNNELV6 good enough and just hide V4?
JP Updated by Jim Pingle over 10 years ago Actions #4
That's the idea. The interface has no v4 IP so it should have no v4 gateway, yet the system makes a v4 gateway entry (that shouldn't be there)
JT Updated by Jim Thompson over 10 years ago Actions #5
"just hide V4" is a work-around Michael.
We're better than that.
let's make it work right.
[details deleted]
(I love having my system at home detailed in public...)
JP Updated by Jim Pingle over 10 years ago Actions #6
Looks like this GIF (and also GRE) case could be fixed by some better testing in source:src/etc/inc/interfaces.inc#L5573 and source:src/etc/inc/interfaces.inc#L5605 (interface_has_gateway() and interface_has_gatewayv6()). In the case of gif/gre it should check the interface address to make sure the interface has an address of the desired type. That should be a safe test since it is statically configured in the gif settings, unlike the other types that can change.
JP Updated by Jim Pingle over 10 years ago Actions #7
Here is a quick fix that works to eliminate the bum entry on GIF/GRE: https://gist.github.com/jim-p/a1b92a97e4a9ee7e30fb
JP Updated by Jim Pingle over 10 years ago Actions #8
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:471e7c3ac7276568c0fea726d699fb63dd87d3eb.
RB Updated by Renato Botelho over 10 years ago Actions #9
- Assignee changed from Renato Botelho to Jim Pingle
Works fine here
JP Updated by Jim Pingle over 10 years ago Actions #10
- Status changed from Feedback to Resolved
Working as expected now. Closing.
JT Updated by Jim Thompson over 10 years ago Actions #11
- File deleted (
support.jpg)
Also available in: Atom