🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
8 messages
8 total messages Started by SEC3 Wed, 03 Feb 2021 19:05
Why are pingers looking so healthy?
#313085
Author: SEC3
Date: Wed, 03 Feb 2021 19:05
20 lines
3395 bytes
Considering the current massive increase in traffic over the past week I
would have expected the stats of at least some remailers to suffer. But
we are not seeing that.

If my remailers Sfax,  Cloaked and Off are any indication most Mixmaster
remailers are now in the midst of dealing with huge pool sizes and huge
mail queue waiting lines. Why hasn't this resulted in lengthy delays in
return ping times? Or possibly even failed pings?


-- 
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: Why are pingers looking so healthy?
#313087
Author: Grant Taylor
Date: Wed, 03 Feb 2021 19:29
25 lines
2000 bytes
On 2/3/21 7:05 PM, SEC3 wrote:
> Considering the current massive increase in traffic over the past 
> week I would have expected the stats of at least some remailers to 
> suffer. But we are not seeing that.

Why do you say that?

> If my remailers Sfax,  Cloaked and Off are any indication most 
> Mixmaster remailers are now in the midst of dealing with huge pool 
> sizes and huge mail queue waiting lines. Why hasn't this resulted in 
> lengthy delays in return ping times? Or possibly even failed pings? 

My assumption is that if / when pool sizes get really large, the number 
of messages that are processed on the next cycle is also large, seeing 
as how it's a percentage of the overall pool size.

So, there may be a little bit more delay.  But I wouldn't expect much. 
It might even be small enough that it's lost in the noise of normal 
variation.



-- 
Grant. . . .
unix || die
Re: Why are pingers looking so healthy?
#313096
Author: anon
Date: Wed, 03 Feb 2021 20:26
17 lines
1228 bytes
> 
> Considering the current massive increase in traffic over the past 
week I
> would have expected the stats of at least some remailers to 
suffer. But
> we are not seeing that.
> 
> If my remailers Sfax,  Cloaked and Off are any indication most 
Mixmaster
> remailers are now in the midst of dealing with huge pool sizes and 
huge
> mail queue waiting lines. Why hasn't this resulted in lengthy 
delays in
> return ping times? Or possibly even failed pings?
> 

Don't ask.  You might jinx the system.
Re: Why are pingers looking so healthy?
#313098
Author: SEC3
Date: Wed, 03 Feb 2021 20:54
40 lines
4303 bytes
On 2021-02-03 2:29 p.m., Grant Taylor wrote:
> On 2/3/21 7:05 PM, SEC3 wrote:
>> Considering the current massive increase in traffic over the past week
>> I would have expected the stats of at least some remailers to suffer.
>> But we are not seeing that.
> 
> Why do you say that?

I suspect I do not fully understand how the mail queue works. Maybe you
might explain it to me. I use Postfix. But I imagine a Sendmail queue
works essentially the same way.

My caputo server hosts both a mixmaster remailer (off) and a Mixmaster
pinger (SEC3). Currently the mail queue at caputo contains approx 14,000
emails. That's unusually large. Its usually less than 100. Most of these
messages are deferred messages destined for redjohn and kreti and austria.

Some of those 14,000 are certainly SEC3 pings destined to Redjohn and
Kreti and Austria.

This queue of 14,000 goes out at a snails pace.

And then more show up every 10 minutes from Off's mix pool.

Despite this situation (akin to walking up a downward moving escalator)
SEC3 ping messages are regularly sent out to redjohn, kreti and austria
and are returned promptly. This despite the huge backlog for those
remailers. That's what confuses me.


-- 
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: Why are pingers looking so healthy?
#313100
Author: Grant Taylor
Date: Wed, 03 Feb 2021 23:07
124 lines
5905 bytes
On 2/3/21 8:54 PM, SEC3 wrote:
> I suspect I do not fully understand how the mail queue works. Maybe 
> you might explain it to me.

I'm happy to share my working understanding.  I think it's correct, but 
I can't guarantee it.

> I use Postfix. But I imagine a Sendmail queue works essentially the 
> same way.

I agree that the specific queuing implementation shouldn't matter as 
they all do overall the same thing.

In general, a queue / pool / spool / what have you, is a collection of 
some things that needs to have something done to them.  For an email 
server, it's usually emails that need to be sent.  Maybe it's emails 
that have come in and are waiting to be processed and moved to the queue 
of messages waiting to be sent.  This applies to Sendmail, Postfix, 
Mixmaster, YAMN, and many other things.

The overall mail path through tncmm is as follows.

1)  Email comes into the MTA.
2)  The MTA has the LDA deliver the message to a mailbox.
3)  Mixmaster periodically picks up the messages out of the mailbox.
4)  Mixmaster processes the message and puts it into it's pool, waiting 
to send.
5)  Mixmaster periodically sends some of the messages from it's pool to 
the MTA.
6a)  The MTA receives the message and sends it on to the next remailer.
6b)  The MTA receives the message and stores it in the outgoing queue 
because it was unable to send it on to the next remailer.  --  The MTA 
will peridoically try to re-send the messages from it's queue.

Here are the queues in this list:
A)  The mailbox listed in steps 2 & 3.
B)  Mixmaster's pool listed in steps 4 & 5.
C)  The MTA's queue listed in step 6.

