Switch from uuid1 to uuid4. uuid4 does not leak ip address

This commit is contained in:
Michel Oosterhof
2014-11-04 10:42:08 +00:00
parent 818c5c16d4
commit 41bc8b65e4
3 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ class DBLogger(dblog.DBLogger):
d.addErrback(self.sqlerror)
def createSession(self, peerIP, peerPort, hostIP, hostPort):
sid = uuid.uuid1().hex
sid = uuid.uuid4().hex
self.createSessionWhenever(sid, peerIP, hostIP)
return sid