r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Core] Discuss core issues

MichaelB
26-Jan-2006
[3220x3]
now I can live with the blocking behavior, but would like to show 
the output in a view window - but as it blocks might not be possible
ok, good to know Jaime
so I should really start getting the SDK or pro :-)
JaimeVargas
26-Jan-2006
[3223]
Yep.
MichaelB
26-Jan-2006
[3224]
:-)
Terry
26-Jan-2006
[3225]
I'll pay RT $50 if we change "=" to "==" .. don't know HOW many bugs 
I've generated with other languages over that.
Henrik
26-Jan-2006
[3226]
how about allowing to accept both?
Anton
26-Jan-2006
[3227]
Terry, do you think it's really a good idea to change that now ?
Tomc
26-Jan-2006
[3228x4]
== is already valid rebol
just unset '= and you are done
(provided it is not used internally)
you would have to start casting to compatable datatypes yourself 
tho ....
DideC
27-Jan-2006
[3232]
>> "ABC" = "abc"
== true
>> "ABC" == "abc"
== false
Tomc
27-Jan-2006
[3233]
cast to the same case as well
Terry
28-Jan-2006
[3234]
Is it possible to find the IP address of a machine using a proxy?
Pekr
28-Jan-2006
[3235x2]
what do you mean, Terry?
you mean automatic proxy detection?
Anton
28-Jan-2006
[3237x2]
Do you mean this ?:

Terry's machine ---- ( internet ) ---> proxy machine ---> target 
machine
where the target machine is the ip you want.
I am supposing a remote machine has connected to a service of yours, 
and you want to know if you can inspect the port in such a way as 
to obtain the ip of the remote machine, even if it is behind a proxy.
Terry
28-Jan-2006
[3239x3]
I'm looking for the the ip of my wireless router.  I know it manually, 
but is their a way to find it automagically?
proxy isn't correct
gateway
Graham
28-Jan-2006
[3242]
dhcp
Terry
28-Jan-2006
[3243x8]
well, my wireless router assigns an internal IP 192.168.1.100 (for 
example), and if I do a get-modes udp:// 'interfaces I get..

addr: 127.0.0.1
netmask: 255.0.0.0
broadcast: none
dest-addr: none
flags: [multicast loopback]
name: "if65540"
addr: 192.168.1.100
netmask: 255.255.255.0
broadcast: 192.168.1.255
dest-addr: none
flags: [broadcast multicast]
Nothing in there that I can send to you, that will allow you to find 
me.. so how do i determine (via Rebol) the IP address assigned to 
the router?
Not sure that this can even be determined with Rebol.. Probably need 
to do a workaround.. send a http request to a remote script, peel 
the IP from that, send it back?
Like this.. 

getIP: read http://whatismyip.com
parse getIP [thru "displaycopy('" copy myIP to "'"]
tried IP chicken.. seems slower.
http://www.ipchicken.com/
Maybe I should put that into a view pane and enter it into the contest?
Hmm, too late to hide the source code huh? :)
Graham
28-Jan-2006
[3251x3]
http://www.compkarori.com/cgi-local/whatismyip.r
<ip> 203.79.110.37 </ip>
ip chicken is way slower
Terry
28-Jan-2006
[3254x3]
Yeah, local versions of that scattered around the world would be 
help with the speed..your's is too slow for me
I put a PHP version on my server... no need to parse.. 

myIP: read http://lonestar.tv/myip.php
That's in the eastern states somewhere (1and1)
Graham
28-Jan-2006
[3257]
Mine is in texas.
Terry
28-Jan-2006
[3258x2]
who do you use.. rackspace?
and what's up with that xml you have wrapping your output?
Graham
28-Jan-2006
[3260x3]
webxess.com, and I wrap in tags to make it parse more easily
My script checks for proxy ,and fetches the forwarded address.
Some of these scripts only give you the address of the proxy.
Pekr
28-Jan-2006
[3263x4]
go and download Look @ Lan ... it si not further developed, but I 
use it often ...
there is no other way that to sequentially scan using ping ....
or some snmp tool, if your device suports it ...
the simplest way is to set your network card to DHCP mode, and try 
to obtain ip from your GW (router), of course if it has DHCP server 
running ...
Terry
28-Jan-2006
[3267x2]
This werks (cheap plug) Can use rebol to determine IP for LAN, and 
remote script for WAN... I've put a copy at http://squigglz.com/myip.php
and Im building a public name server using a squiggle to store and 
retrieve IP addresses.  ie: ~carl:ip~  will finish that off tomorrow
Need to build "Internet 2.0" concurrently with "Web 2.0" ;)
Pekr
28-Jan-2006
[3269]
:-)