Skip to content

[Bug]: ACLExtendedRule allows out‑of‑range port numbers (0 or >65535) in source_ports / destination_ports #291

@pheus

Description

@pheus

NetBox access-list plugin version

v1.9.1

NetBox version

v4.4.1

Steps to Reproduce

  1. Create an Extended ACL and add a new Extended Rule.
  2. Set Protocol to TCP or UDP.
  3. In Source Ports or Destination Ports, enter one of: 0, 65536, 70000.
  4. Save the rule (UI or API).

Expected Behavior

Reject any integer not in 1 - 65535 (inclusive) when the protocol is TCP/UDP.

Observed Behavior

The rule saves successfully with 0 and values >65535.

Impact

Invalid values can propagate to generated configurations and cause deployment errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions