-
Query on Hping
Hello all,
I want to use Hping tool to send tcp packet on ppp0 interface. When I send ICMP packet on ppp0 intrface I get reply from the target but when I try to send TCP/UDP packet I get error.
Command I use for sending TCP packet is
hping target ip -p dest port
but I get following message
ICMP Unreachable type=10 from ip=targetIP name=UNKNOWN
I don't know why I get this error on ppp0 interface and how to resolve it to send tcp/udp packet successfully to the target.
Please reply if anyone has any idea of this.
Thanks & Regards,
Kavita
-
You're not getting an error.. You're receiving an ICMP message as a response...
Looks like a Type 3 Code 10.. Communication with Destination Host is Administratively Prohibited..
Run something like Ethereal while doing this.. Then you'll see you're really sending something and receiving a response..
(This shouldn't be in the Tutorials section but in Network Security)
-
You may also want to take a look at this: http://www.erg.abdn.ac.uk/users/gorr...icmp-code.html
It tells you all about ICMP responses.