/[pkg-mixmaster]/trunk/Mix/Src/config.h
ViewVC logotype

Log of /trunk/Mix/Src/config.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 906 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 15 18:22:17 2004 UTC (9 years ago) by colin
File length: 11093 byte(s)
Diff to previous 900
remove all refs to TYPE2LIST

Revision 900 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 7 20:10:52 2004 UTC (9 years ago) by colin
File length: 11226 byte(s)
Diff to previous 852
Added auto stats update in daemon mode

Revision 852 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 13 13:59:28 2004 UTC (9 years, 1 month ago) by weasel
File length: 11171 byte(s)
Diff to previous 849
Merge stats stuff from branch into trunk

Revision 849 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 13 06:44:00 2004 UTC (9 years, 1 month ago) by weasel
File length: 10869 byte(s)
Diff to previous 793
Support nonpublished destination allow

Revision 793 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 1 20:26:05 2004 UTC (9 years, 1 month ago) by weasel
File length: 10792 byte(s)
Diff to previous 792
Use mix.cfg.txt on win32

Revision 792 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 1 20:25:29 2004 UTC (9 years, 1 month ago) by weasel
File length: 10692 byte(s)
Diff to previous 779
Make a few more DLLIMPORT lines

Revision 779 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 30 21:29:53 2004 UTC (9 years, 1 month ago) by weasel
File length: 10652 byte(s)
Diff to previous 732
A few changes to config.h for windows

Revision 732 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 6 19:17:46 2004 UTC (9 years, 2 months ago) by rabbi
File length: 10301 byte(s)
Diff to previous 710
OpenBSD prefers /dev/arandom over /dev/srandom

Revision 710 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 21 00:47:21 2004 UTC (9 years, 5 months ago) by rabbi
File length: 10301 byte(s)
Diff to previous 700
Updated copyright dates, doc issues, misc fixes.

Revision 700 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 17 01:33:38 2004 UTC (9 years, 5 months ago) by weasel
File length: 10280 byte(s)
Diff to previous 689
Try to detect timeskews and refuse to run as a remailer if there is a problem
suspected.  Only applies to mixmaster in remailer mode.

Revision 689 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 21 05:33:28 2003 UTC (9 years, 6 months ago) by rabbi
File length: 10201 byte(s)
Diff to previous 647
Now supports AES if OpenSSL 0.9.7 through 0.9.7c are detected. (Prompts for support decision if unknown version is used.)

The Mixmaster binary is now called "mixmaster" instead of "mix".


Revision 647 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 25 23:34:13 2003 UTC (9 years, 7 months ago) by weasel
File length: 10195 byte(s)
Diff to previous 593
Set keyword expansion for Id on all files that already have $Id$ tags.

Revision 593 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 29 20:41:39 2003 UTC (9 years, 8 months ago) by weaselp
File length: 10245 byte(s)
Diff to previous 586
Use MAXPATHLEN from sys/config.h as PATHMAX.  Thanks to Nikolay Sturm for the suggestion.

Revision 586 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 19 00:52:47 2003 UTC (9 years, 9 months ago) by weaselp
File length: 10164 byte(s)
Diff to previous 585
Did not mean to commit that file as well

Revision 585 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 19 00:51:41 2003 UTC (9 years, 9 months ago) by weaselp
File length: 10170 byte(s)
Diff to previous 581
Fix a problem that was introduced when doing away the ifdef rsa bits:

one if the ifdefs was not an ifdef but an ifndef

Revision 581 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 24 20:39:26 2003 UTC (9 years, 9 months ago) by weaselp
File length: 10164 byte(s)
Diff to previous 571
Do away with the conditional use of RSA, always using it.  Without RSA we
aren't much good anyway.

Revision 571 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 8 15:17:52 2003 UTC (9 years, 10 months ago) by dybbuk
File length: 10211 byte(s)
Diff to previous 548
Working autoconf is included in this commit:

* The old Install script still works (see <20030808142406.GA19289@aarg.net> on mixmaster-devel for my plans to eliminate it)
* I updated Src/util.c to fix some setenv/putenv bugs (this hasn't been tested -- can somebody with access to a machine without setenv please test this?)
* Contrary to the old autoconf stuff, pretty much everything is in config.h.in now.

A few things still need to be cleaned up.  I want to eliminate the XDEFS as much as possible and keep nearly everything in config.h.in.  However, it works for me.  Please test it.

Revision 548 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 7 11:32:45 2003 UTC (9 years, 11 months ago) by weaselp
File length: 9737 byte(s)
Diff to previous 547
Config option PRECEDENCE allows setting the Precedence: header on all outgoing
mail.  (Hauke Lampe)

Revision 547 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 7 11:28:05 2003 UTC (9 years, 11 months ago) by weaselp
File length: 9711 byte(s)
Diff to previous 545
Config option EXTFLAGS allows appending additional flags to the capabilities
string.  (Hauke Lampe)

Revision 545 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 7 11:18:20 2003 UTC (9 years, 11 months ago) by weaselp
File length: 9687 byte(s)
Diff to previous 498
The 'working on the train' commit:
Don't try to send a message if there are no recipients left.
Set default max-randhops from 20 to 4.
Remix-To chain is limited by max-randhops limit as well.
Messages to more than one remailer are dropped.

Revision 498 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 3 01:56:08 2003 UTC (10 years, 1 month ago) by weaselp
File length: 9661 byte(s)
Diff to previous 494
In client mode (REMAIL n) the pool is flushed every time mixmaster is run
unless CLIENTAUTOFLUSH is set to n.  (closes: #676794: Rate implementation
doubled)

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: 9633 byte(s)
Diff to previous 477
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 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: 9569 byte(s)
Diff to previous 392
Add max capability to Type I

Revision 392 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 8 00:56:23 2002 UTC (10 years, 6 months ago) by weaselp
File length: 9496 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, 6 months ago) by weaselp
File length: 9471 byte(s)
Diff to previous 371
Applied Colin's star exclude patch

