Article View: alt.privacy.anon-server
Article #278555Re: Stunnel Configuration for ruxuklsvo4pk74m5.onion
From: Anonymous
Date: Tue, 22 Dec 2015 21:25
Date: Tue, 22 Dec 2015 21:25
170 lines
7742 bytes
7742 bytes
On 2015-12-21 15:53, Jack wrote:
> 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
Try to play with "sslVersion" option.
Service [nntps] accepted connection from 127.0.0.1:****
s_connect: connecting 127.0.0.1:****
s_connect: s_poll_wait 127.0.0.1:****: waiting 10 seconds
s_connect: connected 127.0.0.1:****
Service [nntps] connected remote server from 127.0.0.1:****
Remote descriptor (FD=8) initialized
SNI: sending servername: 127.0.0.1
SSL state (connect): before/connect initialization
SSL state (connect): SSLv3 write client hello A
SSL state (connect): SSLv3 read server hello A
SSL state (connect): SSLv3 read server certificate A
SSL state (connect): SSLv3 read server key exchange A
SSL state (connect): SSLv3 read server done A
SSL state (connect): SSLv3 write client key exchange A
SSL state (connect): SSLv3 write change cipher spec A
SSL state (connect): SSLv3 write finished A
SSL state (connect): SSLv3 flush data
SSL state (connect): SSLv3 read server session ticket A
SSL state (connect): SSLv3 read finished A
2 client connect(s) requested
2 client connect(s) succeeded
0 client renegotiation(s) requested
0 session reuse(s)
SSL connected: new session negotiated
Deallocating application specific data for addr index
Negotiated TLSv1 ciphersuite ECDHE-RSA-AES256-SHA (256-bit encryption)
Compression: null, expansion: null
SSL alert (read): warning: close notify
SSL closed (SSL_read)
Sent socket write shutdown
Read socket closed (readsocket)
Sending close_notify alert
SSL alert (write): warning: close notify
SSL_shutdown successfully sent close_notify alert
Connection closed: 336 byte(s) sent to SSL, 630 byte(s) sent to socket
Remote descriptor (FD=8) closed
Local descriptor (FD=3) closed
Service [nntps] finished (0 left)
> > 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
Turn on debug mode.
> > 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?
absolutely no.
--
Technical Details
Message-ID:
<d05cdb92c91aea6923bb0ef0ae14d55c@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-mailReferences:
<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> <FdmdnQew6JFhDeXLnZ2dnUU7-a2dnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Message-ID: <d05cdb92c91aea6923bb0ef0ae14d55c@foto.nl1.torservers.net> Subject: Re: Stunnel Configuration for ruxuklsvo4pk74m5.onion Date: Tue, 22 Dec 2015 21:25:43 +0000 From: Anonymous <anonymous@foto.nl1.torservers.net> 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> <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!news.usenet.farm!..!..!not-for-mail MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider X-Abuse: abuse@dizum.com Injection-Info: sewer.dizum.com - 194.109.206.211 Lines: 170