[jitsi-dev] [jitsi-videobridge] pseudo-tls over tcp support (#22)

Would be nice to have pseudo-tls over tcp support in the bridge as well as described on http://msdn.microsoft.com/en-us/library/dd947700(v=office.12).aspx

chrome and hangouts use a similar thing. I wiresharked a little and the handshake is as follows:

char peer0_0[] = {
0x80, 0x46, 0x01, 0x03, 0x01, 0x00, 0x2d, 0x00, 
0x00, 0x00, 0x10, 0x01, 0x00, 0x80, 0x03, 0x00, 
0x80, 0x07, 0x00, 0xc0, 0x06, 0x00, 0x40, 0x02, 
0x00, 0x80, 0x04, 0x00, 0x80, 0x00, 0x00, 0x04, 
0x00, 0xfe, 0xff, 0x00, 0x00, 0x0a, 0x00, 0xfe, 
0xfe, 0x00, 0x00, 0x09, 0x00, 0x00, 0x64, 0x00, 
0x00, 0x62, 0x00, 0x00, 0x03, 0x00, 0x00, 0x06, 
0x1f, 0x17, 0x0c, 0xa6, 0x2f, 0x00, 0x78, 0xfc, 
0x46, 0x55, 0x2e, 0xb1, 0x83, 0x39, 0xf1, 0xea };
char peer1_0[] = {
0x16, 0x03, 0x01, 0x00, 0x4a, 0x02, 0x00, 0x00, 
0x46, 0x03, 0x01, 0x42, 0x85, 0x45, 0xa7, 0x27, 
0xa9, 0x5d, 0xa0, 0xb3, 0xc5, 0xe7, 0x53, 0xda, 
0x48, 0x2b, 0x3f, 0xc6, 0x5a, 0xca, 0x89, 0xc1, 
0x58, 0x52, 0xa1, 0x78, 0x3c, 0x5b, 0x17, 0x46, 
0x00, 0x85, 0x3f, 0x20, 0x0e, 0xd3, 0x06, 0x72, 
0x5b, 0x5b, 0x1b, 0x5f, 0x15, 0xac, 0x13, 0xf9, 
0x88, 0x53, 0x9d, 0x9b, 0xe8, 0x3d, 0x7b, 0x0c, 
0x30, 0x32, 0x6e, 0x38, 0x4d, 0xa2, 0x75, 0x57, 
0x41, 0x6c, 0x34, 0x5c, 0x00, 0x04, 0x00 };

Googling for the first bytes of that leads to a file GoogleTurnSSLCandidateHarvester.java which already contains those strings :slight_smile:

The candidate type for those is "ssltcp". http://hancke.name/tmp/ssltcp shows an example of using it.


Reply to this email directly or view it on GitHub:

Closed #22.


Reply to this email directly or view it on GitHub:

fixed in b0bb20b659ebaac0469e4acd7378546a618a0002


Reply to this email directly or view it on GitHub: