Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

24 Apr, 2024: Testing a new version of the Overboard here. If you have an issue post about it to rocksolid.nodes.help (I know. Everyone on Usenet has issues)


computers / comp.sys.raspberry-pi / Re: Port forwarding from RPi to Windows machine

SubjectAuthor
* Port forwarding from RPi to Windows machinekyonshi
+* Re: Port forwarding from RPi to Windows machineTheo
|`- Re: Port forwarding from RPi to Windows machinekyonshi
`* Re: Port forwarding from RPi to Windows machine68g.1499
 `* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
  `* Re: Port forwarding from RPi to Windows machine68g.1499
   +* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   |+* Re: Port forwarding from RPi to Windows machinemm0fmf
   ||`* Re: Port forwarding from RPi to Windows machine68g.1502
   || `* Re: Port forwarding from RPi to Windows machineBjörn Lundin
   ||  `* Re: Port forwarding from RPi to Windows machinemm0fmf
   ||   `* Re: Port forwarding from RPi to Windows machine68g.1503
   ||    +* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    |`* Re: Port forwarding from RPi to Windows machineAndy Burns
   ||    | `- Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    +* Re: Port forwarding from RPi to Windows machineBjörn Lundin
   ||    |`* Re: Port forwarding from RPi to Windows machineThe Natural Philosopher
   ||    | +- Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    | `* Re: Port forwarding from RPi to Windows machineBjörn Lundin
   ||    |  `* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    |   `* Re: Port forwarding from RPi to Windows machineBjörn Lundin
   ||    |    `* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    |     +* Re: Port forwarding from RPi to Windows machineThe Natural Philosopher
   ||    |     |`* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    |     | `* Re: Port forwarding from RPi to Windows machineThe Natural Philosopher
   ||    |     |  +* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    |     |  |+* Re: Port forwarding from RPi to Windows machineThe Natural Philosopher
   ||    |     |  ||`* Re: Port forwarding from RPi to Windows machinedruck
   ||    |     |  || +* Re: Port forwarding from RPi to Windows machineTheo
   ||    |     |  || |`* Re: Port forwarding from RPi to Windows machineThe Natural Philosopher
   ||    |     |  || | `- Re: Port forwarding from RPi to Windows machineTheo
   ||    |     |  || `* Re: Port forwarding from RPi to Windows machineThe Natural Philosopher
   ||    |     |  ||  `- Re: Port forwarding from RPi to Windows machineScott Alfter
   ||    |     |  |`* Re: Port forwarding from RPi to Windows machinemm0fmf
   ||    |     |  | +* Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    |     |  | |`- Re: Port forwarding from RPi to Windows machinemm0fmf
   ||    |     |  | `- Re: Port forwarding from RPi to Windows machineAndy Burns
   ||    |     |  `* Re: Port forwarding from RPi to Windows machineAndrew Smallshaw
   ||    |     |   `* Re: Port forwarding from RPi to Windows machineTheo
   ||    |     |    `- Re: Port forwarding from RPi to Windows machinedruck
   ||    |     `* Re: Port forwarding from RPi to Windows machineBjörn Lundin
   ||    |      `- Re: Port forwarding from RPi to Windows machineAhem A Rivet's Shot
   ||    `- Re: Port forwarding from RPi to Windows machineLawrence D'Oliveiro
   |`- Re: Port forwarding from RPi to Windows machineDavid Higton
   `- Re: Port forwarding from RPi to Windows machineBjörn Lundin

Pages:12
Port forwarding from RPi to Windows machine

<upr6iu$cuso$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9188&group=comp.sys.raspberry-pi#9188

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: gmke...@gmail.com (kyonshi)
Newsgroups: comp.sys.raspberry-pi
Subject: Port forwarding from RPi to Windows machine
Date: Mon, 5 Feb 2024 18:40:46 +0100
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <upr6iu$cuso$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 17:40:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a8d90cefb0dbd87ccba2e97dae9550d5";
logging-data="424856"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cNRcSdw3UFOVAnYQrnNaO"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/J7H8m+ZzHv/dUEHOIS3OdemTxY=
Content-Language: en-US
 by: kyonshi - Mon, 5 Feb 2024 17:40 UTC

I am behind a NAT, but I have a single RPi 3 running on a public IP. Now
I found that to use a specific application properly on my Windows laptop
I would need to have it on a public IP occasionally, so some clients
could connect to it.
Is there a way to make some sort of port forwarding from the Raspberry
(which has both a publich eth0 IP and a private wlan0 IP) to my Windows
machine via an app on the Raspberry? I tried with miniupnpc, but it
demands a router that can be set to forward ports, and my ISP doesn't
like that.

Re: Port forwarding from RPi to Windows machine

<+Nn*UJeCz@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9189&group=comp.sys.raspberry-pi#9189

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: 05 Feb 2024 18:06:50 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <+Nn*UJeCz@news.chiark.greenend.org.uk>
References: <upr6iu$cuso$1@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="25622"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Mon, 5 Feb 2024 18:06 UTC

kyonshi <gmkeros@gmail.com> wrote:
> I am behind a NAT, but I have a single RPi 3 running on a public IP. Now
> I found that to use a specific application properly on my Windows laptop
> I would need to have it on a public IP occasionally, so some clients
> could connect to it.
> Is there a way to make some sort of port forwarding from the Raspberry
> (which has both a publich eth0 IP and a private wlan0 IP) to my Windows
> machine via an app on the Raspberry? I tried with miniupnpc, but it
> demands a router that can be set to forward ports, and my ISP doesn't
> like that.

If you're running SSH on the Pi on a public port you can make a port
forward. This tunnels port 1234 to port 4567 on the Windows machine:

ssh -L 1234:windows-pc.lan:4567 pi@raspberrypi.my.house

with windows-pc.lan and raspberrypi.my.house being the DNS names or IP
addresses of the machines concerned. Then you tell whatever app you're
using to connect to localhost port 1234. eg if the Windows box is running a
web app you're tell your browser to go to http://localhost:1234/

To do this you need to run SSH first, and the connection will go away once
the SSH session is closed.

You can also tunnel a SOCKS proxy:

ssh -D 3456 pi@raspberrypi.my.house

and then configure Windows / browser / etc to use the SOCKS proxy on
localhost port 3456. This will allow connection to all machines on your
network as if you were there.

It is also possible to have the Pi permanently port forward, but for that
you expose the Windows machine to every attacker on the internet. SSH is
designed for that and is probably more secure.

Another option is to run a VPN server on the Pi and connect to it via a VPN
client, which allows you into your home network. Wireguard is a simple and
efficient VPN, or OpenVPN has some ways to get around ISP blocking of VPNs.

Theo

Re: Port forwarding from RPi to Windows machine

<uprb8a$dpbv$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9193&group=comp.sys.raspberry-pi#9193

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: gmke...@gmail.com (kyonshi)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Mon, 5 Feb 2024 20:00:26 +0100
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <uprb8a$dpbv$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<+Nn*UJeCz@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 19:00:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a8d90cefb0dbd87ccba2e97dae9550d5";
logging-data="451967"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RGzzL5u45GCmWkJQNesK/"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:jT5FcWUK/DNwbSuNicdObrz6tYw=
In-Reply-To: <+Nn*UJeCz@news.chiark.greenend.org.uk>
Content-Language: en-US
 by: kyonshi - Mon, 5 Feb 2024 19:00 UTC

On 2/5/2024 7:06 PM, Theo wrote:
> kyonshi <gmkeros@gmail.com> wrote:
>> I am behind a NAT, but I have a single RPi 3 running on a public IP. Now
>> I found that to use a specific application properly on my Windows laptop
>> I would need to have it on a public IP occasionally, so some clients
>> could connect to it.
>> Is there a way to make some sort of port forwarding from the Raspberry
>> (which has both a publich eth0 IP and a private wlan0 IP) to my Windows
>> machine via an app on the Raspberry? I tried with miniupnpc, but it
>> demands a router that can be set to forward ports, and my ISP doesn't
>> like that.
>
> If you're running SSH on the Pi on a public port you can make a port
> forward. This tunnels port 1234 to port 4567 on the Windows machine:
>
> ssh -L 1234:windows-pc.lan:4567 pi@raspberrypi.my.house
>
> with windows-pc.lan and raspberrypi.my.house being the DNS names or IP
> addresses of the machines concerned. Then you tell whatever app you're
> using to connect to localhost port 1234. eg if the Windows box is running a
> web app you're tell your browser to go to http://localhost:1234/
>
> To do this you need to run SSH first, and the connection will go away once
> the SSH session is closed.
>
> You can also tunnel a SOCKS proxy:
>
> ssh -D 3456 pi@raspberrypi.my.house
>
> and then configure Windows / browser / etc to use the SOCKS proxy on
> localhost port 3456. This will allow connection to all machines on your
> network as if you were there.
>
>
> It is also possible to have the Pi permanently port forward, but for that
> you expose the Windows machine to every attacker on the internet. SSH is
> designed for that and is probably more secure.
>
> Another option is to run a VPN server on the Pi and connect to it via a VPN
> client, which allows you into your home network. Wireguard is a simple and
> efficient VPN, or OpenVPN has some ways to get around ISP blocking of VPNs.
>
> Theo

Cool, thanks, I will try that out and see if it works.

Re: Port forwarding from RPi to Windows machine

<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9199&group=comp.sys.raspberry-pi#9199

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 06 Feb 2024 05:51:22 +0000
Subject: Re: Port forwarding from RPi to Windows machine
Newsgroups: comp.sys.raspberry-pi
References: <upr6iu$cuso$1@dont-email.me>
From: 68g.1...@etr6.net (68g.1499)
Organization: hexfet fermion
Date: Tue, 6 Feb 2024 00:51:21 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <upr6iu$cuso$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
Lines: 39
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-1D2JquXRBXAiNzGqARAvWvAbBT48oDfTZSMQhYU7nqfjAMpLCAjXb1supJ1e/fzM38VFdRLUTI24RvR!FAAweCk8Jo/9AsdFKo+OawdlrGfK0UXB7UtARzQq+doN+xkghkzhYSSWcbePF1Wo5AROV6KeG7fy!AUHu9MhYYRVIVTUSLuHb
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-Postfilter: 1.3.40
X-Received-Bytes: 2947
 by: 68g.1499 - Tue, 6 Feb 2024 05:51 UTC

On 2/5/24 12:40 PM, kyonshi wrote:
> I am behind a NAT, but I have a single RPi 3 running on a public IP. Now
> I found that to use a specific application properly on my Windows laptop
> I would need to have it on a public IP occasionally, so some clients
> could connect to it.
> Is there a way to make some sort of port forwarding from the Raspberry
> (which has both a publich eth0 IP and a private wlan0 IP) to my Windows
> machine via an app on the Raspberry? I tried with miniupnpc, but it
> demands a router that can be set to forward ports, and my ISP doesn't
> like that.

IF you can get it, spend a few extra $$$ on a static IP.
Makes things a LOT easier.

To deal with dynamic IPs ... first off there are $$$
services. Basically they monitor your real IP, then
update DNS servers to match per change.

However I don't like paying extra $$$, or giving
commercial entities too much access/info.

So, I wrote a little Python sockets daemon that
polls for a coded packet from the dest - plus
one for the dest that detects an IP change and
sends it on via the tiny packet over a selected
port. The client polls this port, and uses the
packet to update the current IP address. A
'personal' version of DDNS utils. Not 'public'
however, no providers DNS nums are changed. COULD
be in theory though ...

If I can find it in The Mess I could post the
daemon/poller code. Not very flexible, but
it worked ok for years. Thing is, the desired
target for the IP daemon WAS a static IP. For
broader use you'd have to have the same or
post the info elsewhere (a provider acct
that offers ssh access to a file maybe.

Re: Port forwarding from RPi to Windows machine

<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9205&group=comp.sys.raspberry-pi#9205

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Tue, 6 Feb 2024 08:38:02 +0000
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="c03f8423ea906f6675be9affa2ebb8b1";
logging-data="867915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kNF7MFcB52zExlbmZY/9pFChWWkabvic="
Cancel-Lock: sha1:2S5BkitjEDlUgGsvDXvXN4rbu20=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
X-Clacks-Overhead: "GNU Terry Pratchett"
 by: Ahem A Rivet's - Tue, 6 Feb 2024 08:38 UTC

On Tue, 6 Feb 2024 00:51:21 -0500
"68g.1499" <68g.1499@etr6.net> wrote:

> To deal with dynamic IPs ... first off there are $$$
> services. Basically they monitor your real IP, then
> update DNS servers to match per change.

There are free DNS services that support dynamic DNS (eg he.net),
and most domain registrars provide DNS with the domain including dynamic
entries.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
For forms of government let fools contest
Whate're is best administered is best - Alexander Pope

Re: Port forwarding from RPi to Windows machine

<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9221&group=comp.sys.raspberry-pi#9221

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.swapon.de!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 07 Feb 2024 06:39:07 +0000
Subject: Re: Port forwarding from RPi to Windows machine
Newsgroups: comp.sys.raspberry-pi
References: <upr6iu$cuso$1@dont-email.me> <HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com> <20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
From: 68g.1...@etr6.net (68g.1499)
Organization: hexfet fermion
Date: Wed, 7 Feb 2024 01:39:07 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
Lines: 17
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-7Pm5CeJZgTWzbn5hMaOnROhvqb10Z8qsci/5AJ5tag7c8MoiinmFBTwOWCo9/1YeOtME27K5mz0YPbZ!dvVz6lJcDhwSnVGKQpvrMclxRUU/pr7OsokPDH1ylTEMGWlUlK62ZUVTf2cdVXaCAwLdTXbcT7RH!HXIdsW3E7k77KJKuMceX
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-Postfilter: 1.3.40
 by: 68g.1499 - Wed, 7 Feb 2024 06:39 UTC

On 2/6/24 3:38 AM, Ahem A Rivet's Shot wrote:
> On Tue, 6 Feb 2024 00:51:21 -0500
> "68g.1499" <68g.1499@etr6.net> wrote:
>
>> To deal with dynamic IPs ... first off there are $$$
>> services. Basically they monitor your real IP, then
>> update DNS servers to match per change.
>
> There are free DNS services that support dynamic DNS (eg he.net),
> and most domain registrars provide DNS with the domain including dynamic
> entries.

All the "big" services quit offering free versions
a long time ago. DynDNS was good. But now ... $$$

Obscure services, um ... don't want them in my boxes
and it was funner to kinda write my own.

Re: Port forwarding from RPi to Windows machine

<20240207071904.4821f2362f045ff803d62b57@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9223&group=comp.sys.raspberry-pi#9223

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Wed, 7 Feb 2024 07:19:04 +0000
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <20240207071904.4821f2362f045ff803d62b57@eircom.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="4194e8dd7a2f2ada5de36ae715357f22";
logging-data="1415403"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19u5zQrefUdd3BppqygJvaHSYVQcf9lRrQ="
Cancel-Lock: sha1:6pQYgYkmBorzfHndoLU3eU+XOGY=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Wed, 7 Feb 2024 07:19 UTC

On Wed, 7 Feb 2024 01:39:07 -0500
"68g.1499" <68g.1499@etr6.net> wrote:

> On 2/6/24 3:38 AM, Ahem A Rivet's Shot wrote:
> > On Tue, 6 Feb 2024 00:51:21 -0500
> > "68g.1499" <68g.1499@etr6.net> wrote:
> >
> >> To deal with dynamic IPs ... first off there are $$$
> >> services. Basically they monitor your real IP, then
> >> update DNS servers to match per change.
> >
> > There are free DNS services that support dynamic DNS (eg
> > he.net), and most domain registrars provide DNS with the domain
> > including dynamic entries.
>
> All the "big" services quit offering free versions
> a long time ago. DynDNS was good. But now ... $$$

no-ip is still around and still free, joined these days by dynu,
afraid.org, duckdns and clouddns all of which provide much the same service
as dyndns used to. If you have a domain registered then there's the
registrar and he.net.

> Obscure services, um ... don't want them in my boxes

The only thing that goes in your box is the daemon that registers
changes of IP address, many of them publish the details so you can write
your own.

> and it was funner to kinda write my own.

Fair enough that's always a good reason.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
For forms of government let fools contest
Whate're is best administered is best - Alexander Pope

Re: Port forwarding from RPi to Windows machine

<upvdn0$1benr$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9225&group=comp.sys.raspberry-pi#9225

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bnl...@nowhere.com (Björn Lundin)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Wed, 7 Feb 2024 09:06:56 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <upvdn0$1benr$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Feb 2024 08:06:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f27ef844e3a2b0e456a4b572fce3948d";
logging-data="1424123"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ASzMlZm6MCVY57/5TmaHT"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CefhZNKOfvhfQg3J7SNc19RSsYE=
In-Reply-To: <iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
Content-Language: en-US
 by: Björn Lundin - Wed, 7 Feb 2024 08:06 UTC

On 2024-02-07 07:39, 68g.1499 wrote:

>   Obscure services, um ... don't want them in my boxes
>   and it was funner to kinda write my own.

With duckdns you do that yourself (or they provide a simple script)

My crontab contains a script containing this (obfuscated)
Not very obscure

#!/bin/bash
domain=some.name.duckdns.org
token=xxxx-x-x-x-x-x-x-xxx
url="https://www.duckdns.org/update?domains=${domain}&token=${token}&ip="
echo url=${url} | curl -k -o /var/log/duck.log -K - 2> /dev/null
echo "$(date)" >/tmp/duckdns.log

--
/Björn

Re: Port forwarding from RPi to Windows machine

<uq0qng$1jaoq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9252&group=comp.sys.raspberry-pi#9252

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!nyheter.lysator.liu.se!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: non...@invalid.com (mm0fmf)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Wed, 7 Feb 2024 20:55:11 +0000
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <uq0qng$1jaoq$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 7 Feb 2024 20:55:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ce5c11ee284e00cb9594e37cd9c29356";
logging-data="1682202"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XZOISFS9Ajp+mUZb5FWL+"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.12.1
Cancel-Lock: sha1:MsjDRLISrdZ/0DD52nSfitsFwAc=
In-Reply-To: <20240207071904.4821f2362f045ff803d62b57@eircom.net>
Content-Language: en-GB
 by: mm0fmf - Wed, 7 Feb 2024 20:55 UTC

On 07/02/2024 07:19, Ahem A Rivet's Shot wrote:
> On Wed, 7 Feb 2024 01:39:07 -0500
> "68g.1499" <68g.1499@etr6.net> wrote:
>
>> On 2/6/24 3:38 AM, Ahem A Rivet's Shot wrote:
>>> On Tue, 6 Feb 2024 00:51:21 -0500
>>> "68g.1499" <68g.1499@etr6.net> wrote:
>>>
>>>> To deal with dynamic IPs ... first off there are $$$
>>>> services. Basically they monitor your real IP, then
>>>> update DNS servers to match per change.
>>>
>>> There are free DNS services that support dynamic DNS (eg
>>> he.net), and most domain registrars provide DNS with the domain
>>> including dynamic entries.
>>
>> All the "big" services quit offering free versions
>> a long time ago. DynDNS was good. But now ... $$$
>
> no-ip is still around and still free, joined these days by dynu,
> afraid.org, duckdns and clouddns all of which provide much the same service
> as dyndns used to. If you have a domain registered then there's the
> registrar and he.net.
>
>> Obscure services, um ... don't want them in my boxes
>
> The only thing that goes in your box is the daemon that registers
> changes of IP address, many of them publish the details so you can write
> your own.
>
>> and it was funner to kinda write my own.
>
> Fair enough that's always a good reason.
>

afraid.org works very well for $0

I have a script called by cron every 15mins

#! /bin/bash

wget -O - http://freedns.afraid.org/dynamic/update.php?<some_magic_UID>
>> /tmp/afraid_dns.log 2>& 1

Re: Port forwarding from RPi to Windows machine

<bd6b242f5b.DaveMeUK@BeagleBoard-xM>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9254&group=comp.sys.raspberry-pi#9254

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@davehigton.me.uk (David Higton)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Wed, 07 Feb 2024 21:16:39 GMT
Organization: Home
Lines: 25
Message-ID: <bd6b242f5b.DaveMeUK@BeagleBoard-xM>
References: <upr6iu$cuso$1@dont-email.me> <HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com> <20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com> <20240207071904.4821f2362f045ff803d62b57@eircom.net>
Injection-Info: dont-email.me; posting-host="8638d1ceda501f51ad6764796717c7b4";
logging-data="1689341"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DhUlLrQ3L6bLzhcG+oUCIqfgmwitSHx4="
User-Agent: Messenger-Pro/8.03 (MsgServe/8.01) (RISC-OS/5.29) NewsHound/v1.54
Cancel-Lock: sha1:qmn1a+uPxCpk1dr3/haBbe36kkk=
 by: David Higton - Wed, 7 Feb 2024 21:16 UTC

In message <20240207071904.4821f2362f045ff803d62b57@eircom.net>
Ahem A Rivet's Shot <steveo@eircom.net> wrote:

> On Wed, 7 Feb 2024 01:39:07 -0500 "68g.1499" <68g.1499@etr6.net> wrote:
>
> > On 2/6/24 3:38 AM, Ahem A Rivet's Shot wrote:
> > > On Tue, 6 Feb 2024 00:51:21 -0500 "68g.1499" <68g.1499@etr6.net> wrote:
> > >
> > > > To deal with dynamic IPs ... first off there are $$$
> > > > services. Basically they monitor your real IP, then
> > > > update DNS servers to match per change.
> > >
> > > There are free DNS services that support dynamic DNS (eg he.net), and
> > > most domain registrars provide DNS with the domain including dynamic
> > > entries.
> >
> > All the "big" services quit offering free versions
> > a long time ago. DynDNS was good. But now ... $$$
>
> no-ip is still around and still free

.... and I use it successfully. Also dynv6.com for IPv6 DDNS (I have two
entries).

David

Re: Port forwarding from RPi to Windows machine

<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9283&group=comp.sys.raspberry-pi#9283

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 09 Feb 2024 09:14:38 +0000
Subject: Re: Port forwarding from RPi to Windows machine
Newsgroups: comp.sys.raspberry-pi
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
From: 68g.1...@exr3.net (68g.1502)
Organization: orb rayon
Date: Fri, 9 Feb 2024 04:14:38 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <uq0qng$1jaoq$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
Lines: 59
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-nGyZ/QYOJC6+4f/aLkTKgtio5uydjpZPuBkUrjnvWRCTnbvr5ujSV2lzgHvZVWLyHXtWm2W9xlBgu/I!7CJqX715U12qv5kvD269rHmnzMDbA/q3g/MSOR0aSjGcqgRyOfLhjivn9PWIVC8yNygal7ALskzi!7lUkC9rhi+RwzNe6uHG3
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-Postfilter: 1.3.40
X-Received-Bytes: 3637
 by: 68g.1502 - Fri, 9 Feb 2024 09:14 UTC

On 2/7/24 3:55 PM, mm0fmf wrote:
> On 07/02/2024 07:19, Ahem A Rivet's Shot wrote:
>> On Wed, 7 Feb 2024 01:39:07 -0500
>> "68g.1499" <68g.1499@etr6.net> wrote:
>>
>>> On 2/6/24 3:38 AM, Ahem A Rivet's Shot wrote:
>>>> On Tue, 6 Feb 2024 00:51:21 -0500
>>>> "68g.1499" <68g.1499@etr6.net> wrote:
>>>>
>>>>>      To deal with dynamic IPs ... first off there are $$$
>>>>>      services. Basically they monitor your real IP, then
>>>>>      update DNS servers to match per change.
>>>>
>>>>     There are free DNS services that support dynamic DNS (eg
>>>> he.net), and most domain registrars provide DNS with the domain
>>>> including dynamic entries.
>>>
>>>     All the "big" services quit offering free versions
>>>     a long time ago. DynDNS was good. But now ... $$$
>>
>>     no-ip is still around and still free, joined these days by dynu,
>> afraid.org, duckdns and clouddns all of which provide much the same
>> service
>> as dyndns used to. If you have a domain registered then there's the
>> registrar and he.net.
>>
>>>     Obscure services, um ... don't want them in my boxes
>>
>>     The only thing that goes in your box is the daemon that registers
>> changes of IP address, many of them publish the details so you can write
>> your own.
>>
>>>     and it was funner to kinda write my own.
>>
>>     Fair enough that's always a good reason.
>>
>
> afraid.org works very well for $0
>
> I have a script called by cron every 15mins
>
> #! /bin/bash
>
> wget -O - http://freedns.afraid.org/dynamic/update.php?<some_magic_UID>
> >> /tmp/afraid_dns.log 2>& 1
>

DO gloss over the source code, just in case :-)

I'm inclined to NOT trust 3rd-party daemons
these days. If anyone is offering $0 services,
well, HOW do they stay in biz ???

BTW, the code needed for a dynamic DNS daemon
should be quite SHORT. I know this because I've
writ my own more than once. If your "free" service
is hundreds or thousands of lines then BEWARE.

Just sayin'

Re: Port forwarding from RPi to Windows machine

<uq4rb7$2ig27$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9285&group=comp.sys.raspberry-pi#9285

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bnl...@nowhere.com (Björn Lundin)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Fri, 9 Feb 2024 10:30:15 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <uq4rb7$2ig27$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 9 Feb 2024 09:30:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cfad5875c76c35bd5cbf503aa541ddad";
logging-data="2703431"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18aT2HGyJKkzGPpINErc3fH"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ihckwV7f6CClp9WbxdXBydvAja0=
Content-Language: en-US
In-Reply-To: <cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
 by: Björn Lundin - Fri, 9 Feb 2024 09:30 UTC

On 2024-02-09 10:14, 68g.1502 wrote:

>> I have a script called by cron every 15mins
>>
>> #! /bin/bash
>>
>> wget -O -
>> http://freedns.afraid.org/dynamic/update.php?<some_magic_UID>  >>
>> /tmp/afraid_dns.log 2>& 1
>>
>
>   DO gloss over the source code, just in case  :-)
>

Gloss over wget's source code?
Because that is the only one mentioned here. no daemons, just plain
wget. And I got an example with curl. Installed by the OS

--
/Björn

Re: Port forwarding from RPi to Windows machine

<uq4t44$2ipt8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9287&group=comp.sys.raspberry-pi#9287

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: non...@invalid.com (mm0fmf)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Fri, 9 Feb 2024 10:00:33 +0000
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <uq4t44$2ipt8$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 9 Feb 2024 10:00:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f05da65cf762cc1625f8d4309ff68ff1";
logging-data="2713512"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HhO2ULD2ABfQ2ys+5wkPT"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.12.1
Cancel-Lock: sha1:EbyJVV9o7SRD7KoOA7fpJ1J1FBA=
In-Reply-To: <uq4rb7$2ig27$1@dont-email.me>
Content-Language: en-GB
 by: mm0fmf - Fri, 9 Feb 2024 10:00 UTC

On 09/02/2024 09:30, Björn Lundin wrote:
> On 2024-02-09 10:14, 68g.1502 wrote:
>
>>> I have a script called by cron every 15mins
>>>
>>> #! /bin/bash
>>>
>>> wget -O -
>>> http://freedns.afraid.org/dynamic/update.php?<some_magic_UID>  >>
>>> /tmp/afraid_dns.log 2>& 1
>>>
>>
>>    DO gloss over the source code, just in case  :-)
>>
>
> Gloss over wget's source code?
> Because that is the only one mentioned here. no daemons, just plain
> wget. And I got an example with curl. Installed by the OS
>
>
>
>

I blocked the nym changing troll sometime back. At first I thought it
was someone's AI experiment. But it's too full of shit and wrong so much
of the time that even AI isn't that dumb.

Re: Port forwarding from RPi to Windows machine

<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9295&group=comp.sys.raspberry-pi#9295

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 10 Feb 2024 01:41:11 +0000
Subject: Re: Port forwarding from RPi to Windows machine
Newsgroups: comp.sys.raspberry-pi
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me> <uq4t44$2ipt8$1@dont-email.me>
From: 68g.1...@exr3.net (68g.1503)
Organization: glob ferrous
Date: Fri, 9 Feb 2024 20:41:11 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <uq4t44$2ipt8$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
Lines: 38
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-tQ10woWqmcaLcBEW0yUET4ckd15tKep/ZeDG8ocEuLzN15bJy0D9cUhuXWcCDgqIUzVVf5mea6GDvsj!zrJDe7nxZufYOSS7Z6IFQXog0Az4dWS5clBYRVtSAlPAowtMphSCrHWmCibKP2JC8S+zWedV8U8K!vJkG2M5FJ/QMwee8t+NH
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-Postfilter: 1.3.40
 by: 68g.1503 - Sat, 10 Feb 2024 01:41 UTC

On 2/9/24 5:00 AM, mm0fmf wrote:
> On 09/02/2024 09:30, Björn Lundin wrote:
>> On 2024-02-09 10:14, 68g.1502 wrote:
>>
>>>> I have a script called by cron every 15mins
>>>>
>>>> #! /bin/bash
>>>>
>>>> wget -O -
>>>> http://freedns.afraid.org/dynamic/update.php?<some_magic_UID>  >>
>>>> /tmp/afraid_dns.log 2>& 1
>>>>
>>>
>>>    DO gloss over the source code, just in case  :-)
>>>
>>
>> Gloss over wget's source code?
>> Because that is the only one mentioned here. no daemons, just plain
>> wget. And I got an example with curl. Installed by the OS
>>
>>
>>
>>
>
> I blocked the nym changing troll sometime back. At first I thought it
> was someone's AI experiment. But it's too full of shit and wrong so much
> of the time that even AI isn't that dumb.

Feelings of inadequacy dude ? :-)

Wget and the daemons for dynDNS and friends are very
different things BTW.

And hmmmm ... when IS the last time anyone actually
DID look-over wget's source code ??? The best place
to hide evil is inside something deemed "old and
reliable" .....

Re: Port forwarding from RPi to Windows machine

<20240210071427.8db358d34ed2a05f4f37d878@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9296&group=comp.sys.raspberry-pi#9296

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.furie.org.uk!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 07:14:27 +0000
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <20240210071427.8db358d34ed2a05f4f37d878@eircom.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me>
<uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="740de7c28a0c4778c5696ed1aa9978e3";
logging-data="3242578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IIE72XkW0+8Rb1M1swDcXumzT7Aij1kE="
Cancel-Lock: sha1:nLb34wHtDjIDaGxene7pyyIcF70=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Sat, 10 Feb 2024 07:14 UTC

On Fri, 9 Feb 2024 20:41:11 -0500
"68g.1503" <68g.1504@exr3.net> wrote:

> Wget and the daemons for dynDNS and friends are very
> different things BTW.

No they are not - every dynamic dns service I know of updates in
essentially the same way, you make an http(s) request with the domain, an
authentication key and optionally the IP address (otherwise it uses the
source). Usually curl or wget is used to make the request, it is good
practice to minimise the requests by checking for IP changes but not
necessary. My ddns daemon looks like this:

#!/bin/sh
old_external=''
while true
do
external_ip=`fetch -q -o - http://ifconfig.me/ip`
if [ "$external_ip" -a "$old_external" != "$external_ip" ]
then
curl -s -4 "https://<HOST>:<KEY>@dyn.dns.he.net/nic/update?hostname=<HOST>"
fi
sleep 30
done

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
For forms of government let fools contest
Whate're is best administered is best - Alexander Pope

Re: Port forwarding from RPi to Windows machine

<l2onkaFgv1sU3@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9297&group=comp.sys.raspberry-pi#9297

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 07:40:58 +0000
Lines: 10
Message-ID: <l2onkaFgv1sU3@mid.individual.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me> <uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<20240210071427.8db358d34ed2a05f4f37d878@eircom.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net vHrI1bWI25SDxHhNQ9sqvAsbrHSeLLCwu8zjw3s64MGzJstFik
Cancel-Lock: sha1:9x6qXWg/pckb2I9Ud7w8lNWE1Uo= sha256:HAxY1AwIQ95DVjGf1EL43+IJ5VueBAH0gh574e7M8dw=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <20240210071427.8db358d34ed2a05f4f37d878@eircom.net>
 by: Andy Burns - Sat, 10 Feb 2024 07:40 UTC

Ahem A Rivet's Shot wrote:

> every dynamic dns service I know of updates in essentially the same
> way, you make an http(s) request with the domain, an authentication
> key and optionally the IP address

And then there are DNS providers which accept RFC1996 compliant NOTIFY
transactions, rather than rolling their own ...

Re: Port forwarding from RPi to Windows machine

<20240210081457.eb6fad50b199bcf6c9b55b55@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9298&group=comp.sys.raspberry-pi#9298

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 08:14:57 +0000
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <20240210081457.eb6fad50b199bcf6c9b55b55@eircom.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me>
<uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<20240210071427.8db358d34ed2a05f4f37d878@eircom.net>
<l2onkaFgv1sU3@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="740de7c28a0c4778c5696ed1aa9978e3";
logging-data="3259889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XAZLJ7orTuI1pDVPI3GM+Q1NLrXwbDkE="
Cancel-Lock: sha1:swaFlEjF+V8i1pNIld70cZ0kSG8=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
X-Clacks-Overhead: "GNU Terry Pratchett"
 by: Ahem A Rivet's - Sat, 10 Feb 2024 08:14 UTC

