Article View: alt.privacy.anon-server
Article #259473Re: Using tor with mixmaster
From: user
Date: Mon, 29 Oct 2012 17:00
Date: Mon, 29 Oct 2012 17:00
199 lines
11624 bytes
11624 bytes
On 10/25/2012 12:38 AM, Anonymous wrote: > Yes, but these instructions are not specific with configuration. > > The author wrote to use stunnel to connect mixmaster to tor, > but isn't what you are supposed to do is tunnel sendmail > outgoing traffic through tor? > > Exactly how is that setup with stunnel/socat? > > On 10/17/2012 04:56 PM, user wrote:> On 10/17/2012 5:07 PM, Anonymous wrote: >>> Is there some way I can use tor with mixmaster when running >>> mixmaster from the command line? >>> >> On 10/17/2012 5:07 PM, Anonymous wrote:> Is there some way I can use tor >> with mixmaster when running >>> mixmaster from the command line? >>> >> Most certainly, and many people use it that way. It can be done in >> Windows and Linux. If you take a look at the following two threads in >> this group, you will find the details for doing so. >> >> >> On 09/03 >> >> Message-ID: <f6576fcc830bf057cd51dcafcd700bc4@msgid.frell.theremailer.net> >> >> On 09/11 >> >> Message-ID: <159a3d307d5acca8c61f05400376c5fd@msgid.frell.theremailer.net> >> >> The following should help, but just disregard the part specific to Thunderbird and see the rest as it relates to stunnel and socat with mixmaster: there are more than one way, and it depends also on which OS you use for doing so. i will describe one that works well for this purpose using the Windows OS. Just as you stated above, this method can "take days of research before becoming useful." it is not a faint-hearted approach, despite what you may think about Windows personally. :) 1. you need to install Mixmaster and have it functional, updating stats, able to deliver messages to individuals and news groups, etc. then it should be configured to use localhost as the SMTPRELAY. you should also configure it to use an ERRLOG with VERBOSE settings so that you can review the logs while testing everything. 2. you need to install Stunnel and have it functional. it should have at least two service sections set up, one for the SMTP server and one for the NNTPS server. both of these services should "accept" from different sockets in localhost, such as 127.0.0.1:25 for SMTP (from Mixmaster) and 127.0.0.1:portX for NNTPS. then have one of them "connect" to 127.0.0.1:port1 and the other to 127.0.0.1:port2, respectively . take care to have your other security-related settings in place in its config file. Stunnel is also good about creating a nice, verbose debug log, and you should use it while testing, etc. 3. my experience with Stunnel is that it can be obstinate about using a socks proxy. this can be overcome by first sending it to another program called socat. socat is a marvelous program, which will run perfectly well in a Windows shell, and it can be installed in cygwin environment. socat will take the data from Stunnel and pass it on to tor. it will run in multiple instances and you will need one for the SMTP and one for NNTPS, if in fact you intend to do mail and do news postings. socal also has a wonderful logging facility and you should use it, especially while testing. it helps to have a couple of monitors to watch more than one thing at a time. socat does not have a config file, but it runs from the command line in Windows shell. assuming that you want to make logs verbosely, these settings will move the data fed to it from stunnel to tor's socks proxy, using one command in each instance of the shell: socat -lf c:\temp\socat\socat_nntp.log -d -d -d TCP4- LISTEN:port2,fork SOCKS4A:localhost:nntps.server.ip:server- port#,socksport=9050 socat -lf c:\temp\socat\socat_smtp.log -d -d -d TCP4- LISTEN:port1,fork SOCKS4A:localhost:smtp.server.ip:server- port#,socksport=9050 it is important that you have the latest versions of all these programs so that all the security is as tight as possible. here is more about this wonderful program: (a) https ://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO#Aboutsocat (b) http://www.dest-unreach.org/socat/ 4. you need to have tor installed and functional, and, again, you need to watch its logs while testing. so that it can be sent the data from socat, it needs to have the socks port set to port #9050. set it up as the default instructions recommend from the tor project. however, i also found this setting helpful to prevent the tendency of the connection to timeout otherwise. it was not frequently doing so, but it was enough to irritate me, so i added this parameter to the torrc config: LongLivedPorts. keep the default ports that are recommended for it, but add to them the ports you utilize with the smtp and nntps servers in your connections. 5. the next thing, and arguably the most important one, is to get Thunderbird installed and functional. use the latest and greatest version of course. configure it with whatever accounts you may want to use with it. then, also set it up able to use the tor proxy settings in "Tools/Options/Advanced/Network & Diskspace/Settings/Manual Proxy Configuration", and use the settings recommended by Tor Project. now make sure that, when you are configuring the tor proxy settings, you also tell it NOT to use a proxy for localhost, in the bottom box of that section (Where it says, "No Proxy for:"). then set up a unique, special news account with the news server connecting to localhost (127.0.0.1) and any available port number, so that you can send the data to the last program in my list. then set up a special user with some pseudonym and with what appears to be an email from some FQDN, but not a real one of yours. Now set up a SMTP Outgoing Server for this same user, and have it configured normally; that is, not aiming at local host but at the real server of, for example, snorky, and make sure it is configured to use a secure connection, such as STARTTLS on port 587. now make sure that this SMTP server is linked up to your special user identity and to this special account as the default outgoing SMTP server, and make this special user the default user on this account. i would advise strongly that you have only this one user on this account until you are really adept and comfortable with all the goings on of data flow, etc. 6. Now you need to install two add-on programs in Thunderbird: Enigmail is one and TBTracer is the other. enigmail will allow you to send signed and encrypted messages if need be. TBTracer will allow you to have extensive, realtime logging of all the connections and commands that are made by Thunderbird. use these logs to watch the data while testing everything. alternatively, you can follow these instructions for creating such logs in thunderbird: http://email. about.com/od/mozillathunderbirdtips/qt/et_mail_log.htm. frankly, i think the add-on is a better choice, but to each his own. with the add-on the information can be observed easily in a second window side-by-side with Thunderbird. then you need to follow all the instructions on this page for customizing Thunderbird: https://trac.torproject.org/projects/tor/wiki/doc/Torif yHOWTO/EMail. on that page there are two sections, and you need to do everything in both sections. one is called "Mozilla Thunderbird" and the other is called "***Experimental*** Suggestions for possibly making thunderbird and/or claws stop leaking info ***Experimental***". If you do not do these, all your other work will not prevent you from leaking information. 7. i highly recommend installing some program that is designed specifically to allow you also to watch the TCP connections your network computer makes. it does not have to be elaborate like Wireshark, and which one you get depends on what you like and how you think (are you visually oriented, etc.), but get one that you know to work. here is one i tested and compared and found to work for this purpose: http://tcpmonitor.altervista.org/tcpeye-network- monitoring/. believe me, watching your data and logs while you are testing is worth the while for learning and overcoming obstacles. 8. finally, install Cotse's News2Remail utility and set it up so that the data from the news server in Thunderbird feeds to it. that is, the port that you set the news server to use with localhost in Thunderbird should feed to this utility and it in turn should feed the data to Mixmaster and Stunnel. these settings will accomplish that objective: # Port for news2remail to listen on port=xyz <-------- here put the port that Thunderbird was set to send to, with its news server in the special account # News server information newsserver=127.0.0.1 newsport=uvw <--------- here put the port that Stunnel will listen (accept) on in its news server section keep in mind that Cotse's utility also creates logs on the monitor. additionally, it also has a feature that lets you send your messages to a file instead posting them online, and with this feature you can check what would have been sent in order to see the headers that would be used. it allows you to customize the headers and observe the effect "before" you actually start posting online. 9. now you get to build templates in thunderbird and pull you hair out while you are getting it all ironed out. don't forget to update your stats in Mixmaster, routinely and securely. what i have described is certainly not the only way to do it, but it does work this way. if you can see any place where i can improve upon the method, please feel free to speak up. this is not the only configuration i use, and Linux will also let you have fun like this. once it is all configured and operational, and you are comfortable and careful, you can then start using some of the niftier functionality of Thunderbird to play with and to enhance your fun. it only gets better. after it is all configured, you can quickly reply to mail or news, securely and anonymously. Enjoy.
Technical Details
Message-ID:
<k6mcnv$o9t$1@news.mixmin.net>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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!e17no12157837qar.0!news-out.google.com!q13ni96999wii.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!feeder.ecngs.de!ecngs!feeder2.ecngs.de!46.4.82.166.MISMATCH!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!news.mixmin.net!.POSTED!not-for-mailReferences:
<k5nd3l$qr6$1@news.mixmin.net> <863d9b5c17af9bc592aebee09a1fc6f7@breaka.net>Show Full Headers
Complete Article Headers
Message-ID: <k6mcnv$o9t$1@news.mixmin.net> Subject: Re: Using tor with mixmaster Date: Mon, 29 Oct 2012 12:00:34 -0500 From: user <user@indifference.net> References: <k5nd3l$qr6$1@news.mixmin.net> <863d9b5c17af9bc592aebee09a1fc6f7@breaka.net> 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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!e17no12157837qar.0!news-out.google.com!q13ni96999wii.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!feeder.ecngs.de!ecngs!feeder2.ecngs.de!46.4.82.166.MISMATCH!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!news.mixmin.net!.POSTED!not-for-mail Received: by 10.180.87.100 with SMTP id w4mr2336781wiz.3.1351530048597; Newsgroups: alt.privacy.anon-server Organization: Mixmin Mime-Version: 1.0 Injection-Date: Mon, 29 Oct 2012 17:00:48 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="LvtPUN3SAMrTMGmlswqCuni3/YM"; logging-data="24893"; mail-complaints-to="abuse@mixmin.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; In-Reply-To: <863d9b5c17af9bc592aebee09a1fc6f7@breaka.net> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Received-Bytes: 11233 Lines: 198 X-Original-Bytes: 11386