Log of /trunk/Mix/Src/main.c
Parent Directory
|
Revision Log
Revision
512 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 8 18:07:08 2003 UTC
(10 years ago)
by
weaselp
File length: 19106 byte(s)
Diff to
previous 506
Experimental feature: --redirect -l <chain>. If you have a mixmaster message
with a chain starting with hop1 (you cannot know any more because it already is
encrypted) then mix --redirect -l=foo,bar < file redirect the message so the
chain is actually foo,bar,hop1,... and places it in your pool. If the total
number of hops (which cannot be known) exceeds 20 the message is damanged and
will fail at the 20th node.
Revision
498 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat May 3 01:56:08 2003 UTC
(10 years ago)
by
weaselp
File length: 18749 byte(s)
Diff to
previous 484
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
484 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 28 16:12:49 2003 UTC
(10 years, 1 month ago)
by
weaselp
File length: 18614 byte(s)
Diff to
previous 358
Remove the mix_regular call in client mode - this needs to be done a little bit differently
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: 18641 byte(s)
Diff to
previous 314
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
314 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 5 18:53:25 2002 UTC
(10 years, 7 months ago)
by
ulfm
File length: 18661 byte(s)
Diff to
previous 265
Bug fix: check the pool for waiting messages in the non-remailer configuration.
In particular, messages are supposed to be sent immediately if the user sets
POOLSIZE and SENDPOOLTIME to 0.
Revision
265 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 20 19:01:34 2002 UTC
(10 years, 7 months ago)
by
disastry
File length: 18602 byte(s)
Diff to
previous 262
add commandline option --config=file
this allows to use alternate configuration file
(for example on encrypted partition)
also make pool directory configurable
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: 18340 byte(s)
Diff to
previous 254
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
254 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 12 17:26:00 2002 UTC
(10 years, 8 months ago)
by
disastry
File length: 18022 byte(s)
Diff to
previous 199
check expiration and revocation of pgp keys, userids, subkeys
do not encrypt with expired or revoked keys, subkeys
do not sign with expired or revoked keys
do not decrypt with expired keys, subkeys after graceperiod
when encrypting use preferences from latest and/or primary userid
create new pgp keys if current are to expire in overlapperiod
Revision
194 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 27 06:46:13 2002 UTC
(10 years, 8 months ago)
by
weaselp
File length: 17835 byte(s)
Diff to
previous 189
Disastry's passphrase patch take II: also asks for passphrase when doing mix
-K/G/R/M
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: 17276 byte(s)
Diff to
previous 186
Entered passphrase was overwritten with SIGHUP. It's now stored to a
second variable.
Revision
186 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 26 19:24:30 2002 UTC
(10 years, 8 months ago)
by
rabbi
File length: 17179 byte(s)
Diff to
previous 177
Mixmaster now prompts for user input for the secret key passphrase when
mix is started in daemon mode (./mix -D). Mixmaster will try to find
either PGP/RSA, PGP/ELG or Mix key that can be decrypted with the provided
passphrase. If it finds one, it assumes the passphrase is good.
(We may have a problem if the user manages to get his secret key
passphrases out of sync. Suggestions on handling this case?)
FYI: the passphrase in mix.cfg takes precedence over the passphrase
compiled into the binary. If neither of these are present, only then is
the user prompted for a keyboard-input passphrase.
We still need to make mix retain the user-provided passphrase across
SIGHUP signals.
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: 16570 byte(s)
Diff to
previous 168
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
168 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 22 05:18:26 2002 UTC
(10 years, 8 months ago)
by
weaselp
File length: 16423 byte(s)
Diff to
previous 147
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
147 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 20 19:39:24 2002 UTC
(10 years, 9 months ago)
by
rabbi
File length: 16284 byte(s)
Diff to
previous 124
Added a new feature, --store-mail (-I), which will deliver an encrypted
mix packet to the message pool without attempting being decrypted. It is
stored as a i* packet in the pool, to be later decrypted by Mixmaster
running in daemon mode, or with "mix -M" started (for example) by cron.
This avoids passphrase prompting problems.
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: 15523 byte(s)
Diff to
previous 101
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
101 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 24 07:00:16 2002 UTC
(10 years, 9 months ago)
by
rabbi
File length: 15498 byte(s)
Diff to
previous 69
The -T option (display type2.list) previously would not work if the file
type2.list was not present. -T will now display type2.list info retrieved
from pubring.mix if type2.list is not present.
Revision
69 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 9 03:05:36 2002 UTC
(11 years, 2 months ago)
by
weaselp
File length: 15495 byte(s)
Diff to
previous 65
Using break instead of continue in the -g option. Also add a missing break in the -a (attachment) command line parsing code.
Revision
65 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 29 02:47:12 2002 UTC
(11 years, 3 months ago)
by
rabbi
File length: 15493 byte(s)
Diff to
previous 37
Fixes argument handling bug pointed out by Antonomasia.
Other appearances of
"buf_appendf...argv[++i]"
(but not "buf_appendf...argv[i]")
may have similar problems.
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: 15421 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: 16814 byte(s)
Diff to
previous 1
First round of changes adding support for Mixmaster as a service under
Windows NT.
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.