[tor-bugs] #18077 [meek]: meek-server logging client IP addresses in some situations

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 16 18:46:58 UTC 2016


#18077: meek-server logging client IP addresses in some situations
--------------------+---------------------
 Reporter:  dcf     |          Owner:  dcf
     Type:  defect  |         Status:  new
 Priority:  High    |      Milestone:
Component:  meek    |        Version:
 Severity:  Normal  |     Resolution:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+---------------------

Comment (by dcf):

 It turns out this error message is not coming from meek-server itself. It
 is being printed by the net/http package, which does its own internal
 logging:
 https://github.com/golang/go/blob/go1.5.2/src/net/http/server.go#L1304
 {{{
                 if err := tlsConn.Handshake(); err != nil {
                         c.server.logf("http: TLS handshake error from %s:
 %v", c.rwc.RemoteAddr(), err)
                         return
                 }
 }}}

 We can disable this internal logging by overriding
 [https://golang.org/pkg/net/http/#Server Server.ErrorLog]. However these
 error messages are proving useful in debugging a current issue. An
 alternative is to replace ErrorLog with a Writer that greps for IP
 addresses and scrubs them.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18077#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list