[Pkg-privacy-commits] [obfsproxy] 105/353: Scrub an IP address in Extended ORPort logs.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfsproxy.

commit acae92b20e42741525bc4ef401254398f9a8dadd
Author: George Kadianakis <desnacked at riseup.net>
Date:   Sat Jan 26 14:30:52 2013 +0200

    Scrub an IP address in Extended ORPort logs.
---
 obfsproxy/network/extended_orport.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/obfsproxy/network/extended_orport.py b/obfsproxy/network/extended_orport.py
index 1f37f60..48bf350 100644
--- a/obfsproxy/network/extended_orport.py
+++ b/obfsproxy/network/extended_orport.py
@@ -332,7 +332,7 @@ class ExtORPortServerFactory(network.StaticDestinationClientFactory):
         log.debug("%s: Starting up Extended ORPort server factory." % self.name)
 
     def buildProtocol(self, addr):
-        log.debug("%s: New connection from %s:%d." % (self.name, addr.host, addr.port))
+        log.debug("%s: New connection from %s:%d." % (self.name, log.safe_addr_str(addr.host), addr.port))
 
         circuit = network.Circuit(self.transport_class())
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list