Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 15:18:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ipfw@FreeBSD.org
Subject:   [Bug 234237] ipfw cannot parse port names with hyphens or underscores
Message-ID:  <bug-234237-8303-WmLKuo0lPU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234237-8303@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234237-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=3D234237

--- Comment #2 from Jose Luis Duran <jlduran@gmail.com> ---
(In reply to commit-hook from comment #1)

Thank you!

So, for hyphened service names, escaping is mandatory:

    $ ipfw -n add pass udp from any to any dst-port "ftp\-data"
    00000 allow udp from any to any 20

After this commit, dots and underscores are allowed unescaped.

Should the /etc/rc.firewall script should be updated as well?  Specifically=
 the
firewall_myservices rcvar to also accept underscores and dots unescaped?

Thank you again!

--=20
You are receiving this mail because:
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-234237-8303-WmLKuo0lPU>