-
Notifications
You must be signed in to change notification settings - Fork 56
Description
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..