Skip to content

Mask Send Messages #48

@acidfilez

Description

@acidfilez

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions