[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Check in pending work including fragments and bugfixes.



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

Modified Files:
	mixminiond.conf 
Log Message:
Check in pending work including fragments and bugfixes.

setup.py, README, __init__.py: 
- Bump version to 0.0.5alpha2.

BuildMessage: 
- Refactor message construction code to support fragment-then-build-packets
  path.
- Change decodePayload to return SingletonPayload or FragmentPayload.
- Remove an extraneous sha1() from payload decoding.

ClientMain:
- Minimal, kludged-up support for sending fragmented forward messages.
- Remove obsolete client queue code.

Common: 
- Clean up 'bad mode' error message
- Add check for [...] in basee64-encoded data.

Config:
- Add _parseSize to allow configuration files with values like "1M", "100K",
  etc.
- Check whether the user accidentally passes mixminiond.conf to a client.

Crypto:
- Make 'openNewFile' even more paranoid.
- List failing entropy sources when none is found.

Filestore:
- Add delItem to journaled DB.
- Catch corrupted data in file stores.

Fragments: 
- Debug, appease pychecker.

Main:
- Add missing parenthesis

Packet:
- Add notion of tag-less delivery types. (FRAGMENT)
- Renane 'Message' to 'Packet', which it should have been all along.
- Move uncompression logic from decodePayload into SingletonPayload.
- Add encoding for fragmentation of messages that will be decoded at the
  exit node.
- Add 'Message-type: fragmented' for text-encoded messages.
- Check for overlong mail headers and bad from addresses when sending.

benchmark:
- Debug.
- Add some more timing.

test:
- Add tests for catching [...] in base64'd data
- Add tests for sending bad email headers.
- Use new interface from BuildMessage.
- Propagate other new interfaces.
- Add tests for _parseSize.
- More fragment reassembly tests

MMTPServer:
- Change shutdown logic again.  This may be what finally kills our
  infinite busy-loop bug.
- Appease pychecker.

Modules: 
- Add .close() and .sync() methods to modules.
- Add delivery module to reassemble fragmented messages, and relay them on
  to other delivery modules.
- Implement limits on message sizes.

PacketHandler:
- Stop calling packets messages.
- Add 'getDecodedPayload' interface to DeliveryPacket; add fragments.

ServerKeys, ServerMain:
- Change some errors to UIError, drop some dead code.

ServerQueue: 
- Handle corrupted messages on disk.

mixminiond.conf, Modules, ServerInfo:
- Add MaximumSize to module configuration
- Add configuration and capabilities for fragment reconstruction.



Index: mixminiond.conf
===================================================================
RCS file: /home/minion/cvsroot/src/minion/etc/mixminiond.conf,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- mixminiond.conf	9 Aug 2003 02:52:45 -0000	1.32
+++ mixminiond.conf	21 Aug 2003 21:34:02 -0000	1.33
@@ -241,6 +241,7 @@
 #RemoveContact: <Address to use as a contact>
 #SMTPServer: localhost
 #Retry: every 7 hours for 6 days
+#MaximumSize: 100K
 
 ###############
 #   Uncomment this section to enable delivery of SMTP messages via a local
@@ -267,6 +268,8 @@
 #         anonymity, see URL.
 #
 #Retry: every 7 hours for 6 days
+#
+#MaximumSize: 100K
 
 #################
 #   Uncomment this section to enable delivery of SMTP messages via the Type II
@@ -285,3 +288,12 @@
 #SubjectLine: Type III Anonymous message
 #
 #Retry: every 7 hours for 6 days
+#MaximumSize: 100K
+
+#################
+#   DOCDOC
+#
+#[Delivery/Fragmented]
+#Enabled: yes
+#MaximumSize: 100K
+#MaximumInterval: 2 days