Comments (4)
chacha20
chacha20-ietf 加密的支持?不知道效果如果,会不会计算得更快?
还有,加密方式能否自己进行选择?
from kcptun.
@jannson 现在大多数设备的cpu都应该支持aes-ni指令,AES加密有硬件支持的情况下,不一定慢。
- RC4的加密在数据包层面固定偏移位置能直接xor推导出特征,弃用。
- DES的加密没有硬件支持,太慢。
- chacha20如果是rc4这种stream cipher,对于包级别依然无法去特征。
(比如包头部偏移32个字节就可以猜测kcp头部,xor做实验,验证下一个包的kcp)。
总之,在包级别去特征,只能用block cipher
在传输层,可以自己在上面实现一层TLS就能保证数据的安全,这一层才能选择chacha20/rc4/des这些,类似于-tuncrypt选项。
我非常支持你做任意的修改,有任何问题我可以提供详细的解释,一起探讨。
from kcptun.
原来如此。明白了~
from kcptun.
Salsa20/ChaCha20 用随机 nonce 就可以去特征了。详见 https://nacl.cr.yp.to/secretbox.html
from kcptun.
Related Issues (20)
- 演示配置,关于配置,请在此thread讨论 HOT 11
- json文件中多实例运行配置 HOT 4
- target不能为udp端口嘛? HOT 1
- The official docker image is obsoleted. HOT 2
- 20230728 release was not completed? HOT 2
- udpsession read 优化
- 能否开发一个非插件形式的单独运行安卓APK程序 HOT 1
- Does the latest version support reverse connections? HOT 3
- 多连接乱序 HOT 2
- DSCP
- DSCP 功能测试不生效
- 关于kcptun的多端口跟udp2raw结合的配置问题 HOT 3
- client/main.go里没有显式关闭session会不会引起内存泄露 HOT 2
- 连接成功后突发长时间卡顿(可重现,卡顿较长时间自动恢复) HOT 3
- win7下面运行服务端报异常(Go 1.21开始不支持win7了T.T) HOT 8
- Any plans to support tun/tap device on X86/64 systems?
- he writes that the port is busy, why and how to configure it correctly to log in to ssh via "46.174.53.140" getting to ssh "81.50.60.330". HOT 1
- 希望能增加监听UDP的功能 HOT 3
- how do I connect wireguard on kcptunnel?
- 有没有其他提升网络质量的技术? 或者KCPTUNclient和server通信的时候能使用TCP隧道吗? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcptun.