🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #311737

Re: UPDATE: Yamn Help Webpage

#311737
From: SEC3
Date: Sun, 25 Oct 2020 17:44
145 lines
9955 bytes
On 2020-10-25 1:39 p.m., spam.tra...@gmail.com wrote:
> On Sunday, October 25, 2020 at 5:04:16 PM UTC, spam.tra...@gmail.com wrote:
>> On Sunday, October 25, 2020 at 4:58:04 PM UTC, spam.tra...@gmail.com wrote: 
>>> On Sunday, October 25, 2020 at 4:55:25 PM UTC, spam.tra...@gmail.com wrote: 
>>>> On Sunday, October 25, 2020 at 4:10:45 PM UTC, SEC3 wrote: 
>>>>> -----BEGIN PGP SIGNED MESSAGE----- 
>>>>> Hash: SHA512 
>>>>>
>>>>> As requested I have added to my Yamn Help tutorial page two new 
>>>>> tutorials. 
>>>>>
>>>>> Use YAMN with Tor (Windows 10) 
>>>>> <https://www.sec3.net/yamnhelp/addendum/tor-and-yamn-windows10.html> 
>>>>>
>>>>> Use YAMN with Tor (Debian/Ubuntu) 
>>>>> <https://www.sec3.net/yamnhelp/addendum/tor-and-yamn-linux.html> 
>>>>>
>>>>> There is one area I need some help with. In the YAMN/Tor/Linux tutorial 
>>>>> I want to explain to the reader how to confirm that a Yamn message has 
>>>>> indeed been sent out via Tor. How to confirm this? 
>>>> the yamn.cfg points to port 5870 and the smpt server address 127.0.0.1 
>>>> which yamn sends to and socat is listening to. Then it passes this to the 
>>>> defined Tor process at address x and port y, which Linux users should know 
>>>> when they used Mixmaster years ago with with Tor. If socat or Tor would 
>>>> not be running then yamn in trace mode should complain that pool mailing 
>>>> has failed. 
>>> P.S. never did that but you may check if socat support verbose mode (-v).
>> P.P.S. what users could also try is to additionally set-up stunnel with YAMN 
>> and socat, like we did in the old Mixmaster days. This would show then 
>> exactly in the stunnel output what you are looking for, even if YAMN has 
>> already TLS support. 
> 
> Just did a quick test with a modified yamn.cfg and socat/stunnel
> and hope that two messages will arrive in alt.test.test.
> 
> 2020.10.25 18:34:04 LOG7[ui]: Clients allowed=500
> 2020.10.25 18:34:04 LOG5[ui]: stunnel 5.50 on x86_64-pc-linux-gnu platform
> 2020.10.25 18:34:04 LOG5[ui]: Compiled with OpenSSL 1.1.1b  26 Feb 2019
> 2020.10.25 18:34:04 LOG5[ui]: Running  with OpenSSL 1.1.1d  10 Sep 2019
> 2020.10.25 18:34:04 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
> 2020.10.25 18:34:04 LOG7[ui]: errno: (*__errno_location ())
> 2020.10.25 18:34:04 LOG5[ui]: Reading configuration from file /home/sac/yamn/stunnelyamn
> 2020.10.25 18:34:04 LOG5[ui]: UTF-8 byte order mark not detected
> 2020.10.25 18:34:04 LOG5[ui]: FIPS mode disabled
> 2020.10.25 18:34:04 LOG7[ui]: Compression disabled
> 2020.10.25 18:34:04 LOG7[ui]: No PRNG seeding was required
> 2020.10.25 18:34:04 LOG6[ui]: Initializing service [YAMN]
> 2020.10.25 18:34:04 LOG7[ui]: Ciphers: HIGH:!aNULL:!SSLv2:!DH:!kDHEPSK
> 2020.10.25 18:34:04 LOG7[ui]: TLS options: 0x02100004 (+0x00000000, -0x00000000)
> 2020.10.25 18:34:04 LOG7[ui]: No certificate or private key specified
> 2020.10.25 18:34:04 LOG4[ui]: Service [YAMN] needs authentication to prevent MITM attacks
> 2020.10.25 18:34:04 LOG5[ui]: Configuration successful
> 2020.10.25 18:34:04 LOG7[ui]: Binding service [YAMN]
> 2020.10.25 18:34:04 LOG7[ui]: Listening file descriptor created (FD=6)
> 2020.10.25 18:34:04 LOG7[ui]: Setting accept socket options (FD=6)
> 2020.10.25 18:34:04 LOG7[ui]: Option SO_REUSEADDR set on accept socket
> 2020.10.25 18:34:04 LOG6[ui]: Service [YAMN] (FD=6) bound to 127.0.0.1:2511
> 2020.10.25 18:34:04 LOG7[ui]: No pid file being created
> 2020.10.25 18:34:41 LOG7[ui]: Found 1 ready file descriptor(s)
> 2020.10.25 18:34:41 LOG7[ui]: FD=4 events=0x2001 revents=0x0
> 2020.10.25 18:34:41 LOG7[ui]: FD=6 events=0x2001 revents=0x1
> 2020.10.25 18:34:41 LOG7[ui]: Service [YAMN] accepted (FD=3) from 127.0.0.1:51705
> 2020.10.25 18:34:41 LOG7[0]: Service [YAMN] started
> 2020.10.25 18:34:41 LOG7[0]: Setting local socket options (FD=3)
> 2020.10.25 18:34:41 LOG7[0]: Option TCP_NODELAY set on local socket
> 2020.10.25 18:34:41 LOG5[0]: Service [YAMN] accepted connection from 127.0.0.1:51705
> 2020.10.25 18:34:41 LOG6[0]: s_connect: connecting 127.0.0.1:5870
> 2020.10.25 18:34:41 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:5870: waiting 10 seconds
> 2020.10.25 18:34:41 LOG5[0]: s_connect: connected 127.0.0.1:5870
> 2020.10.25 18:34:41 LOG5[0]: Service [YAMN] connected remote server from 127.0.0.1:51706
> 2020.10.25 18:34:41 LOG7[0]: Setting remote socket options (FD=7)
> 2020.10.25 18:34:41 LOG7[0]: Option TCP_NODELAY set on remote socket
> 2020.10.25 18:34:41 LOG7[0]: Remote descriptor (FD=7) initialized
> 2020.10.25 18:34:41 LOG7[0]:  <- 220 sfax.slugish.net ESMTP Postfix (Debian/GNU)
> 2020.10.25 18:34:41 LOG7[0]:  -> 220 sfax.slugish.net ESMTP Postfix (Debian/GNU)
> 2020.10.25 18:34:41 LOG7[0]:  -> EHLO localhost
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-sfax.slugish.net
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-PIPELINING
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-SIZE 10240000
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-VRFY
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-ETRN
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-STARTTLS
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-ENHANCEDSTATUSCODES
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-8BITMIME
> 2020.10.25 18:34:42 LOG7[0]:  <- 250-DSN
> 2020.10.25 18:34:42 LOG7[0]:  <- 250 SMTPUTF8
> 2020.10.25 18:34:42 LOG7[0]:  -> STARTTLS
> 2020.10.25 18:34:42 LOG7[0]:  <- 220 2.0.0 Ready to start TLS
> 2020.10.25 18:34:42 LOG6[0]: SNI: sending servername: 127.0.0.1
> 2020.10.25 18:34:42 LOG6[0]: Peer certificate not required
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): before SSL initialization
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello
> 2020.10.25 18:34:42 LOG6[0]: Certificate verification disabled
> 2020.10.25 18:34:42 LOG6[0]: Certificate verification disabled
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS read server key exchange
> 2020.10.25 18:34:42 LOG6[0]: Client certificate not requested
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS read server done
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS write client key exchange
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec
> 2020.10.25 18:34:42 LOG7[0]: TLS state (connect): SSLv3/TLS write finished
> 2020.10.25 18:34:43 LOG7[0]: TLS state (connect): SSLv3/TLS write finished
> 2020.10.25 18:34:43 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket
> 2020.10.25 18:34:43 LOG7[0]: TLS state (connect): SSLv3/TLS read change cipher spec
> 2020.10.25 18:34:43 LOG7[0]: TLS state (connect): SSLv3/TLS read finished
> 2020.10.25 18:34:43 LOG7[0]: New session callback
> 2020.10.25 18:34:43 LOG7[0]: Peer certificate was cached (3558 bytes)
> 2020.10.25 18:34:43 LOG6[0]: Session id: EDEEF20AF6208942D5D9E85CB9DD4E98F2521EE80209ECBBF1A1C5D66E4959C1
> 2020.10.25 18:34:43 LOG7[0]:      1 client connect(s) requested
> 2020.10.25 18:34:43 LOG7[0]:      1 client connect(s) succeeded
> 2020.10.25 18:34:43 LOG7[0]:      0 client renegotiation(s) requested
> 2020.10.25 18:34:43 LOG7[0]:      0 session reuse(s)
> 2020.10.25 18:34:43 LOG6[0]: TLS connected: new session negotiated
> 2020.10.25 18:34:43 LOG6[0]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)
> 2020.10.25 18:34:43 LOG7[0]: Compression: null, expansion: null
> 2020.10.25 18:34:45 LOG7[0]: TLS alert (read): warning: close notify
> 2020.10.25 18:34:45 LOG6[0]: TLS closed (SSL_read)
> 2020.10.25 18:34:45 LOG7[0]: Sent socket write shutdown
> 2020.10.25 18:34:45 LOG6[0]: Read socket closed (readsocket)
> 2020.10.25 18:34:45 LOG7[0]: Sending close_notify alert
> 2020.10.25 18:34:45 LOG7[0]: TLS alert (write): warning: close notify
> 2020.10.25 18:34:45 LOG6[0]: SSL_shutdown successfully sent close_notify alert
> 2020.10.25 18:34:45 LOG5[0]: Connection closed: 28630 byte(s) sent to TLS, 255 byte(s) sent to socket
> 2020.10.25 18:34:45 LOG7[0]: Remote descriptor (FD=7) closed
> 2020.10.25 18:34:45 LOG7[0]: Local descriptor (FD=3) closed
> 2020.10.25 18:34:45 LOG7[0]: Service [YAMN] finished (0 left)
> 
> Regards
> Stefan

Thanks for this. But I feel installing and configuring Stunnel is way
too complicated for what I am trying to accomplish.

-- 
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/>
Technical Details
Message-ID: <tQilH.1038881$EWb.585224@fx42.ams1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <5shlH.400795$Qs6.49482@fx16.ams1> <1029cf0e-ec30-43dc-bb26-703bbca21cfcn@googlegroups.com> <6282159c-fabe-4c14-90ec-1490a07050f2n@googlegroups.com> <a13cf25a-4881-4570-a837-75d9bdeb35d4n@googlegroups.com> <01d893c1-b36c-48db-84f6-e114c61a7a7en@googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <tQilH.1038881$EWb.585224@fx42.ams1>
Subject: Re: UPDATE: Yamn Help Webpage
Date: Sun, 25 Oct 2020 13:44:56 -0400
From: SEC3 <noreply@sec3.net>
References: <5shlH.400795$Qs6.49482@fx16.ams1> <1029cf0e-ec30-43dc-bb26-703bbca21cfcn@googlegroups.com> <6282159c-fabe-4c14-90ec-1490a07050f2n@googlegroups.com> <a13cf25a-4881-4570-a837-75d9bdeb35d4n@googlegroups.com> <01d893c1-b36c-48db-84f6-e114c61a7a7en@googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
Mime-Version: 1.0
In-Reply-To: <01d893c1-b36c-48db-84f6-e114c61a7a7en@googlegroups.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Lines: 145
X-Complaints-To: abuse@blocknews.net
Nntp-Posting-Date: Sun, 25 Oct 2020 17:44:57 UTC
Organization: blocknews - www.blocknews.net