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

Log of /trunk/Mix/Src/main.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, 9 months ago) by weaselp
File length: 17276 byte(s)
Diff to previous 186 , to selected 177
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, 9 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) - [selected]
Modified Sun Aug 25 07:47:23 2002 UTC (10 years, 9 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, 9 months ago) by weaselp
File length: 16423 byte(s)
Diff to previous 147 , to selected 177
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 , to selected 177
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 124 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 7 21:45:59 2002 UTC (10 years, 9 months ago) by weaselp
File length: 16029 byte(s)
Diff to previous 120 , to selected 177
Detach as suggested by the Unix Programming FAQ

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 , to selected 177
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, 10 months ago) by rabbi
File length: 15498 byte(s)
Diff to previous 69 , to selected 177
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 , to selected 177
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 , to selected 177
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 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: 15469 byte(s)
Diff to previous 32 , to selected 177
Win32 service optimization, commandline args tweaked, help updated.

Revision 32 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 11 21:45:53 2001 UTC (11 years, 5 months ago) by rabbi
File length: 15415 byte(s)
Diff to previous 30 , to selected 177
Renamed the service install and remove commands.
Updated the man page.

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 , to selected 177
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 , to selected 177
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: 15169 byte(s)
Diff to selected 177
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