[Bug 223820] error when specify portrange (port-port) w/ portnames in ipfw kernel nat config

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 23 14:40:00 UTC 2017


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

            Bug ID: 223820
           Summary: error when specify portrange (port-port) w/ portnames
                    in ipfw kernel nat config
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: oleg at pcbtech.ru

Hi all!

I've just rebuild one system up to

FreeBSD dive1.dive.ru 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0 r326090: Wed
Nov 22 14:08:36 MSK 2017     xxx at yyy.ru:/usr/obj/usr/src/sys/zzz  i386

and now here I have:

$ ipfw add count tcp from any ftp\\-data-ftp to any
nnn count tcp from any 20-21 to any

that's correct. But this seems to me to be an error:

$ ipfw nat 77 config if xl0 same_ports redirect_port tcp
192.168.50.253:ftp\\-data-ftp ftp\\-data-ftp
ipfw nat 77 config if xl0 same_ports redirect_port tcp 192.168.50.253:50-43200
50-43200

It seems to me that there's a new error in ipfw nat config's parser, as I have
this rule for some time... several monthes, possibly even years

WBR,
Oleg

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


More information about the freebsd-bugs mailing list