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

Mask Send Messages #48

Open
acidfilez opened this issue Jul 26, 2014 · 0 comments
Open

Mask Send Messages #48

acidfilez opened this issue Jul 26, 2014 · 0 comments

Comments

@acidfilez
Copy link

Looking at the websocket message transfer:

sudo tcpdump -A -s0 -ilo0 port 8687

I can see that my IOS app using SRWebSocket mask my messages (frames).

But node.js/websocket.io doesnt mask and send normaly.

For example, IOS to Node:

21:29:16.412636 IP localhost.52317 > localhost.8687: Flags [P.], seq 391:484, ack 130, win 9178, options [nop,nop,TS val 1143337638 ecr 1143337638], length 93
E...S.@.@............]!.T.W.......#........
D%..D%....8.b.C.B.......X...R...R...T...X...S...R...@.2.B.L.....X.....J...Y.@.2.B.Y...W.@...@.T......

But Node to IOS:
21:29:16.418444 IP localhost.8687 > localhost.52317: Flags [P.], seq 130:229, ack 484, win 9156, options [nop,nop,TS val 1143337643 ecr 1143337638], length 99
E...AC@.@...........!..]....T.X"..#........
D%..D%...a{"type":"user","action":"reload","for_user":7}

I can see the json.

Any how to mask the messages that goes out of websocket.io ?

Thanks.

PS: BTW I saw how IOS mask the frames..

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