[Bug 263240] IPFW tools: Parsing error in nat config port_range

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Apr 2022 14:10:44 UTC

            Bug ID: 263240
           Summary: IPFW tools: Parsing error in nat config port_range
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dl@CyberPunk.ru

Created attachment 233165
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233165&action=edit
IPFW NAT config: port range parsing fix

Hello, Colleagues.

In ipfw error with parsing "ipfw nat 11 config port_range 1025-65535". Forever
"You need a range of port(s) from 1024 <= x < 65536".

Two errors in /usr/src/sbin/ipfw/nat.c nat_port_alias_parse().

Patch attached.


You are receiving this mail because:
You are the assignee for the bug.