Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 May 2021 17:22:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ipfw@FreeBSD.org
Subject:   [Bug 252744] ipfw cannot add fwd rule with tablearg,port
Message-ID:  <bug-252744-8303-XygnFO3SpL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252744-8303@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252744-8303@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252744

Lutz Donnerhacke <donner@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress
           Assignee|ipfw@FreeBSD.org            |donner@FreeBSD.org
                 CC|                            |donner@FreeBSD.org,
                   |                            |ipfw@FreeBSD.org

--- Comment #3 from Lutz Donnerhacke <donner@FreeBSD.org> ---
That's a parsing problem.

# ipfw add 7110 fwd 0.0.0.0,8000 tcp from 'table(5)' to any dst-port
80,8000,8080
07110 fwd tablearg,8000 tcp from table(5) to any 80,8000,8080

# ipfw add 7110 fwd tablearg tcp from 'table(5)' to any dst-port 80,8000,80=
80
07110 fwd tablearg tcp from table(5) to any 80,8000,8080

Probably this case was never tested well, because the port is only used when
the forward address is a locally bounded one. (According to the man page.)

Thank you for notifying this.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



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