Internet Control Message Protocol, designed for control and diagnostic messages. Used by common diagnostic tools like ping or traceroute.
Questions tagged [icmp]
583 questions
-1
votes
1 answer
How to send an ICMP Port Unreachable package via C#?
We're currently facing an issue with an unknown device in one of our customer's local networks. This device is sending an ICMP Port unreachable package to our client, which then leads to an unexpected behaviour.
In order to verify that a fix has…

ElGaucho
- 408
- 2
- 14
-1
votes
1 answer
Icmp subnet address request
I'm trying to understand how i can get a subnet address using ICMP. In the Wikipedia (other sources as well), there is a message example, but all I was able to find has nothing to do with this message.
Tried to use IcmpSendEcho (from msdn example),…

Shushuka
- 3
- 2
-1
votes
3 answers
Networking, ping tool
I have pinged many websites using ping command, and got the reply. Now I want to find the distance in meters between my PC and the public web server. Do you know how to find the distance between a target and my computer ?
-1
votes
1 answer
Malformed Packet on ICMP python
How i can create a frame icmp
I mark malformet packet on python
import socket, struct, uuid, subprocess, fcntl, time,random
List item
from binascii import hexlify, unhexlify from datetime import datetime
tarRed = raw_input('Ingrese nombre de…

user2981604
- 1
- 1
-1
votes
1 answer
Need help fixing this C Socket ICMP Program
i have a C program that's able to receive ICMP requests and display them, but however will not send out any ICMP requests itself from what I've seen using Wireshark.
I have included the required libraries and i'm using a IP header file and ICMP…

A CSc Student----
- 97
- 1
- 2
- 10
-2
votes
1 answer
Detect faulty physical links with ping
I would have a question regarding physical problem detection in a link with ping.
If we have a fiber or cable which has a problem and generate some CRC errors on the frame (visible with switch or router interface statistics), it's possible all ping…

bdes31
- 117
- 4
-2
votes
1 answer
When an ICMP error message contains error, how it is checked and why isn't an ICMP message generated?
Since no ICMP error message is generated in response to an ICMP error message, how are the errors in errorneous ICMP messages detected, or is the message discarded?
-2
votes
1 answer
How to use python socket to sniff ICMP & TCP request
I'm trying to write a program to sniff outgoing ICMP & TCP request packets by python2.7 socket
But, I just know how to sniff incoming packets on port.
The program can be executed to sniff any outgoing ICMP & TCP packets by superuser on Llnux.
How…

Curtis Su
- 50
- 4
-2
votes
1 answer
ICMP time exceeded in-transit
In the last few days my server suffers an attack of this kind:
(bandwith > 60MBit/s, XXX.XXX.XXX.XXX are multiple IPs)
tcpdump -n proto ICMP
17:15:19.267464 IP XXX.XXX.XXX.XXX > my_ip: ICMP time exceeded in-transit, length 36
…

mattia
- 1
- 2
- 2
-3
votes
1 answer
Interpreting tcpdump output
+ 05:09:27.978249 IP 10.0.3.25 > 10.0.4.25: ICMP echo request, id 2604, seq 162, length 64
+ 05:09:27.978281 IP 10.0.4.25 > 10.0.3.25: ICMP echo reply, id 2604, seq 162, length 64
+ 05:09:27.979776 IP 10.0.4.25.45430 >…

Avantika Singh
- 31
- 1
- 6
-3
votes
1 answer
how does a router advertise itself and the hotspot?
In which protocol does router use to advertise itself and the network(including the name of the netwrok, like hotspot)?
I haven't found it on the interent, do you have any ideas?

nicole
- 3
- 1
-4
votes
1 answer
Trying to ping linux vm hosted on azure does not work
As title, how can I ping my machine to do some basic network testing? I have created a new VM but pinging it's public address returns request timeout.

William Yeung
- 10,368
- 9
- 36
- 42