🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: QS Stunnel Config - Resolved

#263524
From: Cloaked
Date: Fri, 09 Aug 2013 02:55
164 lines
7319 bytes
On 8/8/2013 3:33 PM, Cloaked wrote:> Can someone post the
correct stunnel configuration file for QS
> to work with snorky.mixmin.net?
>
> This is a portion of my stunnel.conf file.
>
> [ssmtp]
> accept  = 2525
> connect = snorky.mixmin.net:2525
> delay = no
>
> My QS Template is this:
>
> Fcc: outbox
> Host: 127.0.0.1:2525
> From: noone@nowhere.com
> Chain: *,*
> To: mail2news@m2n.mixmin.net
> X-No-Archive: Yes
> Newsgroups: alt.privacy.anon-server
> Subject:
>
> Is there a specific port that I need instead of 2525? I get an
> immediate error in QS when I try to send using the above
> configuration. Stunnel is running on my task bar.
> Also do I need to install stunnel as a service? I'm using
> Windows 7 and Vista
>

I added a protocol = smtp to my configuration and this is what
the smtp section looks like in stunnel.conf

[ssmtp]
protocol = smtp
accept  = 2525
connect = snorky.mixmin.net:2525
delay = no

Here's the log file from Stunnel during the sending process of
QS.


2013.08.08 16:40:58 LOG7[6660:6892]: Service [ssmtp] accepted
(FD=1212) from 127.0.0.1:56424
2013.08.08 16:40:58 LOG7[6660:6892]: Creating a new thread
2013.08.08 16:40:58 LOG7[6660:6892]: New thread created
2013.08.08 16:40:58 LOG7[6660:7444]: Service [ssmtp] started
2013.08.08 16:40:58 LOG5[6660:7444]: Service [ssmtp] accepted
connection from 127.0.0.1:56424
2013.08.08 16:40:58 LOG6[6660:7444]: connect_blocking:
connecting 188.40.76.149:2525
2013.08.08 16:40:58 LOG7[6660:7444]: connect_blocking:
s_poll_wait 188.40.76.149:2525: waiting 10 seconds
2013.08.08 16:40:58 LOG5[6660:7444]: connect_blocking: connected
188.40.76.149:2525
2013.08.08 16:40:58 LOG5[6660:7444]: Service [ssmtp] connected
remote server from 10.10.20.3:56425
2013.08.08 16:40:58 LOG7[6660:7444]: Remote socket (FD=1232)
initialized
2013.08.08 16:40:58 LOG6[6660:7444]: Client-mode smtp protocol
negotiations started
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 220 snorky.mixmin.net
ESMTP Postfix (Debian/GNU)
2013.08.08 16:40:58 LOG7[6660:7444]:  -> 220 snorky.mixmin.net
ESMTP Postfix (Debian/GNU)
2013.08.08 16:40:58 LOG7[6660:7444]:  -> EHLO localhost
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250-snorky.mixmin.net
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250-PIPELINING
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250-SIZE 20480000
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250-ETRN
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250-STARTTLS
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250-ENHANCEDSTATUSCODES
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250-8BITMIME
2013.08.08 16:40:58 LOG7[6660:7444]:  <- 250 DSN
2013.08.08 16:40:58 LOG7[6660:7444]:  -> STARTTLS
2013.08.08 16:40:59 LOG7[6660:7444]:  <- 220 2.0.0 Ready to
start TLS
2013.08.08 16:40:59 LOG6[6660:7444]: Client-mode smtp protocol
negotiations succeeded
2013.08.08 16:40:59 LOG7[6660:7444]: SNI: sending servername:
snorky.mixmin.net
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect):
before/connect initialization
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
write client hello A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
read server hello A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
read server certificate A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
read server key exchange A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
read server done A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
write client key exchange A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
write change cipher spec A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
write finished A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
flush data
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
read server session ticket A
2013.08.08 16:40:59 LOG7[6660:7444]: SSL state (connect): SSLv3
read finished A
2013.08.08 16:40:59 LOG7[6660:7444]:    1 items in the session
cache
2013.08.08 16:40:59 LOG7[6660:7444]:    1 client connects
(SSL_connect())
2013.08.08 16:40:59 LOG7[6660:7444]:    1 client connects that
finished
2013.08.08 16:40:59 LOG7[6660:7444]:    0 client renegotiations
requested
2013.08.08 16:40:59 LOG7[6660:7444]:    0 server connects
(SSL_accept())
2013.08.08 16:40:59 LOG7[6660:7444]:    0 server connects that
finished
2013.08.08 16:40:59 LOG7[6660:7444]:    0 server renegotiations
requested
2013.08.08 16:40:59 LOG7[6660:7444]:    0 session cache hits
2013.08.08 16:40:59 LOG7[6660:7444]:    0 external session cache
hits
2013.08.08 16:40:59 LOG7[6660:7444]:    0 session cache misses
2013.08.08 16:40:59 LOG7[6660:7444]:    0 session cache timeouts
2013.08.08 16:40:59 LOG7[6660:7444]: Peer certificate was cached
(1554 bytes)
2013.08.08 16:40:59 LOG6[6660:7444]: SSL connected: new session
negotiated
2013.08.08 16:40:59 LOG6[6660:7444]: Negotiated TLSv1/SSLv3
ciphersuite: ECDHE-RSA-AES256-SHA (256-bit encryption)
2013.08.08 16:40:59 LOG6[6660:7444]: Compression: null,
expansion: null
2013.08.08 16:41:03 LOG7[6660:7444]: SSL alert (read): warning:
close notify
2013.08.08 16:41:03 LOG6[6660:7444]: SSL closed (SSL_read)
2013.08.08 16:41:03 LOG7[6660:7444]: Sent socket write shutdown
2013.08.08 16:41:03 LOG6[6660:7444]: Read socket closed
(readsocket)
2013.08.08 16:41:03 LOG7[6660:7444]: Sending close_notify alert
2013.08.08 16:41:03 LOG7[6660:7444]: SSL alert (write): warning:
close notify
2013.08.08 16:41:03 LOG6[6660:7444]: SSL_shutdown successfully
sent close_notify alert
2013.08.08 16:41:03 LOG5[6660:7444]: Connection closed: 28953
byte(s) sent to SSL, 139 byte(s) sent to socket
2013.08.08 16:41:03 LOG7[6660:7444]: Remote socket (FD=1232)
closed
2013.08.08 16:41:03 LOG7[6660:7444]: Local socket (FD=1212)
closed
2013.08.08 16:41:03 LOG7[6660:7444]: Service [ssmtp] finished (0
left)

So it appears that Stunnel is working with QS. Now if I could
get this configuration to work with TOR, I would be in heaven.
When I click on my Proxy button using TOR, QS just hangs and I
have to cancel the session. Tor does work if I don't use my
Stunnel QS Template. I have to use my Tor Template and
everything is great.

If I want to use TOR with QS, it appears that I will have to
turn on my VPN to ensure encryption of the TCP/IP traffic
between me and snorky. If anyone has a solution with Tor and
Stunnel I'm listening.
Technical Details
Message-ID: <20130809025515.DFA59EAB03@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news.astraweb.com!border5.a.newsrouter.astraweb.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
References: <20130808223313.17614BEE1@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <20130809025515.DFA59EAB03@snorky.mixmin.net>
Subject: Re: QS Stunnel Config - Resolved
Date: Fri, 09 Aug 2013 02:55:15 +0000
From: Cloaked <cloaked@nym.mixmin.net>
References: <20130808223313.17614BEE1@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news.astraweb.com!border5.a.newsrouter.astraweb.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Lines: 165
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net