dragonite-network / dragonite-java

[DEPRECATED, please check https://github.com/tobyxdd/hysteria]
Apache License 2.0
803 stars 101 forks source link

Feature req: traffic obfuscation #8

Closed kuzhao closed 6 years ago

kuzhao commented 6 years ago

Can we possibly have a built-in obfuscator so that traffic patterns could be reshaped before transmitted?

tobyxdd commented 6 years ago

All packets are encrypted with AES if you turn on encryption, so I would say the payload itself should have no special "pattern". Theoretically, it's possible to detect Dragonite by the traffic patterns. But it should be hard, and we simply can't create any counter-measure before any effective measure comes out first 😆

Our SDK has a PacketCryptor interface which makes implementing traffic encryptions & obfuscations a relatively simple task. If your network has special requirements for Dragonite to work properly, consider implementing your own PacketCryptor.