On Sat, 10 Feb 2024 07:40:58 +0000
Andy Burns <usenet@andyburns.uk> wrote:

>
> Ahem A Rivet's Shot wrote:
>
> > every dynamic dns service I know of updates in essentially the same
> > way, you make an http(s) request with the domain, an authentication
> > key and optionally the IP address
>
> And then there are DNS providers which accept RFC1996 compliant NOTIFY
> transactions, rather than rolling their own ...

That's for relaying updates from master to slave DNS servers not
for announcing a change of dynamic IP to the master.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
For forms of government let fools contest
Whate're is best administered is best - Alexander Pope

Re: Port forwarding from RPi to Windows machine

<uq7k84$34mj3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9299&group=comp.sys.raspberry-pi#9299

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bnl...@nowhere.com (Björn Lundin)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 11:47:32 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <uq7k84$34mj3$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me> <uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 10:47:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f337cf351a285cba2c91b973faeb1610";
logging-data="3299939"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RC/uo8PCCQ6TS7QRn60x8"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4ocSWchhEXZN5WnVCGfZmUHroc8=
Content-Language: en-US
In-Reply-To: <vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
 by: Björn Lundin - Sat, 10 Feb 2024 10:47 UTC

On 2024-02-10 02:41, 68g.1503 wrote:
>   And hmmmm ... when IS the last time anyone actually
>   DID look-over wget's source code ??? The best place
>   to hide evil is inside something deemed "old and
>   reliable" .....

Are you saying you are looking into EVERY package's source code you
download via apt BEFORE you install it?
Or are you saying that one should do it?

Sounds bit hysterical to me.

You do know that both wget and curl are provided by debian based (and
most other ) distribution via their repository tool ?

If you don't trust your distribution, you should switch, or roll your
own distribution.
But then - I guess you have lots of work ahead of you verifying/looking
over source code ...

--
/Björn

Re: Port forwarding from RPi to Windows machine

<uq7ko5$34rvg$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9300&group=comp.sys.raspberry-pi#9300

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 10:56:05 +0000
Organization: A little, after lunch
Lines: 31
Message-ID: <uq7ko5$34rvg$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me> <uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<uq7k84$34mj3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 10:56:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4256377f4211a77663ef2b40608f6f04";
logging-data="3305456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fQf4++3j5MJXbN2xfZHKaB9SH821ZWk4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:HGhifVbVYcFLRoS0x2L10s2M6kI=
Content-Language: en-GB
In-Reply-To: <uq7k84$34mj3$1@dont-email.me>
 by: The Natural Philosop - Sat, 10 Feb 2024 10:56 UTC

On 10/02/2024 10:47, Björn Lundin wrote:
> On 2024-02-10 02:41, 68g.1503 wrote:
>>    And hmmmm ... when IS the last time anyone actually
>>    DID look-over wget's source code ??? The best place
>>    to hide evil is inside something deemed "old and
>>    reliable" .....
>
> Are you saying you are looking into EVERY package's source code you
> download via apt BEFORE you install it?
> Or are you saying that one should do it?
>
> Sounds bit hysterical to me.
>
> You do know that both wget and curl are provided by debian based (and
> most other ) distribution via their repository tool ?
>
> If you don't trust your distribution, you should switch, or roll your
> own distribution.
> But then - I guess you have lots of work ahead of you verifying/looking
> over source code ...
>
Not hard to build a simple wget clone using libcurl

--
“It is hard to imagine a more stupid decision or more dangerous way of
making decisions than by putting those decisions in the hands of people
who pay no price for being wrong.”

Thomas Sowell

Re: Port forwarding from RPi to Windows machine

<20240210134406.884c836f75d37229a54aeebe@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9301&group=comp.sys.raspberry-pi#9301

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 13:44:06 +0000
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <20240210134406.884c836f75d37229a54aeebe@eircom.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me>
<uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<uq7k84$34mj3$1@dont-email.me>
<uq7ko5$34rvg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="740de7c28a0c4778c5696ed1aa9978e3";
logging-data="3366576"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eG1DT0dIqZAV5ZNLy1gaEFvyfPlj3IJs="
Cancel-Lock: sha1:Sjf5uIlxgQaiLpFUMgMIL/+WB9M=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Sat, 10 Feb 2024 13:44 UTC

On Sat, 10 Feb 2024 10:56:05 +0000
The Natural Philosopher <tnp@invalid.invalid> wrote:

> Not hard to build a simple wget clone using libcurl

Well yes libcurl does all the work.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
For forms of government let fools contest
Whate're is best administered is best - Alexander Pope

Re: Port forwarding from RPi to Windows machine

<uq8fog$39da7$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9302&group=comp.sys.raspberry-pi#9302

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bnl...@nowhere.com (Björn Lundin)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 19:37:04 +0100
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <uq8fog$39da7$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me> <uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<uq7k84$34mj3$1@dont-email.me> <uq7ko5$34rvg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 18:37:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f337cf351a285cba2c91b973faeb1610";
logging-data="3454279"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lgKu7sQ3b16ZQALgGMNwa"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tS54pjkUZEkLxhUHZf8GI7TWSmc=
In-Reply-To: <uq7ko5$34rvg$1@dont-email.me>
Content-Language: en-US
 by: Björn Lundin - Sat, 10 Feb 2024 18:37 UTC

