Skip to content

RADVD RDNSS entry is not checked for "suffix only" with unexpected behavior #9971

@meyergru

Description

@meyergru

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

In the RDNSSD entry for RADVD, you can enter e.g. "::88:99".

While I would expect that suffix to be prepended with the current /64 interface prefix to indicate some name server on the same interface (much like what happens when you enter nothing), the entry is copyied verbatim to /var/etc/radvd.conf.

To Reproduce

Steps to reproduce the behavior:

  1. Go to RADVD settings
  2. Click on advanced settings
  3. Enter "::88:99" into the RDNSS server field and apply.
  4. Look into generated section in /var/etc/radvd.conf

Expected behavior

Either the /64 prefix should be prepended for such suffixes or there should be a validation keeping you from entering suffixes only.

Describe alternatives you considered

None.

Additional context

See: https://forum.opnsense.org/index.php?msg=262685

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 26.1.4 (amd64).

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportCommunity support or awaiting triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions