Article View: alt.free.newsservers
Article #161100Re: Does mixmin know the PORT that we use at home?
From: Clément
Date: Sun, 15 Nov 2015 00:12
Date: Sun, 15 Nov 2015 00:12
47 lines
3261 bytes
3261 bytes
Michael Baeuerle wrote: > First delete all lines from the list where "State" ist not established: > Next delete all connections to your own machine (127.0.0.1): > | Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name > | tcp 0 0 10.211.1.81:39848 144.76.182.167:563 ESTABLISHED - > | tcp 0 0 10.211.1.81:39850 144.76.182.167:563 ESTABLISHED - > | tcp 0 0 10.211.1.81:39852 144.76.182.167:563 ESTABLISHED - Thanks Michael (and Steve) for being so patient and understanding. Ah, I see. I do. Very nice. Thank you for explaining. So, to summarize, I now realized that, to find the port at which *Steve* sees me connected to his machine, we can... 0. Set the Usenet client number of simultaneous connections (e.g., to 3). 1. Ensure the nntp client is doing something (e.g., refreshing groups) 2. Run netstat -nptu -n = Show numerical addresses -p = Show the PID and name of the program to which each socket belongs. -t = Show tcp packets (the manpage virtually assumes you know this though) -u = Show udp packets (the manpage basically assumes you already know this) 3. Remove all but the ESTABLISHED connections 4. The result is: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 10.211.1.81:39848 144.76.182.167:563 ESTABLISHED - tcp 0 0 10.211.1.81:39850 144.76.182.167:563 ESTABLISHED - tcp 0 0 10.211.1.81:39852 144.76.182.167:563 ESTABLISHED - So, what remains, tells us the ports where "Foreign Address" gives us our local port to his server (563), and "Local Address" provides the port that Steve sees connected to his server (39848, 39850, & 39852). This is interesting because, locally, I had *thought* I was using "internal" port 119 (localhost:119) in stunnel, but, I guess stunnel doesn't actually go out on 119, but on "external ports" 39852, 39850, & 39852. What was foreign to me is that I can get "to" Steve's port 563, but, I *use* my "external" ports 39852, 39850, & 39852 to do that. I had always just blindly assumed I went out on "my internal" port 563 (or whatever port stunnel was set up to talk to, which, for me, was internal port 119). It's still a bit confusing, but I can *see* what you've shown me! Thanks.
Technical Details
Message-ID:
<n28ilq$eo3$1@speranza.aioe.org>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:
<n1p3cs$idt$1@speranza.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <n28ilq$eo3$1@speranza.aioe.org> Subject: Re: Does mixmin know the PORT that we use at home? Date: Sun, 15 Nov 2015 00:12:42 +0000 From: Clément <lcmello.listas@terra.com.br> References: <n1p3cs$idt$1@speranza.aioe.org> 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 Newsgroups: alt.free.newsservers Organization: Aioe.org NNTP Server Lines: 48 NNTP-Posting-Host: dGp4wC7/SKZAlAKrJty8mg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2