Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2017 14:40:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223820] error when specify portrange (port-port) w/ portnames in ipfw kernel nat config
Message-ID:  <bug-223820-8@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: oleg@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: W=
ed
Nov 22 14:08:36 MSK 2017     xxx@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-43=
200
50-43200

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

WBR,
Oleg

--=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-223820-8>