i need a script theat allows only ip's theat have only x hops on trace until the destination
Hi,
You made two topics i think the request is the same, i already answer you on the other, if this is a different script please be more especific on what you want.
Best regards, nErBoS
here i'm talcking abat a traceroute hups and it's something diferit
si i need on the hub only the piple that have an max N hups until ther ip !!!
Hi,
My english is bad and your isn't helping :P
If i understood you want a script to see the the number of hubs ??
Best regards, nErBoS
not hubs, hups. i meen the number of servers it's pasin trough to get to the user
when you surf over the inet you hup from 1 switch 2 the next.
now what he wants is that only ppl who are less then x hups away from him.
bad idea btw as it can take several seconds before a check like that is preformed, and during that check the bot/hub is stuck.
plop
Hi,
Hups ???
Can you explain plop and tell me i can i do that to catch in lua :)
Best regards, nErBoS
try "tracert board.univ-angers.fr" in the command line
you need to send packets with variable TTL.. which you cant really do in lua
QuoteOriginally posted by nErBoS
Hi,
Hups ???
Can you explain plop and tell me i can i do that to catch in lua :)
Best regards, nErBoS
np, execute the next script with the lua command line.
url = "www.tweakers.net"
x = clock()
execute("tracert "..url.." > trace.lst")
print(clock()-x.." seconds wasted")
readfrom("trace.lst")
while 1 do
line = read()
if line == nil then
break
end
print(line)
end
remove("trace.lst")
now for fun try 2 trace your modem (set that ip as url).
you'll see how bad the idea 2 use this actualy is.
plop
my idee is theat here in Ro on our internet provider it is allowd to fransfer files in a city without biing monitorized, only the ppl theat have from 9$ to 39% contracts with the provider, with the bussines contrats it is monitorized, and payd 4 it, so the ideea is theat from 2 ip in the same class contrat it's having only 1 hup to destination
Sorry 4 my english
forgoth
10x 4 the exemple plop it helpt a lot 4 making the finel script
Hi,
plop and tezlo thanks for the explanion and example when i get free time i will try to learn to work with that.
Best regards, nErBoS
yw, and good luck.
plop