Revision 371 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 16 20:59:09 2002 UTC (10 years, 8 months ago) by rabbi
File length: 9411 byte(s)
Diff to previous 332
Made the protocol version a string constant.

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: 9382 byte(s)
Diff to previous 305
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 305 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 2 22:23:35 2002 UTC (10 years, 8 months ago) by rabbi
File length: 9382 byte(s)
Diff to previous 269
setenv() and unsetenv() are not POSIX functions, but BSDisms. We need to use putenv() on
systems that lack these functions.

Revision 269 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 25 23:02:44 2002 UTC (10 years, 8 months ago) by ulfm
File length: 9342 byte(s)
Diff to previous 220
AUTH LOGIN support for SMTP.

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: 9287 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, 9 months ago) by rabbi
File length: 9315 byte(s)
Diff to previous 214
We now generate dummy messages as mail enters and exits the pool.

Revision 214 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 5 01:21:54 2002 UTC (10 years, 9 months ago) by weaselp
File length: 9246 byte(s)
Diff to previous 205
Mixmaster keys now have creation and expiration date.
It is not secured by any crypto voodoo, it's only
informational for clients to decide which keys to
use should they have more.
- on the client side we do not show remailers (and
  therefore not use them) if their key is expired.
- the remailer refuses to decrypt messages to keys
  that expired one month ago or earlier.
- the remailer automatically creates new mixmaster
  keys if the current one are about to expire or
  already are expired.
- the latest key from secring.mix is written to
  key.txt. It used to be the first one. Since
  creation of new mix key appends the key, this
  seemed sensible.

Revision 205 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 29 08:50:00 2002 UTC (10 years, 9 months ago) by weaselp
File length: 9188 byte(s)
Diff to previous 199
When creating new OpenPGP keys, also set an expiry date. Key lifetime
defaults to 8 months but can be overriden by the KEYLIFETIME configuration
option.

We currently do not store the self signature and the keybinding (which hold
the expiry information in DSA keys) in the secret keyring. This is
unfortunate because we use the current KEYLIFETIME when recreating them
should the public keyring need to be rewritten. The solution is to store
them in the secret keyring (like GnuPG does) and not recreate them later
if we already have them.

Revision 199 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 28 16:29:28 2002 UTC (10 years, 9 months ago) by weaselp
File length: 9163 byte(s)
Diff to previous 197
new MSVC patch by Disastry

Revision 197 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 28 09:35:25 2002 UTC (10 years, 9 months ago) by weaselp
File length: 9143 byte(s)
Diff to previous 189
Write a pid file

Revision 189 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 26 19:38:51 2002 UTC (10 years, 9 months ago) by weaselp
File length: 9086 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, 9 months ago) by weaselp
File length: 9045 byte(s)
Diff to previous 182
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 182 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 25 13:27:40 2002 UTC (10 years, 9 months ago) by weaselp
File length: 9021 byte(s)
Diff to previous 168
Use names rather than numbers as arument to pgp_armor. Have PGP PRIVATE for armoring

Revision 168 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 22 05:18:26 2002 UTC (10 years, 10 months ago) by weaselp
File length: 8897 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, 10 months ago) by weaselp
File length: 8871 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, 10 months ago) by weaselp
File length: 8689 byte(s)
Diff to previous 148
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 148 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 20 19:49:33 2002 UTC (10 years, 10 months ago) by rabbi
File length: 8665 byte(s)
Diff to previous 105
Changes for building WIN32 DLL.

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

Revision 103 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 24 07:58:55 2002 UTC (10 years, 10 months ago) by weaselp
File length: 7139 byte(s)
Diff to previous 102
USE_IDEA is no longer default in config.h. It always gets defined by the Install script instead.

Revision 102 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 24 07:48:50 2002 UTC (10 years, 10 months ago) by rabbi
File length: 7131 byte(s)
Diff to previous 98
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 98 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 22 17:54:48 2002 UTC (10 years, 11 months ago) by rabbi
File length: 7132 byte(s)
Diff to previous 91
Added support for AES in Type I messages. This should prevent lost mail if
a user attempts to send OpenPGP messages encrypted with AES.

Support for AES requires OpenSSL 0.9.7 (soon to be released.) The Install
script needs to be updated to enable AES if 0.9.7 or later is present.

Also, pgp_keylen now returns 0 instead of -1 for unknown symalgo. Output
of pgp_keylen is used in buf_appendrnd and in other functions without
checking, so they might be unhappy with -1. (We should really check for
this.)

Thanks to Disastry and Peter for working on this.

Revision 91 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 10 01:58:49 2002 UTC (10 years, 11 months ago) by rabbi
File length: 7013 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, 5 months ago) by rabbi
File length: 7084 byte(s)
Diff to previous 39
Patches to support the Encrypt-To directive (by Disastry).

Revision 39 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 12 19:06:41 2001 UTC (11 years, 6 months ago) by rabbi
File length: 7073 byte(s)
Diff to previous 29
Removed the #define for BROKEN_MTA from WIN32 since it shouldn't be
needed.

Revision 29 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 11 20:56:07 2001 UTC (11 years, 6 months ago) by rabbi
File length: 7170 byte(s)
Diff to previous 1
Added dupicate address checking for MTAs that don't do duplicate checking.
ifdef'd out except for WIN32.

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