Internet Control Message Protocol, designed for control and diagnostic messages. Used by common diagnostic tools like ping or traceroute.
Questions tagged [icmp]
583 questions
0
votes
3 answers
Creating an ICMP traceroute in Python
I am trying to implement an ICMP based Traceroute in Python. I found a very helpful guide ( https://blogs.oracle.com/ksplice/entry/learning_by_doing_writing_your ) that has allowed me to create a UDP based Traceroute so just needs modification.…

Jamesla
- 1,378
- 7
- 31
- 62
-1
votes
1 answer
How can I trigger my python script to automatically run via a ping?
I wrote a script that recurses through a set of Cisco routers in a network, and gets traffic statistics. On the router itself, I have it ping to the loopback address of my host PC, after a traffic threshold, however now I need the script to run. Now…

hfakoor222
- 25
- 7
-1
votes
1 answer
how to view ICMP request on public IP
I'm trying to check if a "ICMP" request on my public IP is being sent. I'm sending a request from "scapy" in python but i am spoofing the "src" address as my public IP. how do I check incoming "ICMP" requests on my public "IP" or are there any…
-1
votes
1 answer
How does ping -a know the hostname of my Raspberry Pi 4?
My Raspberry Pi 4 B is connected (for the first time) to the WiFi of my PC (running Windows). Then the raspberry(ip) showed up in the list in Network Scanner of MobaXterm. What surprised me is that the list also shows the name of my Pi. And ping -a…

BAKE ZQ
- 765
- 6
- 22
-1
votes
1 answer
Scan Open ports by Ping Scan method
During online course I came across the term "Ping Scan" in which we sends ICMP packets to target IP address.
It made me confuse because we know every machine has random IP address assigned by Router.
So how it is possible to scan ports of specific…

Syed Shahrukh Ali Gellani
- 86
- 2
- 11
-1
votes
1 answer
Use registry to see ICMP type settings
I would like to see which ICMP types are allowed / enabled on my system.
I've found this where you can set up your ICMP but is there a possibility to see these settings in registry or to get them through powershell commands?

Wi3l4nd
- 1
- 6
-1
votes
1 answer
does the echo reply do another DNS lookup?
When I do ping www.google.com the protocol ICMP does a DNS lookup and send a echo request to the google IP. When google responds, another dns lookup happens?
And if I do ping -n www.google.com do I save time but not performing the two dns lookups?

andres viena
- 57
- 3
-1
votes
1 answer
Unable to ping to a host
I'm able to ssh to a host from my machine but when I try to ping the host from my machine, it says 100% packet loss !!
So my query is that what all could be the possible reasons behind this behavior (able to SSH but unable to PING through the same…

gautam
- 197
- 1
- 4
- 17
-1
votes
2 answers
traceroute why does ICMP ECHO work
I'm really confused on how traceroute works, I read online that Traceroute uses ICMP messages and TTL fields in the IP header for its operation and transmits packets with small TTL values.
I did
test 1: traceroute <"domain">
traceroute was never…

Karno
- 11
- 1
-1
votes
1 answer
Cannot ping Amazon EC2 instance
I just created a server using AWS Free tier. I have created a new Windows instance in Ireland. I just trying to pin the public IP but it doesn't response. I see that there are an "inbound" rules section, could you provide more info?

Docu
- 147
- 1
- 15
-1
votes
1 answer
c++ code for send ICMPv6 with neighbor solicitation
I spend a lot of time with compose ICMPv6 with neighbor solicitation by pcap. I studied RFC:
rfc4861#section-4.3
rfc4443#section-2.3
But I did not be able made correct checksum. As a next step a try tu find some example in C/C++. I found ns.c from…

JosefDav
- 11
-1
votes
1 answer
AWS-EC2 instance -ICMP not working -Direct Connect
I have got a EC2 instance spun up in AWS and we are connecting to AWS via Direct Connect. So when i go to a switch on my side, i could see BGP Peering is established and could ping the cross-link IP.
I have created a another network(10.0.0.0/24)…

Hari
- 3
- 1
-1
votes
1 answer
socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP) on NDK
NDK programing for Android in C language: I need to create a ICMP socket with the following code:
socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP)
It fails. Does somebody know why?

Syosan
- 21
-1
votes
3 answers
Why no ICMP error message is generated for a fragmented datagram that is not the first fragment?
No ICMP error message will be generated for a fragmented datagram that is not the first fragment.
- Data Communications and Networking by FOROUZAN
Why?

jdepp
- 1
- 1
-1
votes
2 answers
Game server isn't responding to ping
I've made a simple Java application which tries to ping a game server repeatedly until it gets a response and then tells the user that the server is up. I've bumped into a problem: the server doesn't respond to pings whether it's online or offline.…

Justin
- 533
- 2
- 6
- 16