Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2011 22:00:39 GMT
From:      Kuan-Chung Chiu <buganini@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/156584: ipv4 packet is not forward to v4-mapped binding in jail
Message-ID:  <201104222200.p3MM0dAL026682@red.freebsd.org>
Resent-Message-ID: <201104222210.p3MMA8mS058105@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104222200.p3MM0dAL026682>