lo0's IPv6 address overwritten

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Fri Apr 10 10:35:14 PDT 2009


On Fri, 10 Apr 2009, JAKO Andras wrote:

>>> I found that when I start a telnet in the jail to an arbitrary global IPv6
>>> address, lo0's ::1 changes to the jail's IPv6 address. The routing table
>>> doesn't change.
>>
>> telnet to where? To the jail IP? To an IP of the base system? To world?
>
> I started telnet inside the jail, to the world:
>
> [root at splash /usr/home/goya]# jail -l -U root -i /usr/jail/ro.noc
> r-noc.net.bme.hu "2001:738:2001:1000::2" /bin/sh
> 1
> # ifconfig lo0 ; ifconfig lo1
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>        inet6 2001:738:2001:1000::2 prefixlen 128
> # telnet 2001:738::abcd
> Trying 2001:738::abcd...
> ^C#
> # ifconfig lo0 ; ifconfig lo1
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>        inet6 2001:738:2001:1000::2 prefixlen 128
> lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>        inet6 2001:738:2001:1000::2 prefixlen 128

*wow*, that's indeed ... confusing. I'll try to (get someone to) look
into this.

/bz

-- 
Bjoern A. Zeeb                      The greatest risk is not taking one.


More information about the freebsd-jail mailing list