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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 538 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 29 19:13:15 2003 UTC (9 years, 11 months ago) by weaselp
File length: 18838 byte(s)
Diff to previous 500
Use an int rather than a char for getc()

Revision 500 - (view) (download) (annotate) - [selected]
Modified Sat May 3 05:31:07 2003 UTC (10 years, 1 month ago) by weaselp
File length: 18839 byte(s)
Diff to previous 494
Mixmaster now uses broken-chain info from stats. I hope this doesn't break any
Nym functionality.

Revision 494 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 9 10:36:34 2003 UTC (10 years, 2 months ago) by weaselp
File length: 18827 byte(s)
Diff to previous 486 , to selected 500
In order to serve help files in different languages we need a way to reply to
requests like remailer-help-it.  In order to not have to modify the code for
each and every new ressource, Mixmaster now sends the file
requests/remailer-<something> to remailer-<something> requests.
remailer-{help,key, stats,conf,adminkey} still are special cases tho.

Revision 486 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 31 17:40:53 2003 UTC (10 years, 2 months ago) by weaselp
File length: 16568 byte(s)
Diff to previous 477 , to selected 500
Fix a problem in destinationblock() where a buffer could have been used after it was free()d which resulted in segfaults.

Revision 477 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 15 00:29:36 2003 UTC (10 years, 4 months ago) by weaselp
File length: 16439 byte(s)
Diff to previous 428 , to selected 500
Add max capability to Type I

Revision 428 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 17 10:41:44 2002 UTC (10 years, 6 months ago) by weaselp
File length: 15858 byte(s)
Diff to previous 401 , to selected 500
Append another newline character to mbox folders when storing a mail so that the mandatory empty line is there (mutt does not have problems without it but other MUAs probably have).

Revision 401 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 14 20:05:25 2002 UTC (10 years, 6 months ago) by weaselp
File length: 15856 byte(s)
Diff to previous 332 , to selected 500
Do not allow blocking of known remailers

Revision 332 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 9 20:53:32 2002 UTC (10 years, 8 months ago) by weaselp
File length: 14726 byte(s)
Diff to previous 272 , to selected 500
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 272 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 25 23:51:11 2002 UTC (10 years, 8 months ago) by ulfm
File length: 14929 byte(s)
Diff to previous 262 , to selected 500
be less noisy (this code is also run in the client...)

Revision 262 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 18 23:26:17 2002 UTC (10 years, 9 months ago) by rabbi
File length: 14927 byte(s)
Diff to previous 221 , to selected 500
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, 9 months ago) by rabbi
File length: 14775 byte(s)
Diff to previous 220 , to selected 500
Standardized commenting conventions.

Revision 220 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 6 21:04:16 2002 UTC (10 years, 9 months ago) by rabbi
File length: 14764 byte(s)
Diff to previous 218 , to selected 500
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, 9 months ago) by rabbi
File length: 14778 byte(s)
Diff to previous 217 , to selected 500
We now generate dummy messages as mail enters and exits the pool.

Revision 217 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 6 00:46:26 2002 UTC (10 years, 9 months ago) by rabbi
File length: 14435 byte(s)
Diff to previous 170 , to selected 500
We now delete t* and e* files along with p* at PACKETEXP time.

Revision 170 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 22 06:22:56 2002 UTC (10 years, 10 months ago) by weaselp
File length: 14012 byte(s)
Diff to previous 163 , to selected 500
When expiring packet ids from id.log also expire packets that are dated more
than half a year in the future.  That way we get rid of invalid packets
introduced by the switch to a binary file.

Revision 163 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 21 19:28:04 2002 UTC (10 years, 10 months ago) by weaselp
File length: 13781 byte(s)
Diff to previous 153 , to selected 500
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 153 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 21 11:22:37 2002 UTC (10 years, 10 months ago) by weaselp
File length: 13778 byte(s)
Diff to previous 120 , to selected 500
Maildir support

Revision 120 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 3 17:08:02 2002 UTC (10 years, 10 months ago) by weaselp
File length: 13533 byte(s)
Diff to previous 116 , to selected 500
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 116 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 29 23:52:00 2002 UTC (10 years, 10 months ago) by weaselp
File length: 13543 byte(s)
Diff to previous 106 , to selected 500
Make smtp sending similar to local /usr/lib/sendmail sending (wrt header/body seperation; Closes: #482052).
Add X-Loop header on mailbox forwarded messages.

Revision 106 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 25 08:49:03 2002 UTC (10 years, 10 months ago) by weaselp
File length: 13538 byte(s)
Diff to previous 82 , to selected 500
whitespace change only

Revision 82 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 9 08:02:02 2002 UTC (10 years, 11 months ago) by rabbi
File length: 13539 byte(s)
Diff to previous 73 , to selected 500
The format of id.log is now binary. Mixmaster still performs a linear
search on it for duplicate checking, but this should improve performance
on slower systems over having the entries stored in a text file.

We had considered using a hash table, but id.log entries only matter up to
7 days anyway, so there isn't too much more to be gained. Perhaps if we
had Mixmaster on cell phones... ;)

Thanks to Disastry for this patch.

Revision 73 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 13 01:46:52 2002 UTC (11 years, 3 months ago) by rabbi
File length: 13034 byte(s)
Diff to previous 72 , to selected 500
eliminates a memory leak.

Revision 72 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 13 01:45:58 2002 UTC (11 years, 3 months ago) by rabbi
File length: 13019 byte(s)
Diff to previous 68 , to selected 500
Safer packet expiration code.

Revision 68 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 9 02:45:34 2002 UTC (11 years, 3 months ago) by rabbi
File length: 12854 byte(s)
Diff to previous 66 , to selected 500
Partial packets were not being removed from the pool directory after
expiring. This was due to a bug in rem.c, function pool_packetexp(), which
tried to unlink() the file name (which was not in the current working
directory).

We now supply the full path to the expired packet file.

Also modified .cvsignore to ignore pcre cruft.

Revision 66 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 21 09:38:01 2002 UTC (11 years, 3 months ago) by rabbi
File length: 12697 byte(s)
Diff to previous 62 , to selected 500
Fixed an error message formatting issue.

Revision 62 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 10 23:59:16 2002 UTC (11 years, 5 months ago) by rabbi
File length: 12695 byte(s)
Diff to previous 59 , to selected 500
Patches to support the Encrypt-To directive (by Disastry).

Revision 59 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 18 20:38:37 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12653 byte(s)
Diff to previous 56 , to selected 500
Fixes an error introduced in last change. Do not write an address to
dest.blk if it already exists. Also removes the "if (domain)" check that
is no longer used.

Revision 56 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 17 01:46:35 2001 UTC (11 years, 6 months ago) by rabbi
File length: 13155 byte(s)
Diff to previous 55 , to selected 500
Prohibit automatic blocking of entire domains.

Revision 55 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 17 00:32:42 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12990 byte(s)
Diff to previous 54 , to selected 500
The result of rfc822_addr() needs to be buf_chop()d, because you get a NL
at the end. (Andy Dustman).

Revision 54 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 17 00:29:37 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12963 byte(s)
Diff to previous 52 , to selected 500
Fixed bug where blocked.txt was being returned with the headers in the
body of the message.

Fixed bug introduced in last change where destination-block requests were
not properly being honored. (Andy Dustman)

Revision 52 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 15 05:10:52 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12963 byte(s)
Diff to previous 48 , to selected 500
Standardize on dest.blk behavior:
* Block From: if no argument is supplied
* Block Nothing if argument is supplied but turns out to be invalid for
  whatever reason.
* Otherwise block.

Revision 48 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 14 22:24:18 2001 UTC (11 years, 6 months ago) by rabbi
File length: 13059 byte(s)
Diff to previous 41 , to selected 500
Require address to be blocked to be a valid RFC822 address. Prevents
blocking of entire domains or newsgroups without remop intervention.

Revision 41 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 12 19:29:52 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12571 byte(s)
Diff to previous 30 , to selected 500
Added quoted-printable decoding of non-multipart mime messages (cf. bug
#478380) by Scott Renfro.

Revision 30 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 11 20:59:26 2001 UTC (11 years, 6 months ago) by rabbi
File length: 12283 byte(s)
Diff to previous 11 , to selected 500
Changes for WIN32 Service support. service.c is totally re-written,
service.h is removed. main.c is now cleaner.

TODO: better solution to the Win32/Unix directory seperation issue. Sring
operations on every path is a lot of extra work. Why not fopen() ?

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

Revision 6 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 2 20:57:03 2001 UTC (11 years, 7 months ago) by rabbi
File length: 12111 byte(s)
Diff to previous 1 , to selected 500
Writes correct message time to mbox. Contributed by Disastry.

Revision 1 - (view) (download) (annotate) - [select for diffs]
Added Wed Oct 31 08:19:51 2001 UTC (11 years, 7 months ago) by rabbi
File length: 11966 byte(s)
Diff to selected 500
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