mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
82cbd7a96b
* WIP: Implement HTTPS interception detection by Durumeric, et. al. Special thanks to @FiloSottile for guidance with the custom listener. * Add {{.IsMITM}} context action and {mitm} placeholder * Improve MITM detection heuristics for Firefox and Edge * Add tests for MITM detection heuristics * Improve Safari heuristics for interception detection * Read ClientHello during first Read() instead of during Accept() As far as I can tell, reading the ClientHello during Accept() prevents new connections from being accepted during the read. Since Read() should be called in its own goroutine, this keeps Accept() non-blocking. * Clean up MITM detection handler; make possible to close connection * Use standard lib cipher suite values when possible * Improve Edge heuristics and test cases * Refactor MITM checking logic; add some debug statements for now * Fix bug in MITM heuristic tests and actual heuristic code * Fix gofmt * Remove debug statements; preparing for merge |
||
---|---|---|
.. | ||
condition.go | ||
condition_test.go | ||
context.go | ||
context_test.go | ||
error.go | ||
https.go | ||
https_test.go | ||
logger.go | ||
logger_test.go | ||
middleware.go | ||
middleware_test.go | ||
mitm.go | ||
mitm_test.go | ||
path.go | ||
pathcleaner.go | ||
pathcleaner_test.go | ||
plugin.go | ||
plugin_test.go | ||
recorder.go | ||
recorder_test.go | ||
replacer.go | ||
replacer_test.go | ||
roller.go | ||
server.go | ||
server_test.go | ||
siteconfig.go | ||
vhosttrie.go | ||
vhosttrie_test.go |