getting IP address of router
Peter L. Peres
plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Mon Feb 7 23:09:45 UTC 2005
On Mon, 7 Feb 2005, Zbigniew Koziol wrote:
> Peter L. Peres wrote:
>>
>>> Yes that is my problem. I am behind the NAT firewall.
>>
>>
>> In that case, I think that getting an account with one of the dynip
>> providers would help.
>
> Heh, if there is possibility to get out at least: just ping me and call by
> phone, and I will let you know what your IP is ;)
>
> Actually, better call first and after that try perhaps http ;)
>
> Not an automatic method but may work if I am at home ;)
I understand you are joking, but why ? dynip etc can 'detect' your new
ip from a simple message sent to it from a new session and thereafter
the entire internet can access 'him' by his proper name. What he is
trying to do can be construed as being doing-reverse-dns-without-dns,
and even if it will work, it will be a hack.
He does not say what he needs it for but if he needs it so much then the
relevant data could be obtained from the router. A linux router can be
set up to serve a web page (or finger etc) that dumps a nat table to
anyone who requests it from the inside. If not a linux router, then the
router software has an equivalent data page in its setup, via web
interface, or telnet.
Why is is necessary to invent a new way to do this ?
Worse, if the nat firewall does 'internet connection sharing' then using
certain services to/from the outside may have interesting consequences
(what is the default policy for such a connection for an incoming
request ?)
Peter
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list