🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
39 messages
39 total messages Started by SEC3 Fri, 23 Oct 2020 04:06
Ping Inwtx
#311677
Author: SEC3
Date: Fri, 23 Oct 2020 04:06
37 lines
1706 bytes
The relays.txt file in your Yamn Remailer Client needs updating.

## current relays.txt ##
iria.300baud.de:2525
mail.inwtx.net:2525
fleegle.mixmin.net:2525
esnake.cloaked.pw:2525
sopoccfrkrpuiin5.onion:2525
gbhpq7eihle4btsn.onion:25


REMOVE iria.300baud.de:2525 It's gone.
REMOVE fleegle.mixmin.net:2525 It never worked with Yamn remailers.
ADD avalon.thinhose.net:2525 A new relay server.
ADD bjezqahmza6tqpqy.onion:2525 A new onion server (thinhose).


## updated relays.txt (10/2020) ##
mail.inwtx.net:2525
esnake.cloaked.pw:2525
avalon.thinhose.net:2525
sopoccfrkrpuiin5.onion:2525
gbhpq7eihle4btsn.onion:25
bjezqahmza6tqpqy.onion:2525



-- 
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: Ping Inwtx
#311683
Author: inwtx
Date: Fri, 23 Oct 2020 11:50
10 lines
1116 bytes
> 
> ## updated relays.txt (10/2020) ##
> mail.inwtx.net:2525
> esnake.cloaked.pw:2525
> avalon.thinhose.net:2525
> sopoccfrkrpuiin5.onion:2525
> gbhpq7eihle4btsn.onion:25
> bjezqahmza6tqpqy.onion:2525
> 
  Yes, I saw that.  I don't want to keep requesting tncmm to re-upload the program, so it will have to be up to the user to find out what is current.  To change what is in the dropdown box, right click on it and choose 'Edit...'.
Re: Ping Inwtx
#311680
Author: Anonymous Remailer
Date: Fri, 23 Oct 2020 13:02
12 lines
2718 bytes
In article <rmug2v$9b7$1@news.mixmin.net>
"inwtx" <noreply@inwtx.net> wrote:
> 
> 
> Yes, I saw that.  I don't want to keep requesting tncmm to re-upload the program, 
> so it will have to be up to the user to find out what is current.  To change what 
> is in the dropdown box, right click on it and choose 'Edit...'.
 
Grant's relays are also working:

tncsrv06.tnetconsulting.net:587
nyt7rlpjogd24qx7.onion:25 
Re: Ping Inwtx
#311686
Author: EECL
Date: Fri, 23 Oct 2020 13:10
16 lines
1180 bytes
> 
> In article <rmug2v$9b7$1@news.mixmin.net>
> "inwtx" <noreply@inwtx.net> wrote:
> 
>>
>>
>> Yes, I saw that.  I don't want to keep requesting tncmm to re-upload the program,
>> so it will have to be up to the user to find out what is current.  To change what
>> is in the dropdown box, right click on it and choose 'Edit...'.
> 
> Grant's relays are also working:
> 
> tncsrv06.tnetconsulting.net:587
> nyt7rlpjogd24qx7.onion:25

  I think he has this one also nyt7rlpjogd24qx7.onion:2525
Re: Ping Inwtx
#311684
Author: SEC3
Date: Fri, 23 Oct 2020 14:17
30 lines
1854 bytes
On 2020-10-23 7:50 a.m., inwtx wrote:
>>
>> ## updated relays.txt (10/2020) ##
>> mail.inwtx.net:2525
>> esnake.cloaked.pw:2525
>> avalon.thinhose.net:2525
>> sopoccfrkrpuiin5.onion:2525
>> gbhpq7eihle4btsn.onion:25
>> bjezqahmza6tqpqy.onion:2525
>>
>   Yes, I saw that.  I don't want to keep requesting tncmm to re-upload the program, so it will have to be up to the user to find out what is current.  To change what is in the dropdown box, right click on it and choose 'Edit...'.
> 

I get it. And you're right. This should not require a program update.
The end users are able to update the relays themselves.

I wasn't entirely sure if doing so would mess up the program's
functioning. 'Glad to learn that it won't.


-- 
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: Ping Inwtx
#311688
Author: inwtx
Date: Fri, 23 Oct 2020 17:47
46 lines
2611 bytes
> 
> On 2020-10-23 7:50 a.m., inwtx wrote:
> 
>>>
>>> ## updated relays.txt (10/2020) ##
>>> mail.inwtx.net:2525
>>> esnake.cloaked.pw:2525
>>> avalon.thinhose.net:2525
>>> sopoccfrkrpuiin5.onion:2525
>>> gbhpq7eihle4btsn.onion:25
>>> bjezqahmza6tqpqy.onion:2525
>>>
>>   Yes, I saw that.  I don't want to keep requesting tncmm to re-upload the program, so it will have to be up to the user to find out what is current.  To change what is in the dropdown box, right click on it and choose 'Edit...'.
>>
> 
> I get it. And you're right. This should not require a program update.
> The end users are able to update the relays themselves.
> 
> I wasn't entirely sure if doing so would mess up the program's
> functioning. 'Glad to learn that it won't.
> 
  I guess you might as well remove inwtx.net and miximum.xyz also.
I am having trouble with the golang AUTH routine again.  There is
something out on the web about golang causing this problem elsewhere.
I have gotten YAMNClient to work down to this error, but Can't get
beyond it.  It seems to be somethingabout my site not having the tls
credentials.

Info: 2020/10/23 12:36:56 chain.go:35: Stats updated and reimported
Info: 2020/10/23 12:36:56 client.go:171: Chain: yamn@yamn.paranoici.org
Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH

I have this setup in postfix where I am using letsencrypt parameters,
probably wrong.

smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem

Folder /etc/ssl/private/ content:
 letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem 
 nginx-selfsigned.key  ssl-cert-snakeoil.key

Re: Ping Inwtx
#311689
Author: inwtx
Date: Fri, 23 Oct 2020 17:50
52 lines
2933 bytes
> 
>>
>> On 2020-10-23 7:50 a.m., inwtx wrote:
>>
>>>>
>>>> ## updated relays.txt (10/2020) ##
>>>> mail.inwtx.net:2525
>>>> esnake.cloaked.pw:2525
>>>> avalon.thinhose.net:2525
>>>> sopoccfrkrpuiin5.onion:2525
>>>> gbhpq7eihle4btsn.onion:25
>>>> bjezqahmza6tqpqy.onion:2525
>>>>
>>>   Yes, I saw that.  I don't want to keep requesting tncmm to re-upload the program, so it will have to be up to the user to find out what is current.  To change what is in the dropdown box, right click on it and choose 'Edit...'.
>>>
>>
>> I get it. And you're right. This should not require a program update.
>> The end users are able to update the relays themselves.
>>
>> I wasn't entirely sure if doing so would mess up the program's
>> functioning. 'Glad to learn that it won't.
>>
> I guess you might as well remove inwtx.net and miximum.xyz also.
> I am having trouble with the golang AUTH routine again.  There is
> something out on the web about golang causing this problem elsewhere.
> I have gotten YAMNClient to work down to this error, but Can't get
> beyond it.  It seems to be somethingabout my site not having the tls
> credentials.
> 
> Info: 2020/10/23 12:36:56 chain.go:35: Stats updated and reimported
> Info: 2020/10/23 12:36:56 client.go:171: Chain: yamn@yamn.paranoici.org
> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH
> 
> I have this setup in postfix where I am using letsencrypt parameters,
> probably wrong.
> 
> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem

  Left one out:
smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
smtp_tls_cert_file = /etc/ssl/private/letsencrypt-domain.key
smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem

> 
> Folder /etc/ssl/private/ content:
> letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem
> nginx-selfsigned.key  ssl-cert-snakeoil.key
Re: Ping Inwtx
#311690
Author: SEC3
Date: Fri, 23 Oct 2020 18:01
37 lines
2071 bytes
On 2020-10-23 1:47 p.m., inwtx wrote:

>   I guess you might as well remove inwtx.net and miximum.xyz also.

Are you asking me to remove

yamn@inwtx.net
yamn@miximum.xyz

from my pingers?

Damn, the Yamn network is bleeding out lately! 'Only 10 remailers remaining.


> I am having trouble with the golang AUTH routine again.  There is
> something out on the web about golang causing this problem elsewhere.
> I have gotten YAMNClient to work down to this error, but Can't get
> beyond it.  It seems to be somethingabout my site not having the tls
> credentials.
> 
> Info: 2020/10/23 12:36:56 chain.go:35: Stats updated and reimported
> Info: 2020/10/23 12:36:56 client.go:171: Chain: yamn@yamn.paranoici.org
> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH


-- 
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: Ping Inwtx
#311691
Author: SEC3
Date: Fri, 23 Oct 2020 18:04
45 lines
2285 bytes
On 2020-10-23 1:50 p.m., inwtx wrote:

>> I have this setup in postfix where I am using letsencrypt parameters,
>> probably wrong.
>>
>> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
>> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
>> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
> 
>   Left one out:
> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
> smtp_tls_cert_file = /etc/ssl/private/letsencrypt-domain.key
> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
> 
>>
>> Folder /etc/ssl/private/ content:
>> letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem
>> nginx-selfsigned.key  ssl-cert-snakeoil.key


It looks like your Letsencrypt is not set up properly. Your certs should
not be in /etc/ssl/private

This is where mine are:

smtpd_tls_CAfile = /etc/letsencrypt/live/esnake.cloaked.pw/chain.pem

smtpd_tls_CApath = /etc/ssl/certs

smtpd_tls_cert_file = /etc/letsencrypt/live/esnake.cloaked.pw/fullchain.pem

smtpd_tls_key_file = /etc/letsencrypt/live/esnake.cloaked.pw/privkey.pem


-- 
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: Ping Inwtx
#311700
Author: inwtx
Date: Fri, 23 Oct 2020 18:14
20 lines
1198 bytes
> 
> On 2020-10-23 1:47 p.m., inwtx wrote:
> 
> 
>>   I guess you might as well remove inwtx.net and miximum.xyz also.
> 
> Are you asking me to remove
> 
> yamn@inwtx.net
> yamn@miximum.xyz
> 
> from my pingers?
> 
> Damn, the Yamn network is bleeding out lately! 'Only 10 remailers remaining.
> 
  No!  It is apparently affecting people trying to use those to send with the
YAMNClient.  The remailers remailer OK.

  Hopefully the YAMN remailer package I put out will encourage some to instal
the yamn remailer.
Re: Ping Inwtx
#311692
Author: Grant Taylor
Date: Fri, 23 Oct 2020 18:17
22 lines
1808 bytes
On 10/23/20 11:47 AM, inwtx wrote:
> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH

Are you sure that the server you're trying to use supports SMTP 
AUTHentication?

Based on the error message, it looks like it doesn't.

Also, does your YAMN client /need/ to authenticate to the SMTP server? 
Can it not just send to a remailer /without/ authenticating?

This doesn't seem to be a (START)TLS issue to me.  Rather it seems like 
a server and / or client disagreement on SMTP AUTHentication 
capabilities and / or settings.



-- 
Grant. . . .
unix || die
Re: Ping Inwtx
#311693
Author: SEC3
Date: Fri, 23 Oct 2020 18:28
37 lines
1723 bytes
On 2020-10-23 2:14 p.m., inwtx wrote:
>>
>> On 2020-10-23 1:47 p.m., inwtx wrote:
>>
>>
>>>   I guess you might as well remove inwtx.net and miximum.xyz also.
>>
>> Are you asking me to remove
>>
>> yamn@inwtx.net
>> yamn@miximum.xyz
>>
>> from my pingers?
>>
>> Damn, the Yamn network is bleeding out lately! 'Only 10 remailers remaining.
>>
>   No!  It is apparently affecting people trying to use those to send with the
> YAMNClient.  The remailers remailer OK.


OK. Understood.

>   Hopefully the YAMN remailer package I put out will encourage some to instal
> the yamn remailer.
> 


-- 
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: Ping Inwtx
#311694
Author: inwtx
Date: Fri, 23 Oct 2020 18:30
46 lines
2540 bytes
> 
> On 2020-10-23 1:50 p.m., inwtx wrote:
> 
> 
>>> I have this setup in postfix where I am using letsencrypt parameters,
>>> probably wrong.
>>>
>>> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
>>> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
>>> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
>>
>>   Left one out:
>> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
>> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
>> smtp_tls_cert_file = /etc/ssl/private/letsencrypt-domain.key
>> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
>>
>>>
>>> Folder /etc/ssl/private/ content:
>>> letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem
>>> nginx-selfsigned.key  ssl-cert-snakeoil.key
> 
> 
> It looks like your Letsencrypt is not set up properly. Your certs should
> not be in /etc/ssl/private
> 
> This is where mine are:
> 
> smtpd_tls_CAfile = /etc/letsencrypt/live/esnake.cloaked.pw/chain.pem
> 
> smtpd_tls_CApath = /etc/ssl/certs
> 
> smtpd_tls_cert_file = /etc/letsencrypt/live/esnake.cloaked.pw/fullchain.pem
> 
> smtpd_tls_key_file = /etc/letsencrypt/live/esnake.cloaked.pw/privkey.pem
> 
  My 2 servers are running Debian 8.  This is the only VPS that I
have found that still provides it.  So I loaded Elvis' mixmaster on
it.   Now that I found a way around the missing libcrypto.so.1.0.0
problem (https://github.com/inwtx/mixmaster) on D9 and D10, which I
would have used if I had discovered the solution eariler, Elvis'
mixmaster can be installed on them because mixmaster is pre-compiled. 
letsencrypt will not install on D8, anymore.  I therefore had to use
the Acme program, which letsencrypt currently uses, but it is not
automated like letsencrypt's certbot.  Acme alone puts the certs in
/etc/ssl/private/.
Re: Ping Inwtx
#311695
Author: inwtx
Date: Fri, 23 Oct 2020 18:40
25 lines
1865 bytes
> 
> On 10/23/20 11:47 AM, inwtx wrote:
> 
>> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
>> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
>> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH
> 
> Are you sure that the server you're trying to use supports SMTP AUTHentication?

  This is where you know far more than I do.  I didn't know that a server might not have the capability.
> 
> Based on the error message, it looks like it doesn't.
> 
> Also, does your YAMN client /need/ to authenticate to the SMTP server? Can it not just send to a remailer /without/ authenticating?

  Zax's yamn.exe has that authentication built in.  I took
that part of the code out and recompiled it, but that caused 
problems with sites that required authentication.  I tried to
put in a bypass that could be selected to do one or the other,
but I couldn't get it to work, even with some help from the
goland forum.

> 
> This doesn't seem to be a (START)TLS issue to me.  Rather it seems like a server and / or client disagreement on SMTP AUTHentication capabilities and / or settings.
> 
Re: Ping Inwtx
#311696
Author: SEC3
Date: Fri, 23 Oct 2020 18:41
32 lines
2070 bytes
On 2020-10-23 2:30 p.m., inwtx wrote:

>   My 2 servers are running Debian 8.  This is the only VPS that I
> have found that still provides it.  So I loaded Elvis' mixmaster on
> it.   Now that I found a way around the missing libcrypto.so.1.0.0
> problem (https://github.com/inwtx/mixmaster) on D9 and D10, which I
> would have used if I had discovered the solution eariler, Elvis'
> mixmaster can be installed on them because mixmaster is pre-compiled. 
> letsencrypt will not install on D8, anymore.  I therefore had to use
> the Acme program, which letsencrypt currently uses, but it is not
> automated like letsencrypt's certbot.  Acme alone puts the certs in
> /etc/ssl/private/.

I see. Thx for explaining.

I've been using LE for over 2 years now. I think I've finally managed to
tame it, i.e. to make it renew the certs on its own every 2 months.
'Quite a learning curve.

Now I'm trying to master Git. Also  a big learning curve!


-- 
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: Ping Inwtx
#311697
Author: inwtx
Date: Fri, 23 Oct 2020 18:55
33 lines
2287 bytes
> 
> On 2020-10-23 2:30 p.m., inwtx wrote:
> 
> 
>>   My 2 servers are running Debian 8.  This is the only VPS that I
>> have found that still provides it.  So I loaded Elvis' mixmaster on
>> it.   Now that I found a way around the missing libcrypto.so.1.0.0
>> problem (https://github.com/inwtx/mixmaster) on D9 and D10, which I
>> would have used if I had discovered the solution eariler, Elvis'
>> mixmaster can be installed on them because mixmaster is pre-compiled.
>> letsencrypt will not install on D8, anymore.  I therefore had to use
>> the Acme program, which letsencrypt currently uses, but it is not
>> automated like letsencrypt's certbot.  Acme alone puts the certs in
>> /etc/ssl/private/.
> 
> I see. Thx for explaining.
> 
> I've been using LE for over 2 years now. I think I've finally managed to
> tame it, i.e. to make it renew the certs on its own every 2 months.
> 'Quite a learning curve.

  I had constant problems with LE at first.  I found that it actually was
LE that was having problems.  They seem to have fixed them now.  When I
was running inwtx.net on DigitalOcean, LE kept sending me notices that
mail.inwtx.net had a problem and needed renewing.  Every time I would
try to renew it after receiving the notice, it would say that it didn't
need renewing yet.  I put a question out in the LE forum and got a terse
reply about how it had happened before, so I should have remembered that
there was no problem and I didn't need to do anything.
> 
> Now I'm trying to master Git. Also  a big learning curve!

  I only do git via the web.  Much simpler.
Re: Ping Inwtx
#311698
Author: Grant Taylor
Date: Fri, 23 Oct 2020 19:49
39 lines
2713 bytes
On 10/23/20 12:40 PM, inwtx wrote:
> This is where you know far more than I do.  I didn't know that a 
> server might not have the capability.

Hence why I share.  ;-)  We can do more collectively than we can 
individually.

> Zax's yamn.exe has that authentication built in.  I took that part of 
> the code out and recompiled it, but that caused problems with sites 
> that required authentication.  I tried to put in a bypass that could 
> be selected to do one or the other, but I couldn't get it to work, 
> even with some help from the goland forum.

 From an email stand point you may or may not want to use authentication 
based on the server and port combination that you're connecting to.

The Mail Submission Agent, which defaults to TCP port 587, tends to want 
authentication.  But some servers can be configured to not require it 
period or for specific addresses.

I would expect The Mail Transfer Agent, which defaults to TCP port 25 
and frequently uses 2525 as an alternate port, probably won't require 
authentication for local recipients or specifically allowed addresses.

I would expect that you can change the yamn.exe client's behavior 
regarding SMTP authentication based on if you include the credentials in 
the config or not.

I don't recall specifically, because I configured yamn on tncmm to talk 
to the local mail server and don't try to talk to other remote servers 
from YAMN.  Rather YAMN talks to the local mail server and the local 
mail server worries about sending messages to the remote servers.  Thus 
YAMN has a static configuration.



-- 
Grant. . . .
unix || die
Re: Ping Inwtx
#311699
Author: Stefan Claas
Date: Fri, 23 Oct 2020 20:25
55 lines
3737 bytes
On Friday, October 23, 2020 at 9:49:34 PM UTC+2, Grant Taylor wrote:
> On 10/23/20 12:40 PM, inwtx wrote:
> > This is where you know far more than I do.  I didn't know that a 
> > server might not have the capability.
> 
> Hence why I share.  ;-)  We can do more collectively than we can 
> individually.
> 
> > Zax's yamn.exe has that authentication built in.  I took that part of 
> > the code out and recompiled it, but that caused problems with sites 
> > that required authentication.  I tried to put in a bypass that could 
> > be selected to do one or the other, but I couldn't get it to work, 
> > even with some help from the goland forum.
> 
>  From an email stand point you may or may not want to use authentication 
> based on the server and port combination that you're connecting to.
> 
> The Mail Submission Agent, which defaults to TCP port 587, tends to want 
> authentication.  But some servers can be configured to not require it 
> period or for specific addresses.

Zax's original YAMN source code and his YAMN Remailers never ever required
that a user has  to supply login credentials when connecting to
fleegle.mixmin.net, per internal default settings. And I use YAMN from the
very beginning.

I don't know why inwtx had to take out code from Zax's original code,
because it is IMHO not neccesary.

> I would expect The Mail Transfer Agent, which defaults to TCP port 25 
> and frequently uses 2525 as an alternate port, probably won't require 
> authentication for local recipients or specifically allowed addresses.
> 
> I would expect that you can change the yamn.exe client's behavior 
> regarding SMTP authentication based on if you include the credentials in 
> the config or not.

Sure, Zax programmed YAMN very flexible and it allows remops and users
to set things up to their liking.

> I don't recall specifically, because I configured yamn on tncmm to talk 
> to the local mail server and don't try to talk to other remote servers 
> from YAMN.  Rather YAMN talks to the local mail server and the local 
> mail server worries about sending messages to the remote servers.  Thus 
> YAMN has a static configuration.

YAMN has an internal settings, for users, to make it very easy to use the
YAMN Network, without any knowledge of how to set-up a yamn.cfg, i.e.
per default the client connects to fleegle.mixmin.net at port 587, without
any credentials used.

https://github.com/crooks/yamn/blob/master/config.go

Regards
Stefan
Re: Ping Inwtx
#311705
Author: inwtx
Date: Fri, 23 Oct 2020 22:06
7 lines
1008 bytes
> 
> I don't know why inwtx had to take out code from Zax's original code,
> because it is IMHO not neccesary.
> 
  The yamn.exe I am using and that is distributed with YAMNClient
is Zax's origional.  Taking out the AUTH was temporarily necessary
when I was trying to get YAMNClient running during testing.
Re: Ping Inwtx
#311749
Author: SEC3
Date: Mon, 26 Oct 2020 16:27
59 lines
2894 bytes
On 2020-10-23 1:47 p.m., inwtx wrote:

> I have gotten YAMNClient to work down to this error, but Can't get
> beyond it.  It seems to be somethingabout my site not having the tls
> credentials.
> 
> Info: 2020/10/23 12:36:56 chain.go:35: Stats updated and reimported
> Info: 2020/10/23 12:36:56 client.go:171: Chain: yamn@yamn.paranoici.org
> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH
> 
> I have this setup in postfix where I am using letsencrypt parameters,
> probably wrong.
> 
> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
> 
> Folder /etc/ssl/private/ content:
>  letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem 
>  nginx-selfsigned.key  ssl-cert-snakeoil.key


While you explained that you are not using a standard Letencrypt
installation and that you are using something called ACME instead your
Postfix/TLS does seem FUBARed nevertheless.

You have a *.pem key (usually these are public keys) living in
/etc/ssl/private. It won't be viewable to world in that folder.

I'm going to suggest that you disable TLS completely in Postfix. Just
for 24-48 hours.


# /etc/postfix/main.cf
smtpd_use_tls = no
smtp_use_tls = no

Then reload Postfix.

And then observe and see if things improve RE: the "server doesn't
support AUTH" issue. It might even solve the TIMEOUT issue too.


If you see improvements. The maybe try setting up TLS again, but this
time just use the snakeoil keys.


-- 
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: Ping Inwtx
#311751
Author: inwtx
Date: Mon, 26 Oct 2020 17:28
79 lines
3524 bytes
> 
> On 2020-10-23 1:47 p.m., inwtx wrote:
> 
> 
>> I have gotten YAMNClient to work down to this error, but Can't get
>> beyond it.  It seems to be somethingabout my site not having the tls
>> credentials.
>>
>> Info: 2020/10/23 12:36:56 chain.go:35: Stats updated and reimported
>> Info: 2020/10/23 12:36:56 client.go:171: Chain: yamn@yamn.paranoici.org
>> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
>> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
>> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH
>>
>> I have this setup in postfix where I am using letsencrypt parameters,
>> probably wrong.
>>
>> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
>> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
>> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
>>
>> Folder /etc/ssl/private/ content:
>>  letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem
>>  nginx-selfsigned.key  ssl-cert-snakeoil.key
> 
> 
> While you explained that you are not using a standard Letencrypt
> installation and that you are using something called ACME instead your
> Postfix/TLS does seem FUBARed nevertheless.

  LetsEncrypt uses acme themselves to create the .key and .pem.
All LetsEncrypt does is automate the creation of these.  They
recommend using acme on systems that LetsEncrypt can't handle.

> 
> You have a *.pem key (usually these are public keys) living in
> /etc/ssl/private. It won't be viewable to world in that folder.
> 
> I'm going to suggest that you disable TLS completely in Postfix. Just
> for 24-48 hours.
> 
> 
> # /etc/postfix/main.cf
> smtpd_use_tls = no
> smtp_use_tls = no
> 
> Then reload Postfix.
> 
> And then observe and see if things improve RE: the "server doesn't
> support AUTH" issue. It might even solve the TIMEOUT issue too.
> 
> 
> If you see improvements. The maybe try setting up TLS again, but this
> time just use the snakeoil keys.
> 
  Here is what I changed:

smtpd_use_tls = no
smtp_use_tls = no

This is what was before.  It is still in there:

#smtp_use_tls = yes
smtp_tls_ciphers = medium
smtp_tls_security_level = may
smtp_tls_loglevel = 1
smtp_tls_session_cache_timeout = 3600s
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# Perfect Forward Secrecy (optional but greatly improves security)
smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem
smtpd_tls_dh1024_param_file = /etc/postfix/dh_2048.pem
smtpd_tls_eecdh_grade = strong
smtp_connect_timeout = 300s
 
  I noticed that my yamn stats are paltry.  I wonder if this
is thes cause of that also.  I don't know too much about what
is going on with .key and .pem.

I restarted postfix, I think that is as good as reloading it.
Re: Ping Inwtx
#311752
Author: SEC3
Date: Mon, 26 Oct 2020 17:51
97 lines
4252 bytes
On 2020-10-26 1:28 p.m., inwtx wrote:
>>
>> On 2020-10-23 1:47 p.m., inwtx wrote:
>>
>>
>>> I have gotten YAMNClient to work down to this error, but Can't get
>>> beyond it.  It seems to be somethingabout my site not having the tls
>>> credentials.
>>>
>>> Info: 2020/10/23 12:36:56 chain.go:35: Stats updated and reimported
>>> Info: 2020/10/23 12:36:56 client.go:171: Chain: yamn@yamn.paranoici.org
>>> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
>>> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
>>> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH
>>>
>>> I have this setup in postfix where I am using letsencrypt parameters,
>>> probably wrong.
>>>
>>> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
>>> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
>>> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
>>>
>>> Folder /etc/ssl/private/ content:
>>>  letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem
>>>  nginx-selfsigned.key  ssl-cert-snakeoil.key
>>
>>
>> While you explained that you are not using a standard Letencrypt
>> installation and that you are using something called ACME instead your
>> Postfix/TLS does seem FUBARed nevertheless.
> 
>   LetsEncrypt uses acme themselves to create the .key and .pem.
> All LetsEncrypt does is automate the creation of these.  They
> recommend using acme on systems that LetsEncrypt can't handle.
> 
>>
>> You have a *.pem key (usually these are public keys) living in
>> /etc/ssl/private. It won't be viewable to world in that folder.
>>
>> I'm going to suggest that you disable TLS completely in Postfix. Just
>> for 24-48 hours.
>>
>>
>> # /etc/postfix/main.cf
>> smtpd_use_tls = no
>> smtp_use_tls = no
>>
>> Then reload Postfix.
>>
>> And then observe and see if things improve RE: the "server doesn't
>> support AUTH" issue. It might even solve the TIMEOUT issue too.
>>
>>
>> If you see improvements. The maybe try setting up TLS again, but this
>> time just use the snakeoil keys.
>>
>   Here is what I changed:
> 
> smtpd_use_tls = no
> smtp_use_tls = no
> 
> This is what was before.  It is still in there:
> 
> #smtp_use_tls = yes
> smtp_tls_ciphers = medium
> smtp_tls_security_level = may
> smtp_tls_loglevel = 1
> smtp_tls_session_cache_timeout = 3600s
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> # Perfect Forward Secrecy (optional but greatly improves security)
> smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem
> smtpd_tls_dh1024_param_file = /etc/postfix/dh_2048.pem
> smtpd_tls_eecdh_grade = strong
> smtp_connect_timeout = 300s
>  
>   I noticed that my yamn stats are paltry.  I wonder if this
> is thes cause of that also.  I don't know too much about what
> is going on with .key and .pem.
> 
> I restarted postfix, I think that is as good as reloading it.

Okay. Good. Those changes look good.

If you are unsure you can always do command "postfix check" and it will
report if something is really wrong.


-- 
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: Ping Inwtx
#311753
Author: inwtx
Date: Mon, 26 Oct 2020 19:29
82 lines
5098 bytes
  Here is what I have discovered since.

3 way handshake:
S (SYN)            Send to a server that you want to connect to it.
S. (SYN + ACK)     The other server sends back an acknowledgment - ready to connect.
'.' (ACK)          Your server acknowledges you both are now connected.

Other TCP commands:
F (FIN)
F. (FIN + ACK)
P (PUSH)
R (RST)
U (URG)
W (ECN CWR)
E (ECN-Echo) or '.' (ACK)

-------------------------------------------

My server requesting mlist.txt from caputo.sec3.net (normal ending):

INWTX.NET > caputo.sec3.net.http: Flags [S],  me:  SYN to me  3 way handshake begins.   ...
caputo.sec3.net.http > INWTX.NET: Flags [S.], you: I ACKNOWLEDGE your SYN
INWTX.NET > caputo.sec3.net.http: Flags [.],  me:  I ACKNOWLEDGE your SYNed to me; 3 way handshake ends

INWTX.NET > caputo.sec3.net.http: Flags [P.], me:  PUSH ACKNOWLEDGE to me this file data - mlist.txt
caputo.sec3.net.http > INWTX.NET: Flags [.],  you: ACKNOWLEDGE your request for this file data.
caputo.sec3.net.http > INWTX.NET: Flags [P.], you: PUSHing ACKNOWLEDGE by you to me the requested data.
INWTX.NET > caputo.sec3.net.http: Flags [.],  me:  got it!
INWTX.NET > caputo.sec3.net.http: Flags [F.], me:  FINISH that is all I need.
caputo.sec3.net.http > INWTX.NET: Flags [F.], you: Roger and Wilco
INWTX.NET > caputo.sec3.net.http: Flags [.],  me:  Conversation/connection closed.

--------------------------------------------------------------------------------

When I try to send your echolot message giving me a timeout message, it times out.
My server seems to have trouble with your final push - [FP.].  My sever doesn't seem
to know how to handle it, thus it just sits there until you timeout:

caputo.sec3.net Error: timeout exceeded

Here is the sequence:

sudo tcpdump host sec3.net
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
sudo tcpdump host sec3.net
tcpdump: verbose output suppressed,
listening on eth0,
14:09:45.839649 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [S],
14:09:45.847788 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [S.],
14:09:45.847853 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [.],
14:09:45.876037 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:45.876099 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [.],
14:09:45.876403 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [P.],
14:09:45.885292 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [.],
14:09:45.885336 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:45.885547 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [P.],
14:09:45.897046 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:46.112294 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:46.328507 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:46.756246 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:47.620578 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:49.349968 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:52.900140 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:09:59.812039 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:10:07.407015 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [S],
14:10:07.416306 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [S.],
14:10:07.416353 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [.],
14:10:07.416698 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [P.],
14:10:07.429283 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [.],
14:10:07.429325 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [P.],
14:10:07.429341 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [.],
14:10:07.430439 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [F.],
14:10:07.439646 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [F.],
14:10:07.439689 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [.],
14:10:13.635877 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:10:41.539619 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:11:36.835043 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:13:27.425600 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
14:14:45.994568 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [FP.],
<pauses here a while and then this>
caputo.sec3.net Error: timeout exceeded
Re: Ping Inwtx
#311754
Author: SEC3
Date: Mon, 26 Oct 2020 19:44
102 lines
5920 bytes
On 2020-10-26 3:29 p.m., inwtx wrote:
>   Here is what I have discovered since.
> 
> 3 way handshake:
> S (SYN)            Send to a server that you want to connect to it.
> S. (SYN + ACK)     The other server sends back an acknowledgment - ready to connect.
> '.' (ACK)          Your server acknowledges you both are now connected.
> 
> Other TCP commands:
> F (FIN)
> F. (FIN + ACK)
> P (PUSH)
> R (RST)
> U (URG)
> W (ECN CWR)
> E (ECN-Echo) or '.' (ACK)
> 
> -------------------------------------------
> 
> My server requesting mlist.txt from caputo.sec3.net (normal ending):
> 
> INWTX.NET > caputo.sec3.net.http: Flags [S],  me:  SYN to me  3 way handshake begins.   ...
> caputo.sec3.net.http > INWTX.NET: Flags [S.], you: I ACKNOWLEDGE your SYN
> INWTX.NET > caputo.sec3.net.http: Flags [.],  me:  I ACKNOWLEDGE your SYNed to me; 3 way handshake ends
> 
> INWTX.NET > caputo.sec3.net.http: Flags [P.], me:  PUSH ACKNOWLEDGE to me this file data - mlist.txt
> caputo.sec3.net.http > INWTX.NET: Flags [.],  you: ACKNOWLEDGE your request for this file data.
> caputo.sec3.net.http > INWTX.NET: Flags [P.], you: PUSHing ACKNOWLEDGE by you to me the requested data.
> INWTX.NET > caputo.sec3.net.http: Flags [.],  me:  got it!
> INWTX.NET > caputo.sec3.net.http: Flags [F.], me:  FINISH that is all I need.
> caputo.sec3.net.http > INWTX.NET: Flags [F.], you: Roger and Wilco
> INWTX.NET > caputo.sec3.net.http: Flags [.],  me:  Conversation/connection closed.
> 
> --------------------------------------------------------------------------------
> 
> When I try to send your echolot message giving me a timeout message, it times out.
> My server seems to have trouble with your final push - [FP.].  My sever doesn't seem
> to know how to handle it, thus it just sits there until you timeout:
> 
> caputo.sec3.net Error: timeout exceeded
> 
> Here is the sequence:
> 
> sudo tcpdump host sec3.net
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
> sudo tcpdump host sec3.net
> tcpdump: verbose output suppressed,
> listening on eth0,
> 14:09:45.839649 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [S],
> 14:09:45.847788 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [S.],
> 14:09:45.847853 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [.],
> 14:09:45.876037 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:45.876099 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [.],
> 14:09:45.876403 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [P.],
> 14:09:45.885292 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [.],
> 14:09:45.885336 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:45.885547 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [P.],
> 14:09:45.897046 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:46.112294 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:46.328507 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:46.756246 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:47.620578 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:49.349968 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:52.900140 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:59.812039 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:10:07.407015 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [S],
> 14:10:07.416306 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [S.],
> 14:10:07.416353 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [.],
> 14:10:07.416698 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [P.],
> 14:10:07.429283 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [.],
> 14:10:07.429325 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [P.],
> 14:10:07.429341 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [.],
> 14:10:07.430439 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [F.],
> 14:10:07.439646 IP caputo.sec3.net.http > INWTX.NET.43222: Flags [F.],
> 14:10:07.439689 IP INWTX.NET.43222 > caputo.sec3.net.http: Flags [.],
> 14:10:13.635877 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:10:41.539619 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:11:36.835043 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:13:27.425600 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:14:45.994568 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [FP.],
> <pauses here a while and then this>
> caputo.sec3.net Error: timeout exceeded

Okay. I examined my iptables rules on sec3.net. For port 25 I have this:

-A INPUT -p tcp -m tcp --dport 25 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT

Is it incorrect?



-- 
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: Ping Inwtx
#311756
Author: inwtx
Date: Mon, 26 Oct 2020 20:01
32 lines
2750 bytes
> 
<snip>
> 
> Okay. I examined my iptables rules on sec3.net. For port 25 I have this:
> 
> -A INPUT -p tcp -m tcp --dport 25 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
> 
> Is it incorrect?
> 
  That is very interesting.  I don't have that kind of ACCEPT in my iptables, only special DROPs.
It doesn't have the PSH param in it, so possibly it can't understand the [FP.].  Possibly since 
I have never had it, it would be safe for you to remove it for a test.  It is somewhat complicated 
to decipher as I remember.  Let me know if you take it out and I'll try sending the sec3 stuck in
machine again.


Here are the only flags I have in iptables. These were all gleaned from the web years ago:

-A INPUT -p tcp -m tcp --tcp-flags SYN,ACK SYN,ACK -m state --state NEW -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN FIN,SYN -j DROP
-A INPUT -p tcp -m tcp --tcp-flags SYN,RST SYN,RST -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,RST FIN,RST -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,ACK FIN -j DROP
-A INPUT -p tcp -m tcp --tcp-flags ACK,URG URG -j DROP
-A INPUT -p tcp -m tcp --dport 2525 --tcp-flags FIN,SYN,RST,ACK SYN -m connlimit --connlimit-above 5 --connlimit-mask 32 --connlimit-saddr -j REJECT --reject-with tcp-reset
-A INPUT -p tcp -m tcp --dport 587 --tcp-flags FIN,SYN,RST,ACK SYN -m connlimit --connlimit-above 5 --connlimit-mask 32 --connlimit-saddr -j REJECT --reject-with tcp-reset
-A INPUT -p tcp -m tcp --dport 25:80 --tcp-flags FIN,SYN,RST,ACK SYN -m connlimit --connlimit-above 5 --connlimit-mask 32 --connlimit-saddr -j REJECT --reject-with tcp-reset
-A INPUT -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -m comment --comment "NEW incoming tcp = SYN?" -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -m comment --comment "NULL packets" -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j syn_flood
Re: Ping Inwtx
#311757
Author: Grant Taylor
Date: Mon, 26 Oct 2020 20:05
24 lines
1906 bytes
On 10/26/20 10:27 AM, SEC3 wrote:
> While you explained that you are not using a standard Letencrypt 
> installation and that you are using something called ACME instead

Drive by comment:  I'm also using ACME.sh, an alternative Let's Encrypt 
client.  It's been working perfectly fine for me for multiple years.

The client itself isn't a problem.  How the client is used /may/ be a 
problem.

> You have a *.pem key (usually these are public keys) living in 
> /etc/ssl/private. It won't be viewable to world in that folder.

Remember, that's based on a /default/ security setting.  It's trivial to 
change that.

Also, none of the packet captures that I've seen in this vein have shown 
any evidence of STARTTLS encryption.  The problem is very likely elsewhere.



-- 
Grant. . . .
unix || die
Re: Ping Inwtx
#311759
Author: Grant Taylor
Date: Mon, 26 Oct 2020 20:21
87 lines
4647 bytes
On 10/26/20 1:29 PM, inwtx wrote:
> Other TCP commands:

F.Y.I. they are referred to as "flags", not "commands".

> My server requesting mlist.txt from caputo.sec3.net (normal ending):

HTTP and SMTP operate considerably differently.  So it's not the best 
comparison.

Though it is a good example of a successful TCP connection from start to 
finish.

> When I try to send your echolot message giving me a timeout message, 
> it times out.

Agreed.

> My server seems to have trouble with your final push - [FP.].  My sever 
> doesn't seem to know how to handle it, thus it just sits there until 
> you timeout:

 From a TCP perspective both servers are handling things just fine.

> caputo.sec3.net Error: timeout exceeded

I believe this is an SMTP error and not a TCP connection error.

See my recent reply to the "Ping sec3" thread for what I believe is 
happening at an SMTP level /inside/ of the TCP connection.

> Here is the sequence:
> 
> sudo tcpdump host sec3.net
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
> sudo tcpdump host sec3.net
> tcpdump: verbose output suppressed,
> listening on eth0,
> 14:09:45.839649 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [S],
> 14:09:45.847788 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [S.],
> 14:09:45.847853 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [.],
> 14:09:45.876037 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:45.876099 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [.],
> 14:09:45.876403 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [P.],
> 14:09:45.885292 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [.],
> 14:09:45.885336 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:45.885547 IP INWTX.NET.59887 > caputo.sec3.net.smtp: Flags [P.],
> 14:09:45.897046 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:46.112294 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:46.328507 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:46.756246 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:47.620578 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:49.349968 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:52.900140 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:09:59.812039 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
... Removing packets from a different connection.
> 14:10:13.635877 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:10:41.539619 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:11:36.835043 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:13:27.425600 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [P.],
> 14:14:45.994568 IP caputo.sec3.net.smtp > INWTX.NET.59887: Flags [FP.],

The connection establishes at 14:09:45.839649 and then times out 
14:14:45.994568, 5 minutes and 15 seconds later.

I feel like 5 minutes is a reasonable timeout for an SMTP finite state 
machine.

Notice how caputo initiates the FIN.  It quite likely got annoyed at 
inwtx for not talking for 5 minutes and and change.

> <pauses here a while and then this>

Are you saying that after a (brief) period the following message shows 
up in your mail log?

> caputo.sec3.net Error: timeout exceeded

This is what I would expect your server to say about caputo's behavior 
as observed in the "Ping sec3" thread.



-- 
Grant. . . .
unix || die
Re: Ping Inwtx
#311760
Author: Grant Taylor
Date: Mon, 26 Oct 2020 20:25
21 lines
1697 bytes
On 10/26/20 1:44 PM, SEC3 wrote:
> Okay. I examined my iptables rules on sec3.net. For port 25 I have this:
> 
> -A INPUT -p tcp -m tcp --dport 25 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
> 
> Is it incorrect?

It's impossible to say without seeing the rest of your firewall 
configuration.

That being said, I don't think this is a firewall problem.  At least 
nothing about what I've seen makes me think it's a firewall problem.

The TCP connection is successfully being established and there is 
bidirectional communications and SMTP application layer traffic.



-- 
Grant. . . .
unix || die
Re: Ping Inwtx
#311762
Author: SEC3
Date: Mon, 26 Oct 2020 21:04
33 lines
1894 bytes
On 2020-10-26 4:25 p.m., Grant Taylor wrote:
> On 10/26/20 1:44 PM, SEC3 wrote:
>> Okay. I examined my iptables rules on sec3.net. For port 25 I have this:
>>
>> -A INPUT -p tcp -m tcp --dport 25 --tcp-flags FIN,SYN,RST,ACK SYN -j
>> ACCEPT
>>
>> Is it incorrect?
> 
> It's impossible to say without seeing the rest of your firewall
> configuration.
> 
> That being said, I don't think this is a firewall problem.

Okay, that's good to know.

>  At least
> nothing about what I've seen makes me think it's a firewall problem.
> 
> The TCP connection is successfully being established and there is
> bidirectional communications and SMTP application layer traffic.
> 

-- 
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: Ping Inwtx
#311761
Author: SEC3
Date: Mon, 26 Oct 2020 21:11
31 lines
1919 bytes
On 2020-10-26 4:01 p.m., inwtx wrote:
>>
> <snip>
>>
>> Okay. I examined my iptables rules on sec3.net. For port 25 I have this:
>>
>> -A INPUT -p tcp -m tcp --dport 25 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
>>
>> Is it incorrect?
>>
>   That is very interesting.  I don't have that kind of ACCEPT in my iptables, only special DROPs.
> It doesn't have the PSH param in it, so possibly it can't understand the [FP.].  Possibly since 
> I have never had it, it would be safe for you to remove it for a test.  It is somewhat complicated 
> to decipher as I remember.  Let me know if you take it out and I'll try sending the sec3 stuck in
> machine again.

Okay. I changed it to the more generic rule:

-A INPUT -p tcp -m tcp --dport 25 -j ACCEPT


-- 
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: Ping Inwtx
#311763
Author: inwtx
Date: Mon, 26 Oct 2020 22:26
12 lines
1282 bytes
><snip>
> Are you saying that after a (brief) period the following message shows up in your mail log?
> 
> 
>> caputo.sec3.net Error: timeout exceeded
> 
> This is what I would expect your server to say about caputo's behavior as observed in the "Ping sec3" thread.
> 
  Tried tcpdump again and the same result.  When sec3 starts trying to push date, it stays on the
same sequence number until it times out about 5 minutes later.  Tcpdump gives the 'caputo.sec3.net Error: timeout exceeded' message at the bottom of the dump.

  I think that I am going to try moving to ubumtoo or D10.
Re: Ping Inwtx
#311764
Author: SEC3
Date: Mon, 26 Oct 2020 23:41
36 lines
2243 bytes
On 2020-10-26 6:26 p.m., inwtx wrote:
>> <snip>
>> Are you saying that after a (brief) period the following message shows up in your mail log?
>>
>>
>>> caputo.sec3.net Error: timeout exceeded
>>
>> This is what I would expect your server to say about caputo's behavior as observed in the "Ping sec3" thread.
>>
>   Tried tcpdump again and the same result.  When sec3 starts trying to push date, it stays on the
> same sequence number until it times out about 5 minutes later.  Tcpdump gives the 'caputo.sec3.net Error:
timeout exceeded' message at the > bottom of the dump.

I'm baffled how my server could be misbehaving so badly and yet the
pinger at SEC3 shows inwtx and the majority of remailers performing well
and returning pings in a normal manner.

It's true that your remailers are doing poorly at the Yamn pingers. But
so are most every other middle remailer. I don't think that that's an
inwtx issue. Curve and Esn are performing equally poorly.

>   I think that I am going to try moving to ubumtoo or D10.

Sorry for your troubles. If there's something I can do to help just ask.


-- 
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: Ping Inwtx
#311766
Author: Grant Taylor
Date: Mon, 26 Oct 2020 23:50
53 lines
3080 bytes
On 10/26/20 4:26 PM, inwtx wrote:
> Tried tcpdump again and the same result.  When sec3 starts trying to 
> push date, it stays on the same sequence number until it times out 
> about 5 minutes later.

Something is breaking I just don't have any idea what it is yet.

It would be very interesting to see a full packet capture from each 
system, running long enough to see the 3-way handshake, data, and 
subsequent disconnect.

I'd likely use commands like the following to do this:

    tcpdump -nn -i eth0 "host 45.138.97.132 and host 185.158.249.133 and 
(proto ICMP or (proto TCP and port 25))" -s 0 -w /tmp/$HOST.pcap

That should capture the full packet ("-s 0" set the snap length to 0 to 
avoid truncating packets) that matches host caputo.sec3.net 
(45.138.97.132) and host mail.inwtx.net (185.158.249.133) and one of the 
following:
  - ICMP (to catch any errors)
  - TCP port 25 (SMTP)

Ideally this filter should avoid capturing unnecessary traffic.

You can adjust eth0 to be the local interface or remove "-i eth0" 
entirely.  (I prefer to focus tcpdump on the proper interface if I can.)

This will write the packet capture out a file using the hostname 
followed by ".pcap" into the /tmp directory.

I'd be very curious to see those packet captures from both inwtx and sec3.

> Tcpdump gives the 'caputo.sec3.net Error: timeout exceeded' message 
> at the bottom of the dump.

I wonder if it's extracting that from the SMTP stream or if it's a 
reference to the connection errantly closing.  Except it's not errantly 
closing.  It goes through the close process.

> I think that I am going to try moving to ubumtoo or D10.

If you want to, sure.  But I feel like changing an operating system is 
like trying to crush an M&M with a boulder as big as a house.  Even that 
might not work if the problem is somewhere else in between the system.

After all, is anyone else having this type of problem with either system?



-- 
Grant. . . .
unix || die
Re: Ping Inwtx
#311765
Author: inwtx
Date: Tue, 27 Oct 2020 00:29
34 lines
2198 bytes
> 
> On 2020-10-26 6:26 p.m., inwtx wrote:
> 
>>> <snip>
>>> Are you saying that after a (brief) period the following message shows up in your mail log?
>>>
>>>
>>>> caputo.sec3.net Error: timeout exceeded
>>>
>>> This is what I would expect your server to say about caputo's behavior as observed in the "Ping sec3" thread.
>>>
>>   Tried tcpdump again and the same result.  When sec3 starts trying to push date, it stays on the
>> same sequence number until it times out about 5 minutes later.  Tcpdump gives the 'caputo.sec3.net Error:
> timeout exceeded' message at the > bottom of the dump.
> 
> I'm baffled how my server could be misbehaving so badly and yet the
> pinger at SEC3 shows inwtx and the majority of remailers performing well
> and returning pings in a normal manner.
> 
> It's true that your remailers are doing poorly at the Yamn pingers. But
> so are most every other middle remailer. I don't think that that's an
> inwtx issue. Curve and Esn are performing equally poorly.
> 
> 
>>   I think that I am going to try moving to ubumtoo or D10.
> 
> Sorry for your troubles. If there's something I can do to help just ask.
> 
  I don't really think it is you.  It is my server that stops receiving 
the [P.]'s.  We'll see how D10 runs.  Switching Netherlands D8 to Estonia
D9.  I think I can do it seamlessly.  Three hours on it now.  I'll start
the remailers up sometime tomorrow after some server testing.  Will copy
the pools over.  Should be quick transition with remailers.
Re: Ping Inwtx
#311771
Author: Anonymous
Date: Tue, 27 Oct 2020 23:24
21 lines
1860 bytes
On Mon, 26 Oct 2020 17:26:44 -0500, you wrote:
>
> ><snip>
> > Are you saying that after a (brief) period the following message shows up in your mail log?
> >
> >
> >> caputo.sec3.net Error: timeout exceeded
> >
> > This is what I would expect your server to say about caputo's behavior as observed in the "Ping sec3" thread.
> >
>   Tried tcpdump again and the same result.  When sec3 starts trying to push date, it stays on the
> same sequence number until it times out about 5 minutes later.  Tcpdump gives the 'caputo.sec3.net Error: timeout exceeded' message at the bottom of the dump.
>
>   I think that I am going to try moving to ubumtoo or D10.

This may be a stupid suggestion, but I wanted to get an answer from 
the technical types here. Why don't the remailer admins use host 
files on their servers with the correct IP addresses of the other 
remailer servers. Wouldn't this resolve some of the network 
connection issues that some remailers are experiencing?
Re: Ping Inwtx
#311773
Author: Anonymous Remailer
Date: Wed, 28 Oct 2020 00:20
25 lines
1810 bytes
> 
> On Mon, 26 Oct 2020 17:26:44 -0500, you wrote:
> 
>>
>>> <snip>
>>> Are you saying that after a (brief) period the following message shows up in your mail log?
>>>
>>>
>>>> caputo.sec3.net Error: timeout exceeded
>>>
>>> This is what I would expect your server to say about caputo's behavior as observed in the "Ping sec3" thread.
>>>
>>   Tried tcpdump again and the same result.  When sec3 starts trying to push date, it stays on the
>> same sequence number until it times out about 5 minutes later.  Tcpdump gives the 'caputo.sec3.net Error: timeout exceeded' message at the bottom of the dump.
>>
>>   I think that I am going to try moving to ubumtoo or D10.
> 
> This may be a stupid suggestion, but I wanted to get an answer from
> the technical types here. Why don't the remailer admins use host
> files on their servers with the correct IP addresses of the other
> remailer servers. Wouldn't this resolve some of the network
> connection issues that some remailers are experiencing?

  The issues I have been seeing posted are not about domain name
lookup problems.
Re: Ping Inwtx
#311776
Author: Grant Taylor
Date: Wed, 28 Oct 2020 01:09
59 lines
3652 bytes
On 10/27/20 5:24 PM, Anonymous wrote:
> This may be a stupid suggestion,

That's not a stupid question.

> but I wanted to get an answer from the technical types here.

I try to answer any and all questions asked in a polite tone that seem 
to be a legitimate question.  I believe that such deserves an answer in 
kind.

> Why don't the remailer admins use host files on their servers with 
> the correct IP addresses of the other remailer servers. Wouldn't this 
> resolve some of the network connection issues that some remailers 
> are experiencing?

The short answer is "It depends." and "It's complicated."

Adding entries to the hosts file simply addresses one type of name to IP 
resolution that can be used on computers.  Not all types of programs 
will use the type of name resolution that hosts file provides.  At least 
not by default.

Email servers in particular *REALLY* /want/ to use DNS.  So much so that 
some of them have code in them explicitly to do a DNS query and will do 
so unless you tell them not to do so.

It's usually possible to influence email server software and / or it's 
configuration so that it will not try to use DNS period.  These DNS 
lookups are initially for a Mail eXchanger (a.k.a. MX) record.  Then 
subsequently for A / AAAA records for name to IP translation.  It's also 
usually possible to alter email server software and / or it's 
configuration so that it reads different files for some domains.

The hosts file really only addresses the name to IP mapping and does 
nothing for anything like MX records in DNS.

In addition to the technical minutia, DNS vs hosts includes the fact 
that hosts files get out of date, usually because the domain name owner 
(renter) changes things.  So, how do you replicate this information and 
hope that people keep their local copy up to date?  Conversely, DNS 
allows a domain name owner (renter) to update DNS and within a 
predictable amount of time, everybody starts to see and use the new 
information.  There is no need to disseminate the new / different 
information.

Then there are the issues when the problems are not name resolution 
related.  The recent issue being discussed seems to be completely 
unrelated to name resolution and is instead something completely different.

So ... it depends on what the configuration is and how complicated it 
is.  Some configurations can use / be solved by a hosts file, others can 
not.



-- 
Grant. . . .
unix || die
Re: Ping Inwtx
#311784
Author: mail.zip2.in Anonymous Remailer
Date: Wed, 28 Oct 2020 22:10
60 lines
3785 bytes
On Tue, 27 Oct 2020 19:09:44 -0600, you wrote:
>
> On 10/27/20 5:24 PM, Anonymous wrote:
> > This may be a stupid suggestion,
>
> That's not a stupid question.
>
> > but I wanted to get an answer from the technical types here.
>
> I try to answer any and all questions asked in a polite tone that seem
> to be a legitimate question.  I believe that such deserves an answer in
> kind.
>
> > Why don't the remailer admins use host files on their servers with
> > the correct IP addresses of the other remailer servers. Wouldn't this
> > resolve some of the network connection issues that some remailers
> > are experiencing?
>
> The short answer is "It depends." and "It's complicated."
>
> Adding entries to the hosts file simply addresses one type of name to IP
> resolution that can be used on computers.  Not all types of programs
> will use the type of name resolution that hosts file provides.  At least
> not by default.
>
> Email servers in particular *REALLY* /want/ to use DNS.  So much so that
> some of them have code in them explicitly to do a DNS query and will do
> so unless you tell them not to do so.
>
> It's usually possible to influence email server software and / or it's
> configuration so that it will not try to use DNS period.  These DNS
> lookups are initially for a Mail eXchanger (a.k.a. MX) record.  Then
> subsequently for A / AAAA records for name to IP translation.  It's also
> usually possible to alter email server software and / or it's
> configuration so that it reads different files for some domains.
>
> The hosts file really only addresses the name to IP mapping and does
> nothing for anything like MX records in DNS.
>
> In addition to the technical minutia, DNS vs hosts includes the fact
> that hosts files get out of date, usually because the domain name owner
> (renter) changes things.  So, how do you replicate this information and
> hope that people keep their local copy up to date?  Conversely, DNS
> allows a domain name owner (renter) to update DNS and within a
> predictable amount of time, everybody starts to see and use the new
> information.  There is no need to disseminate the new / different
> information.
>
> Then there are the issues when the problems are not name resolution
> related.  The recent issue being discussed seems to be completely
> unrelated to name resolution and is instead something completely different.
>
> So ... it depends on what the configuration is and how complicated it
> is.  Some configurations can use / be solved by a hosts file, others can
> not.
>
Grant, I am the original poster of the host file question. Thank 
you for taking the time to explain in detail why implementing host 
files on all remailer servers would not resolve the issue in 
question.
Re: Ping Inwtx
#311785
Author: Grant Taylor
Date: Wed, 28 Oct 2020 22:24
19 lines
1979 bytes
On 10/28/20 4:10 PM, mail.zip2.in Anonymous Remailer wrote:
> Grant, I am the original poster of the host file question. Thank you 
> for taking the time to explain in detail why implementing host files 
> on all remailer servers would not resolve the issue in question.

You're welcome.  I hope that I provided a satisfactory answer.  Please 
follow up, publicly or privately, your discretion, if you have any 
additional questions.

I learned a long time ago that it behooves me to teach others what I 
know.  I'm hoping that some day everybody else will know how to fish for 
themselves and I can go to the lake and simply skip rocks across the 
surface.  Away from those fishing of course.  ;-)



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