[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Directories implemented for client and server, but not ...



Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv11194/minion

Modified Files:
	TODO setup.py 
Log Message:
Directories implemented for client and server, but not doc'd or tested.

TODO:
- Reflect state of directory work.

setup.py:
- Run python as python -O from the default-installed script.

ClientMain.py:
- Reimplement keystore to know about directories and select paths.  The new
  one also caches parsed values to run a bit faster.
- Make the path interface a little more complicated.
- Simplify 'main' a bit by refactoring out the configfile and usage logic.

Config, ServerInfo:
- Builtin gzip support

Config, ServerInfo, server/ServerConfig:
- Restrict nicknames to reasonable characters

Crypto:
- Add 'fingerprint' function
- Document more.
- Add rng.pick(lst) as a shortcut for lst[rng.getInt(len(lst))]

Main, directory/DirMain:
- Add CLI for directory generation:

ServerInfo:
- Add numerous helper functions to ServerInfo
- Add ServerDirectory class to parse server directories.

test:
- Add tests for nickname validation
- Tests for pk_same_public_key and pk_fingerprint
- Tests for directory generation and parsing.

directory/ServerList:
- Debug, document, refactor

server/Modules:
- Use balanced 'banners' around email-quoted messages (Suggested by Lucky)

server/ServerKeys:
- Add 'now' argument to generateServerDescriptorAndKeys for testing


Index: TODO
===================================================================
RCS file: /home/minion/cvsroot/src/minion/TODO,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- TODO	31 Dec 2002 17:40:54 -0000	1.46
+++ TODO	3 Jan 2003 05:14:47 -0000	1.47
@@ -12,26 +12,33 @@
 For 0.0.2: [The 'desireable features' release.  This should contain
     user-visible improvements to address the most glaring defects in 0.0.1.]
 
-	- Real SMTP module
+	!- Real SMTP module
 	- Interface for reply blocks
-	. Minimal directory support
-		. Make everything resistant to newline corruption
+	!. Minimal directory support
+		o Make everything resistant to newline corruption
 		       o Signatures are independent of newline style
 		       o Config files are read independent of newline style.
 		       o Tests for above.
 		       o Directories are independent of nl style
-		       - Tests for above
-		- Test whether serverinfo is really pickleable.
-		- Client-side directory support
-		. Server-side directory generation (not automated;
+		       o Tests for above
+		o Test whether serverinfo is really pickleable.
+		. Client-side directory support
+			o Backend
+			o Integrated server list management
+			o Tests for backend
+			o CLI supprot
+			- Tests for new server lists
+			- Tests for CLI
+		o Server-side directory generation (not automated;
 	          still no automatic rotation.)	
 		  	o Backend
-			- CLI
-			. Tests for backend
-			- Tests for CLI
-	- Path selection
+			o CLI
+			o Tests for backend
+			o Test CLI
+	!- Path selection
 	. Minimal DOS prevention
-		- SMTP-address blacklisting (for SMTP module)
+		!- SMTP-address blacklisting (for SMTP module)
+		o Prevent bogus nicknames from bombing server.
 		o Prevent zlib bombing: minimal version.
 		        o Implement
 			o Tests for BuildMessage functionality
@@ -56,10 +63,13 @@
 		o Tests for new validation functions.
 		o Add examples to mixminiond.conf
 	o Refactor main loop to be event based
-	- Balance =-signs on "==ANONYMOUS MESSAGE BEGINS"
-	- Acknowledgments
-	- History.
-	- Triage XXXX'S for 002.
+	o Balance =-signs on "==ANONYMOUS MESSAGE BEGINS"
+	!- Acknowledgments
+	!- History.
+	!- Triage XXXX'S for 002.
+	- Document everything
+	- Make __version__ get set automatically, from only one place.
+	- Write a "whatsnew".
 
 Required for "1.0":
 	 [These features must be in place before we can take the system out
@@ -75,6 +85,7 @@
 		- Automatic key rotation
 		- Password-protected private identity keys
 		- Password-protected private link/packet keys
+		- Password-protect dirserver keys
 	- Security
 		- Make createPrivateDirs gripe about group-writable parent
 		  dirs
@@ -184,14 +195,14 @@
 		        - For client
 			- For server
 	- Directories
-		- ServerInfo: complete validation rules
-		- Implementation for directory servers
 		- Publishing to directory servers
 			- Support
 		 	- Automation
 		- Downloading from directory servers
 			- Support
 			- Automation
+		- Autonomous directory server
+		- Configurable dirserver fingerprints and URLs.
 	- Full documentation
 		- Complete docs for all code, with comments and examples.
 		- Write guide for module developers
@@ -206,6 +217,7 @@
 	- Generate link padding
 	- Generate dummy messages
 	- IPv6 support.
+	- Support for multiple directory servers
 
 WHEN WE GET THE CHANCE:
 	[This stuff could be for any version 1.0 or later; it's not a

Index: setup.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/setup.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- setup.py	31 Dec 2002 17:40:54 -0000	1.19
+++ setup.py	3 Jan 2003 05:14:47 -0000	1.20
@@ -96,7 +96,7 @@
 if not os.path.exists("build"):
     os.mkdir("build")
 f = open(SCRIPT_PATH, 'wt')
-f.write("#!%s\n"% sys.executable)
+f.write("#!%s -O\n"% sys.executable)
 if pathextra:
     f.write("import sys\nsys.path.append(%r)\n"%pathextra)
 f.write("""\