[Bug 234237] ipfw cannot parse port names with hyphens or underscores

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 21 04:01:45 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234237

            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 at FreeBSD.org
          Reporter: jlduran at 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

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


More information about the freebsd-bugs mailing list