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

pfSense_get_interface_addresses returns deprecated ipv6 addresses?

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 516 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
    Sprinterfreak
    last edited by Sprinterfreak Jun 13, 2023, 11:37 PM Jun 13, 2023, 11:23 PM

    Hi,

    where can I find the sources for pfSense_get_interface_addresses(); ?

    Reason: I suspect it to return deprecated ipv6 addresses over valid ones.
    This breaks Dynamic DNS updates, because it always updates the revoked address if a new prefix is announced.

    If a prefix's lifetime is revoked, old addresses don't get dropped immediately but marked as deprecated by the kernel, then dropped after a while (hours).
    I'd like to see if pfSense_get_interface_addresses(); takes this into account. (I guess not)

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jun 14, 2023, 12:34 PM

      https://github.com/pfsense/FreeBSD-ports/blob/devel/devel/php-pfSense-module/files/pfSense.c#L1857

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 1
      • S
        Sprinterfreak
        last edited by Jun 14, 2023, 1:00 PM

        Oh well, thanks.
        Looks like it doesn't care about the deprecated flag.

        I'll think about it and maybe file a bug then.

        Tanks so far!

        S 1 Reply Last reply Jul 17, 2024, 10:43 PM Reply Quote 0
        • S
          Sprinterfreak @Sprinterfreak
          last edited by Sprinterfreak Jul 17, 2024, 11:33 PM Jul 17, 2024, 10:43 PM

          Bump, issue persists. This seems to disrupt ipv6 connectivity on prefix rotation by upstream entirely.
          The new prefix does not propagate further then a new slaac address on the wan interface itself. All tracked interfaces don't update, ra keeps announcing deprecated prefixes, "LAN" looses internet connectivity.

          Issue opened https://redmine.pfsense.org/issues/15625

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            [[user:consent.lead]]
            [[user:consent.not_received]]