🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
3 messages
3 total messages Started by Anonymous Sun, 10 Aug 2014 10:45
Multiple Copies
#269724
Author: Anonymous
Date: Sun, 10 Aug 2014 10:45
11 lines
1487 bytes
Hi,

I've been reading the Mixmaster spec and pretty much understand it,
except for multiple copies (numcopies) for redundancy.  How does the
exit remailer know to only deliver the first one it receives?

There is a Message ID field in the last-hop header but it only appears
to be used for reassembly of multi-part messages.

Thanks
Re: Multiple Copies
#269725
Author: Zax
Date: Sun, 10 Aug 2014 14:04
51 lines
3260 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sun, 10 Aug 2014 10:45:02 +0000 (UTC), Anonymous wrote in
Message-Id: <bab05e9ca3ce6332bf6ca01839760c63@remailer.paranoici.org>:

> Hi,
>
> I've been reading the Mixmaster spec and pretty much understand it,
> except for multiple copies (numcopies) for redundancy.  How does the
> exit remailer know to only deliver the first one it receives?

Every header (up to 20 of them) in a Mixmaster message contains a Packet
ID field.  This field contains a randomly generated 16 Byte value
(generated by the client).  As each remailer decodes and discards the
top header in the message, it records the Packet ID into an IDLOG file.
If the remailer sees the same ID twice, it discards the message.  This
prevents replay attacks.

When multiple copies are sent (numcopies > 1), the same Packet ID is put
on every exit header.  The exit remailer delivers the first copy and then
discards subsequent copies as duplicates.

> There is a Message ID field in the last-hop header but it only appears
> to be used for reassembly of multi-part messages.

Yes, I believe that's its only purpose.  There's also a Message ID field
in final hop (type 1) headers but I don't think it serves any purpose.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJT53vyAAoJEIBmv8lxNqHox+QP/0THRiMVtZ+tYx0jX5k/uNbV
bXenTOm9/ZArEZxSzZ0psknGIZ94VwI/tgo6Lcfq+IPPE0jF7+94XVMXv0XIFW7h
Cv/Yq4bG2DDx44WivSUENCUBTCi0wfim4TeOFGpCVxs1yExZ3mA6RIKztitq3OUS
yU6yYBxz+elBYbgyCAIGnZRiZAK9gsEwVCy0zoJIdXH5cJW+05Qk/Re4B4DimVPL
x/slyeIgpQnMDTF5/UXzpGWoPc48KtLZRPalHsM7GnZwGh4hAlamG2/2RxqP5tai
D/SdBnJ3WQNDmBXqYoyFiazsIvJ1cL7GzAu9dZLaSzyQjn40Usr8QUoujjT7/dnu
oOhmzLlk8WWh8ONALGdbYpOLNE4juKqIbfIvftNPRI9l+W6ynmzOWHdK4wRX252+
pC+Hi1WgZxVu983Fu4R+OHiBHE933/8BmMpX8tsAR+mGpMrXQQ9VU+sy0wzYe2dW
SEokmh/tSwPRjfVDWa+5SXjLjeJZn4jAdOboBkpEXbVdbGUe6/2KhClFgjGWsfvM
ntelOhmecizFBaOy2FxljAWoY/ddDIJwvnTjw9k/4+WwYB5qHOzn9gR4IQBtVXk5
jOtmEQmUUsBZdBrhWfp+HfDY7weuE/OQ9IaPgTv3yW+AkVyEJAAEPUq+oc8GZ+G+
od5IX8IMwZ37wPQ59as9
=LZgx
-----END PGP SIGNATURE-----

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
sub   4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Re: Multiple Copies
#269739
Author: elvis-85503
Date: Mon, 11 Aug 2014 19:54
20 lines
1821 bytes
On 2014-08-10, Anonymous <nobody@remailer.paranoici.org> wrote:
> I've been reading the Mixmaster spec and pretty much understand it,
> except for multiple copies (numcopies) for redundancy.  How does the
> exit remailer know to only deliver the first one it receives?
>
> There is a Message ID field in the last-hop header but it only appears
> to be used for reassembly of multi-part messages.

rem2.c
144   i = lockfile(IDLOG);
145   while (fread(&idbuf, 1, sizeof(idlog_t), f) == sizeof(idlog_t)) {
146     if (!memcmp(idbuf.id, id->data, sizeof(idbuf.id))) {
147       char idstr[33];
148       id_encode(id->data, idstr);
149       errlog(LOG, "Ignoring redundant message: %s.\n", idstr);
150       ret = 0;
151       goto end;
152     }
153   }
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads