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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 189 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 26 19:38:51 2002 UTC (10 years, 8 months ago) by weaselp
File length: 27302 byte(s)
Diff to previous 183
Entered passphrase was overwritten with SIGHUP. It's now stored to a
second variable.

Revision 183 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 26 18:08:05 2002 UTC (10 years, 8 months ago) by weaselp
File length: 27119 byte(s)
Diff to previous 177
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 177 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 25 07:47:23 2002 UTC (10 years, 8 months ago) by weaselp
File length: 26509 byte(s)
Diff to previous 176
Mixmaster in daemon mode will now reload its configuration upon receiving a
SIGHUP.

It was necessary to set the defaults in their own function rather than when
defining the variables.

It will also catch SIGTERM and SIGINT and exit in a sane way, first finishing
the current action.

New option --no-detach will prevent mixmaster in daemon mode from detaching
from the terminal.

Revision 176 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 23 03:25:48 2002 UTC (10 years, 8 months ago) by weaselp
File length: 21863 byte(s)
Diff to previous 168
Fix timings. Probably only interesting for Mixmaster in daemon mode.
If your computer was fast enough to do all the regular remailer stuff
within one second the next time mix_regular() was called it didn't
consider it time for yet another run. Now using >= rather than > for
those comparisons.

Revision 168 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 22 05:18:26 2002 UTC (10 years, 9 months ago) by weaselp
File length: 21860 byte(s)
Diff to previous 166
List known mixmasters in remailer-conf replies. How do I get a list of
the pgp keyring so I can also list type I remailers? Do we need to list
type I remailers?

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: 21748 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: 21664 byte(s)
Diff to previous 137
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 137 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 19 19:55:58 2002 UTC (10 years, 9 months ago) by rabbi
File length: 21665 byte(s)
Diff to previous 114
Mixmaster now defaults to not offering network services if the line
"REMAIL = Y" is not present in mix.cfg.

Revision 114 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 29 12:42:56 2002 UTC (10 years, 9 months ago) by weaselp
File length: 21667 byte(s)
Diff to previous 105
Fix unused variable warning on OpenBSD

Revision 105 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 24 09:00:11 2002 UTC (10 years, 9 months ago) by weaselp
File length: 21639 byte(s)
Diff to previous 102
Make all filenames configurable in mix.cfg.
Add global mix.cfg support (compile time option).

Revision 102 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 24 07:48:50 2002 UTC (10 years, 9 months ago) by rabbi
File length: 18692 byte(s)
Diff to previous 96
We have changed the compile-time option PASSPHRASE to be named
COMPILEDPASS. We have changed the configuration file option PASS_PHRASE to
be named PASSPHRASE. We have added documentation for the new configuration
file option and made changes in the man page to reflect the name change.

This was done to avoid confusion due to the similarity in names of the
options.

Revision 96 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 21 16:28:14 2002 UTC (10 years, 10 months ago) by weaselp
File length: 18693 byte(s)
Diff to previous 91
Fix a strncat() to undefined string variable (Closes: #584381)

Revision 91 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 10 01:58:49 2002 UTC (10 years, 10 months ago) by rabbi
File length: 18663 byte(s)
Diff to previous 62
Added the ability to store the key passphrase in the mix.cfg file instead of
having it compiled into the binary. This offers a number of advantages over the
compiled-in method and still allows for encrypted remote storage of keys.

In order to take advantage of the new changes, the Install script will need to
be modified. As this is being replaced with a proper autoconf system, we're
defering that until later.

The changes we're committing replace PASSPHRASE with PASS_PHRASE, which is read
from the config. If the compiled-in passphrase, PASSPHRASE, is set, that is
used instead. (This is how Mixmaster will function if you use the Install
script.)

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

Revision 37 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 12 18:50:09 2001 UTC (11 years, 5 months ago) by rabbi
File length: 18491 byte(s)
Diff to previous 30
Win32 service optimization, commandline args tweaked, help updated.

Revision 30 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 11 20:59:26 2001 UTC (11 years, 5 months ago) by rabbi
File length: 18702 byte(s)
Diff to previous 11
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, 6 months ago) by rabbi
File length: 17353 byte(s)
Diff to previous 1
First round of changes adding support for Mixmaster as a service under
Windows NT.

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: 16902 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