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

    Saving Changes in DHCPv6 Relay fails

    2.3-RC Snapshot Feedback and Issues - ARCHIVED
    3
    10
    1.5k
    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.
    • Q
      quantumx
      last edited by

      Saving any changes under this service generates a 'Notices' bell, showing the configuration has been reverted..

      pfSenseConfigurator

      pfSense is restoring the configuration /cf/conf/backup/config-1451265285.xml

      1 Reply Last reply Reply Quote 0
      • S
        Steve_B Netgate
        last edited by

        I have been unable to reproduce this.

        Would you provide more details of your firewall and configuration please? what are the exact steps to reproduce?

        Als ik kan

        1 Reply Last reply Reply Quote 0
        • Q
          quantumx
          last edited by

          Steps to reproduce seem simple.  Try to enable the IPv6 relay service, any interface, any destination server.

          This is the configuration section added by services_dhcpv6_relay.php

          <dhcrelay6><enable><interface>lan</interface>
                        <server><0>IPV6 IP Address</server></enable></dhcrelay6>

          It turns out there is an error in the system log:

          Dec 30 14:30:08 php-fpm /services_dhcpv6_relay.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1451419652.xml
          Dec 30 14:30:08 php-fpm /services_dhcpv6_relay.php: pfSense is restoring the configuration /cf/conf/backup/config-1451419652.xml
          Dec 30 14:30:08 php-fpm /services_dhcpv6_relay.php: XML error: XML_ERR_NAME_REQUIRED at line 5246 in /conf/config.xml

          Which by the line number mentioned, seems to indicate that it doesn't like the numeral tags

          This seems like it should be fairly easy to duplicate…...  Is there any further information that would be useful?

          1 Reply Last reply Reply Quote 0
          • S
            Steve_B Netgate
            last edited by

            That helps. Thanks.

            Als ik kan

            1 Reply Last reply Reply Quote 0
            • Q
              quantumx
              last edited by

              Changing config section to read as follows, resolves XML issue:

              <dhcrelay6><enable><interface>lan</interface>
                            <server>IPV6 IP Address</server></enable></dhcrelay6>

              1 Reply Last reply Reply Quote 0
              • S
                Steve_B Netgate
                last edited by

                Looks like the server list should be a comma separated list.

                I have fixed this in both services_dhcp_relay.php and services_dhcpv6_relay.php

                The "Append circuit ID and agent ID to requests" checkboxes were broken too :(

                Would you mind testing this please? My abilities to test with V6 is limited.

                Thanks.

                Als ik kan

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

                  This all looks correct now.

                  1 Reply Last reply Reply Quote 0
                  • Q
                    quantumx
                    last edited by

                    This mostly works now  :)

                    The remaining (new?) problem is that the Destination Address field is blank upon returning to the page of the service, when enabled.  This happens for both IPv4 and 6 Relay services.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Steve_B Netgate
                      last edited by

                      This piece had list and array confused as too :(

                      Just pushed a fix for that.

                      Als ik kan

                      1 Reply Last reply Reply Quote 0
                      • Q
                        quantumx
                        last edited by

                        Fixed.

                        Thank you  :D

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