🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
4 messages
4 total messages Started by Jack Mon, 21 Dec 2015 00:37
Socat for Window Help
#278478
Author: Jack
Date: Mon, 21 Dec 2015 00:37
5 lines
1556 bytes
I have downloaded the socat.exe file for windows which includes
cygwin1.dll and other files in the same directory of socat. How do I get
socat configured to open up a socks port that will allow
ruxuklsvo4pk74m5.onion:119 to work with stunnel to encrypt the
connection after it is accepted by stunnel?
Re: Socat for Window Help
#278480
Author: Anonymous Remailer (austria)
Date: Mon, 21 Dec 2015 02:39
11 lines
1292 bytes
Jack:
> I have downloaded the socat.exe file for windows which includes
> cygwin1.dll and other files in the same directory of socat. How do I get
> socat configured to open up a socks port that will allow
> ruxuklsvo4pk74m5.onion:119 to work with stunnel to encrypt the
> connection after it is accepted by stunnel?
> 

This should prove edifying:

https://nymphemeral.readthedocs.org/en/latest/install/connections.html
Re: Socat for Window Help
#278485
Author: Jack
Date: Mon, 21 Dec 2015 05:09
17 lines
2088 bytes
On 12/20/2015 6:39 PM, Anonymous Remailer (austria) wrote:
> Jack:
>> I have downloaded the socat.exe file for windows which includes
>> cygwin1.dll and other files in the same directory of socat. How do I get
>> socat configured to open up a socks port that will allow
>> ruxuklsvo4pk74m5.onion:119 to work with stunnel to encrypt the
>> connection after it is accepted by stunnel?
>>
> 
> This should prove edifying:
> 
> https://nymphemeral.readthedocs.org/en/latest/install/connections.html
> 
I appreciate the link, but this applies to Linux. I'm trying to get
socat to work in a Windows 10 environment with
ruxuklsvo4pk74m5.onion:119. More specifically, I'm trying to connect the
onion address via SSL or TLS directly.
Re: Socat for Window Help
#278533
Author: Jack
Date: Tue, 22 Dec 2015 00:47
99 lines
5342 bytes
On 12/20/2015 6:39 PM, Anonymous Remailer (austria) wrote:
> Jack:
>> I have downloaded the socat.exe file for windows which includes
>> cygwin1.dll and other files in the same directory of socat. How do I get
>> socat configured to open up a socks port that will allow
>> ruxuklsvo4pk74m5.onion:119 to work with stunnel to encrypt the
>> connection after it is accepted by stunnel?
>>
> 
> This should prove edifying:
> 
> https://nymphemeral.readthedocs.org/en/latest/install/connections.html
> 

Here is my Shortcut command:

"C:\Program Files (x86)\Socat\socat-windows-master\socat.exe"
tcp4-LISTEN:9876,reuseaddr,fork,keepalive,bind=127.0.0.1
SOCKS4A:127.0.0.1:ruxuklsvo4pk74m5.onion:563,socksport=9050

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?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads