Commit Graph

96 Commits (2e0f06e65086f461c20c9fbff89ce821191184f5)

Author SHA1 Message Date
Sheng 2e0f06e650 Fixed is_same_primary_domain
6 years ago
Sheng 5c8bd84b95 Added an option for configuring cross-origin websocket level
6 years ago
Sheng 2653a3e35a Added function for limiting connections for every client(ip)
6 years ago
Sheng 699b37d7a1 Updated test_app.py
6 years ago
Sheng 32f303474e Updated test_app.py
6 years ago
Sheng 646621279b Updated test_policy.py
6 years ago
Sheng 4525f50b11 Added test_main.py to tests
6 years ago
Sheng d0542e72c6 Fixed test_get_redirect_url
6 years ago
Sheng 8e4039a24a Support redirecting http to https
6 years ago
Sheng 40cf1095ff Use open_to_public to store the status of the http(s) server
6 years ago
Sheng e31e9be433 Updated get_trusted_downstream
6 years ago
Sheng 1f835f5a70 Refactored handler.py
6 years ago
Sheng 68468585ee Added a command line option xheaders
6 years ago
Sheng a8a444d7ed Always reset fbidhttp to False if not open to public
6 years ago
Sheng 5d6f92e529 Move some config variables to handler.py
6 years ago
Sheng c06bf5311a Added an option for blocking public non-https requests
6 years ago
Sheng c2c81aaeae Use method initialize to deny forbidden acesss
6 years ago
Sheng 7e5a170383 Added head method IndexHandler
6 years ago
Sheng a68eff592f Added attribute custom_headers to MixinHandler
6 years ago
Sheng af60cd1cd5 Tested app with 403 and 404 requests
6 years ago
Sheng e94c846379 Added default handler NotFoundHandler
6 years ago
Sheng 499f3b6dcd Lowercase all option names
6 years ago
Sheng 12f4c0d0d2 Pass server settings for test
6 years ago
Sheng 77b6fbfd85 Block requests not come from trusted_downstream and public non-https requests
6 years ago
Sheng db3ee2b784 Added proxies option for trusted downstream
6 years ago
Sheng bb9d193cae Fixed assertion in rasied exception context
6 years ago
Sheng 827a0d8a9d Support https server
6 years ago
Sheng 66ebe2ceb2 Use general method to validate ipaddress
6 years ago
Sheng 656e2ff028 Tested default port
6 years ago
Sheng 0c9db2abaf Set default port 22 on server side
6 years ago
Sheng f6d2776a20 Let tornado parse xheaders
6 years ago
Sheng 88405eddac Added to_int to utils
6 years ago
Sheng 33703f0ca3 Updated lookup_hostname
6 years ago
Sheng a576a41ea4 Lookup hostname before connection under reject policy
6 years ago
Sheng 90e7ea0327 Fixed test_print_version
6 years ago
Sheng 2adcf93362 Updated tests/utils.py
6 years ago
Sheng 1a7c395c75 Updated requirements.txt
6 years ago
Sheng b3c33ff6bd Use form attribute novalidate for debug mode
6 years ago
Sheng b372fcbbb2 Pass None for empty password
6 years ago
Sheng 5f3641701e Increase buffer size for channel
6 years ago
Sheng f4351318ec Updated tests
6 years ago
Sheng fa717491cd Updated test_server_error
6 years ago
Sheng 6cfd981e80 Tested server error
6 years ago
Sheng ad12876b0c Strip encoding
6 years ago
Sheng 58feb5e76b Enable xsrf for testing
6 years ago
Sheng 688ca78bb2 Use command "locale charmap" to detect encoding
6 years ago
Sheng 80bdddc280 Added setting swallow_http_errors
6 years ago
Sheng e1fbc417fd Added test for bad authentication type
6 years ago
Sheng 1a3880ecee Raise InvalidException for empty required value
6 years ago
Sheng 5519a17016 Return 400 http error for invalid post requests
6 years ago