[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: IPv6 and local network



Am 29.04.2010, 14:15 Uhr, schrieb M G Berberich:

> Hello,
>
> lefnode.conf says:
>
>     An IPv6 address is considered local if it is site-local,
>     link-local or the loopback address (::1).
>
> This does not work for a site with global IPv6-Adresses, as the
> server-name resolvs to a address with scope global.
>
> For ipV4 there holds:
>
>     An IPv4 address is considered local if it is within the networks
>     (IP/netmask) of the local interfaces.
>
> Why does this not hold for IPv6-addresses too?

Because I hadn't bothered to implement it.

If your system provides the getifaddrs() interface (Linux or *BSD), please  
try leafnode 1.11.8-pre1 from <http://home.pages.de/~mandree/leafnode/>  
which is supposed to fix this (and also defaults to enabling IPv6 now).

I know this doesn't currently work on Solaris 10, and I don't care much  
given that there isn't a single portable interface to retrieve all  
IPv4/IPv6 interfaces and netmasks.

Please test and let me know if it works for you.

-- 
Matthias Andree
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/