oyyd / encryptsocks

Encrypt your socks transmission.
BSD 3-Clause "New" or "Revised" License
141 stars 20 forks source link

您的sslocal与ssServer 通讯中,分包处理过么 #39

Closed nusicvvv closed 5 years ago

nusicvvv commented 5 years ago

ssLocal write a big blob to ssServer , it would trigger multiple events for connection.on('data',(trunk)=>{}); and the trunk data would be aligned incorrectly to cause decipher to generate wrong data. would that happen?

nusicvvv commented 5 years ago

after all, the communication between sslocal and ssServer is in a simple format, like a packet '12345' and a subsequent packet '67890' would be ok, while a packet '1234' and a subsequent '567890' would not

nusicvvv commented 5 years ago

after all, the communication between sslocal and ssServer is in a simple format, like a packet '12345' and a subsequent packet '67890' would be ok, while a packet '1234' and a subsequent '567890' would not