/
Dev%2FMixmaster.mw
194 lines (124 loc) · 6.84 KB
/
Dev%2FMixmaster.mw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{{Header}}
{{#seo:
|description=Technical Design Documentation about Mixmaster
}}
{{mbox
| type = notice
| image = [[File:Ambox_notice.png|40px|alt=Info]]
| text = This page is now deprecated. Mixmaster is dead upstream and has been [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880101 permanently removed from Debian].
}}
= Mixmaster =
== Introduction ==
Motivation behind this: "''What if there where a bookmark pointing to mail.local (or something like that) where you can simply enter an e-mail address, from sender (optional), subject and text, click send and mail is on its way?''
''No sign-up/registration/smtp server required. Could look like [https://www.awxcnx.de/mm-anon-email.htm this]. (Or [https://www.cotse.net/cgi-bin/mixmail.cgi this] or [https://webmixmaster.paranoici.org/mixemail-user.cgi this].)''" ([https://mailman.boum.org/pipermail/tails-dev/2012-December/002384.html Development discussion])
[https://en.wikipedia.org/wiki/Mixmaster_anonymous_remailer Mixmaster] is a Remailer. Please read the [[Remailer]] article first as introduction.
There are two ways of using the Mixmaster network. Installing Mixmaster in Debian is the recommended way but more difficult. Unfortunately, there is no nice graphical user interface for the Mixmaster for Debian GNU/Linux. There are web interfaces at the bottom of this page, but no one managed to document how to use them yet.
This is quite an unusual setup. At time of writing there where no references that ever anyone ever successfully used the mixmaster software to remail over Tor. Therefore it might make clear, that you are a {{project name}} user.
== Mixmaster inside {{workstation_product_name}} ==
=== Third Party Information ===
==== Tutorial Videos ====
There is a video without speech on Ubuntu, but steps on Debian are the same. No speech, but good video anyway.
* https://www.youtube.com/watch?v=jmIHcrrkj2w
There is also a video with speech explaining Mixmaster. Video comments:
* Before 4:38 min he explains general things about Mixmaster. We don't agree, for reasons explained above. The video is already four years old.
* Before 4:38 min he explains to manually install it. We don't have to do it, since it is available as Debian package.
* You could watch https://www.youtube.com/dzbrFPO4604 beginning from 4:38 min.
==== Documentation ====
debian-administration.org: [http://www.debian-administration.org/articles/483 Using mixmaster to send anonymous email] from 2006 written by Jacob Appelbaum. Still contains useful information. <font size="-3">Even though */etc/mixmaster/remailer.conf* contains a *SENDMAIL* directive, a [http://www.plex86.org/linux2/Mixmaster-Tutorial-Third-Draft-Comments--This-message-did-not-originate-from-the-Sender-address-above.html Mixmaster Tutorial Third] says Postfix is Mixmaster default. This directive does not require changing.</font>
*postfix [https://groups.google.com/d/msg/alt.privacy.anon-server/PtLiC3D1Zjk/SNfeiYYGKnEJ not required] because we use SMTPRELAY
=== Installing ===
==== Installation ====
===== {{gateway_product_name}} =====
[https://github.com/{{project_name_short}}/anon-gw-anonymizer-config/blob/master/usr/share/tor/tor-service-defaults-torrc.anondist /usr/share/tor/tor-service-defaults-torrc] contains.
<pre>
mapaddress 1.1.1.1 k54ids7luh523dbi.onion
mapaddress 2.2.2.2 gbhpq7eihle4btsn.onion
</pre>
===== {{workstation_product_name}} =====
Has mixmaster installed by default.
/home/user/.Mix/mix.cfg contains.
<pre>
#SMTPRELAY 1.1.1.1
SMTPRELAY 2.2.2.2
</pre>
/etc/hostname contains.
<pre>
host
</pre>
/etc/hosts contains.
<pre>
127.0.0.1 host.localdomain host
</pre>
This is because mixmaster leaks these information to the mixmaster node, it is better to have it uniform.
=== Configuration ===
A fresh list of Mixmaster nodes is required. You can either update using the ncurses interface or using the Debian method. Both are documented below.
==== ncurses method ====
In Terminal:
{{CodeSelect|code=
sudo mixmaster
}}
<pre>
## Press keys:
# 1
u for update
# 2
* to begin update
# 3
k worked for me
# 4
q for quit (no longer run it as root)
</pre>
==== Debian method ====
{{CodeSelect|code=
sudo mixmaster-update --verbose
}}
There is an exception in ''/etc/sudoers'' for mixmaster-update to allow running mixmaster-update without root.
=== Using ===
In Terminal:
{{CodeSelect|code=
mixmaster
}}
and use the text interface. Perhaps watch the video as explained above.
If you don't like the text interface you may use it by command line. If you want to read the manual.
{{CodeSelect|code=
man mixmaster
}}
Mails can also be send by command line. See documentation article [[Mixmaster]] for instructions how to use it.
=== Debugging ===
After sending when there is no error.
<pre>Chain: breaka</pre>
Error example.
<pre>
Error: SMTP relay not ready.
Error: SMTP relay not ready.
Error: Unable to execute sendmail. Check path!
Error: SMTP relay not ready.
Error: SMTP relay not ready.
Error: Unable to execute sendmail. Check path!
</pre>
== Webinterface ==
http://remailer.paranoici.org/scripts/webscripts.tar.gz
* Online demo looks good.
* GNUPL license needs clarification.
http://www.cotse.net/mixweb.tgz
* Online demo looks good.
* Unfree license. Only free for non-commercial use. Although there is a promise not to sue one, commercial users are required to buy a license.
* Therefore not suited as default in {{project_name}}.
http://pyanon.sourceforge.net
* Looks great.
* Requires Apache 2 with mod_python.
* Therefore not suited as default in {{project_name}}. (Users may want to use Apache for running an onion service. Also quite big. Might be re-considered.)
== Development ==
Note: Mixmaster gets confused if there are # comments at the top of ''~/.Mix/mix.cfg''.
[[Stream Isolation]] as in forcing Mixmaster traffic through a separate SocksPort has not yet been figured out and help is welcome. Mixmaster traffic goes through Tor's TransPort. Since we are only connecting to Mixmaster relays, which provide an onion service, identity correlation should be prevented. To make sure, asked [https://lists.torproject.org/pipermail/tor-talk/2013-January/027116.html tor-talk: Are connections to two different onion services stream isolated?].
Other ideas:
* Postfix has an option to skip MX lookups for a given hostname: look for "square brackets" in postconf(5).
* [http://www.groovy.net/ww/2011/12/torfix Using Postfix with Tor]
* [http://www.groovy.net/ww/2012/01/torfixbis Using Postfix with Tor (bis)]
The [[Deprecated]] page contains information related to Mixmaster: MX DNS requests, MX capable DNS resolver, using Postfix and debugging Postfix.
Tails ticket, may contain interesting information:<br />
https://labs.riseup.net/code/issues/8225
== Credits ==
* [http://lists.mixmin.net/pipermail/remops/2012-December/000671.html Remops mailing list] helped creating this page with advice.
{{Footer}}
[[Category:Development]]