diff options
author | Guido van Rossum <guido@python.org> | 1995-06-21 02:10:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-06-21 02:10:32 (GMT) |
commit | 54175f7cbe0a83950805ecd89e03c31f0e6170a6 (patch) | |
tree | 8d9de1c056d1c6812e422c081df4363209d43533 | |
parent | f3d39abb25ff001e66dfcb50c14e6bea3fe5881e (diff) | |
download | cpython-54175f7cbe0a83950805ecd89e03c31f0e6170a6.zip cpython-54175f7cbe0a83950805ecd89e03c31f0e6170a6.tar.gz cpython-54175f7cbe0a83950805ecd89e03c31f0e6170a6.tar.bz2 |
import string; add 129.6.64 to security
-rwxr-xr-x | Demo/pdist/server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/pdist/server.py b/Demo/pdist/server.py index 4efb180..423d583 100755 --- a/Demo/pdist/server.py +++ b/Demo/pdist/server.py @@ -58,7 +58,7 @@ class Server: if self._verbose > 1: print "Wait for next request ..." ok = self._dorequest(rf, wf) - _valid = ['192.16.201.*', '192.16.197.*', '132.151.1.*'] + _valid = ['192.16.201.*', '192.16.197.*', '132.151.1.*', '129.6.64.*'] def _verify(self, conn, address): host, port = address @@ -121,6 +121,7 @@ class SecureServer(Server, Security): Security.__init__(self) def _verify(self, conn, address): + import string challenge = self._generate_challenge() conn.send("%d\n" % challenge) response = "" |