Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pseudo-tls over tcp support #22

Closed
fippo opened this issue Sep 4, 2014 · 1 comment
Closed

pseudo-tls over tcp support #22

fippo opened this issue Sep 4, 2014 · 1 comment

Comments

@fippo
Copy link
Member

fippo commented Sep 4, 2014

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 in ice4j which already contains those strings :-)

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

@fippo
Copy link
Member Author

fippo commented Sep 10, 2014

fixed in b0bb20b

@fippo fippo closed this as completed Sep 10, 2014
bbaldino pushed a commit to bbaldino/jitsi-videobridge that referenced this issue Jan 22, 2020
Implements rtp extensions natively (does not use libjitsi).
bbaldino pushed a commit to bbaldino/jitsi-videobridge that referenced this issue Sep 24, 2020
Implements rtp extensions natively (does not use libjitsi).
JonathanLennox pushed a commit to JonathanLennox/jitsi-videobridge that referenced this issue Jun 1, 2022
Implements rtp extensions natively (does not use libjitsi).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant