/[pkg-mixmaster]/trunk/Mix/Src/pool.c
ViewVC logotype

Log of /trunk/Mix/Src/pool.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 592 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 29 01:06:54 2003 UTC (9 years, 7 months ago) by weaselp
File length: 22146 byte(s)
Diff to previous 449
Ignore 'No reliable remailers' problems when randhopping messages in middleman
mode.  That is better than dropping them.

Revision 449 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 28 02:05:32 2002 UTC (10 years, 4 months ago) by weaselp
File length: 22143 byte(s)
Diff to previous 392
Handle a pool we cannot read correctly

Revision 392 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 8 00:56:23 2002 UTC (10 years, 5 months ago) by weaselp
File length: 22003 byte(s)
Diff to previous 387
Have stats on intermediate vs. final hop count (closes: #649900).

Revision 387 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 5 04:26:24 2002 UTC (10 years, 5 months ago) by weaselp
File length: 21923 byte(s)
Diff to previous 332
Applied Colin's star exclude patch

Revision 332 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 9 20:53:32 2002 UTC (10 years, 7 months ago) by weaselp
File length: 21748 byte(s)
Diff to previous 262
Whitespace cleanup:
for i in *.c; do cp -a $i $i.orig; sed -e 's/^        /<TAB>/' $i.orig > $i; rm $i.orig; done
for i in *.c *.h; do cp -a $i $i.orig; sed -e 's/[ <TAB>]*$//' $i.orig > $i; rm $i.orig; done

Revision 262 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 18 23:26:17 2002 UTC (10 years, 8 months ago) by rabbi
File length: 21837 byte(s)
Diff to previous 221
Added closing comments for all #ifdef statements. All #endif's, as well as
nested braces, should be commented to reference their start.

We need to provide comments before every function as well.

Revision 221 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 6 22:45:06 2002 UTC (10 years, 8 months ago) by rabbi
File length: 21391 byte(s)
Diff to previous 220
Standardized commenting conventions.

Revision 220 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 6 21:04:16 2002 UTC (10 years, 8 months ago) by rabbi
File length: 21381 byte(s)
Diff to previous 218
Updated documentation for {IN,OUT}DUMMYP, and to reflect changes in
remailer defaults.

Mixmaster now has a sanity-check on the number of dummy messages
generated automatically.

Fixed typos in mix.1 and Install.

Install now prompts before using a previously generated Makefile.

Revision 218 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 6 07:38:08 2002 UTC (10 years, 8 months ago) by rabbi
File length: 21395 byte(s)
Diff to previous 183
We now generate dummy messages as mail enters and exits the pool.

Revision 183 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 26 18:08:05 2002 UTC (10 years, 9 months ago) by weaselp
File length: 21120 byte(s)
Diff to previous 181
Previosly when we ran Mixmaster in daemon mode and injected mail either
via pop3 or the MAILIN method (reading a Maildir or an mbox), Mixmaster
only processed remailer-xxx requests at SENDPOOLTIME intervalls.

It might be in the interest of an operator to have a high SENDPOOLTIME -
like say an hour or two - to provide better security to their user.

However it is also important to answer remailer-xxx requests in a timely
manner.

This conflict of interests can be solved by adding yet another config
option: MAILINTIME.

MAILINTIME specifies the amount of time between reading MAILIN and
processing those mails (as well as those injected via POP3). Processing
here means to answer -xxx requests and to add remailer mails to the
pool.

This is also done implicitly whenever Mixmaster is about to process its
pool or just fetched mail via pop3.

Revision 181 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 25 08:47:21 2002 UTC (10 years, 9 months ago) by weaselp
File length: 21081 byte(s)
Diff to previous 166
Used the wrong variable

Revision 166 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 22 04:29:43 2002 UTC (10 years, 9 months ago) by weaselp
File length: 21080 byte(s)
Diff to previous 163
Enable exit hop to add footers.

Revision 163 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 21 19:28:04 2002 UTC (10 years, 9 months ago) by weaselp
File length: 20941 byte(s)
Diff to previous 121
Make sure to deliver to the right directory with Maildir deliveries. Since
we do not chdir() to the Mixmaster base directory we need to take care of
this whenever we do file or directory operations. Fortunatly the function
mixfile() helps here. mixfile() was extended to handle paths starting
with "~/". '~' is replaced by the HOME environment variable if defined.

Implement MAILIN option: If set Mixmaster reads mails from either a mbox
or a Maildir mail folder when processing its queue (-M or daemon). After
reading the mail folder is emtpied. If MAILIN ends with / it is expected
to be a Maildir, mbox oterhwise.

I hope that I did not break anything with the change to mixfile(). Maildir
drop and reading from both Maildir and mbox has been tested a little. Seems
to work fine so far.

Revision 121 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 3 17:53:47 2002 UTC (10 years, 9 months ago) by weaselp
File length: 17098 byte(s)
Diff to previous 120
ANSI C does not allow extra ; outside of a function

Revision 120 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 3 17:08:02 2002 UTC (10 years, 9 months ago) by weaselp
File length: 17098 byte(s)
Diff to previous 74
Submitted By: Sami Farin (safari):
Included correct header files.

Src/main.c had incorrect param to buf_appendf.

Added buf_write_sync() (used by Src/rem.c:mix_pool()).
Should a mixmaster machine crash, pool file can contain
any random data after reboot/journal recovery (at least
when using reiserfs).

Maybe not relevant, but strrchr should be used instead of
strchr when looking for domain part.

Src/pgpdata.c:pgp_elgdecrypt() passes uninitialized values
to BN_free if BN_CTX_new fails.

Src/pgpdata.c:pgp_elgencrypt() passes uninitialized value
to BN_free if the third mpi_get(key, i) fails.

Src/random.c does not check return value of read().

Src/rndseed.c does not check return value of read().

Revision 74 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 11 00:58:26 2002 UTC (11 years ago) by rabbi
File length: 17086 byte(s)
Diff to previous 61
Fixed a typo. Pool file legend really should be documented somewhere
besides the source, also.

Revision 61 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 10 23:20:09 2002 UTC (11 years, 4 months ago) by rabbi
File length: 17085 byte(s)
Diff to previous 50
*Properly* Fixes a bug where a one line file would not be deleted from the
pool. (See rev 1.5).

Revision 50 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 14 23:57:56 2001 UTC (11 years, 5 months ago) by rabbi
File length: 17085 byte(s)
Diff to previous 47
Explicitly permit mix keys to escape binary detection. Left the binary
detection at the larger size of 10 (was 3 before being increased to 10 in
an earlier fix by P. Palfrader). Submitted by Ulf M�ller.

Revision 47 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 14 21:22:11 2001 UTC (11 years, 5 months ago) by rabbi
File length: 17029 byte(s)
Diff to previous 18
Fixes a bug where a one line file would not be deleted from the pool, because fclose(f) was after end: label.

Revision 18 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 16 04:51:03 2001 UTC (11 years, 6 months ago) by rabbi
File length: 17010 byte(s)
Diff to previous 11
Updated comments.

Revision 11 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 6 23:41:58 2001 UTC (11 years, 6 months ago) by rabbi
File length: 16975 byte(s)
Diff to previous 5
First round of changes adding support for Mixmaster as a service under
Windows NT.

Revision 5 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 2 20:39:48 2001 UTC (11 years, 6 months ago) by rabbi
File length: 16909 byte(s)
Diff to previous 1
Memory may be freed without allocating. Fixes a problem in filtermsg()
when message to be sent is greater than SIZELIMIT. By disastry.

Revision 1 - (view) (download) (annotate) - [select for diffs]
Added Wed Oct 31 08:19:51 2001 UTC (11 years, 6 months ago) by rabbi
File length: 16882 byte(s)
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5