by josteink · 13y ago · 0 comments
2. Affected configurations
OpenSSH 6.2 and OpenSSH 6.3 when built against an OpenSSL that supports AES-GCM.
What would be a good/simple way to test if your system is one of these? How can I check which ciphers my build of OpenSSL supports?Edit: The following command returns nada on all my systems. I guess that puts me in the clear?
$ openssl --version 2>&1 | grep gcmIf you get "no cipher found", you're clear, if you can connect you can disable the cipher (while keeping others) with this line in you sshd_config:
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc
$ openssl enc --help 2>&1 | grep gcm -aes-128-ecb -aes-128-gcm -aes-128-ofb -aes-192-ecb -aes-192-gcm -aes-192-ofb -aes-256-ecb -aes-256-gcm -aes-256-ofb
(Tested on ArchLinux with OpenSSL 1.0.1.e-5)
I've never understood why so many applications pipe help output to STDERR.
It's not an error... I asked for the output! shrug
Most people think stderr (so as not to muck up pipelines when you get the invocation syntax wrong). But then there is also the cleverer option of using stdout if and only if the help is explicitly requested, which seems to be justifiable, popular in the survey, but (I think) not much implemented.