Re: Minimal IP address reflector
"Michael Maddex" <michaelm-a9faqb/[email protected]>
| Newsgroups | gmane.org.user-groups.nmlug |
|---|---|
| Message-ID | <[email protected]> |
Michael W. Folsom wrote: > If you go to: > [1]http://whatismyipaddress.com/ > the ip address is contained in the line: > <BR><center><font size=5><B>Your IP address is > 216.184.14.29</B></font><BR>(Now detects many <A > HREF='/staticpages/index.php/proxy-server'>proxy > servers</A>)</center><P> > is it possible to write a filter script to yank out the ip number? You might try: $ lynx -dump http://whatismyipaddress.com/ | grep "Your IP address is" \ | tr -s ' ' | cut -d' ' -f6 HTH > M- > Kelly Jones wrote: > > There are several websites that will "reflect" your IP address > (whatsmyip.org, whatismyipaddress.com, auditmypc.com/whats-my-ip.asp, > showipaddress.com, and even things like secure order pages, > etc). You can even get this info from some MediaWikis if you're not > logged in: > > [2]http://en.wikipedia.org/w/query.php?what=userinfo&format=txt > > However, all these pages return lots of extra junk, not to mention > HTTP headers, etc. Is there a "minimal" IP address reflector where I > could maybe telnet to a port on a given host and see my IP? Something > like the daytime service [port 13] NIST offers for the current time > (or time [port 37] service for binary data): > > > > telnet time-a.nist.gov daytime > > > Trying 129.6.15.28... > Connected to time-a.nist.gov. > Escape character is '^]'. > > 54309 07-07-28 16:59:56 50 0 0 523.2 UTC(NIST) * > Connection closed by foreign host. > > only for IP addresses? I realize I could write one myself, but am > looking for an existing service. > > References > > 1. http://whatismyipaddress.com/ > 2. http://en.wikipedia.org/w/query.php?what=userinfo&format=txt > -- Michael Maddex -- Instructor Computer Science and Technology Northern New Mexico College "Talk is cheap. Show me the code." --Linus Torvalds _______________________________________________ NMLUG mailing list [email protected] http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug