diff --git a/kippo/core/ssh.py b/kippo/core/ssh.py index b845975f..bdcba73a 100644 --- a/kippo/core/ssh.py +++ b/kippo/core/ssh.py @@ -115,6 +115,11 @@ class HoneyPotSSHFactory(factory.SSHFactory): ske.remove('diffie-hellman-group-exchange-sha1') t.supportedKeyExchanges = ske + # reorder supported ciphers to resemble current openssh more + t.supportedCiphers = ['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc' ] + t.supportedPublicKeys = ['ssh-rsa', 'ssh-dss'] + t.supportedMACs = [ 'hmac-md5', 'hmac-sha1'] + t.factory = self return t