On 2024-02-10 11:56, The Natural Philosopher wrote:
> On 10/02/2024 10:47, Björn Lundin wrote:
>> On 2024-02-10 02:41, 68g.1503 wrote:
>>>    And hmmmm ... when IS the last time anyone actually
>>>    DID look-over wget's source code ??? The best place
>>>    to hide evil is inside something deemed "old and
>>>    reliable" .....
>>
>> Are you saying you are looking into EVERY package's source code you
>> download via apt BEFORE you install it?
>> Or are you saying that one should do it?
>>
>> Sounds bit hysterical to me.
>>
>> You do know that both wget and curl are provided by debian based (and
>> most other ) distribution via their repository tool ?
>>
>> If you don't trust your distribution, you should switch, or roll your
>> own distribution.
>> But then - I guess you have lots of work ahead of you
>> verifying/looking over source code ...
>>
> Not hard to build a simple wget clone using libcurl

Of course not - but I was referring to that if you don't trust the
binaries from your distribution, then you'd need to check ALL source code.
Not only wget/curl - but everything from kernel all the way to web browsers

Either you trust your distribution or not.

--
/Björn

Re: Port forwarding from RPi to Windows machine

<20240210191244.f1efae8ee6a7619bfa1e56d9@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9303&group=comp.sys.raspberry-pi#9303

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 19:12:44 +0000
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <20240210191244.f1efae8ee6a7619bfa1e56d9@eircom.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me>
<uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<uq7k84$34mj3$1@dont-email.me>
<uq7ko5$34rvg$1@dont-email.me>
<uq8fog$39da7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="740de7c28a0c4778c5696ed1aa9978e3";
logging-data="3563414"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RjJEN7G44Ndj2pxQa3i302+cZ5ws0evc="
Cancel-Lock: sha1:0fpiudEeZ7nU1H8CoUcNGO5feWo=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Sat, 10 Feb 2024 19:12 UTC

On Sat, 10 Feb 2024 19:37:04 +0100
Björn Lundin <bnl@nowhere.com> wrote:

> Of course not - but I was referring to that if you don't trust the
> binaries from your distribution, then you'd need to check ALL source code.
> Not only wget/curl - but everything from kernel all the way to web
> browsers

Do all that and you are *still* open to Ken Thompson's attack via a
poisoned compiler.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
For forms of government let fools contest
Whate're is best administered is best - Alexander Pope

Re: Port forwarding from RPi to Windows machine

<uq8se0$2e4f$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9304&group=comp.sys.raspberry-pi#9304

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bnl...@nowhere.com (Björn Lundin)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sat, 10 Feb 2024 23:13:20 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <uq8se0$2e4f$1@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me> <uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<uq7k84$34mj3$1@dont-email.me> <uq7ko5$34rvg$1@dont-email.me>
<uq8fog$39da7$1@dont-email.me>
<20240210191244.f1efae8ee6a7619bfa1e56d9@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Feb 2024 22:13:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f337cf351a285cba2c91b973faeb1610";
logging-data="80015"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1fQXIfpZMuIWPQlJh5H9T"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:YGtHVQnNx3Z/x3Aid8olgdb8Fmg=
Content-Language: en-US
In-Reply-To: <20240210191244.f1efae8ee6a7619bfa1e56d9@eircom.net>
 by: Björn Lundin - Sat, 10 Feb 2024 22:13 UTC

