http://www.csu.net/cgi-bin/trace
http://counter.boardwatch.com/cgi-bin/trace?
And it's said that they used CGI source from
http://www.carpe.net/src/index.html
However, I don't understand how to use it in my homepage. I want to add
traceroute menu in my homepage so that Netizens from abroad can know how
they're connected to my homepage.
Can you please explain how to use those source codes or how to make a new
CGI to traceroute? I know little about UNIX. My homepage server is;
Connected to 203.236.128.1.
Escape character is '^]'.
UNIX(r) System V Release 4.0 (orange)
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
> Newsgroups: alt.html, comp.infosystems.www.authoring.html,
> comp.infosystems.www.servers.unix, comp.lang.javascript,
> comp.lang.java.programmer, comp.lang.perl.misc
When you post to many newsgroups, you should usually set followups to the
one that's most appropriate. Since this topic doesn't have anything
specifically to do with perl, java, javascript, or html, I'll set
followups to comp.infosystems.www.servers.unix.
> I want to add traceroute menu in my homepage so that Netizens from
> abroad can know how they're connected to my homepage.
It's a nice idea, I suppose, but if you initiate a traceroute from your
end, you may well get a different route than they're using. The net
_is_ dynamic, after all. Even if you get them to do a traceroute from
their end, they're not always going to get the same route twice, but at
least that would be more likely to be accurate and more useful for them.
But if you want to, there's no reason you can't make a CGI script which
runs traceroute and passes its output back to their browser. If they're
many hops away, and if you're going to get the names (and not just
numbers) of the intermediate sites, you should expect it to take perhaps a
minute or two to run, typically. So maybe you'll want to tell them to do
this only if they're very patient. :-) (Your webmaster or sysadmin
may be upset if your users get impatient and click again and again on the
traceroute choice. If you don't write your script with this possibility in
mind, it might be possible to have several dozen traceroutes running at
once. Eek!)
For less load on your system, you could probably make something
browser-side with Java, but of course it will only work on machines with
Java support turned on. For even greater ease, portability, and
flexibility, you could just tell them to run traceroute on their own
machine. :-)
In sum: It's probably useless, but if it's written with care it could be
fun. Good luck with it!
--
Tom Phoenix http://www.teleport.com/~rootbeer/
root...@teleport.com PGP Skribu al mi per Esperanto!
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/