cant get the responses with traceroute

bimmel

Member


Messages: 20

Hello to everyone!

I was trying to use the traceroute from the university local net, but the only thing that I achived was a lot a stars instead of host names,as the icmp inreacheables messages doesn get to me as iunderstood.I tried to increase initial time to live as is indicated in the manual but it didnt changed anything. So could anyone explain what is happen and what is the problem.

Thanks a lot!

 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,824
Messages: 35,001

Is your firewall blocking ICMP? For traceroute to work you should at least allow ICMP TTL expired and ICMP echo response.
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 3,014
Messages: 11,364

You also need UDP.

Code:

19:40:32.530909 IP 192.168.2.3.44661 > 194.109.6.92.33435: UDP, length 24
19:40:32.532234 IP 192.168.2.3.44661 > 194.109.6.92.33436: UDP, length 24
19:40:32.533085 IP 192.168.2.3.44661 > 194.109.6.92.33437: UDP, length 24
19:40:32.534091 IP 192.168.2.3.44661 > 194.109.6.92.33438: UDP, length 24
19:40:32.555426 IP 192.168.2.3.44661 > 194.109.6.92.33439: UDP, length 24
19:40:32.656185 IP 192.168.2.3.44661 > 194.109.6.92.33440: UDP, length 24
19:40:32.755158 IP 192.168.2.3.44661 > 194.109.6.92.33441: UDP, length 24
19:40:32.772577 IP 192.168.2.3.44661 > 194.109.6.92.33442: UDP, length 24
19:40:32.789122 IP 192.168.2.3.44661 > 194.109.6.92.33443: UDP, length 24
19:40:32.806120 IP 192.168.2.3.44661 > 194.109.6.92.33444: UDP, length 24
19:40:32.823619 IP 192.168.2.3.44661 > 194.109.6.92.33445: UDP, length 24
19:40:32.840122 IP 192.168.2.3.44661 > 194.109.6.92.33446: UDP, length 24
19:40:32.857124 IP 192.168.2.3.44661 > 194.109.6.92.33447: UDP, length 24
19:40:32.874487 IP 192.168.2.3.44661 > 194.109.6.92.33448: UDP, length 24
19:40:32.891116 IP 192.168.2.3.44661 > 194.109.6.92.33449: UDP, length 24
19:40:32.908125 IP 192.168.2.3.44661 > 194.109.6.92.33450: UDP, length 24
19:40:32.928524 IP 192.168.2.3.44661 > 194.109.6.92.33451: UDP, length 24
19:40:32.947125 IP 192.168.2.3.44661 > 194.109.6.92.33452: UDP, length 24
19:40:32.966515 IP 192.168.2.3.44661 > 194.109.6.92.33453: UDP, length 24
19:40:32.985468 IP 192.168.2.3.44661 > 194.109.6.92.33454: UDP, length 24
19:40:33.011129 IP 192.168.2.3.44661 > 194.109.6.92.33455: UDP, length 24
 
OP
B

bimmel

Member


Messages: 20

Thanks a lot for the answering.So as I undertood the problem is that the firewall doesnt let pass the icmp unreacheable packets?Is there way to solve it?In the man for example there is an -e option to ignore the firewall.but since i no have idea on how it all works i dont know what it really does.
 

Alt

Aspiring Daemon

Reaction score: 82
Messages: 726

traceroute uses UDP by default. Its not working most time i tried xD
You can force ICMP with -I : `traceroute -I medved.gov.ru`
 
OP
B

bimmel

Member


Messages: 20

I triyed all type of protocols without results.But which difference between them in this case? As I understand in the both cases the error message is send in icmp format,so it nothing changes.
 

Alt

Aspiring Daemon

Reaction score: 82
Messages: 726

Your isp can filter this udp so it differs) In icmp case its just a ping, so most of them permit it.
If icmp not works, i think your isp or you filter request or response
 

phoenix

Administrator
Staff member
Administrator
Moderator

Reaction score: 1,280
Messages: 4,099

Install tcptraceoute instead. That will allow you to specific a port (like 80) and it will send TCP packets to each hop. Works through all firewalls/routers as the packets are just normal TCP packets.
 
OP
B

bimmel

Member


Messages: 20

Ok,I just installed tcptraceroute but I have now new problem,that I dont know how to launch the program =D I write [cmd=]tcptraceroute svr.gov.ru[/cmd] but the reponse is that
Code:
Command not found
could you please explane me better how to make it work?':r
 

phoenix

Administrator
Staff member
Administrator
Moderator

Reaction score: 1,280
Messages: 4,099

$ hash -r
or
# rehash

Search the forums for the above commands for several threads that cover this "issue".
 
OP
B

bimmel

Member


Messages: 20

The tcptraceroute finally work but it didnt change anything therei no message from the program.:(
 
Top