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

    [OpenBGPd] - Error in package scripts prevent use of both IPv4 and IPv6

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 1.1k 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.
    • L
      Luzemario
      last edited by

      Hi guys,

      The OpenBGPd-0.11_5 package has a bug when using both IPv4 and IPv6. The GUI has a single IPv4 field only to specify the "Listen on IP" address in the "settings" tab. When using both IPv4 and IPv6, TWO "Listen on IP" fields are necessary, one for IPv4 and other for IPv6.

      If one leaves the "Listen on IP" empty (to bind to all interfaces), the package script incorrectly sets the "Listen on IP" address of IPv6 config to "0.0.0.0", causing an addres family invalid error (and BGPd service does not start). In the other hand, one put the IPv4 interface address in the "Listen on IP" field. The package script incorrectly copies the specified IPv4 address entered for IPv4 to IPv6 config, causing the same error again.

      In both cases, editing the config by hand in the "Raw config" tab solves the problem until other settings are changed in the "settings" tab, when the bug corrupts the config again and demands other manual edit.

      This behavior was noted in both pfSense 2.3.2 and former versions. it affects OpenBGPd 0.11_5 and earlier versions. I could file a bug for it, but I don't know how to do it.

      Cheapest hosting - Bom e barato! - www.luzehost.com.br :D

      1 Reply Last reply Reply Quote 0
      • L
        Luzemario
        last edited by

        Created Bug #6721 to track this. Thanks guys.

        Cheapest hosting - Bom e barato! - www.luzehost.com.br :D

        1 Reply Last reply Reply Quote 0
        • D
          dbaio
          last edited by

          "Raw Config" is the best option.
          The Web Gui only works on simple environments.

          –
          Danilo G. Baio (dbaio)

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