Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #225670 > unrolled thread
| Started by | riveravaldez <riveravaldezmail@gmail.com> |
|---|---|
| First post | 2020-08-01 04:10 +0200 |
| Last post | 2020-08-05 09:40 +0200 |
| Articles | 20 on this page of 68 — 27 participants |
Back to article view | Back to linux.debian.user
[OT] Remote SSH (dynamic IP) without third-party server riveravaldez <riveravaldezmail@gmail.com> - 2020-08-01 04:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-01 08:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server deloptes <deloptes@gmail.com> - 2020-08-01 14:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Dan Purgert <dan@djph.net> - 2020-08-01 17:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-02 00:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-02 01:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-02 03:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server <tomas@tuxteam.de> - 2020-08-01 09:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-01 12:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server tomas@tuxteam.de - 2020-08-01 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-02 01:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server riveravaldez <riveravaldezmail@gmail.com> - 2020-08-02 04:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-03 01:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server martin f krafft <madduck@debian.org> - 2020-08-11 01:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Joe <joe@jretrading.com> - 2020-08-01 10:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server riveravaldez <riveravaldezmail@gmail.com> - 2020-08-01 11:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server deloptes <deloptes@gmail.com> - 2020-08-01 14:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server mick crane <mick.crane@gmail.com> - 2020-08-01 14:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server rhkramer@gmail.com - 2020-08-01 17:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-02 06:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Gene Heskett <gheskett@shentel.net> - 2020-08-02 07:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-02 22:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Gene Heskett <gheskett@shentel.net> - 2020-08-02 22:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-03 14:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-03 21:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Charles Curley <charlescurley@charlescurley.com> - 2020-08-03 23:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server rhkramer@gmail.com - 2020-08-03 23:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 03:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 03:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 04:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Stefan Monnier <monnier@iro.umontreal.ca> - 2020-08-04 04:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 06:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-11 06:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-11 13:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-12 05:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-11 14:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-12 05:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-12 13:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-13 16:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Celejar <celejar@gmail.com> - 2020-08-04 16:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Charles Curley <charlescurley@charlescurley.com> - 2020-08-04 19:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-04 13:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Celejar <celejar@gmail.com> - 2020-08-04 15:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-03 21:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Nate Bargmann <n0nb@n0nb.us> - 2020-08-04 02:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Wright <deblis@lionunicorn.co.uk> - 2020-08-04 03:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Stefan Monnier <monnier@iro.umontreal.ca> - 2020-08-04 04:30 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David Christensen <dpchrist@holgerdanske.com> - 2020-08-04 10:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server "Thomas Schmitt" <scdbackup@gmx.net> - 2020-08-01 12:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Dan Ritter <dsr@randomstring.org> - 2020-08-01 13:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server rhkramer@gmail.com - 2020-08-01 13:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server David <bouncingcats@gmail.com> - 2020-08-01 14:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Reco <recoverym4n@enotuniq.net> - 2020-08-01 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Reco <recoverym4n@enotuniq.net> - 2020-08-01 14:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-01 17:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server "007@caiway.net" <007@caiway.net> - 2020-08-01 17:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server "007@caiway.net" <007@caiway.net> - 2020-08-01 18:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Nate Bargmann <n0nb@n0nb.us> - 2020-08-01 19:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Henrique de Moraes Holschuh <hmh@debian.org> - 2020-08-01 21:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server MAS Jean-Louis <jean-louis.mas@imag.fr> - 2020-08-04 16:00 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Michael Stone <mstone@debian.org> - 2020-08-04 16:20 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-04 17:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-04 17:50 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Curt <curty@free.fr> - 2020-08-04 19:10 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Gene Heskett <gheskett@shentel.net> - 2020-08-04 21:40 +0200
Re: [OT] Remote SSH (dynamic IP) without third-party server Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-05 09:40 +0200
Page 2 of 4 — ← Prev page 1 [2] 3 4 Next page →
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2020-08-02 07:10 +0200 |
| Message-ID | <AzepX-1RA-3@gated-at.bofh.it> |
| In reply to | #225726 |
On Saturday 01 August 2020 23:52:51 David Wright wrote: > On Sat 01 Aug 2020 at 14:02:59 (+0200), deloptes wrote: > > riveravaldez wrote: > > > Until now I've found a couple of alternatives using the > > > tox-DHT-decentralized idea: > > > > believe me you do not want to publish your IPs on DHT like ToX - it > > causes only troubles. You never know who is collecting those IPs and > > for what reason. I always see SSH attacks on the firewall after > > using torrent sites. It might be unrelated, but is suspicious > > coincidence. It happens every time. The OpenVPN also registers > > attempts to connect. > > > > If I were you I would pay for a domain and put a script that would > > write the IP somewhere there, so that you can find it. It is cheaper > > than paying for DDNS service and the domain belongs to you - > > alltogether costs about 150,-/y. > > > > Nothing is for free! > > This should be possible for free, so long as you can send emails from > home. Just register an account with, say, hotmail, and send an email > each day (or at an appropriate interval) from your home's computer. > Whenever you want to connect home, login to the email account and > look at the headers of the most recent email. The first hop will be > from your home's computer to your ISP, and gives the IP address. > For examples, look at the first hop in many of the emails on this > list. (Frequently, the ISP will generate a corresponding hostname > using numbers in the IP address.) > > BUT, as the OP posts from a gmail account, I have no idea whether they > can send emails from their own computer, rather than using some web > software on a server somewhere. > > Currently, my IP address has been stable since I switched on the modem > (which runs 24/7) after my Christmas break. > > Cheers, > David. My address for the link in my sig below isn't fixed, but its now been stable into the 3rd, 5 years at $20 renewal at Namecheap. And it won't change unless shentel changes how they do dhcp between my router and their servers The secret for me? I've cloned the same MAC into both routers, normal and a cold backup, so they are 100% interchangeable. Both routers are running dd-wrt, and that url _is_ this machine. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-02 22:10 +0200 |
| Message-ID | <AzssV-1VH-3@gated-at.bofh.it> |
| In reply to | #225729 |
On Sun 02 Aug 2020 at 01:00:08 (-0400), Gene Heskett wrote: > On Saturday 01 August 2020 23:52:51 David Wright wrote: > > Currently, my IP address has been stable since I switched on the modem > > (which runs 24/7) after my Christmas break. > > My address for the link in my sig below isn't fixed, but its now been > stable into the 3rd, 5 years at $20 renewal at Namecheap. And it won't > change unless shentel changes how they do dhcp between my router and > their servers The secret for me? I've cloned the same MAC into both > routers, normal and a cold backup, so they are 100% interchangeable. > Both routers are running dd-wrt, and that url _is_ this machine. My modem is the one they gave me with the service back in 2013, so the MAC has never changed. OTOH the service has changed address twice, and the pole and cabling changed at the last of these. This last required fitting an attenuator at the modem, presumably because it was overloading the analogue input and damaging the signal. I've never taken particular notice of when the IP address has changed, apart from this last one. But I can see useful benefits in changes as well as a lack of them. In your case, WV might be behind on some of the modernisations that others have mentioned. We too. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2020-08-02 22:50 +0200 |
| Message-ID | <Azt5D-295-1@gated-at.bofh.it> |
| In reply to | #225752 |
On Sunday 02 August 2020 16:05:07 David Wright wrote: > On Sun 02 Aug 2020 at 01:00:08 (-0400), Gene Heskett wrote: > > On Saturday 01 August 2020 23:52:51 David Wright wrote: > > > Currently, my IP address has been stable since I switched on the > > > modem (which runs 24/7) after my Christmas break. > > > > My address for the link in my sig below isn't fixed, but its now > > been stable into the 3rd, 5 years at $20 renewal at Namecheap. And > > it won't change unless shentel changes how they do dhcp between my > > router and their servers The secret for me? I've cloned the same > > MAC into both routers, normal and a cold backup, so they are 100% > > interchangeable. Both routers are running dd-wrt, and that url _is_ > > this machine. > > My modem is the one they gave me with the service back in 2013, > so the MAC has never changed. OTOH the service has changed address > twice, and the pole and cabling changed at the last of these. > This last required fitting an attenuator at the modem, presumably > because it was overloading the analogue input and damaging the signal. > I've never taken particular notice of when the IP address has changed, > apart from this last one. But I can see useful benefits in changes > as well as a lack of them. In your case, WV might be behind on some > of the modernisations that others have mentioned. We too. > > Cheers, > David. Behind? We're so far back the main group is not in sight. I've no clue once past the cable modem, how many miles it might be to a legit ipv6 address. At least a hundred unless they've a special service at the FBI shop 30 miles north and 10 north of Clarksburg. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2020-08-03 14:00 +0200 |
| Message-ID | <AzHii-2yS-13@gated-at.bofh.it> |
| In reply to | #225726 |
On Sat, Aug 01, 2020 at 10:52:51PM -0500, David Wright wrote: > This should be possible for free, so long as you can send emails from > home. Just register an account with, say, hotmail, and send an email > each day (or at an appropriate interval) from your home's computer. Just send your message whenever the IP address changes. The DHCP client daemon has hooks specifically to let you do this. https://mywiki.wooledge.org/IpAddress You could *also* send the IP address message in a cron job, if you're a belt-and-suspenders type of person. But using the DHCP client hooks should be the primary goal.
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2020-08-03 21:20 +0200 |
| Message-ID | <AzOa5-6W2-1@gated-at.bofh.it> |
| In reply to | #225773 |
On Mon, Aug 03, 2020 at 02:15:17PM -0500, David Wright wrote: > The home PC that I'd be trying to contact has a 192.168.n.n IP address > given to it by my primary router. But the router's external address is > obtained by its DHCP client talking to my ISP's DHCP server. In a case like that, just contact an external web site that tells you what your externally visible IP address is. There are many of them. Mine is <http://wooledge.org/myip.cgi>.
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2020-08-03 23:10 +0200 |
| Message-ID | <AzPSy-80o-7@gated-at.bofh.it> |
| In reply to | #225783 |
On Mon, 3 Aug 2020 15:18:46 -0400 Greg Wooledge <wooledg@eeg.ccf.org> wrote: > On Mon, Aug 03, 2020 at 02:15:17PM -0500, David Wright wrote: > > The home PC that I'd be trying to contact has a 192.168.n.n IP > > address given to it by my primary router. But the router's external > > address is obtained by its DHCP client talking to my ISP's DHCP > > server. > > In a case like that, just contact an external web site that tells you > what your externally visible IP address is. There are many of them. > Mine is <http://wooledge.org/myip.cgi>. > Ah, now you are back to using an external server, which the OP would like to avoid. The OP may be able to write a script that queries his primary router for its external address. This may involve scraping the primary router's web server. Or he may be able to hornswaggle ddclient into getting it. See the -use=web option. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
[toc] | [prev] | [next] | [standalone]
| From | rhkramer@gmail.com |
|---|---|
| Date | 2020-08-03 23:30 +0200 |
| Message-ID | <AzQbU-87Y-5@gated-at.bofh.it> |
| In reply to | #225788 |
On Monday, August 03, 2020 04:38:13 PM Charles Curley wrote: > On Mon, 3 Aug 2020 15:18:46 -0400 > > In a case like that, just contact an external web site that tells you > > what your externally visible IP address is. There are many of them. > > Mine is <http://wooledge.org/myip.cgi>. > > Ah, now you are back to using an external server, which the OP would > like to avoid. I have an aggravating headache, which keeps me from thinking very clearly (that may be the case all the time ;-), and I don't recall if anybody else suggested it, but emails that I receive in kmail (via pop3) show the external IP address in the last "Received" header. If I set up something like an auto responder, or even if I looked at those emails in the google webmail thingie, I could presumably get the external IP address.
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-04 03:10 +0200 |
| Message-ID | <AzTCN-1Ph-1@gated-at.bofh.it> |
| In reply to | #225791 |
On Mon 03 Aug 2020 at 17:24:33 (-0400), rhkramer@gmail.com wrote: > On Monday, August 03, 2020 04:38:13 PM Charles Curley wrote: > > On Mon, 3 Aug 2020 15:18:46 -0400 > > > In a case like that, just contact an external web site that tells you > > > what your externally visible IP address is. There are many of them. > > > Mine is <http://wooledge.org/myip.cgi>. > > > > Ah, now you are back to using an external server, which the OP would > > like to avoid. > > I have an aggravating headache, which keeps me from thinking very clearly > (that may be the case all the time ;-), and I don't recall if anybody else > suggested it, but emails that I receive in kmail (via pop3) show the external > IP address in the last "Received" header. Yes, that's the thread you're posting to. I made the suggestion about six posts up-thread. I see that you use gmail as your submission host, which should work satisfactorily. Those that post from gmail etc using a browser might not be able to find the address required, because their emails originate from the remote server, not from themselves. > If I set up something like an auto responder, or even if I looked at those > emails in the google webmail thingie, I could presumably get the external IP > address. The problem is not for a person to find their home's IP address when they're at home, but when they're not there. Granted, the method uses an external server, but correct me if I'm wrong, the only difference with using these new protocols (that I know little about) is that their "servers" are distributed, and might possibly be a little more anonymous. Is that the point? I don't think it can be for preventing a 'single point of failure', as there's always one of those: the person's ISP. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Date | 2020-08-04 03:40 +0200 |
| Message-ID | <AzU5P-1Ym-1@gated-at.bofh.it> |
| In reply to | #225788 |
On Mon, Aug 03, 2020 at 02:38:13PM -0600, Charles Curley wrote: >Ah, now you are back to using an external server, which the OP would >like to avoid. It isn't possible to do this without an external server. Sending email involves an external server. That's why just using a redundant set of dynamic DNS providers solves the problem more reliably and directly than some rube goldberg approach which has no fewer external dependencies.
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-04 04:10 +0200 |
| Message-ID | <AzUyR-2nn-1@gated-at.bofh.it> |
| In reply to | #225802 |
On Mon 03 Aug 2020 at 21:38:55 (-0400), Michael Stone wrote: > On Mon, Aug 03, 2020 at 02:38:13PM -0600, Charles Curley wrote: > > Ah, now you are back to using an external server, which the OP would > > like to avoid. > > It isn't possible to do this without an external server. Sending email > involves an external server. That's why just using a redundant set of > dynamic DNS providers solves the problem more reliably and directly > than some rube goldberg approach which has no fewer external > dependencies. How do you keep this set of dynamic DNS providers informed each time your home's IP address changes, bearing in mind nobody's at home? Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2020-08-04 04:20 +0200 |
| Message-ID | <AzUIx-2wx-1@gated-at.bofh.it> |
| In reply to | #225803 |
> How do you keep this set of dynamic DNS providers informed each time
> your home's IP address changes, bearing in mind nobody's at home?
It's called a "dynamic DNS (DDNS) client" and runs on your router (it sends
the new IP to the DDNS server whenever your router gets one).
Most home routers come with built-in support for some DDNS protocols.
Of course, I recommend upgrading your router to a firmware like OpenWRT
if at all possible, and not just so you get a large choice of
DDNS clients.
Stefan
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-04 06:00 +0200 |
| Message-ID | <AzWhj-3h7-1@gated-at.bofh.it> |
| In reply to | #225804 |
On Mon 03 Aug 2020 at 22:15:25 (-0400), Stefan Monnier wrote: > > How do you keep this set of dynamic DNS providers informed each time > > your home's IP address changes, bearing in mind nobody's at home? > > It's called a "dynamic DNS (DDNS) client" and runs on your router (it sends > the new IP to the DDNS server whenever your router gets one). > > Most home routers come with built-in support for some DDNS protocols. > Of course, I recommend upgrading your router to a firmware like OpenWRT > if at all possible, and not just so you get a large choice of > DDNS clients. I see. Not being familiar with the service, should I understand that I could get one such address from no-ip.com for free? DynDNS costs. My main router doesn't have the facility to run that client. My cascaded router does (to just those two services), but that one has a broken WAN port (hence its rôle). So I presume I'd be expected to run No-IP's own software on my home PC. I think I'd prefer to send emails with cron. As I said, this email would also act as a pulse indication. One could even use it for giving out some relevant information. BTW note that my contributions to this thread have now closed the circle: my first post was outlining a free method in place of deloptes's suggested cheap alternative to DDNS. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Date | 2020-08-04 14:40 +0200 |
| Message-ID | <AA4oy-8nE-21@gated-at.bofh.it> |
| In reply to | #225806 |
On Mon, Aug 03, 2020 at 10:52:58PM -0500, David Wright wrote: >My main router doesn't have the facility to run that client. My >cascaded router does (to just those two services), but that one >has a broken WAN port (hence its rôle). So I presume I'd be expected >to run No-IP's own software on my home PC. or just use a generic client written in perl or python. some people really seem to be looking for ways to complicate this.
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-11 06:20 +0200 |
| Message-ID | <ACtVv-6Kz-3@gated-at.bofh.it> |
| In reply to | #225824 |
On Tue 04 Aug 2020 at 08:38:37 (-0400), Michael Stone wrote: > On Mon, Aug 03, 2020 at 10:52:58PM -0500, David Wright wrote: > > My main router doesn't have the facility to run that client. My > > cascaded router does (to just those two services), but that one > > has a broken WAN port (hence its rôle). So I presume I'd be expected > > to run No-IP's own software on my home PC. > > or just use a generic client written in perl or python. some people > really seem to be looking for ways to complicate this. I just can't see the point in complicating this more than I have to. $ cat /etc/cron.daily/send-hotmail #!/bin/sh [ -x /root/.cron/send-hotmail.sh ] || exit 0 /root/.cron/send-hotmail.sh $ cat /root/.cron/send-hotmail.sh #!/bin/sh mailx -s 'ZZZ---ZZZ' myfreeaccount@hotmail.co.uk < /etc/mailname $ … sends my home's IP address each day to a location I can read from anywhere. Naturally it breaks the Subject line's "third-party server" condition, but judging from others' comments, this appears to be a matter mainly of semantics, calling servers "peers". Some might say that having to register for an email account (if you haven't already got one) is just the same as registering at one of these free dynamic DNS services. Having looked at them, I would beg to differ; and I've had a much greater and varied use out of this free email account than I would get from the dDNS service. I'm also not interested in using DHT services (which must also run on "third-party servers/peers"). Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2020-08-11 13:40 +0200 |
| Message-ID | <ACANk-2ri-7@gated-at.bofh.it> |
| In reply to | #226093 |
On Mon, Aug 10, 2020 at 11:18:10PM -0500, David Wright wrote: > $ cat /etc/cron.daily/send-hotmail > #!/bin/sh > [ -x /root/.cron/send-hotmail.sh ] || exit 0 > /root/.cron/send-hotmail.sh > $ cat /root/.cron/send-hotmail.sh > #!/bin/sh > mailx -s 'ZZZ---ZZZ' myfreeaccount@hotmail.co.uk < /etc/mailname > $ Why have two one-liner scripts? Why not just put the mailx command in the send-hotmail script directly? > … sends my home's IP address each day to a location I can read from > anywhere. Who populates the /etc/mailname file, and how? Is the IP address actually in the /etc/mailname file, or are you parsing it out of the Received: headers and ignoring the body?
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-12 05:30 +0200 |
| Message-ID | <ACPCF-38u-1@gated-at.bofh.it> |
| In reply to | #226107 |
On Tue 11 Aug 2020 at 07:39:00 (-0400), Greg Wooledge wrote: > On Mon, Aug 10, 2020 at 11:18:10PM -0500, David Wright wrote: > > $ cat /etc/cron.daily/send-hotmail > > #!/bin/sh > > [ -x /root/.cron/send-hotmail.sh ] || exit 0 > > /root/.cron/send-hotmail.sh > > $ cat /root/.cron/send-hotmail.sh > > #!/bin/sh > > mailx -s 'ZZZ---ZZZ' myfreeaccount@hotmail.co.uk < /etc/mailname > > $ > > Why have two one-liner scripts? Why not just put the mailx command > in the send-hotmail script directly? Personal policy. Many of my /etc configuration files are generated from, as it were, templates under /root. For example, hosts is built from a master list (≡router's DHCP) and an internet list of blocked sites, fstab is built from a set of USB/SDcard/caddies plus a host-specific section. Anything cron related, like apt-get update/ -d upgrade, and so on, lives under /root/.cron. Lines that are in a cron table typically just call a separate script, even when it's a single line, which allows the script to be edited without rerunning crontab or disturbing the /etc files. > > … sends my home's IP address each day to a location I can read from > > anywhere. > > Who populates the /etc/mailname file, and how? The d-i, and then dpkg-reconfigure exim4-config. mailx comments on a lack of message body, and I don't want cron sending a local email on account of any error/warning. So—might as well send some file. As I said, it could be any useful information as desired. I just chose it for this example, and it has no special significance. > Is the IP address actually in the /etc/mailname file, or are you > parsing it out of the Received: headers and ignoring the body? The latter, eg, Received: from hostname.corp (ipN-N-N-N.ISP.net [n.n.n.n]) by … Most of the emails would probably never get opened, particularly in these times of limited opportunities to travel, and I'd just delete them. (I'm told that they'd expire in they remained unread for long enough.) The subject line could be designed to make it easy to filter them out from other emails being sent to the same address. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Date | 2020-08-11 14:20 +0200 |
| Message-ID | <ACBq1-2Up-7@gated-at.bofh.it> |
| In reply to | #226093 |
On Mon, Aug 10, 2020 at 11:18:10PM -0500, David Wright wrote: >On Tue 04 Aug 2020 at 08:38:37 (-0400), Michael Stone wrote: >> On Mon, Aug 03, 2020 at 10:52:58PM -0500, David Wright wrote: >> > My main router doesn't have the facility to run that client. My >> > cascaded router does (to just those two services), but that one >> > has a broken WAN port (hence its rôle). So I presume I'd be expected >> > to run No-IP's own software on my home PC. >> >> or just use a generic client written in perl or python. some people >> really seem to be looking for ways to complicate this. > >I just can't see the point in complicating this more than I have to. DNS is the thing on the internet used to find other hosts. If you want to invent some other way to find hosts then have at it, but simply using DNS makes everything else work without complication.
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-12 05:30 +0200 |
| Message-ID | <ACPCF-38u-3@gated-at.bofh.it> |
| In reply to | #226110 |
On Tue 11 Aug 2020 at 08:10:43 (-0400), Michael Stone wrote: > On Mon, Aug 10, 2020 at 11:18:10PM -0500, David Wright wrote: > > On Tue 04 Aug 2020 at 08:38:37 (-0400), Michael Stone wrote: > > > On Mon, Aug 03, 2020 at 10:52:58PM -0500, David Wright wrote: > > > > My main router doesn't have the facility to run that client. My > > > > cascaded router does (to just those two services), but that one > > > > has a broken WAN port (hence its rôle). So I presume I'd be expected > > > > to run No-IP's own software on my home PC. > > > > > > or just use a generic client written in perl or python. some people > > > really seem to be looking for ways to complicate this. > > > > I just can't see the point in complicating this more than I have to. > > DNS is the thing on the internet used to find other hosts. If you want > to invent some other way to find hosts then have at it, but simply > using DNS makes everything else work without complication. Registering a domain name with a dynamic DNS service is more complex than registering an email service, and gives me a smaller payback. It's also something that I (and probably many others) had already set up long ago. Maintaining the service is more complex than the two (hardly "inventive") lines I posted here, and yields less information than those two lines do. Like the OP, I'm only interested in a ssh connection. Unlike the OP, I don't mind using a major third-party service for the asynchronous rendezvous, and am not prepared to pay for a facility that I might use very few times per year. The suggestion was for others with similar priorities to benefit from. If it makes you feel better to use DNS to lookup a fixed name so few times, fine. The domain names I own, and pay for, are in use every day by me and many other people. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Michael Stone <mstone@debian.org> |
|---|---|
| Date | 2020-08-12 13:40 +0200 |
| Message-ID | <ACXgR-7LZ-3@gated-at.bofh.it> |
| In reply to | #226126 |
On Tue, Aug 11, 2020 at 10:26:45PM -0500, David Wright wrote: >Registering a domain name with a dynamic DNS service is more complex >than registering an email service It really isn't, but whatever. I really don't care if you want to come up with some workaround for DNS so feel free to stop arguing about how great it is to find an IP in an email header instead of just addressing the target via a DNS name. >I don't mind using a major third-party service for the asynchronous >rendezvous, and am not prepared to pay for a facility that I might >use very few times per year. As has been pointed out repeatedly, there are free dynamic DNS services so I don't know why you keep insisting that it has to cost money.
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2020-08-13 16:10 +0200 |
| Message-ID | <ADm5A-680-11@gated-at.bofh.it> |
| In reply to | #226136 |
On Wed 12 Aug 2020 at 07:34:03 (-0400), Michael Stone wrote: > On Tue, Aug 11, 2020 at 10:26:45PM -0500, David Wright wrote: > > Registering a domain name with a dynamic DNS service is more complex > > than registering an email service > > It really isn't, but whatever. To register an email service, you'd type in: . your name and DoB . your location and phone number . make up an address and password The same steps would get you a dynamic DNS account, but now you have to configure it at their end, and then on your router at home (assuming it can be done through that service). That counts as *more* in my book. > I really don't care if you want to come up with some workaround for > DNS so feel free to stop arguing about how great it is to find an IP > in an email header instead of just addressing the target via a DNS > name. I'm sorry, I really got the idea from your posts that you did care. My argument wasn't that it was great, but was in response to https://lists.debian.org/debian-user/2020/08/msg00023.html to show that their method can be achieved both simply and for free. I'm not out to convince you, or anybody else, that it's better, but I don't know anyone who would think that a one-line file (à la Greg) qualifies as a Rube Goldberg machine approach. > > I don't mind using a major third-party service for the asynchronous > > rendezvous, and am not prepared to pay for a facility that I might > > use very few times per year. > > As has been pointed out repeatedly, there are free dynamic DNS > services so I don't know why you keep insisting that it has to cost > money. I've *insisted* no such thing. I merely tried to be upfront about where my priorities might differ from others, particularly those mentioning paid services. It wasn't me that wrote "Nothing is for free!" Likewise, I'm clear about using a third-party service, on which the OP expressed a contrary view. Cheers, David.
[toc] | [prev] | [next] | [standalone]
Page 2 of 4 — ← Prev page 1 [2] 3 4 Next page →
Back to top | Article view | linux.debian.user
csiph-web