[Standards-JIG] Peer to peer communication with IPv6

Peter Saint-Andre stpeter at jabber.org
Wed Jun 28 23:08:08 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, any prohibiting of IPv6 addresses was unintentional, so we'll fix
that.

/psa

Lukasz Stelmach wrote:
> Peter Saint-Andre wrote:
>> stlman wrote:
>>>> Greetings.
>>>>
>>>> I have read a few JEPs (65, 176, 177) which describe some
>>>> forms of p2p communication. JEP-0177 and JEP-0065 define
>>>> "IP address" as dotted decimal which means IPv4 only.
>> JEP-0065 explicitly mentions that SOCKS5 is IPv6-ready and does not
>> define "IP address" as v4 or v6. Just because the examples show IPv4
>> addresses does not mean that IPv6 addresses are not allowed. The same
>> goes for JEP-0177.
> 
> I am afraid there is more than just examples. Let me show you:
> 
> JEP-065
>   6 Formal Description
>   [...]
>   6.1 <streamhost/>
>   [...]
>   The "host" attribute specifies the host to connect to. This
>   attribute MUST be present. The value MUST be either a resolvable
>   domain name or the "dotted decimal" IP address (e.g. "1.2.3.4").
>                       ^^^^^^^^^^^^^^
> 
> Unfortunately there is nothing about "coloned hexadecimal"
> notation here. I'd say the description, not only examples,
> implies IPv4.
> 
> BTW. SOCKS5 is IPv6 ready but it is irrelevant here as ATYP
> is never anything else than 3.
> 
> JEP-0177 (and after careful reading JEP-0176 too)
>   9 XML Schemas
>   [...]
>    <xs:simpleType name='IPaddress'>
>     <xs:restriction base='xs:string'>
>       <xs:pattern
> value='((1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]).){3}(1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])'/>
>     </xs:restriction>
>   </xs:simpleType>
> 
> And here anything else thant IPv4 is strictly prohibited :-(
> 
> IMHO JEP-0065 is at best unclear about IPv6 and Jingle
> transport JEPs rigorously define ip attribute format suitable
> only for IPv4 addresses :-(
> 
> Best regards


- --
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEowvYNF1RSzyt3NURAgZdAJ99c/fxkPbpIOP90KmA3RriA1hUMACfWkwy
YuTxF3FrwU8eT5HPVQoGQTc=
=6dmc
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060628/de1762cd/attachment.bin>


More information about the Standards mailing list