Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 04:01:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234237] ipfw cannot parse port names with hyphens or underscores
Message-ID:  <bug-234237-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 234237
           Summary: ipfw cannot parse port names with hyphens or
                    underscores
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jlduran@gmail.com

ipfw is not able to parse port names that contain hyphens or underscores:

    $ ipfw -n add pass udp from any to any dst-port ftp-data
    ipfw: invalid destination port ftp-data

    $ ipfw -n add pass udp from any to any dst-port rsvp_tunnel
    ipfw: invalid destination port rsvp_tunnel

Without the hyphen, it works as expected:

    $ ipfw -n add pass udp from any to any dst-port ftp
    00000 allow udp from any to any 21

--=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-227>