Thread View: alt.privacy.anon-server
15 messages
15 total messages
Started by Grant Taylor
Mon, 25 Jan 2021 18:30
Mixmaster spool directory
Author: Grant Taylor
Date: Mon, 25 Jan 2021 18:30
Date: Mon, 25 Jan 2021 18:30
17 lines
1514 bytes
1514 bytes
What are the files in the Mixmaster spool directory? I have a significant discrepancy in the number of files in Mixmastyer's spool vs the number of "outgoing messages in the pool" as reported when running Mixmaster interactively. As in ~2k files with dates less than 72 hours old and 0 outgoing messages as reported by Mixmaster. Given that the file dates are less than 72 hours old, it doesn't seem like an accumulation of dead messages over months. -- Grant. . . . unix || die
Re: Mixmaster spool directory
Author: inwtx
Date: Mon, 25 Jan 2021 18:37
Date: Mon, 25 Jan 2021 18:37
12 lines
1133 bytes
1133 bytes
> > What are the files in the Mixmaster spool directory? > > I have a significant discrepancy in the number of files in Mixmastyer's spool vs the number of "outgoing messages in the pool" as reported when running Mixmaster interactively. > > > Given that the file dates are less than 72 hours old, it doesn't seem like an accumulation of dead messages over months. I have never heard of a mixmaster spool file.
Re: Mixmaster spool directory
Author: Grant Taylor
Date: Mon, 25 Jan 2021 18:44
Date: Mon, 25 Jan 2021 18:44
14 lines
1451 bytes
1451 bytes
On 1/25/21 11:37 AM, inwtx wrote: > I have never heard of a mixmaster spool file. Typo. I'm used to saying "spool" in other contexts. So, mussel memory added an extra "s" when typing "pool". The "pool" (sub)directory in the Mixmaster directory has ~2k files in it, all of which have timestamps less than 72 hours old. -- Grant. . . . unix || die
Re: Mixmaster spool directory
Author: mail.zip2.in Anonymous Remailer
Date: Mon, 25 Jan 2021 20:00
Date: Mon, 25 Jan 2021 20:00
16 lines
1120 bytes
1120 bytes
> >> >> What are the files in the Mixmaster spool directory? >> >> I have a significant discrepancy in the number of files in > Mixmastyer's spool vs the number of "outgoing messages in the pool" > as reported when running Mixmaster interactively. > >> >> >> Given that the file dates are less than 72 hours old, it doesn't > seem like an accumulation of dead messages over months. > > I have never heard of a mixmaster spool file. It's the mixmaster swimming pool.
Re: Mixmaster spool directory
Author: Grant Taylor
Date: Mon, 25 Jan 2021 20:04
Date: Mon, 25 Jan 2021 20:04
11 lines
1384 bytes
1384 bytes
On 1/25/21 1:00 PM, mail.zip2.in Anonymous Remailer wrote: > It's the mixmaster swimming pool. If it's dead messages that Mixmaster can't process, then it seems like it's more of a lagoon, or the type of swimming pool that you want to avoid. -- Grant. . . . unix || die
Re: Mixmaster spool directory
Author: elvis-85781
Date: Thu, 28 Jan 2021 10:20
Date: Thu, 28 Jan 2021 10:20
20 lines
1505 bytes
1505 bytes
On 2021-01-25, Grant Taylor <gtaylor@tnetconsulting.net> wrote: > What are the files in the Mixmaster pool directory? It is part of mix-net theory that to prevent inbound and outbound messages being matched by an observer the messages need to arrive, be stored with some others and be sent in random order. <https://en.wikipedia.org/wiki/Mix_network> The pool directory is where messages are stored and when mixmaster is run in a mode that sends from the pool it sends a faction as defined in the config file. The number being sent each time will be around that fraction of the total stored. The file rsastats.txt will show the number of messages handled daily and that together with mix.cfg should allow you to see whether the current pool size is around what you could have expected.
Re: Mixmaster spool directory
Author: Grant Taylor
Date: Thu, 28 Jan 2021 16:55
Date: Thu, 28 Jan 2021 16:55
18 lines
1662 bytes
1662 bytes
On 1/28/21 3:20 AM, elvis-85781@notatla.org.uk wrote: > It is part of mix-net theory that to prevent inbound and outbound > messages being matched by an observer the messages need to arrive, > be stored with some others and be sent in random order. I understand that. My concern is that there are multiple thousand files in Mixmaster's pool directory, yet Mixmaster's interactive mode says that there are zero messages in the pool to send. The discrepancy between the numbers is what's concerning. -- Grant. . . . unix || die
Re: Mixmaster spool directory
Author: SEC3
Date: Thu, 28 Jan 2021 17:43
Date: Thu, 28 Jan 2021 17:43
34 lines
3949 bytes
3949 bytes
On 2021-01-28 11:55 a.m., Grant Taylor wrote: > On 1/28/21 3:20 AM, elvis-85781@notatla.org.uk wrote: >> It is part of mix-net theory that to prevent inbound and outbound >> messages being matched by an observer the messages need to arrive, be >> stored with some others and be sent in random order. > > I understand that. > > My concern is that there are multiple thousand files in Mixmaster's pool > directory, yet Mixmaster's interactive mode says that there are zero > messages in the pool to send. 'Something obviously wrong there. My first guess would be that mixmaster is not running in daemon mode. ps ax | grep "mixmaster -D" You should see something like 389 ? S 9:30 /home/mix/Mix/mixmaster -D Without mixmaster running in daemon mode messages get piped to Mixmaster, land in your mix pool and go nowhere. SEC3 Contact info and PGP key: <https://sec3.net> List of Tor Hidden Services <https://github.com/sec3pinger/tor-hidden-services> List of Nym Keys <https://github.com/sec3pinger/nym-keys> YAMN Help <https://sec3.net/yamnhelp/>
Re: Mixmaster spool directory
Author: elvis-85781
Date: Thu, 28 Jan 2021 18:44
Date: Thu, 28 Jan 2021 18:44
10 lines
1206 bytes
1206 bytes
>> My concern is that there are multiple thousand files in Mixmaster's pool >> directory, yet Mixmaster's interactive mode says that there are zero >> messages in the pool to send. > 'Something obviously wrong there. My first guess would be that mixmaster > is not running in daemon mode. > > ps ax | grep "mixmaster -D" Also try running mixmaster -S
Re: Mixmaster spool directory
Author: Grant Taylor
Date: Thu, 28 Jan 2021 22:06
Date: Thu, 28 Jan 2021 22:06
23 lines
1771 bytes
1771 bytes
On 1/28/21 5:43 PM, SEC3 wrote: > 'Something obviously wrong there. My first guess would be that > mixmaster is not running in daemon mode. It is, and has been. > You should see something like I do. > Without mixmaster running in daemon mode messages get piped to > Mixmaster, land in your mix pool and go nowhere. It's running the same way that it has been running all along. So, I'm quite convinced that it would not be working, which it has been, and still is to the best of my knowledge. -- Grant. . . . unix || die
Re: Mixmaster spool directory
Author: Grant Taylor
Date: Thu, 28 Jan 2021 22:09
Date: Thu, 28 Jan 2021 22:09
18 lines
1693 bytes
1693 bytes
On 1/28/21 11:44 AM, elvis-85781@notatla.org.uk wrote: > Also try running mixmaster -S Mixmaster, when run interactively said that there were 40 messages in the queue. Running them, "s" from the menu, dropped it to 20, which is the default. Re-running mixmaster with a slightly different config to empty the queue, dropped it to 0. There are still 2914 files in the pool directory. -- Grant. . . . unix || die
Re: Mixmaster spool directory
Author: SEC3
Date: Thu, 28 Jan 2021 22:31
Date: Thu, 28 Jan 2021 22:31
41 lines
4365 bytes
4365 bytes
On 2021-01-28 5:09 p.m., Grant Taylor wrote: > On 1/28/21 11:44 AM, elvis-85781@notatla.org.uk wrote: >> Also try running mixmaster -S > > Mixmaster, when run interactively said that there were 40 messages in > the queue. > > Running them, "s" from the menu, dropped it to 20, which is the default. > > Re-running mixmaster with a slightly different config to empty the > queue, dropped it to 0. > > There are still 2914 files in the pool directory. Look at the names of the files in your pool directory. Do many of them begin with the letter "p" ? These are partials. pool/m* = Message pool files. pool/p* = Partial messages. pool/l* = Latent messages. pool/t* = Temporary files. You will see partials when a user is trying to send large binary files through the network. Sending binaries will usually fail because it only takes one missing partial file to break the re-assembly of the binary attachment. If that is what is happening I expect that your 1000s of partials will eventually reach expiry (7 days) and then will disappear from the pool. -- SEC3 Contact info and PGP key: <https://sec3.net> List of Tor Hidden Services <https://github.com/sec3pinger/tor-hidden-services> List of Nym Keys <https://github.com/sec3pinger/nym-keys> YAMN Help <https://sec3.net/yamnhelp/>
Re: Mixmaster spool directory
Author: Grant Taylor
Date: Fri, 29 Jan 2021 01:49
Date: Fri, 29 Jan 2021 01:49
46 lines
2836 bytes
2836 bytes
On 1/28/21 10:31 PM, SEC3 wrote:
> Look at the names of the files in your pool directory. Do many of
> them begin with the letter "p" ? These are partials.
No, none of them start with "p".
> pool/m* = Message pool files.
> pool/p* = Partial messages.
> pool/l* = Latent messages.
> pool/t* = Temporary files.
I just ran the following command
# ls Mix/pool/ | sed 's/.............$//' | uniq -c
2906 e
1 i
33 m
Mixmaster's interactive menu says that there are 33 messages in the pool.
I've not seen "i" before, so I'm guessing that "i" is a temporary state.
I'm guessing that the 2906 "e" files are some sort of error.
> You will see partials when a user is trying to send large binary files
> through the network. Sending binaries will usually fail because it
> only takes one missing partial file to break the re-assembly of the
> binary attachment.
That makes sense. But I don't think that's what is happening here.
> If that is what is happening I expect that your 1000s of partials will
> eventually reach expiry (7 days) and then will disappear from the pool.
In light of that comment, I'm somewhat inclined to see if these files
expire and are cleaned up next week.
I've historically not looked inside Mixmaster's pool directory because
I've had no need to. It was the recent thread about missing messages
that prompted me to look.
--
Grant. . . .
unix || die
Re: Mixmaster spool directory
Author: elvis-85781
Date: Sat, 30 Jan 2021 15:26
Date: Sat, 30 Jan 2021 15:26
57 lines
2803 bytes
2803 bytes
On 2021-01-29, Grant Taylor <gtaylor@tnetconsulting.net> wrote:
> In light of that comment, I'm somewhat inclined to see if these files
> expire and are cleaned up next week.
>
> I've historically not looked inside Mixmaster's pool directory because
> I've had no need to. It was the recent thread about missing messages
> that prompted me to look.
I have consulted the pool.c file (looh for the "mv" function) and I see
files starting 'e' are error files that get named that way if sending
by MTA fails.
Maybe renaming the files and retrying to send might work.
40 /* Message pool: Unix DOS
41 * latent messages: l* *.lat
42 * pooled messages: m* *.msg
43 * messages to be sent: s* *.snd
44 * temporary files: t* *.tmp
45 * files in user editor: x*
46 * incoming mail: i* *.inf
47 * partial messages: p* p*.*
48 * error messages: e* *.err
49 * outgoing messages: out *.txt (to be used by external program)
50 */
388 void pool_dosend(void)
389 {
390 DIR *d;
391 struct dirent *e;
392 char path[PATHMAX];
393
394 d = opendir(POOLDIR);
395 if (d != NULL) {
396 for (;;) {
397 e = readdir(d);
398 if (e == NULL)
399 break;
400 if (is(e->d_name, "snd")) {
401 sendmail_begin();
402 mv(e->d_name, "tmp");
403 sprintf(path, "%s%c%s", POOLDIR, DIRSEP, e->d_name);
404 if (msg_send(path) == 1)
405 mv(e->d_name, "err");
406 }
407 }
408 closedir(d);
409 } else
410 errlog(WARNING, "Error reading pool dir %s\n", POOLDIR);
411 sendmail_end();
412 }
Expiry is handled in rem.c with "pool_packetexp".
Re: Mixmaster spool directory - SOLVED
Author: Grant Taylor
Date: Sun, 31 Jan 2021 03:37
Date: Sun, 31 Jan 2021 03:37
29 lines
2365 bytes
2365 bytes
On 1/30/21 8:26 AM, elvis-85781@notatla.org.uk wrote: > I have consulted the pool.c file (looh for the "mv" function) and > I see files starting 'e' are error files that get named that way if > sending by MTA fails. Thank you for the sleuthing. > Maybe renaming the files and retrying to send might work. I renamed all the e files to m files and then told Mixmaster to send messages (-S). And ... it looks like all of the e->m messages were processed. I guess that means that there were near 3k messages that were stuck that have now been unstuck and moved along to the next remailer. Thank you, everybody, for your help getting to the bottom of the big Mixmaster pool directory. > Expiry is handled in rem.c with "pool_packetexp". Thankfully, I think that all of the messages have been sent, thus they don't need to expire and be lost. -- Grant. . . . unix || die
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