[lug] Detect remote IP Address

Riggs, Rob RRiggs at doubleclick.net
Tue Oct 9 16:04:17 MDT 2001


I did this many years ago using a very simple CGI script. The dynamic box
had a script that posted its new IP to the CGI on the remote, static server.
The remote server just kept a log of the IPs for me.

-----Original Message-----
From: Ferdinand Schmid [mailto:fschmid at archenergy.com]
Sent: Tuesday, October 09, 2001 4:01 PM
To: lug
Subject: [lug] Detect remote IP Address


HI,
I have a remote system that I am trying to check in with on a regular basis.

This system connects to the Internet on demand and receives a dynamically 
assigned IP address.


My current way of identifying this system is to have an on site person
initiate 
an ssh connection to one of my systems that doesn't accept ssh and then I
look 
up the IP address in my firewall logs.

Now I would like to have a cron job that does the above for me once a day.
But 
I can't get ssh or telnet or ftp... to limit their connection attempts.  I 
experimented with ssh's ConnectionAttempts parameter with no luck.

I don't really want to send out an e-mail with the remote system's IP
address to 
myself every time the system becomes available.

Any ideas?  I could send a few random IP packets to trip my firewall - but I

haven't ever had to do that and don't know - and if this approach would be 
appropriate anyway.  So I am open for suggestions.

Thanks,
Ferdinand

--
Ferdinand Schmid
http://www.archenergy.com
303-444-4149 x231

_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list