Commit Graph

281 Commits (4525f50b118a3ce7634d3db8bfdbb4d4cbe8f1e4)

Author SHA1 Message Date
Sheng 4525f50b11 Added test_main.py to tests 2018-10-23 22:56:18 +08:00
Sheng 2755a9871c Fixed typo 2018-10-23 14:10:10 +08:00
Sheng 0c6f740e39 Updated README 2018-10-22 21:51:51 +08:00
Sheng 430c785feb Updated minor version 2018-10-21 18:30:46 +08:00
Sheng d0542e72c6 Fixed test_get_redirect_url 2018-10-21 14:45:58 +08:00
Sheng 8e4039a24a Support redirecting http to https 2018-10-21 14:07:44 +08:00
Sheng 40cf1095ff Use open_to_public to store the status of the http(s) server 2018-10-20 17:54:12 +08:00
Sheng e31e9be433 Updated get_trusted_downstream 2018-10-20 15:30:11 +08:00
Sheng f52b2f5156 Updated README 2018-10-19 18:55:20 +08:00
Sheng 1f835f5a70 Refactored handler.py 2018-10-19 18:18:55 +08:00
Sheng fbb3e466b2 Updated minor version 2018-10-18 20:38:27 +08:00
Sheng 68468585ee Added a command line option xheaders 2018-10-18 20:25:30 +08:00
Sheng a8a444d7ed Always reset fbidhttp to False if not open to public 2018-10-18 18:17:42 +08:00
Sheng d3da7ec5cb Fixed boundary port number typo 2018-10-18 15:20:27 +08:00
Sheng 5d6f92e529 Move some config variables to handler.py 2018-10-18 15:07:45 +08:00
Sheng 383f61d4cc Updated version 2018-10-17 23:03:30 +08:00
Sheng c06bf5311a Added an option for blocking public non-https requests 2018-10-17 22:39:53 +08:00
Sheng 746982b001 Use method format instead of % 2018-10-17 19:34:09 +08:00
Sheng c2c81aaeae Use method initialize to deny forbidden acesss 2018-10-17 19:22:51 +08:00
Sheng 7e5a170383 Added head method IndexHandler 2018-10-16 16:15:39 +08:00
Sheng a68eff592f Added attribute custom_headers to MixinHandler 2018-10-16 15:14:34 +08:00
Sheng af60cd1cd5 Tested app with 403 and 404 requests 2018-10-16 14:51:15 +08:00
Sheng e94c846379 Added default handler NotFoundHandler 2018-10-16 13:56:44 +08:00
Sheng 499f3b6dcd Lowercase all option names 2018-10-15 22:06:02 +08:00
Sheng 12f4c0d0d2 Pass server settings for test 2018-10-15 21:36:54 +08:00
Sheng 021a3a627f Use is_private instead of is_global 2018-10-15 20:34:17 +08:00
Sheng 77b6fbfd85 Block requests not come from trusted_downstream and public non-https requests 2018-10-15 20:14:53 +08:00
Sheng db3ee2b784 Added proxies option for trusted downstream 2018-10-15 17:49:02 +08:00
Sheng a51918d2ac Added to_ip_address to utils 2018-10-15 17:20:30 +08:00
Sheng 1e51d690bc Changed help text 2018-10-14 16:55:11 +08:00
Sheng bb9d193cae Fixed assertion in rasied exception context 2018-10-14 16:46:47 +08:00
Sheng 827a0d8a9d Support https server 2018-10-14 16:15:39 +08:00
Sheng deef92fe66 Move get_client_addr to MixinHandler 2018-10-13 22:16:16 +08:00
Sheng e66e5f2045 Added set_default_headers 2018-10-13 21:57:13 +08:00
Sheng 66ebe2ceb2 Use general method to validate ipaddress 2018-10-13 09:47:15 +08:00
Sheng 9aebb6e4e3 Updated write_error 2018-10-13 08:52:32 +08:00
Sheng daa2402167 Reset password to None if privatekey is delivered 2018-10-12 20:54:39 +08:00
Sheng cb22a30045 Updated requirements.txt and version 2018-10-11 07:29:38 +08:00
Sheng dd7f99970b Fix title by using default port 2018-10-10 23:56:19 +08:00
Sheng 656e2ff028 Tested default port 2018-10-10 23:18:38 +08:00
Sheng 0c9db2abaf Set default port 22 on server side 2018-10-10 22:30:37 +08:00
Sheng 66891cb71c Updated version 2018-10-10 11:04:30 +08:00
Sheng f6d2776a20 Let tornado parse xheaders 2018-10-10 10:51:40 +08:00
Sheng 88405eddac Added to_int to utils 2018-10-10 08:49:59 +08:00
Sheng de0fda1ae1 Call lookup_hostname only under reject policy 2018-10-08 23:28:04 +08:00
Sheng 33703f0ca3 Updated lookup_hostname 2018-10-08 22:37:03 +08:00
Sheng c873b50522 Renamed attribute filename to privatekey_filename 2018-10-08 20:50:02 +08:00
Sheng a576a41ea4 Lookup hostname before connection under reject policy 2018-10-08 20:25:21 +08:00
Sheng 90e7ea0327 Fixed test_print_version 2018-10-03 19:22:20 +08:00
Sheng fdcf1718c1 Set default port to 22 2018-09-29 20:19:45 +08:00