initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2002-10-30 10:07:54 -05:00
|
|
|
# $OpenBSD: INSTALL,v 1.3 2002/10/30 15:07:54 naddy Exp $
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
#
|
|
|
|
# Mixmaster installation script, using many ideas from
|
|
|
|
# Adam Shostack's Install-Mix.
|
|
|
|
|
|
|
|
# use a sane path and install prefix
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
|
|
MIXMASTER_BIN=${PREFIX}/sbin/mixmaster
|
|
|
|
MIXDIR=${PREFIX}/share/examples/mixmaster
|
2002-09-14 11:21:14 -04:00
|
|
|
MIXDEST=${SYSCONFDIR}/mixmaster
|
|
|
|
MIXSPOOL=/var/spool/mixmaster
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
|
|
|
|
# verify proper execution
|
|
|
|
#
|
|
|
|
if [ $# -ne 2 ]; then
|
|
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Function: set up mixmaster user account.
|
|
|
|
#
|
|
|
|
do_accts()
|
|
|
|
{
|
|
|
|
groupinfo -e mixmaster
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
echo "===> Using existing group 'mixmaster'"
|
|
|
|
else
|
|
|
|
echo "===> Creating group 'mixmaster'"
|
|
|
|
groupadd mixmaster
|
|
|
|
fi
|
|
|
|
|
|
|
|
userinfo -e mixmaster
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
echo "===> Using existing account 'mixmaster'"
|
|
|
|
else
|
|
|
|
echo "===> Creating user 'mixmaster'"
|
|
|
|
useradd \
|
|
|
|
-g mixmaster \
|
|
|
|
-c "Anonymous Remailer" \
|
2002-09-14 11:21:14 -04:00
|
|
|
-m -d $MIXDEST \
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
-s /sbin/nologin \
|
|
|
|
-p \* \
|
|
|
|
mixmaster
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
last_message()
|
|
|
|
{
|
|
|
|
|
|
|
|
echo "| Installation of mixmaster client complete."
|
|
|
|
echo "|"
|
|
|
|
echo "| The binary is suid 'mixmaster' and can only be executed by members of"
|
|
|
|
echo "| the group 'mixmaster'. Add all users to that group, that are allowed"
|
|
|
|
echo "| sending anonymous mail via the mixmaster network."
|
|
|
|
echo "+---------------"
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
}
|
|
|
|
|
|
|
|
# install client config files
|
|
|
|
do_install()
|
|
|
|
{
|
2002-09-14 11:21:14 -04:00
|
|
|
echo ""
|
|
|
|
echo "+---------------"
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
if [ ! -d $MIXDEST ]
|
|
|
|
then
|
|
|
|
install -d -o mixmaster -g mixmaster -m 0710 $MIXDEST
|
2002-09-14 11:21:14 -04:00
|
|
|
elif [ -f $MIXDEST/mix.cfg ]
|
|
|
|
then
|
|
|
|
echo "| $MIXDEST/mix.cfg does already exist. It will not be updated by this"
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
echo "| script. If this is not your intention, please deinstall mixmaster,"
|
|
|
|
echo "| delete $MIXDEST and reinstall."
|
2002-09-14 11:21:14 -04:00
|
|
|
echo "|"
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
last_message
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d $MIXDEST ]
|
|
|
|
then
|
|
|
|
echo "Cannot create $MIXDEST"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd $MIXDIR
|
2002-10-30 10:07:54 -05:00
|
|
|
for i in "mix.cfg mlist.txt pubring.mix *.blk"
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
do
|
|
|
|
install -o mixmaster -g mixmaster -m 0640 $i $MIXDEST
|
|
|
|
done
|
|
|
|
|
2002-09-14 11:21:14 -04:00
|
|
|
if [ ! -d $MIXSPOOL ]
|
|
|
|
then
|
|
|
|
install -d -o mixmaster -g mixmaster -m 0770 $MIXSPOOL
|
|
|
|
fi
|
|
|
|
|
initial import of mixmaster-2.0.4b45:
--
This software comes in a client only configuration! If you want
to setup a mixmaster server, read through the example files,
man page and keep in mind, that the server stores all it's files
in $MIXPATH (/etc/mixmaster by default).
The purpose of anonymous remailers (hereafter simply remailers) is
to provide protection against traffic analysis. Traffic analysis
is the study of who you are communicating with, when, and how often.
This reveals more than you might expect about your activities. It
will indicate who your friends and colleagues are (and they can be
told apart by looking at the times you contact them). What your
interests are, from which catalog companies you contact, and which
ftp and WWW sites you visit. Traffic analysis can even reveal
business secrets, e.g. your frequent contact with a rival could
give hints of an impending merger.
Remailers protect your e-mail from traffic analysis. The original
remailers did this by removing all headers, except the subject line,
from any message you sent to them and then forwarding them a
destination of your choice. The recipient of such a message would
not know who had sent it.
The addition of encryption to this scheme gave significant protection
from attackers who simply look a the primary improvement with the
type 2 remailer Mixmaster.
WWW: http://mixmaster.shinn.net
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
2001-07-04 11:22:33 -04:00
|
|
|
last_message
|
|
|
|
}
|
|
|
|
|
|
|
|
# Verify/process the command
|
|
|
|
#
|
|
|
|
case $2 in
|
|
|
|
PRE-INSTALL)
|
|
|
|
do_accts
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
POST-INSTALL)
|
|
|
|
: install config files, see below
|
|
|
|
chown mixmaster.mixmaster $MIXMASTER_BIN
|
|
|
|
chmod 4550 $MIXMASTER_BIN
|
|
|
|
do_install
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|