[Bug 283783] ipfw parser does not handle src-port keyword

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Jan 2025 03:12:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283783

            Bug ID: 283783
           Summary: ipfw parser does not handle src-port keyword
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jpb@jimby.name

While the ipfw parser does handle the "dst-port" keyword, it seems it does not
handle the "src-port" keyword.

Steps to reproduce:

# kldload ipfw
# ipfw -q flush
# ipfw add 1000 allow tcp from 203.0.113.10 to me dst-port 22
01000 allow tcp from 203.0.113.10 to me 22
#
# ipfw add 1000 allow tcp from 203.0.113.10 src-port 3030 to me
ipfw: missing ``to''


(Apologies if this is a known bug.  I did not find it during a prior search.)

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