kern/156584: ipv4 packet is not forward to v4-mapped binding in jail

Kuan-Chung Chiu buganini at gmail.com
Fri Apr 22 22:10:08 UTC 2011


>Number:         156584
>Category:       kern
>Synopsis:       ipv4 packet is not forward to v4-mapped binding in jail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 22 22:10:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Kuan-Chung Chiu
>Release:        9-CURRENT
>Organization:
N/A
>Environment:
FreeBSD security-hole.info 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r220865M: Wed Apr 20 07:22:20 CST 2011     root at security-hole.info:/usr/obj/usr/src/sys/SECURITYHOLE  i386
>Description:
if program in jail listen to v4 by v4-mapped (RFC 4291?), ie.
sockstat's PROTO field is "tcp4 6",
it won't get connected.
>How-To-Repeat:
setup a jail with both v4/6 address,
and try some program like apache22/proftpd/mysql,
or whatever display "tcp4 6" in sockstat's PROTO field.
and try to connect it.
>Fix:
for apache, I put
WITHOUT_V4MAPPED=       yes
in make.conf to make it be "tcp4"

but for proftpd and mysql,
I didnt see any switch.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list