kern/156584: ipv4 packet is not forward to v4-mapped binding in jail
buganini at gmail.com
Fri Apr 22 22:10:08 UTC 2011
>Synopsis: ipv4 packet is not forward to v4-mapped binding in jail
>Arrival-Date: Fri Apr 22 22:10:08 UTC 2011
>Originator: Kuan-Chung Chiu
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
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.
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.
for apache, I put
in make.conf to make it be "tcp4"
but for proftpd and mysql,
I didnt see any switch.
More information about the freebsd-bugs