|
-
May 9th, 2007, 01:57 AM
#1
Thread Starter
Lively Member
Faster way to emulate Tracert
I've been working on a program with the intent of determining the router table of my ISPs closest router to me. The best method I could think of was to Tracert every number known to man, but even shelling 30 instances of it and limiting it to 5 hops it still looks like it is going to take several years.
While looking through the VB forums, I noticed that many people had considered/worked on similar problems and it was pointed out that pingpath is a TCP/IP alternative to the ICMP of Tracert. The beginning of pingpath returns addresses quite quickly, and then it sits for 4-400 seconds evaluating the quality of the path. I was wondering if there was a way to emulate only the beginning of pingpath, and skip over the evaluation time?
Alternately, if anyone knows a way to make a router spit its routing table to you, that would be even better.
Thanks in advance.
-
May 9th, 2007, 04:27 AM
#2
Junior Member
Re: Faster way to emulate Tracert
What programming language is it in?
-
May 9th, 2007, 12:53 PM
#3
Thread Starter
Lively Member
Re: Faster way to emulate Tracert
Oh, very sorry, I forgot that I'd moved over to the networking forum. I wrote the program in Visual Basic 6.
-
May 10th, 2007, 04:38 PM
#4
Re: Faster way to emulate Tracert
Tracert uses pings, doesn't it? It just increments the ttl each time. With a ttl of 1 you get the first address.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
May 11th, 2007, 02:15 PM
#5
Hyperactive Member
Re: Faster way to emulate Tracert
considering you cannot speed how fast the network respond to icmp echo's there isn't much you can do.
the fast way would to sniff the network and determine what routing protocol is being used. If there is no authentication, just enable whatever routing protocol on your router and you will be able to see isp routing table after it updates.
then again, it is a good way for the isp to turn off your service.
now that I think about if you can sniff your network, you can probably finger out the closet router from the return packet header if it is tcp/ip.
Last edited by superbovine; May 11th, 2007 at 02:22 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|