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

    Issue and potiential fix for apinger monitoring of IPv6 GIF interfaces

    Scheduled Pinned Locked Moved IPv6
    2 Posts 2 Posters 1.2k 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.
    • J
      jay4096
      last edited by

      Hi,

      I've been using a GIF interface to create an IPv6 tunnel to HE.net, and gateway monitoring never worked properly and has always shown an infinite delay.

      It turns out that the interface was not present in /var/etc/apinger.conf because in /etc/inc/gwlb.inc, find_interface_ipv6 is called with $gateway['interface'] instead of $gateway['friendlyiface'].

      In my case, "interface" is "opt2_stf", but the "friendlyiface" is "opt2".

      Updating /etc/inc/gwlb.inc to look like this fixes the issue:

      } else {
      $gwifip = find_interface_ipv6($gateway['interface'], true);

      if (!is_ipaddrv6($gwifip))
      $gwifip = find_interface_ipv6($gateway['friendlyiface'], true);
      }

      It may not be the proper fix, and the proper resolution may be in find_interface_ipv6 instead.

      I'm new to issue tracking for pfsense, does someone here monitor issues and enter bugs in the tracker?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        For that issue in particular, apinger has been replaced with dpinger in 2.3, and that's something we're in the middle of working on right now. So not something we'll pursue with apinger since it's gone in development versions. We'll make sure that scenario works in 2.3.

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