🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Stunnel Configuration for ruxuklsvo4pk74m5.onion

#278527
From: Jack
Date: Mon, 21 Dec 2015 23:53
119 lines
6207 bytes
On 12/21/2015 12:16 PM, Jack wrote:
> 
> 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
> 

I get this error message in socat when a connection is attempted.

1 [main] socat 13512 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
2015/12/21 15:49:36 socat[14712] E connect(3, AF=2 127.0.0.1:9050, 16):
Connection refused

It appears that I cannot connect to port 9050. I have changed the port
to 9150 and 9151 and these two settings do not return any error
messages. Is there a setting in Tor that needs to be changed in order
for port 9050 to work?
Technical Details
Message-ID: <FdmdnQew6JFhDeXLnZ2dnUU7-a2dnZ2d@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!not-for-mail
References: <fY6dne8YeYCpFO7LnZ2dnUU7-IudnZ2d@giganews.com> <f40076c5ea6cef6059b227c18d148c86@foto.nl1.torservers.net> <Pf-dnYqjvrI0DurLnZ2dnUU7-a2dnZ2d@giganews.com> <93997192806c339abace67455a7b5be8@foto.nl1.torservers.net> <1OedndD6Nt6uw-XLnZ2dnUU7-L-dnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <FdmdnQew6JFhDeXLnZ2dnUU7-a2dnZ2d@giganews.com>
Subject: Re: Stunnel Configuration for ruxuklsvo4pk74m5.onion
Date: Mon, 21 Dec 2015 15:53:34 -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> <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!not-for-mail
Lines: 120
X-Trace: sv3-o0q9bA6pJGxOmEGaQ+PRtip9kCRt/p4KDWBEGwZxqsfEJSmfwTVE6dhD6PrL36hgjm09p8wyAZfueBZ!4FwM3oNTE+FPMbtrHKmdzSbkq4NnI846pAvxj7R8I1Mrys2TJs9LiQr/9ma0mvzKKmIqUGc=
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-Received-Bytes: 6282
X-Postfilter: 1.3.40
In-Reply-To: <1OedndD6Nt6uw-XLnZ2dnUU7-L-dnZ2d@giganews.com>
Content-Type: text/plain; charset=windows-1252
Nntp-Posting-Date: Mon, 21 Dec 2015 17:53:32 -0600
Newsgroups: alt.privacy.anon-server
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
Content-Transfer-Encoding: 7bit
X-Dmca-Notifications: http://www.giganews.com/info/dmca.html
Mime-Version: 1.0
X-Usenet-Provider: http://www.giganews.com
X-Complaints-To: abuse@giganews.com
X-Original-Bytes: 6029