[Pkg-privacy-commits] [obfsproxy] 86/353: Log client IP addresses in debug severity.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:43 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 91690cfea575fbd38f03632264ce201b2eea1d09
Author: George Kadianakis <desnacked at riseup.net>
Date: Tue Nov 6 19:43:10 2012 +0200
Log client IP addresses in debug severity.
---
obfsproxy/network/network.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/obfsproxy/network/network.py b/obfsproxy/network/network.py
index 9a8a9e9..ec8dcbc 100644
--- a/obfsproxy/network/network.py
+++ b/obfsproxy/network/network.py
@@ -322,7 +322,7 @@ class StaticDestinationServerFactory(Factory):
log.debug("%s: Starting up static destination server factory." % self.name)
def buildProtocol(self, addr):
- log.debug("%s: New connection." % self.name)
+ log.debug("%s: New connection from %s:%d." % (self.name, addr.host, addr.port))
circuit = 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