Think of each queue as a line at the supermarket where you (the message) 
have to wait your (it's) turn.  In these days of COVID, the line to get 
into the store is like A.  Then you might have to wait your turn to go 
down the aisle is like B.  Finally, waiting in like to check out is like C.

Each queue behaves a little bit different and is for a different thing. 
But you / the message must go through all of them.

Different queues have different rules.  Some MTAs prioritize based on 
message size / priority / date / age.  Some checkouts are card 
-exclusive or- cash only, thus can't take the other.

I believe Mixmaster (and most things in general) tend to read a mailbox 
(A) in a first in first out (FIFO) order.

Mixmaster has an explicitly random queue processing for various reasons. 
  (B).

Sendmail, as I've got it configured*, will try to send the message out 
as soon as it receives it (actually as part of the process of receiving) 
and then fall back to queuing if it can't send it immediately.  It will 
then process the queue in priority / size / age order.  (C).

> My caputo server hosts both a mixmaster remailer (off) and a Mixmaster 
> pinger (SEC3).

That just influences the nominal size of the queue and how big the 
backlog can get.

> Currently the mail queue at caputo contains approx 14,000 
> emails.

That seems quite large to me.

Mine usually stays in the low to mid triple digits.

> That's unusually large. Its usually less than 100.

That's more what I would expect.

> Most of these messages are deferred messages destined for redjohn 
> and kreti and austria.

That makes sense.

Sendmail has the capability of dividing things into multiple different 
queues and servicing them at differing rates.  The default is one queue.

> Some of those 14,000 are certainly SEC3 pings destined to Redjohn 
> and Kreti and Austria.

I'm guessing that all of them are queued because they couldn't be 
delivered.  Thus they are waiting for retry.

> This queue of 14,000 goes out at a snails pace.

Ya.  It's likely draining slower than it's filling.

> And then more show up every 10 minutes from Off's mix pool.

*nod*

Sendmail has an option to keep track of destination mail server status 
and avoid wasting time processing messages for them.  This means that it 
can get to other messages in the queue.

This, by itself, probably would explain why other messages are still 
getting through despite the massive backlog.

> Despite this situation (akin to walking up a downward moving 
> escalator) SEC3 ping messages are regularly sent out to redjohn, 
> kreti and austria and are returned promptly. This despite the huge 
> backlog for those remailers. That's what confuses me.

You need to have some understanding of where all of the queues are in 
the path and some understanding of how each of them behaves.

Work beacons.  Please ask clarifying questions or refute anything you 
feel is not accurate.



-- 
Grant. . . .
unix || die
Re: Why are pingers looking so healthy?
#313102
Author: SEC3
Date: Thu, 04 Feb 2021 02:15
139 lines
8530 bytes
On 2021-02-03 6:07 p.m., Grant Taylor wrote:
> On 2/3/21 8:54 PM, SEC3 wrote:
>> I suspect I do not fully understand how the mail queue works. Maybe
>> you might explain it to me.
> 
> I'm happy to share my working understanding.  I think it's correct, but
> I can't guarantee it.
> 
>> I use Postfix. But I imagine a Sendmail queue works essentially the
>> same way.
> 
> I agree that the specific queuing implementation shouldn't matter as
> they all do overall the same thing.
> 
> In general, a queue / pool / spool / what have you, is a collection of
> some things that needs to have something done to them.  For an email
> server, it's usually emails that need to be sent.  Maybe it's emails
> that have come in and are waiting to be processed and moved to the queue
> of messages waiting to be sent.  This applies to Sendmail, Postfix,
> Mixmaster, YAMN, and many other things.
> 
> The overall mail path through tncmm is as follows.
> 
> 1)  Email comes into the MTA.
> 2)  The MTA has the LDA deliver the message to a mailbox.
> 3)  Mixmaster periodically picks up the messages out of the mailbox.
> 4)  Mixmaster processes the message and puts it into it's pool, waiting
> to send.
> 5)  Mixmaster periodically sends some of the messages from it's pool to
> the MTA.
> 6a)  The MTA receives the message and sends it on to the next remailer.
> 6b)  The MTA receives the message and stores it in the outgoing queue
> because it was unable to send it on to the next remailer.  --  The MTA
> will peridoically try to re-send the messages from it's queue.
> 
> Here are the queues in this list:
> A)  The mailbox listed in steps 2 & 3.
> B)  Mixmaster's pool listed in steps 4 & 5.
> C)  The MTA's queue listed in step 6.
> 
> Think of each queue as a line at the supermarket where you (the message)
> have to wait your (it's) turn.  In these days of COVID, the line to get
> into the store is like A.  Then you might have to wait your turn to go
> down the aisle is like B.  Finally, waiting in like to check out is like C.
> 
> Each queue behaves a little bit different and is for a different thing.
> But you / the message must go through all of them.
> 
> Different queues have different rules.  Some MTAs prioritize based on
> message size / priority / date / age.  Some checkouts are card
> -exclusive or- cash only, thus can't take the other.
> 
> I believe Mixmaster (and most things in general) tend to read a mailbox
> (A) in a first in first out (FIFO) order.
> 
> Mixmaster has an explicitly random queue processing for various reasons.
>  (B).
> 
> Sendmail, as I've got it configured*, will try to send the message out
> as soon as it receives it (actually as part of the process of receiving)
> and then fall back to queuing if it can't send it immediately.  It will
> then process the queue in priority / size / age order.  (C).
> 
>> My caputo server hosts both a mixmaster remailer (off) and a Mixmaster
>> pinger (SEC3).
> 
> That just influences the nominal size of the queue and how big the
> backlog can get.
> 
>> Currently the mail queue at caputo contains approx 14,000 emails.
> 
> That seems quite large to me.
> 
> Mine usually stays in the low to mid triple digits.
> 
>> That's unusually large. Its usually less than 100.
> 
> That's more what I would expect.
> 
>> Most of these messages are deferred messages destined for redjohn and
>> kreti and austria.
> 
> That makes sense.
> 
> Sendmail has the capability of dividing things into multiple different
> queues and servicing them at differing rates.  The default is one queue.
> 
>> Some of those 14,000 are certainly SEC3 pings destined to Redjohn and
>> Kreti and Austria.
> 
> I'm guessing that all of them are queued because they couldn't be
> delivered.  Thus they are waiting for retry.
> 
>> This queue of 14,000 goes out at a snails pace.
> 
> Ya.  It's likely draining slower than it's filling.
> 
>> And then more show up every 10 minutes from Off's mix pool.
> 
> *nod*
> 
> Sendmail has an option to keep track of destination mail server status
> and avoid wasting time processing messages for them.  This means that it
> can get to other messages in the queue.
> 
> This, by itself, probably would explain why other messages are still
> getting through despite the massive backlog.
> 
>> Despite this situation (akin to walking up a downward moving
>> escalator) SEC3 ping messages are regularly sent out to redjohn, kreti
>> and austria and are returned promptly. This despite the huge backlog
>> for those remailers. That's what confuses me.
> 
> You need to have some understanding of where all of the queues are in
> the path and some understanding of how each of them behaves.

> Work beacons.  Please ask clarifying questions or refute anything you
> feel is not accurate.

Thanks for your reply. I will dig a little deeper into Postfix's
documentation to find out more about queued messsages and what it is
that gives one set of messages delivery priority over others.

I would also like to hear from other remops. Specifically I'd be curious
to know if they are encountering the same with redjohn, kreti and
austria, i.e. 1000s of deferred and timed out messages from those 3
usual suspects.


-- 
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: Why are pingers looking so healthy?
#313111
Author: Grant Taylor
Date: Thu, 04 Feb 2021 23:31
29 lines
2278 bytes
On 2/4/21 2:15 AM, SEC3 wrote:
> Thanks for your reply.

You're welcome.

> I will dig a little deeper into Postfix's documentation to find out 
> more about queued messsages and what it is that gives one set of 
> messages delivery priority over others.

I'd be curious to know what you learn.

> I would also like to hear from other remops. Specifically I'd be 
> curious to know if they are encountering the same with redjohn, kreti 
> and austria, i.e. 1000s of deferred and timed out messages from those 
> 3 usual suspects.

I'm not seeing very many messages in my SMTP server's mail queue.  I 
almost always have a single digit number of messages waiting to go to 
remailer.xyz.  And it seems like they all eventually time out.

Save for some problems I was having related to system load (which I 
think are now resolved) causing the email server to stop sending 
messages, my SMTP server's queue is usually low double digits.



-- 
Grant. . . .
unix || die
Re: Why are pingers looking so healthy?
#313113
Author: SEC3
Date: Fri, 05 Feb 2021 18:03
66 lines
5245 bytes
On 2021-02-04 6:31 p.m., Grant Taylor wrote:
> On 2/4/21 2:15 AM, SEC3 wrote:
>> Thanks for your reply.
> 
> You're welcome.
> 
>> I will dig a little deeper into Postfix's documentation to find out
>> more about queued messsages and what it is that gives one set of
>> messages delivery priority over others.
> 
> I'd be curious to know what you learn.

I learned that Postfix has 5 different queue systems:

Maildrop queue
Hold queue
Incoming queue
Active queue
Deferred queue

This summary on the topic at Linuxtopia was especially helpful

<https://www.linuxtopia.org/online_books/mail_systems/postfix_documentation/QSHAPE_README_007.html>

Here is a short excerpt that I found helpful:

======

" When all the deliverable recipients for a message are delivered, and
for some recipients delivery failed for a transient reason (it might
succeed later), the message is placed in the deferred queue.

The queue manager scans the deferred queue periodically. The scan
interval is controlled by the queue_run_delay parameter. While a
deferred queue scan is in progress, if an incoming queue scan is also in
progress (ideally these are brief since the incoming queue should be
short), the queue manager alternates between bringing a new "incoming"
message and a new "deferred" message into the queue. This "round-robin"
strategy prevents starvation of either the incoming or the deferred queues."

=====

> I'm not seeing very many messages in my SMTP server's mail queue.

Mine has settled back to "normal", several dozen in my mail queue at
sec3.net and Slugish.net.


> I almost always have a single digit number of messages waiting to go to
> remailer.xyz.  And it seems like they all eventually time out.
> 
> Save for some problems I was having related to system load (which I
> think are now resolved) causing the email server to stop sending
> messages, my SMTP server's queue is usually low double digits.


-- 
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/>
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