On 2024-02-10 20:12, Ahem A Rivet's Shot wrote:
> On Sat, 10 Feb 2024 19:37:04 +0100
> Björn Lundin <bnl@nowhere.com> wrote:
>
>> Of course not - but I was referring to that if you don't trust the
>> binaries from your distribution, then you'd need to check ALL source code.
>> Not only wget/curl - but everything from kernel all the way to web
>> browsers
>
> Do all that and you are *still* open to Ken Thompson's attack via a
> poisoned compiler.
>

Well, verifying gcc sources could be included in the above - 'between
kernel and web browser'. At least if you are installing compilers

--
/Björn

Re: Port forwarding from RPi to Windows machine

<20240211051708.63ca635b12fc46989aac4a41@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9305&group=comp.sys.raspberry-pi#9305

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sun, 11 Feb 2024 05:17:08 +0000
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <20240211051708.63ca635b12fc46989aac4a41@eircom.net>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me>
<uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<uq7k84$34mj3$1@dont-email.me>
<uq7ko5$34rvg$1@dont-email.me>
<uq8fog$39da7$1@dont-email.me>
<20240210191244.f1efae8ee6a7619bfa1e56d9@eircom.net>
<uq8se0$2e4f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="b1dde8c7d0470e41a8f5b8d85e22ff7f";
logging-data="430189"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EBe9UUFcXMnC/yblgDLD2U0v+7Tu1PeM="
Cancel-Lock: sha1:H7G2oR1UVdt9Xtv73h/NFR5wNLk=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Sun, 11 Feb 2024 05:17 UTC

On Sat, 10 Feb 2024 23:13:20 +0100
Björn Lundin <bnl@nowhere.com> wrote:

> On 2024-02-10 20:12, Ahem A Rivet's Shot wrote:
> > On Sat, 10 Feb 2024 19:37:04 +0100
> > Björn Lundin <bnl@nowhere.com> wrote:
> >
> >> Of course not - but I was referring to that if you don't trust the
> >> binaries from your distribution, then you'd need to check ALL source
> >> code. Not only wget/curl - but everything from kernel all the way to
> >> web browsers
> >
> > Do all that and you are *still* open to Ken Thompson's attack
> > via a poisoned compiler.
> >
>
> Well, verifying gcc sources could be included in the above - 'between
> kernel and web browser'. At least if you are installing compilers

The point of Ken Thomson's attack is that you have to compile those
gcc sources and that compiler can poison the binary you produce from the
clean gcc sources. So inspecting sources doesn't help you.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
For forms of government let fools contest
Whate're is best administered is best - Alexander Pope

Re: Port forwarding from RPi to Windows machine

<uqa28a$tdp1$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9306&group=comp.sys.raspberry-pi#9306

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Port forwarding from RPi to Windows machine
Date: Sun, 11 Feb 2024 08:58:50 +0000
Organization: A little, after lunch
Lines: 35
Message-ID: <uqa28a$tdp1$3@dont-email.me>
References: <upr6iu$cuso$1@dont-email.me>
<HtecnT-BGK9GVVz4nZ2dnZfqnPGdnZ2d@earthlink.com>
<20240206083802.fb47f625e5c7073af65ba04a@eircom.net>
<iBicnf1JpoIWuF74nZ2dnZfqn_ednZ2d@earthlink.com>
<20240207071904.4821f2362f045ff803d62b57@eircom.net>
<uq0qng$1jaoq$1@dont-email.me>
<cBWdnTJGkopicVj4nZ2dnZfqn_SdnZ2d@earthlink.com>
<uq4rb7$2ig27$1@dont-email.me> <uq4t44$2ipt8$1@dont-email.me>
<vDWdnS2civWqSVv4nZ2dnZfqnPqdnZ2d@earthlink.com>
<uq7k84$34mj3$1@dont-email.me> <uq7ko5$34rvg$1@dont-email.me>
<uq8fog$39da7$1@dont-email.me>
<20240210191244.f1efae8ee6a7619bfa1e56d9@eircom.net>
<uq8se0$2e4f$1@dont-email.me>
<20240211051708.63ca635b12fc46989aac4a41@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 11 Feb 2024 08:58:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="50955187789969e4175c29fced2e47a5";
logging-data="964385"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19v0GBCCQ4PXou+IE2krwnTdl41tYYvCdg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DyqYHttw+Ci3q5kg4pH2kZYftxU=
Content-Language: en-GB
In-Reply-To: <20240211051708.63ca635b12fc46989aac4a41@eircom.net>
 by: The Natural Philosop - Sun, 11 Feb 2024 08:58 UTC

On 11/02/2024 05:17, Ahem A Rivet's Shot wrote:
> On Sat, 10 Feb 2024 23:13:20 +0100
> Björn Lundin <bnl@nowhere.com> wrote:
>
>> On 2024-02-10 20:12, Ahem A Rivet's Shot wrote:
>>> On Sat, 10 Feb 2024 19:37:04 +0100
>>> Björn Lundin <bnl@nowhere.com> wrote:
>>>
>>>> Of course not - but I was referring to that if you don't trust the
>>>> binaries from your distribution, then you'd need to check ALL source
>>>> code. Not only wget/curl - but everything from kernel all the way to
>>>> web browsers
>>>
>>> Do all that and you are *still* open to Ken Thompson's attack
>>> via a poisoned compiler.
>>>
>>
>> Well, verifying gcc sources could be included in the above - 'between
>> kernel and web browser'. At least if you are installing compilers
>
> The point of Ken Thomson's attack is that you have to compile those
> gcc sources and that compiler can poison the binary you produce from the
> clean gcc sources. So inspecting sources doesn't help you.
>
Obviously one must write one's own compiler!

A mere snap for any greybeard unix sysadmin...

--
“It is hard to imagine a more stupid decision or more dangerous way of
making decisions than by putting those decisions in the hands of people
who pay no price for being wrong.”

Thomas Sowell

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor