Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jan 2025 03:12:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283783] ipfw parser does not handle src-port keyword
Message-ID:  <bug-283783-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283783-227>