4 ms·
man sshd_config. Compression: Specifies whether compression is allowed, or delayed until the user has authenticated successfully. The argument must be "yes", "
by sanxiyn 14y ago
man sshd_config.
Compression: Specifies whether compression is allowed, or delayed until the user has authenticated successfully. The argument must be "yes", "delayed", or "no". The default is "delayed".
I don't know why they chose "delayed" as default, but this seems to prevent this attack.
- tptacek 14y agoThe SSH protocol is nothing like TLS. The SSH security model is nothing like the TLS security model. Pornin's guess about Thai and Juliano's attack does not break the TLS authentication model; it breaks the confidentiality guarantees TLS makes to the application layer. If you authenticated TLS with certificates the way SSH authenticates with keys, you wouldn't worry about the compression attack. So, not so much.