🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Stunnel Configuration for ruxuklsvo4pk74m5.onion

#278516
From: Jack
Date: Mon, 21 Dec 2015 20:16
107 lines
5445 bytes
On 12/21/2015 9:10 AM, Anonymous wrote:
> On 2015-12-20 21:52, Jack wrote:
> 
>> On 12/20/2015 9:04 PM, Anonymous wrote:
>>> On 2015-12-17 20:19, Jack wrote:
>>>
>>>> Does anyone have a working configuration for Stunnel? I have tried this
>>>> below and it doesn't work with AAM.
>>>>
>>>> [nntps]
>>>> client = yes
>>>> accept  = 127.0.0.1:119
>>>> connect = ruxuklsvo4pk74m5.onion:563
>>>> cert = stunnel.pem
>>>>
>>>> I have tried port 119 on the connect line and get the same error results
>>>> in AAM.
>>>>
>>>> Here's the output from my stunnel.log file:
>>>>
>>>> Initializing service [nntps]
>>>> 2015.12.17 19:50:07 LOG3[main]: Error resolving
>>>                                   ^^^^^^^^^^^^^^^!!!
>>>> "ruxuklsvo4pk74m5.onion": Neither nodename nor servname known (EAI_NONAME)
>>>
>>>
>>> [nntps]
>>> ...
>>> accept  = 127.0.0.1:119
>>> connect = 127.0.0.1:9876
>>>
>>> socat tcp4-LISTEN:9876,reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:127.0.0.1:ruxuklsvo4pk74m5.onion:563,socksport=9050
>>>
>> How is the above command converted to work in a Windows 10 environment?
> 
> Should work as is.
> 
I think I have socat running under Windows, but would appreciate
feedback on my questions below.

My Stunnel Configuration:

[nntps]
client = yes
accept = 127.0.0.1:119
connect = 127.0.0.1:9876
cert = stunnel.pem

Here's my stunnel output when Tor is NOT selected inside of AAM:

2015.12.21 11:37:30 LOG5[27]: Service [nntps] accepted connection from
127.0.0.1:65485
2015.12.21 11:37:30 LOG6[27]: failover: round-robin, starting at entry #1
2015.12.21 11:37:30 LOG6[27]: s_connect: connecting 144.76.182.167:563
2015.12.21 11:37:30 LOG5[27]: s_connect: connected 144.76.182.167:563
2015.12.21 11:37:30 LOG5[27]: Service [nntps] connected remote server
from 10.1.1.175:65486
2015.12.21 11:37:30 LOG6[27]: SNI: sending servername: 127.0.0.1
2015.12.21 11:37:30 LOG6[27]: Certificate verification disabled
2015.12.21 11:37:30 LOG6[27]: Certificate verification disabled
2015.12.21 11:37:30 LOG6[27]: SSL connected: new session negotiated
2015.12.21 11:37:30 LOG6[27]: Negotiated TLSv1.2 ciphersuite
ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)
2015.12.21 11:39:03 LOG6[27]: SSL closed (SSL_read)
2015.12.21 11:39:03 LOG6[27]: Read socket closed (readsocket)
2015.12.21 11:39:03 LOG6[27]: SSL_shutdown successfully sent
close_notify alert
2015.12.21 11:39:03 LOG5[27]: Connection closed: 1679 byte(s) sent to
SSL, 718263 byte(s) sent to socket

My AAM setup is:

nntp server = 127.0.0.1
Port = 119
Proxy = None

Tor is running in the background.

I believe socat is running in the background because when I do a netstat
-an I see:

TCP    127.0.0.1:9876         0.0.0.0:0              LISTENING

When I turn on the Proxy in AAM using a Port of 9050 and Socks 4a, AAM
gives me an immediate error message. Should the Proxy option be selected
within AAM or should I leave it deselected as socat is handling this
functionality?

It does appear that fleegle.mixmin.net is being connected as
144.76.182.167:563 is its address and 563 is the TLS port.

Finally, how can I be assured that I am going through the Tor network as
I don't see a connection to port 9050, but I do see 127.0.0.1
Established on ports 9150 and 9151.

  TCP    127.0.0.1:9150         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:9150         127.0.0.1:49559        TIME_WAIT
  TCP    127.0.0.1:9150         127.0.0.1:65356        ESTABLISHED
  TCP    127.0.0.1:9151         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:9151         127.0.0.1:65241        ESTABLISHED
  TCP    127.0.0.1:9151         127.0.0.1:65251        ESTABLISHED
  TCP    127.0.0.1:9151         127.0.0.1:65255        ESTABLISHED
  TCP    127.0.0.1:9876         0.0.0.0:0              LISTENING


Technical Details
Message-ID: <1OedndD6Nt6uw-XLnZ2dnUU7-L-dnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <fY6dne8YeYCpFO7LnZ2dnUU7-IudnZ2d@giganews.com> <f40076c5ea6cef6059b227c18d148c86@foto.nl1.torservers.net> <Pf-dnYqjvrI0DurLnZ2dnUU7-a2dnZ2d@giganews.com> <93997192806c339abace67455a7b5be8@foto.nl1.torservers.net>

Show Full Headers
Complete Article Headers
Message-ID: <1OedndD6Nt6uw-XLnZ2dnUU7-L-dnZ2d@giganews.com>
Subject: Re: Stunnel Configuration for ruxuklsvo4pk74m5.onion
Date: Mon, 21 Dec 2015 12:16:53 -0800
From: Jack <jack@nowhere.com>
References: <fY6dne8YeYCpFO7LnZ2dnUU7-IudnZ2d@giganews.com> <f40076c5ea6cef6059b227c18d148c86@foto.nl1.torservers.net> <Pf-dnYqjvrI0DurLnZ2dnUU7-a2dnZ2d@giganews.com> <93997192806c339abace67455a7b5be8@foto.nl1.torservers.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
NNTP-Posting-Date: Mon, 21 Dec 2015 14:16:51 -0600
Newsgroups: alt.privacy.anon-server
X-Enigmail-Draft-Status: N1110
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <93997192806c339abace67455a7b5be8@foto.nl1.torservers.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Lines: 108
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-hOH410Pn0Oi7SDpiHBquxhf+wKcC0ccbthoqQBmkUBwgcJL/LypoHK1XFUGGtFeK+6ZmI5x4w2O3KYh!qTW2EEE47jRKD74M3XfHa5e+E5uwbCYV4jsUfazQGukCEXzZ1hhgzwyMosDikFYuGkHzYgA=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 5264