[tor-bugs] #7325 [pyobfsproxy]: Scrub IPs before displaying them in logs

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 11 20:01:47 UTC 2012


#7325: Scrub IPs before displaying them in logs
-------------------------+--------------------------------------------------
 Reporter:  sysrqb       |          Owner:  asn         
     Type:  defect       |         Status:  needs_review
 Priority:  normal       |      Milestone:              
Component:  pyobfsproxy  |        Version:              
 Keywords:               |         Parent:              
   Points:               |   Actualpoints:              
-------------------------+--------------------------------------------------
Changes (by sysrqb):

  * status:  new => needs_review


Comment:

 Please find my initial patch attached and in branch bug7325 on
 git://gitweb.evolvesoftware.cc/pyobfsproxy.git

 It's a relatively simple patch, but adds a new class to the log module to
 encapsulate the value. I also added, in the module, a wrapper around the
 class's method to slightly simplify the calling. The rest of the patch is
 just a wrapper around an IP addr when it's an output value to a log entry.

 Any comments and criticisms appreciated.

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


More information about the tor-bugs mailing list