Commit Graph

303 Commits (a1c9378048088cde18839a7419bb2a37f58d31f2)

Author SHA1 Message Date
Sheng 7b715bea17 Fixed AutoAddPolicy 2018-04-23 18:14:42 +08:00
Sheng 3165cf2399 Updated test_settings.py 2018-04-23 17:11:07 +08:00
Sheng 5245560b81 Updated test_setttings.py 2018-04-23 17:03:58 +08:00
Sheng 189a30af96 Added test_settings.py 2018-04-23 16:46:49 +08:00
Sheng e5990f4384 Updated tests 2018-04-23 15:49:43 +08:00
Sheng 8e31cf5259 Changed host_keys_filename 2018-04-23 10:25:39 +08:00
Sheng 251fd90e5f Added more unittests to test_policy.py 2018-04-23 10:17:29 +08:00
Sheng af6b134b64 Updated README.md 2018-04-22 22:25:40 +08:00
Sheng d34032a3b0 Updated README.md 2018-04-22 22:25:40 +08:00
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