[REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip questions Re:(9)

2000-04-26 Thread t_degrav

Hi,

If you can have the remote machine mail you, every of it's mails
may already include the IP. Just have a look at the complete headers
of one of it's mails, the 'received' fields contain the route that
mail took through the net, starting with the sending machine (your
remote computer) and... it's IP!

Tom



[EMAIL PROTECTED] wrote:
> 
> > I also need to Know the IP numbers of my adapters on my machine .
> 
> Whether they are Serial PPP or Ethernet or any other type of adapter.
> On some of my Linux servers that are routing I have 4 ethernet adapters and
> I would
> very much like to be able to call the numbers up.
> I have a remote headless server running on ADSL in another town, and
> if it gets restarted the IP gets changed so that all my links to it won't
> work.
> Having the machine Email me its new IP would save me a lot of hassle
> doing a port scan of a bunch of class C's looking for its new home..
> Thanks
> Bill
> 
> >
> >
> > Unfortunately in REBOL/Core 2.2 the FTP implementation uses local IP
> > addresses
> > in such an incorrect way, which is causing problems for some users. The
> > correct
> > thing is not to change the way REBOL determines the local IP address,
> > but rather
> > to fix the protocols so they do not need to know local IP addresses at
> > all :-).
> > FTP in REBOL/View does it correctly, and the fix will also be in the
> > next /Core
> > release.
> >
> > --
> > Holger Kruse
> > [EMAIL PROTECTED]




[REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip questions Re:(9)

2000-04-25 Thread ryanc

This one liner might help you with your ADSL server...

send [EMAIL PROTECTED] read rejoin[dns:// read dns://]

--Ryan

[EMAIL PROTECTED] wrote:

> > I also need to Know the IP numbers of my adapters on my machine .
>
> Whether they are Serial PPP or Ethernet or any other type of adapter.
> On some of my Linux servers that are routing I have 4 ethernet adapters and
> I would
> very much like to be able to call the numbers up.
> I have a remote headless server running on ADSL in another town, and
> if it gets restarted the IP gets changed so that all my links to it won't
> work.
> Having the machine Email me its new IP would save me a lot of hassle
> doing a port scan of a bunch of class C's looking for its new home..
> Thanks
> Bill
>
> >
> >
> > Unfortunately in REBOL/Core 2.2 the FTP implementation uses local IP
> > addresses
> > in such an incorrect way, which is causing problems for some users. The
> > correct
> > thing is not to change the way REBOL determines the local IP address,
> > but rather
> > to fix the protocols so they do not need to know local IP addresses at
> > all :-).
> > FTP in REBOL/View does it correctly, and the fix will also be in the
> > next /Core
> > release.
> >
> > --
> > Holger Kruse
> > [EMAIL PROTECTED]




[REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip questions Re:(9)

2000-04-21 Thread mailinglists

Hello!

> You cannot, because "Internet IP address" is not a clearly defined
term.
> Some users have multiple Internet connections, some none at all. Also,
not all
> platforms provide APIs that allow REBOL to get IP addresses on
individual
> interfaces, not to mention the difficulty of even figuring out which
interface
> connects you to "the Internet". Plus there are complications with
IP-NAT,
> proxies...

Yeah, you're right about all of that, but I was focused on just my home
situation (and those of my friends), without the NATs and proxies,
because...

> Why do you need to know at all ? :-)

I'm building a buddy-list program (very stripped down ICQ) in /View. I
wanted to do direct IP messaging, instead of routing it via a server
(HTTP, or otherwise), that's why... =)

I guess it's not as easy as I'd thought, that's okay, I have plenty of
other projects to do in the meantime... Wait! I just thought up a
solution! It's a bit elaborate, but not too elaborate:

1. Have a page at a (free) webserver that prints out your current IP
address...
2. Have your script read that page...
3. Have Rebol parse the page!

Hurrah! Solved it!

Thanks, Holger, keep up the good work!

Regards,
Rachid

PS. How does it feel working with an all-time Amiga-hero? ;o)