[tor-dev] Sanitizing IPv6 addresses in bridge descriptors

Linus Nordberg linus at nordberg.se
Tue Jan 10 21:36:58 UTC 2012


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.


More information about the tor-dev mailing list