ICMP stands for Internet Control Message Protocol. It is primarily used by the operating systems of networked computers to send error messages indicating service status.

learn more… | top users | synonyms

0
votes
0answers
16 views

How to use socket or raw socket to sniff all icmpv6 nd packets?

I am working on NDP(neighbor discover protocol) on a router host and the ndp proxy functions to advertise neighbors behind the same router host. But currently, got stuck with the socket to sniff ...
0
votes
0answers
23 views

How do PING responses disabled from different subnets?

I found that: I can ping my Windows box A from another computer B in the same subnet. This implies, that echo server is running. I can open remote desktop on A from another computer C in another ...
0
votes
1answer
27 views

Why is the ICMP protocol considered to run at layer 3 when it is a payload for the IP packet?

Why is the ICMP protocol considered to run at layer 3 on the wikipedia page ? (same layer as IP) when the ICMP protocol data is a payload of the IP packet? this is the article on wikipedia that ...
1
vote
0answers
2k views

udp client sending ICMP “port unreachable” when receiveing messages from the server

(Note: I moved this question from StackOverflow, because it's to be considered off-topic there, better fits here, and still unsolved) I have a udp client using luasocket, basically doing this (with a ...
-2
votes
2answers
36 views

Why ICMP is different that TCP and UDP? [closed]

what is the difference between Internet Control Messaging Protocol over Transmission Control Protocol and User Datagram Protocol
-1
votes
1answer
741 views

Is ICMP port unreachable error generated by both TCP and UDP? [closed]

A program on machine X attempts to open a UDP connection to port 5376 on a machine Y, and a TCP connection to port 8632 on machine Z. However, there are no applications listening at the corresponding ...
3
votes
1answer
57 views

Varying TTL on LAN

I've got a wireless router behind a router-modem. If I ping my router-modem (TWO hops), all seems well : robut@host:~$ ping 172.X.X.36 PING 172.X.X.36 (172.X.X.36) 56(84) bytes of data. 64 bytes ...
3
votes
2answers
294 views

Linux Virtual machine can't ping Google, while Host can do it

Assumptions: You have a Windows 7 Ultimate as your host. You have a Linux Kali 2 as a VMWare Workstation virtual machine on this host. Your network adapter is bridged on the VMWare(Version 10.0.3). ...
0
votes
0answers
191 views

Why can't i ping my iPad from the PC?

I have an iPad 2 with iOs 8.3 and i have a PC with Win 7. And i have a trouble: the PC can't ping the iPad. 'ping 192.168.0.41' says 'destination host unreachable' But my gate device, ZTE F660 can ...
1
vote
1answer
41 views

Disable ping on Windows (not block)

How can I disable Windows ping from replying? Is there a service I can kill? I don't want to block it via a firewall, as I can my own ping service running (custom application). tia.
4
votes
4answers
10k views

What are reasons to disallow ICMP on my server?

An EC2 Instance has ICMP services disabled by default. While it's not totally clear to me why, I think it's because it could be a potential security risk. At the moment I'm enabling Echo Responses ...
0
votes
0answers
56 views

Traceroute behind a Carrier-Grade NAT (IP address 100.64.0.0/10)

Is it possibile that a Carrier-Grade NAT blocks all incoming ICMP messages? Trying a traceroute from an IP address belonging to the range 100.64.0.0/10 it doesn't detect any hop, neither the first ...
0
votes
0answers
414 views

how to stop PC from sending ICMP of “Destination Unreachable(host administratively prohibited)”

I'm doing some experiments and measurements. I send some random TCP packets to a laptop(with fedora system), that laptop reacts by sending ICMP packets of type 3 and code 10, which means Destination ...
0
votes
1answer
156 views

Locating and pinging a satellite

I want to ping a satellite, or ping some far off computer and know for sure that somewhere in the traceroute is a satellite hop I know that if I ping a computer in , say, australia (i am in the UK) ...
0
votes
0answers
117 views

Firewalld Zones and ICMP

How are the zones in firewalld configured w.r.t ICMP packets? and do they act differently for interfaces and sources? [Original Q from serverfault] 1. How firewalld route ICMP packets? I would ...
0
votes
0answers
74 views

traceroute shows destination host only

I run tracert to a target in our company network and got the following result (ip and names are mangled) $ tracert target.example.com Tracing route to target.example.com [192.168.10.1] over a ...
-1
votes
1answer
43 views

Customize Linux ping icmp response

Is there any way to customize the icmp echo response a Linux machine sends back when someone pings it? Say I ping my PC at home and I want it to send a few bytes of preset data back, a message in ...
-2
votes
1answer
124 views

Why ping/latency lower in-game than command prompt?

Is it weird that when i tested my ping to a specific gaming server on cmd, and it showed a constant and stable 42 ms (never below that), and When i played on that server in the game, it showed my ping ...
4
votes
1answer
17k views

What could be causing problems on pinging Windows 8 machines?

Here at my job I have five machines with Windows 8 Consumer Preview installed on it. Today I was testing the network conectivity and any of the five machines answered to a ICMP ping request (but ...
0
votes
0answers
45 views

How to configure Windows XP/windows 7 to support icmpv6 redirection?

  I construct an icmpv6 redirection packet. When I send it to Linux, it works well. Then I modify its destination ip and mac address and send it to the corresponding windows XP/7 system, but windows ...
0
votes
0answers
222 views

Can't ping Windows 2012 Server

File and Printer Sharing (Echo request - ICMP v4 and ICMP v6) is enabled in Inbound Rules, but still I can't ping server. I even turn off my Windows Firewall. What is the reason ?
1
vote
2answers
316 views

Why does a ping flood wake up a PC, while a single ping does not?

I just noticed that when you flood-ping a PC that is in sleep-mode, it will wake it up while a single ping or multple pings per 1 sec does not wake it up. Wake up on lan/wan is enabled. What is the ...
0
votes
3answers
466 views

How ping a server which has ICMP blocked

I'm trying to ping a server which has ICMP blocked with normal ping. It's showing: Request timed out Is there any other method to ping it?
1
vote
0answers
61 views

ICMP flood with ping working only one time

my problem is simple: The first time I made a flooding ping to a fake ip on my network (for testing if someone is on promisc mode), it works perfectly: $ping -f 192.168.1.10 After perfoming this, ...
0
votes
1answer
218 views

Block ICMP flood from a specific IP with pf

I'm getting a lot of ICMP throttle messages in my system.log: Apr 11 20:45:28 kernel[0]: Limiting icmp unreach response from 1054 to 250 packets per second Apr 11 20:45:29 kernel[0]: Limiting icmp ...
0
votes
1answer
2k views

Is it possible to tunnel ICMP over TCP?

I don't want to tunnel TCP over ICMP (as ptunnel does), I want to go the other way around. I'm in the situation where I have TCP (HTTP) connectivity to a machine but an internal firewall over which I ...
0
votes
2answers
37 views

What does this hex value mean in source column within NETMON?

I am using NETMON to try and figure out why my local network is running so slow. I think it may be related to a system logged into it, but in order to not draw attention to my task i have been ...
1
vote
1answer
204 views

Can a home PPPoE connection access all websites, regardless of the site infrastructure's MTU settings?

I'm just trying to get my head round MTU, MRU and MSS. My interest initially came from the answer in this post: Security risk of PING?: Some ICMP packet types MUST NOT be blocked, in particular ...
0
votes
1answer
117 views

Can I ping a host that has disabled the ICMP Ping option?

I need to know if it's possible to compare and test how fast is an IP (ie: any web or game server) relative to my location (in terms of network latency), even if they have disabled ICMP/Ping requests ...
2
votes
1answer
370 views

Cannot ping or ssh from lan to virtual machine

I have next setup: My home lan = 192.168.1.0/24 My virtual lan = 192.168.207.0/24 My laptop = 192.168.1.109 (dhcp OS=Windows7) My desktop = 192.168.1.206 (fixed ip OS=Windows8) My virtual machine ...
1
vote
1answer
195 views

UDP port scanning

UDP is connectionless, so I can't expect a response packet, necessarily. If the port is closed, I might get an ICMP error message, but if the firewall could silently drop the ICMP packet How could I ...
0
votes
1answer
594 views

Make ICMP exempt from IPSec protection

I'm reading a reference book on Microsoft DirectAccess. It contains the quote: To use Ping as a troubleshooting tool, ensure that Internet Control Message Protocol (ICMP) is exempt from IPSec ...
2
votes
1answer
759 views

SSH and PWNAT for SSH Connection Between Two Separate NATs

Is it possible to use pwnat and SSH to establish a "peer-to-peer" SSH connection between two machines that are behind two separate firewalls/NATs? If this is possible, what are the steps that would ...
35
votes
4answers
14k views

What is the purpose of using a large ping packet?

While analyzing some traffic logs, I noticed a node pinging its gateway with a large ping packet size, ranging from 700 bytes to 1 MB. It's a constant ping from node to gateway and the size per ping ...
9
votes
2answers
6k views

What is ICMP broadcast good for?

To configure Linux to ignore ICMP broadcasts (to protect from SMURF attacks), I have added the following line to /etc/sysctl.conf: net.ipv4.icmp_echo_ignore_broadcasts = 1 Anyone knows what are the ...
0
votes
0answers
31 views

No response to ping of specific size

ping <anything> -s 473 does not receive a single reply. ping <anything> -s 476 works, as well as ping <anything> -s 472 but no size inbetween. What could be the reasons for ...
1
vote
2answers
422 views

Batch Capture incoming Netstat IPs as variable

I'm trying to figure out if there is a way I can capture (and if possible, log) the ip addresses displayed from 'netstat' command. I'm trying to make a script that waits for a ping from a specific ...
0
votes
1answer
648 views

Router keep advertising itself on ipv6

I keep receiving the following router advertisement every few seconds from my router on ipv6 despite disabling my wireless ipv6 connection: # tcpdump -vv 'ip6 and icmp6' tcpdump: listening on wlth0, ...
0
votes
1answer
28 views

How to create ICMP Code-3 error

I made lots of search but couldn't find useful info about how create ICMP Code-3 (dest. unreachable) error and capture it with Wireshark. I tried to ping a closed port in Linux machine and also used ...
0
votes
0answers
250 views

Wireshark Capture Filter

I am new to wireshark and I am trying to capture an ICMP packet over 802.11g, I am using windows and pingplotter. The issue is that on wireshark capture I am not getting any ICMP packets no matter how ...
3
votes
1answer
127 views

ICMP Fails after first packet

I'm trying to ping any ip, other than my LAN IP & localhost, it fails except the first packet!! Snapshot from CMD with the pings But Wireshark capture shows that the ICMP is success!! ...
1
vote
1answer
327 views

OS X: how to make it reply to “ICMP time stamp query”?

As per another question, I'm using hping--icmp-ts to send the ICMP time stamp requests to debug asymmetric routes. It seems like my OpenBSD box generates time stamp replies by default without any ...
3
votes
1answer
6k views

How do I forward traffic between Tun device and eth0?

In summary, I would like to have Tun device traffic forwarded back and forth through another network interface that has internet connection. While I can see the traffic going out to internet ...
5
votes
2answers
27k views

what is type of ICMP packets? TCP or UDP

ping packets is a type of ICMP packets.Is there any relation between ICMP with TCP.In other can we guaranty their arrival in the network I want to know ICMP packets in the network is tcp or udp or ...
0
votes
0answers
94 views

ICMP over protected wifi

I am looking at sending a single ICMP message to a server and recieving one single ICMP reply. The question that I'm trying to answere is if it is possible to send an ICMP ping over a wifi that i do ...
1
vote
1answer
92 views

How to inspect DSL router? [closed]

There is a DSL connection and a DSL router (Speedport W 701V). After some days or weeks (I didn't record the events) the router makes some problems. Internet connection is ... broken but not ...
0
votes
2answers
6k views

Filter ICMP packets sent from my IP address in Wireshark with the Packet Filter

I want to filter the ICMP packets sent from my IP address in Wireshark. I tried the following expression: ip.src == xxx.xxx.xxx.xxx && icmp But the problem is that it shows packets with ...
1
vote
1answer
533 views

ICMP firewall policy for standard ubuntu desktop

For a standard desktop computer running Ubuntu 12.04 behind a NAT router, what ICMP packets should one accept in the firewall, say iptables? It seems there is often conflicting advice; some say block ...
0
votes
1answer
2k views

How can I block ICMP/PING/Traceroute on Mac OSX Server?

I understand that on Linux I do: // allow echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all // block echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all // permanent block (edit /etc/sysctl.conf) ...
1
vote
1answer
3k views

How is ICMP unique?

I just read this in Wikipedia: Although ICMP messages are contained within standard IP datagrams, ICMP messages are usually processed as a special case, distinguished from normal IP ...