[tor-dev] Sanitizing IPv6 addresses in bridge descriptors

Alex Le Heux alexlh at funk.org
Wed Jan 11 08:57:00 UTC 2012


Hi,

On Jan 10, 2012, at 22:36, Linus Nordberg wrote:

> Karsten Loesing <karsten.loesing at gmx.net> wrote
> Tue, 10 Jan 2012 14:45:03 +0100:
> 
> | - Write 3 bytes of the sanitized IPv6 address in [::] notation.  We're
> | writing sanitized IPv4 addresses as 10.x.x.x.  Is there a counterpart
> | for IPv6 addresses?  It should be obvious that these are "private"
> | addresses, but I'd like to keep the notation unchanged to keep parsing
> | tools simple.
> 
> RFC 3849 defines the prefix 2001:DB8::/32 as being reserved for
> documentation.  That should be fine for this.

The documentation prefix is for just that, use in documentation :)

ULA (RFC4193) is actually closer to the 10/8 (RFC1918) addresses that you use for IPv4.

Alex


More information about the tor-dev mailing list