Commit Graph

42 Commits (e55e7e6898f4ec6d634d541a68e59dbd365b965a)

Author SHA1 Message Date
Sheng 6c9af890bc Use method initialize to pass settings
7 years ago
Sheng fdf0f88e38 Renamed method
7 years ago
Sheng 0b4e41b127 Reorganized
7 years ago
Sheng 3de544da80 Append key to entries directly
7 years ago
Sheng 024612599b Removed MissingHostKeyPolicy base class
7 years ago
Sheng 53ed3aef7c Check is_missing_host_keys before adding them
7 years ago
Sheng 838d453336 Redefined AutoAddPolicy class for thread-safety
7 years ago
Sheng f77aa11ee5 Changed string formatting
7 years ago
Sheng c3542a5e42 Explicit exception ImportError
7 years ago
Sheng 756712c468 Use self.loop
7 years ago
Sheng 6dabf865bd Adapted code to Tornado 5
7 years ago
Sheng 12bac55e51 Use daemon thread for ssh_connect
7 years ago
Sheng 20ba6bad36 Enhanced
7 years ago
Sheng 715d50907a ssh_connect wrapped to make it non-blocking
7 years ago
Sheng c549a01b1d Added a logging line
7 years ago
Sheng 3f3d061d58 Refactored
7 years ago
Sheng 75361d8795 Changed default policy to warning policy
7 years ago
Sheng 7bb9e362c0 Use uuid4 instead of uuid1
7 years ago
Sheng 24f53533bd Fixed typo
7 years ago
Sheng 82a6dfdabd Updating known_hosts file periodically for autoadd policy
7 years ago
Sheng dc0b48ce9a Enhancement
7 years ago
Sheng 650382ad56 Moved a line
7 years ago
Sheng 95e7332852 Raise exception when empty host_keys combined with reject policy
7 years ago
Sheng 221bd81583 Refactored code
7 years ago
Sheng aa442b0546 Fixed typo
7 years ago
Sheng 6ee1db21b5 Added missing host key policy option
7 years ago
Sheng 923565ff03 Refactored code
7 years ago
Sheng 9ba2512be4 Close websocket with no reason when invalid worker id provided or addr unmatched
7 years ago
Sheng 311fcfedc9 Added a MixinHandler
7 years ago
Sheng d07eb5b910 Reject cross-origin traffic
7 years ago
Sheng bc1f4997f2 Added debug option
7 years ago
Sheng c5c4f5707b Modified error message
7 years ago
Sheng 02c56e7a34 Generated friendly error message for some exception types
7 years ago
Sheng c9913a4108 Added ECDSAKey and Ed25519Key for authentication
7 years ago
Sheng 62bd3175b6 Changed quotes
7 years ago
Sheng 5d0fad48ec Added get_addr to get real client addr
7 years ago
Sheng 04105c11c9 Keep tracking worker mode, update handler when necessary
7 years ago
Sheng 08af39dcb8 Handled ERRNO_CONNRESET
7 years ago
Sheng cc1cffe7da Update handler events
7 years ago
Sheng 2c6bcc5350 logging traceback exc
7 years ago
Sheng 26f792f404 Use io.StringIO
7 years ago
Sheng 30d38865a2 Initialize
7 years ago