Packet 11 00
From XfirePlusWiki
Packet Description
This packet is sent to the server once NAT type checking is complete to inform the server about P2P networking capabilities.
Packet Layout
- packetLength(*) packetType(11 00) numAttributes(06)
- attributeLength(04) "conn" attributeType(02) connectionType
- attributeLength(03) "nat" attributeType(02) NATType
- attributeLength(03) "sec" attributeType(02) ???
- attributeLength(08) "clientip" attributeType(02) IPAddress
- attributeLength(06) "naterr" attributeType(02) NATError
- attributeLength(08) "upnpinfo" attributeType(01) valueLength(*) UPNPInfo
Notes
For connectionType, value '12 00 00 00' has been seen. If NATType is a valid type, between 1 and 4, then NATError is 0. If NATType is 0, then NATError is an error number describing why P2P won't work.
Values for 'sec' and 'upnpinfo' are yet unknown. For now, empty string can be used for UPNPInfo.
For 'sec' two values have been seen: 0 and 2.
