Commit Graph

344 Commits (786b42da7e6f3b83e47bd9a357e9fbd9957e4d6d)

Author SHA1 Message Date
Sheng c1d7c9cd7f Added test_get_policy_dictionary 2018-04-22 22:25:40 +08:00
Sheng 452a62814e Added two blank lines 2018-04-22 22:25:40 +08:00
Sheng b666e5795f Moved preview 2018-04-22 22:25:20 +08:00
Sheng 09d5804a09 Prepare to write unit tests 2018-04-22 20:11:36 +08:00
Sheng a39657a0be Added make_app 2018-04-22 18:32:21 +08:00
Sheng b88a159fbb Added a parameter for worker to close with a reason 2018-04-14 17:13:40 +08:00
Sheng e8924f1a5a Modified help text 2018-04-11 21:32:00 +08:00
Sheng 17da42de9d Removed module unused 2018-04-11 21:27:03 +08:00
Sheng e55e7e6898 Rewrote get_real_client_addr 2018-04-11 21:06:03 +08:00
Sheng ce3c70c419 Renamed get_pkey to get_pkey_obj 2018-04-11 20:32:34 +08:00
Sheng 24de647738 Renamed get_client_addr to get_real_client_addr 2018-04-11 20:25:54 +08:00
Sheng f157be5b6c Renamed get_host_keys to load_host_keys 2018-04-11 20:19:49 +08:00
Sheng 6c9af890bc Use method initialize to pass settings 2018-04-11 20:14:26 +08:00
Sheng fdf0f88e38 Renamed method 2018-04-11 13:45:56 +08:00
Sheng 0b4e41b127 Reorganized 2018-04-11 12:48:58 +08:00
Sheng 3de544da80 Append key to entries directly 2018-04-10 11:16:22 +08:00
Sheng 024612599b Removed MissingHostKeyPolicy base class 2018-04-10 09:34:40 +08:00
Sheng 53ed3aef7c Check is_missing_host_keys before adding them 2018-04-10 08:26:32 +08:00
Sheng 838d453336 Redefined AutoAddPolicy class for thread-safety 2018-04-09 22:08:45 +08:00
Sheng 0f8771f077 Changed quotes 2018-04-09 09:40:07 +08:00
Sheng f77aa11ee5 Changed string formatting 2018-04-09 09:35:43 +08:00
Sheng c3542a5e42 Explicit exception ImportError 2018-04-08 21:52:54 +08:00
Sheng 756712c468 Use self.loop 2018-04-05 14:10:31 +08:00
Sheng 0aebb80c78 Updated requirements.txt 2018-04-05 13:51:53 +08:00
Sheng 6dabf865bd Adapted code to Tornado 5 2018-04-05 13:50:04 +08:00
Sheng 12bac55e51 Use daemon thread for ssh_connect 2018-04-03 19:17:59 +08:00
Sheng 20ba6bad36 Enhanced 2018-04-02 21:50:05 +08:00
Sheng 715d50907a ssh_connect wrapped to make it non-blocking 2018-04-02 10:25:49 +08:00
Sheng c549a01b1d Added a logging line 2018-03-21 08:07:34 +08:00
Sheng 3f3d061d58 Refactored 2018-03-21 07:38:48 +08:00
Sheng 75361d8795 Changed default policy to warning policy 2018-03-17 18:37:12 +08:00
Sheng 7bb9e362c0 Use uuid4 instead of uuid1 2018-03-17 18:08:35 +08:00
Sheng dd7a04b2d4 Updated README.md 2018-03-16 16:42:03 +08:00
Sheng e1a03b94f4 Updated README.md 2018-03-16 15:07:28 +08:00
Sheng 24f53533bd Fixed typo 2018-03-16 13:11:32 +08:00
Sheng 82a6dfdabd Updating known_hosts file periodically for autoadd policy 2018-03-16 12:25:20 +08:00
Sheng dc0b48ce9a Enhancement 2018-03-15 06:50:46 +08:00
Sheng 650382ad56 Moved a line 2018-03-15 02:00:25 +08:00
Sheng 95e7332852 Raise exception when empty host_keys combined with reject policy 2018-03-15 01:46:54 +08:00
Sheng d6083a9608 Updated README.md 2018-03-15 01:13:35 +08:00
Sheng 221bd81583 Refactored code 2018-03-15 01:09:51 +08:00
Sheng aa442b0546 Fixed typo 2018-03-14 22:15:36 +08:00
Sheng 6ee1db21b5 Added missing host key policy option 2018-03-14 22:09:17 +08:00
Sheng 96eae011cb Added static files back 2018-03-08 20:01:10 +08:00
Sheng ab16069d45 Updated index.html 2018-03-08 18:41:09 +08:00
Sheng 4c9e9d2058 Use external static files 2018-03-08 17:59:20 +08:00
Sheng 923565ff03 Refactored code 2018-03-08 17:09:58 +08:00
Sheng ed95a68666 Updated nginx config 2018-03-06 13:47:47 +08:00
Sheng 9ba2512be4 Close websocket with no reason when invalid worker id provided or addr unmatched 2018-03-06 10:59:12 +08:00
Sheng 311fcfedc9 Added a MixinHandler 2018-03-06 09:34:55 +08:00