Permalink
Commits on Feb 17, 2017
  1. Detect HTTPS interception (#1430)

    * 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
    committed on GitHub Feb 17, 2017
  2. Merge pull request #1378 from tw4452852/1362

    proxy: handle encoded path in URL
    committed on GitHub Feb 17, 2017
Commits on Feb 16, 2017
  1. Merge pull request #1373 from mholt/go18shutdown

    Replace our old faithful gracefulListener with Go 1.8's Shutdown()
    committed on GitHub Feb 16, 2017
  2. Merge pull request #1374 from mholt/go18timeouts

    Set Go 1.8's ReadHeaderTimeout and IdleTimeout
    committed on GitHub Feb 16, 2017
  3. Merge pull request #1354 from mholt/keyrotationfix

    Set session ticket keys properly (fixed in Go 1.8)
    committed on GitHub Feb 16, 2017
  4. Update CI to use Go 1.8 (#1444)

    committed on GitHub Feb 16, 2017
  5. Merge pull request #1409 from mastercactapus/not_a_directory

    return 404 for "not a directory" errors
    committed on GitHub Feb 16, 2017
  6. Merge pull request #1365 from tw4452852/1297

    redirect: determine the FromScheme at runtime (#1297)
    committed on GitHub Feb 16, 2017
Commits on Feb 14, 2017
  1. Merge pull request #1436 from rohanpai/master

    Added Sourcegraph badge to README
    committed on GitHub Feb 14, 2017
  2. Merge pull request #1425 from jung-kurt/cgi

    httpserver: Register cgi plugin
    committed on GitHub Feb 14, 2017
Commits on Feb 8, 2017
  1. Merge pull request #1410 from JRaspass/patch-1

    Replace magic number 308 with http.StatusPermanentRedirect
    committed on GitHub Feb 8, 2017
Commits on Feb 7, 2017
  1. Merge pull request #1404 from mholt/combinedrollers

    Create only one log roller per file across whole process (fixes #1363)
    committed on GitHub Feb 7, 2017