Article View: news.software.readers
Article #266582Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
From: Bernd Rose
Date: Wed, 10 Jan 2024 18:49
Date: Wed, 10 Jan 2024 18:49
39 lines
3399 bytes
3399 bytes
On Wed, 10th Jan 2024 00:54:19 -0500, Ronald wrote:
> [Neodome]
> client = yes
> accept = 127.0.0.1:65535
> connect = news.neodome.net:119
> protocol = nntp> I don't understand what comes out of the sTunnel log file though.
>
> Here's the sTunnel log for test message number 1.
> LOG5[4]: Service [Neodome] accepted connection from 127.0.0.1:61463
> LOG5[4]: s_connect: connected 95.216.243.224:119
> LOG5[4]: Service [Neodome] connected remote server from 10.211.1.25:61464
> LOG5[4]: Connection closed: 1538 byte(s) sent to TLS, 246 byte(s) sent to socket
>
> Here's the sTunnel log for test message number 2.
> LOG5[0]: Service [Neodome] accepted connection from 127.0.0.1:40720
> LOG5[0]: s_connect: connected 95.216.243.224:119
> LOG5[0]: Service [Neodome] connected remote server from 10.211.1.145:40721
> LOG5[0]: Connection closed: 2213 byte(s) sent to TLS, 246 byte(s) sent to socket
>
> First line in the sTunnel log file (accepted):
> I never specified "127.0.0.1:61463" or "127.0.0.1:40720".
For a connection from Dialog to sTunnel to Neodome you need 4 sockets
(aka pairs of IP-address and port). For your test_message_1 these are:
127.0.0.1:61463 ... local Dialog port for connection to/from sTunnel
-> randomly chosen by Dialog and the OS
127.0.0.1:65535 ... local sTunnel port for connection to/from Dialog
-> predefined by you (Dialog and sTunnel settings)
10.211.1.145:61464 ... local sTunnel port for connection to/from Neodome
-> IP address is your remotely visible IP
-> next free local port chosen by sTunnel and the OS
95.216.243.224:119 ... remote Neodome port for connection to/from sTunnel
-> IP address is remote Neodome IP
-> fixed setting of Neodome server (standard port)
HTH.
Bernd
Technical Details
Message-ID:
<1msf58ovv7ztj$.dlg@b.rose.tmpbox.news.arcor.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<und7gj$srbd$1@paganini.bofh.team> <und84c$ssl1$1@paganini.bofh.team> <302brvey53rn$.dlg@b.rose.tmpbox.news.arcor.de> <undopl$tmdk$1@paganini.bofh.team> <undpsb$tok8$1@paganini.bofh.team> <6ucf31mc6a5g$.dlg@b.rose.tmpbox.news.arcor.de> <ng3o9ylbddtr$.dlg@v.nguard.lh> <1kgyqw4a9o4nj.dlg@b.rose.tmpbox.news.arcor.de> <13wzj2991cacs$.dlg@v.nguard.lh> <1qbx3cveahlxr$.dlg@b.rose.tmpbox.news.arcor.de> <157xbin18xett$.dlg@v.nguard.lh> <ung18n$161em$1@paganini.bofh.team> <1juwka01ksoy.dlg@b.rose.tmpbox.news.arcor.de> <unik1g$1et6o$1@paganini.bofh.team> <1a1kt5a462qr6$.dlg@b.rose.tmpbox.news.arcor.de> <unlbea$1o1sv$1@paganini.bofh.team>Show Full Headers
Complete Article Headers
Message-ID: <1msf58ovv7ztj$.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?) Date: Wed, 10 Jan 2024 19:49:50 +0100 From: Bernd Rose <b.rose.tmpbox@arcor.de> References: <und7gj$srbd$1@paganini.bofh.team> <und84c$ssl1$1@paganini.bofh.team> <302brvey53rn$.dlg@b.rose.tmpbox.news.arcor.de> <undopl$tmdk$1@paganini.bofh.team> <undpsb$tok8$1@paganini.bofh.team> <6ucf31mc6a5g$.dlg@b.rose.tmpbox.news.arcor.de> <ng3o9ylbddtr$.dlg@v.nguard.lh> <1kgyqw4a9o4nj.dlg@b.rose.tmpbox.news.arcor.de> <13wzj2991cacs$.dlg@v.nguard.lh> <1qbx3cveahlxr$.dlg@b.rose.tmpbox.news.arcor.de> <157xbin18xett$.dlg@v.nguard.lh> <ung18n$161em$1@paganini.bofh.team> <1juwka01ksoy.dlg@b.rose.tmpbox.news.arcor.de> <unik1g$1et6o$1@paganini.bofh.team> <1a1kt5a462qr6$.dlg@b.rose.tmpbox.news.arcor.de> <unlbea$1o1sv$1@paganini.bofh.team> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: solani.org; User-Agent: 40tude_Dialog/2.0.15.41 (5b5ed9c8.204.269) Cancel-Lock: sha1:n62xbwnYFyn8Wjv2e/Od1Hol7ss= X-User-ID: eJwNwocRwDAIBLCVTHvDOJiy/wjJSSYg1FUY1PbnU9hLks71GKeVeNtZ+3r1e3fsDGlxhT5i6Ug4RqQ3JFLSMhA1vL6W9gHW0ho0