Article View: alt.privacy.anon-server
Article #215228Notes on setting up mixmaster remailer under linux
From: admin
Date: Mon, 02 Apr 2007 14:13
Date: Mon, 02 Apr 2007 14:13
301 lines
9963 bytes
9963 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Install The Mixmaster Remailer In Linux - Notes If you want to run mixmaster as a remailer under linux here are some notes from my experience with it. Happily, most of the work is done by mixmaster; you can get a basic remailer going with a minimum of effort. Install mixmaster.(F) it may ask you if you want to install an smtp server. I used exim4 which installs and runs with just a few inputs to prompts during the installation. After that you can pretty much forget about it. (G) If you want to use your isp's smtp server, see the manual for the SMTPRELAY option. I haven't tried it. Once the installation of mixmaster and your smtp server are complete, you can use mixmaster as a client. Once you have mixmaster installed and working as a client, go to a command line and type man mixmaster > manmix. That will create a file called manmix which is the manual for mixmaster. Keep it handy so you can refer to it. change to root and go to var/lib/mixmaster/mix, and open the mix.cfg file. Compare what you see there with the fields described in the manual. It's pretty clear what you need to change, and it isn't much. See (H) which is the config that I am using. I added a few comments to it. The comments are for the things that threw me off when I tried a year or two ago to install the remailer. Go to etc/mixmaster/remailer/pop3.cfg. Put in a line like: remailer@my.pop.server somepassword pass This will cause the remailer to check my.pop.server every x minutes for the user remailer who has a password of somepassword. If your userid at your pop server contains a '@', eg remailer@pop.server, use the same format; the program is smart enough to know how to parse the line. Go to /etc/mixmaster/remailer and put an admin key into adminkey.txt. After you have everything set the way you'd like, reboot the computer If you change to the userid mixmaster, and run /usr/lib/mixmaster/mixmaster-rebuild that will update certain files, but not what you need here. *******And that's it for a basic setup**************** When you return to var/lib/mixmaster/mix.cfg, you will see that a key has been generated, and a few other fields added. Mixmaster will be running. Note that you do *not* generate the mixmaster key, the program does it for you. You can do a quick test by sending a remailer-conf or remailer-key request to the remailer and see if it responds. Let the troops know you are up and running and pretty soon you'll be in business. In order to let them know, you need to include your public key, which is key.txt in the mix.cfg folder, and the capstring, whose location I forget; but you can get it by sending a remailer-conf request to your remailer. VARIOUS TWEAKS The manual lists various options which are not part of mix.cfg, but are defaulted. You can play around with adding them using your own values as you become familiar with the utility and want to tweak it. One to keep in mind is the way to send messages immediately from the pool. Change your id to mixmaster. Then run: mixmaster -S --POOLSIZE=0 --RATE=100 That will send all messages from the pool. You may find this useful to do when you are first testing; otherwise it may be a long time before mixmaster gets around to sending out your test messages. /etc/mixmaster has a bunch of templates that control the operation of the remailer. They should be perused carefully. To mention one, /etc/mixmaster/remailer/header, you'll see this line: /^From:/ Oddly, it appears that that is the way the remailer keeps you from allowing full 'from' headers. If that is left in, your 'from' header will be replaced by a generic one. Just remove that line if you want to allow full 'from' headers. There is an example in the manual. Another thing: you want to be able to use mixmaster to test your remailer, so go to /var/lib/mixmaster/used-stats/pubring.mix, and drop your key in. Then, when you run the mixmaster client, you'll find your remailer showing up in the list of remailers you can choose. It will last only until the next time cron runs to update the stats. Questions, comments? Post them to alt.privacy.anon-server. (F) I assume that you know linux well enough that you know how to install applications, probably using synaptic or the other one, or using apt-get. If you don't have linux installed but would like to give it a try, I strongly recommend the Debian KDE disk. It is very simple to install, and the result is noticeably better than mepis or pclinux, both of which I have tried and liked; but they don't quite measure up to debian. You can find the cd at http://cdimage.debian.org/cdimage/weekly-builds/i386/iso-cd/ Get the one named: debian-testing-i386-kde-CD-1.iso Most of the rest of the cds, in case you are interested, are for those who want to install their own repository of 19000 or so programs. (G) Go to /etc/exim4/update-exim4.conf.conf Make sure that dc_eximconfig_configtype='internet' looks like that. (H) # Configuration for mixmaster remailer # If you change any settings please run #/usr/lib/mixmaster/mixmaster-rebuild # (preferable as user mixmaster) in order to rebuild abuse.txt, # blocked.txt, reply.txt, help.txt, and usage.txt from the # templates in /etc/mixmaster/remailer # see mixmaster(1) for more information ================================= #(H0) This makes you think you need to have 'sendmail' installed, #but if #you have exim4, there is some kind of alias set up and the line #will work fine as is. My guess is it's the same for whatever smtp #server you set up. SENDMAIL /usr/sbin/sendmail -t -oi ==================================== #(H1) See the manual. This refers to a second place from which you #can get messages. You can ignore this if you have pop3.cfg set to #read from whatever pop server you are using. # Where to read mail messages from MAILIN /var/mail/mixmaster ===================================== #(H2) I uncommented these. What happens is that when you get, for #example, a block request, mbox.block will be created in the #/var/lib/Mixmaster/Mix folder. You don't have to do anything but #uncomment them. # Where to store non-remailer messages: MAILBOX /var/lib/mixmaster/mbox MAILABUSE mbox.abuse MAILBLOCK mbox.block MAILUSAGE mbox.usage MAILANON mbox.anon MAILERROR mbox.error MAILBOUNCE mbox.bounce REMAIL y MIDDLEMAN n PASSPHRASE somegoodpassword #(H2a) AUTOBLOCK = y means that anyone requesting a block will #get it without his email address being confirmed. #That means that somebody could request that other remailers #be blocked, or whole domains be blocked. #It's important to set AUTOBLOCK = n until some kind #of confirmation can be created. BINFILTER n AUTOBLOCK n AUTOREPLY y =================================== #(H3) set verbose to 3 initially, to see what is fetched #from the pop server. ERRLOG /var/log/mixmaster/err.log VERBOSE 2 # Remailer name and addresses REMAILERADDR remailer@eelbash.yi.org ANONADDR remailer@eelbash.yi.org COMPLAINTS admin@eelbash.yi.org SHORTNAME eelbash REMAILERNAME Anonymous Remailer ANONNAME Anonymous # Supported formats: MIX y PGP n UNENCRYPTED n # Maximum message size in kB (0 for no limit): SIZELIMIT 35 POP3SIZELIMIT 35 POP3TIME 1m # Usenet news: NEWS mail2news@newsanon.yi.org ORGANIZATION Anonymous Posting Service MID n # Remailing strategy: MAILINTIME 1m SENDPOOLTIME 1m POOLSIZE 25 RATE 75 IDEXP 7d PACKETEXP 7d PGPREMPUBASC /var/lib/mixmaster/used-stats/pubring.asc PUBRING /var/lib/mixmaster/used-stats/pubring.mix TYPE1LIST /var/lib/mixmaster/used-stats/rlist.txt TYPE2REL /var/lib/mixmaster/used-stats/mlist.txt TYPE2LIST /var/lib/mixmaster/used-stats/type2.list DISCLAIMFILE /etc/mixmaster/remailer/disclaim.txt FROMDSCLFILE /etc/mixmaster/remailer/fromdscl.txt ADMKEYFILE /etc/mixmaster/remailer/adminkey.txt POP3CONF /etc/mixmaster/remailer/pop3.cfg SOURCEBLOCK /etc/mixmaster/remailer/source.blk HDRFILTER /etc/mixmaster/remailer/header.blk DESTALLOW /etc/mixmaster/remailer/dest.alw DESTBLOCK dest.blk rab.blk ABUSEFILE /var/lib/mixmaster/Mix/abuse-generated.txt BLOCKFILE /var/lib/mixmaster/Mix/blocked-generated.txt REPLYFILE /var/lib/mixmaster/Mix/reply-generated.txt USAGEFILE /var/lib/mixmaster/Mix/usage-generated.txt HELPFILE /var/lib/mixmaster/Mix/help-generated.txt PIDFILE /var/run/mixmaster/mixmaster.pid POP3DEL y * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGEQ6+COv6H9XGvoIRAp5EAJ986m73EXfUPpYgny1v+w9bJ3hO3wCfVWns CTJt82fIMGSX31pk8nbaBVE= =eLQi -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<20070402151323.Gq51xiMeezNE@anonymous.poster>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr3.newsreader.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <20070402151323.Gq51xiMeezNE@anonymous.poster> Subject: Notes on setting up mixmaster remailer under linux Date: Mon, 02 Apr 2007 14:13:26 +0000 From: admin@newsanon.yi.org Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr3.newsreader.com.POSTED!not-for-mail X-Complaints: admin@eelbash.yi.org. Include 777 in the subject to get through the spam filters Newsgroups: alt.privacy.anon-server Lines: 301 Organization: NewsReader.Com Subscriber NNTP-Posting-Host: b530bd4e.nr3.newsreader.com X-Trace: DXC=^kA`02GYZ<ThhfSi4:66B_OA8_@f\K_iR[=@X@CQ0MOUlYPAI4b8fWRDVIbICRl:IYXA9PXJ8=5YVoV^4>Snm3o[jClShHQiYMQ X-Complaints-To: abuse@newsreader.com