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

[minion-cvs] A few misc hacks,tests,cleanups.



Update of /home/minion/cvsroot/src/minion
In directory moria.seul.org:/tmp/cvs-serv1689

Modified Files:
	TODO 
Log Message:
A few misc hacks,tests,cleanups.

TODO: Finish applying changes

Config:
	No longer lowercase commands.
	Remove dead-code from the old incarnation of configuration
	Use socket.inet_aton for parsing IPs.
	
Common:
	Refactor and debug createPrivateDir
	Add 'log-that-exception!' method to Log.

Crypto, Queue, Modules:
	Mark abstract methods with NotImplementedError

MMTPServer:
	Listen on 0.0.0.0, not 127.0.0.1.

Modules:
	Use Log.error_exc method

Packet:
	Use socket.inet_ntoa and socket.inet_aton in place of _packIP and
		_unpackIP.

test:
	Add tests for Log.error_exc
	Add tests for create/checkPrivateDir
	Reorder tests to put slowest tests last
	Suppress the you-don't-have-shred error while testing.



Index: TODO
===================================================================
RCS file: /home/minion/cvsroot/src/minion/TODO,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- TODO	21 Aug 2002 15:55:29 -0000	1.17
+++ TODO	21 Aug 2002 19:09:48 -0000	1.18
@@ -16,8 +16,8 @@
          work.  There need not be an interface for replies.  Key rotation
          need not be automated.]
 
-	- MMTP
-		- Is it okay to just bind 127.0.0.1?
+	o MMTP
+		o Is it okay to just bind 127.0.0.1?
 	*. MBox module
 		o Implement
 		*- Test
@@ -28,14 +28,15 @@
 		- Better debugging logs
 		- Test code to start 3 or 4 servers on one machine and
                   try sending some messages through.
-	- Add traceback-dumping functionality to Log class. 
-	  (When did traceback.py get added to Python?)
+	o Add traceback-dumping functionality to Log class. 
+		o Write
+		o Test
 	- Better log messages at all points throughout system.
-	- createPrivateDir
-	       	- Warn about group-writable parent dirs
-		- Refactor 'create' and 'check' code.
-		- Test normal cases
-		- Test failing cases
+	o createPrivateDir
+	       	o Warn about group-writable parent dirs
+		o Refactor 'create' and 'check' code.
+		o Test normal cases
+		o Test failing cases
 	*- CLI for server
 		*- Run server
 		*- Generate future key/publish to dirserver
@@ -49,11 +50,12 @@
 		- Stub validation function for server		
 		- Example config
 		- Warn about unimplemented allow/deny
+		- Warn about all unimplemented features
 	- Build
 		- Ability to pull and build ssl.
 		- Marginal 'make install'
 	- Integration testing
-		- Fake delivery module for MBOX-less testing of core
+		*- Fake delivery module for MBOX-less testing of core
 		- Automated tests for several servers running on one machine.
 		- Tests for servers on several different machines.
 	- Rename versions to 0.1.
@@ -91,7 +93,7 @@
 			- Full boilerplate
 		- Move boilerplate into outside files.  Add a generic 
 		  'Boilerplate' functionality.
-		- Tell ModuleManager about asyncore
+		- Tell ModuleManager about async code
 		- Support for forking delivery
 		- SMTP module
 		- Incoming email gateway
@@ -99,6 +101,9 @@
 	  	- Support for one-side-only MMTP configurations.
 		- Make Mix algorithm configurable
 		- Infer server IP
+		- Make listening configurable for multiple ports/ips, not
+		  all of which need be published.  Perhaps allow different
+		  rules for each listener.
 		- Full validation function for client
 		- Full validation function for server
 		- Make 'push' and 'retry' delivery rates independant and
@@ -136,6 +141,7 @@
 SPEC		- Patch to address George's 15August attack
 	- Test on other (non-redhat, non-linux) systems
 	- Directories
+		- ServerInfo: complete validation rules
 		- Implementation for directory servers
 		- Publishing to directory servers
 			- Support
@@ -172,11 +178,6 @@
 		- Server running on windows.
 	- Time the rest of the system
 	- Make DB module choice configurable?
-
-	- ServerInfo: complete validate rules
-	- Password-protected key storage
-	- ModuleManager knows about async code.
-	- Configurable mix times.
 
 NEED TO BE TESTED
 - Signals