Questions tagged [icmp]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Why does the ping programs print so slowly?

I have a raspberry pi as my gateway at 10.0.0.2 with some custom iptables rules for transparent proxy. My Netgear router is 10.0.0.1 with DHCP disabled. Internet access like browsing the web works ...
0
votes
0answers
18 views

Traceroute: destination IP-address returned for all but first hop. (Debian 9.11)

At some point in the past year, Traceroute behavior changed. Was working correctly prior. (Debian v9.11 Traceroute 1:2.1.0-2) Now, first traceroute result, my gateway, is correct, but all the ...
0
votes
0answers
25 views

Why does Node.js's ICMP listen get two responses when I ping localhost?

I am currently using the ICMP NPM package for developing a custom contribution node for node-red. After a couple of days' testing and making sure everything is okay before publishing I stumbled upon ...
0
votes
0answers
43 views

Get the Destination address from the ICMP header of a ping response

I want to perform a ping request or other fake request and print the whole response from the command line. Practically I'd like to see the same information I can see with Wireshark so that I can ...
0
votes
1answer
86 views

Ping through interface which has no IP

Test environment is like: Veth pair (veth0 and veth1) was create and veth0 had no IP. Do ping -c 1 -I veth0 192.168.3.102, the result was: ping -c 1 -I veth0 192.168.3.102 ping: Warning: source ...
0
votes
0answers
53 views

Can't ping anything on local network - general failure

When trying to ping another device within the local network (in same domain) it gives: General Failure. Sent = 4, Received = 0, Lost = 4 (100% loss). Huawei Matebook X Pro with latest version of ...
0
votes
0answers
97 views

MacBook can't connect to Raspberry Pi on LAN (but Linux box can)

I can do an nmap and discover my devices on my LAN, but when I try to ping them, I get 'Request timeout for icmp_seq 0'. I can SSH to a machine outside my LAN, but when I try to SSH to a Raspberry ...
1
vote
2answers
73 views

Why can't I ping a computer in same network?

I have two computers on the same Wifi router. I want to ping the other one, it does not happen, I get a "destination host unreachable". Things I've already tried: I disabled the Firewall on both ...
1
vote
2answers
733 views

Does Windows Firewall block ICMP Timestamp Request (Type 13) by default?

This question is specifically related to the ICMPv4 Timestamp Request (Type 13) message. When I have Windows Firewall disabled I can send a Timestamp Request from the host and the client will receive ...
0
votes
0answers
18 views

Unable to Ping a wifi device on local network

I have a server thats connected to 2 different local networks, however, I can ping a client on one of the local networks but as soon as the client joins the 2nd one, I cant ping it. the network that ...
-2
votes
1answer
39 views

Is really NMAP uses ping packets to consider Host discovery?

I run this command nmap -sn 192.168.0.2 for only Host discovery. And then I started wireshark to see what will going to happen. I thought It would send ICMP echo req, but the results was very ...
1
vote
0answers
142 views

No internet connection in cmd and msys2 when using USB Tethering and Wifi Hotspot on PdaNet+

I used my phone to connect laptop to the internet using PdaNet+. There are two options in PdaNet+ which are USB Tether and WiFi Direct Hotspot. I faced this problem for both the options. I can ...
1
vote
0answers
21 views

iptables - redirects to local network causes connectivity issues

I have 2 Debian routers and network set up like this: | | | Internet/Public IP | ---------- ROUTER A ---------- | | 10.97.0.1/16 | | 10.97.64.1/16 ...
1
vote
1answer
633 views

Allow VRRP on firewall

Deploying an HA redundant solution we use Keepalived with VRRP traffic and a virtual IP. So far I enabled VRRP traffic with the following command (working): sudo firewall-cmd --zone=dmz --add-rich-...
0
votes
3answers
711 views

Win10 allow incoming ICMPv6 - firewall is behaving weirdly

I finally got it working but I'm a bit confused still. Has anyone an idea why this approach (netsh) doesn't work on win10? technet forum netsh advfirewall firewall add rule name="ICMP Allow incoming ...
0
votes
1answer
447 views

IPv6 ping only possible when target machine pings back

I have a typical "a can ping b but b cannot ping a" problem. I use IPv6 for the ping. What is special in my case is that "b" can ping "a" immediately after "b" pings "a". After some trials, I realised ...
1
vote
0answers
621 views

Network Emulator Toolkit (NEWT) ICMP failing Windows 10

I am trying to use Microsoft's Network Emulator Toolkit to simulate poor network conditions, but it is failing to allow ICMP packets to pass through on Windows 10. I have tried disabling the firewall,...
5
votes
1answer
345 views

Why does the 2nd ARP request wait until the pings are over to show up?

This problem was presented to me by one of my professors because it only happened after switching from 100Mb cards to Gigabit NICs. The second arp request that comes from the computer being pinged (to ...
2
votes
1answer
110 views

Ping from VMware guest machine to the Ethernet interface of the Host machine

I want to ping from a VMware player guest machine to the Ethernet Interface of the host machine. The VMware guest machine has an adress in the VMWare Virtual Network:192.168.221.4 so I am able to ...
1
vote
2answers
1k views

Only allow pinging in one direction

How do I allow a ping from the first PC to a second one but block a ping from the second PC to the first one? I created this firewall rule on both Mikrotik routers: add action=accept chain=forward ...
3
votes
1answer
688 views

How can Ping not use a transport protocol?

I just learned that Ping uses ICMP directly, i.e. it bypasses the transport layer. How is that possible? Shouldn't an application (L5) use UDP or TCP in the transport layer (L4)? The way I know it is ...
1
vote
0answers
33 views

Spoofed Tunnel Route

What does it mean when tracert always shows a single long jump? The route below is always the same except the last hop goes directly to any destination IP address that I choose. And, how does the ...
0
votes
1answer
767 views

Required ICMP types for IPSec tunnel?

I have IPSec tunnel set up between 2 routers. It used to work fine, however recently I hardened policy in IDS and I started getting alerts about ICMP type 11 code 1 being sent from one router to ...
3
votes
1answer
4k views

Why is 32bytes the default ping size? Is it okay to use less?

I have a very large number of addresses I need to ping on a company network. I want to be as unobtrusive as possible. Would using ping 1.1.1.1 -l 1 reduce the strain on the network? Is the difference ...
0
votes
1answer
490 views

TCP application setting Don't Fragment (DF) Bit

I noticed that some TCP application is setting the DF (Don't Fragment) bit. My research seems to indicate that TCP wants to avoid fragmentation and instead want to adjust the segment size (MSS). ...
1
vote
1answer
1k views

Forwarding ICMP over a server without redirects

I need to test network characteristics like RTT in a network for example by using ICMP pings. This question is special since I want to force every packet over a server who needs to work like a router ...
0
votes
1answer
2k views

How do I get all of the websites visited from this packet?

I’m trying to find all the websites visited along with their IP srs and destination addresses but all I’m getting is a “No response found!”. PS: I am given the .pcap file so I can’t modify it. Also ...
1
vote
0answers
478 views

Mac receiving ICMP requests but not sending any replies

Why could my osx machine be receiving ICMP requests (that I'm sending), but not returning any replies? $ sudo tcpdump -nni any icmp tcpdump: data link type PKTAP tcpdump: verbose output suppressed, ...
0
votes
0answers
2k views

Constant ICMP echo request sequence number - no response

I wrote a program which (in an infinite loop) sends an ICMP echo request packet (the packet consists of IP header and ICMP header only), waits for some time and then receives an ICMP echo reply packet ...
3
votes
0answers
91 views

Virtualbox machine cannot ping its own public IP

I have a strange problem. I have a bridged network adapter on my virtualbox machine (Kali Linux) - with assigned IP address with my local LAN pool (192.168.0.22) and I can ping e.g google.com (DNS ...
2
votes
1answer
83 views

Unable to send ping from host A via B to C

There is a network of three computer. Problem: Host A (192.168.1.1) can send ping to host B (10.10.0.5, also 192.168.1.2), but can not to send C (10.10.0.6, 10.10.0.7). Host A say: "10.10.0.6 = ...
1
vote
0answers
23 views

Why is address family mandatory when using icmp with pf?

there. I wasn't able to find the answer for this question: when creating an ICMP pf rule, I must tell it's inet or inet6 address family; I would like to know why, as proto icmp is for inet and proto ...
0
votes
2answers
1k views

Zabbix ICMP Template Macro

I am trying to use a Macro in the ICMP Template to have more flexibilty for my hosts. In my head I have everything set up correctly, In my trigger view I can see the host is set to alarm warning only ...
0
votes
1answer
1k views

Get ICMP packet payload

I know, that I can send a custom payload with -p param in hex format, like ping -p DEADBEAF 8.8.8.8 Just curious, does the server could answer with payload too? If yes, how can I show it in terminal? ...
0
votes
1answer
1k views

icmpping in Zabbix, one item multiple server

I want to check availability of 16 machines with a single simple check item in zabbix, how can I do that?
0
votes
0answers
153 views

Tracert shows unlisted IP adress. Can't ping or tracert in LAN

So this issue is boggling my mind right now. I have the following setup: device A - my desktop computer, Win 7, wired ethernet connection to router (Fritzbox 7490). device B - my laptop computer, ...
0
votes
2answers
890 views

Cannot ping, but can connect to the internet - Windows 8

I am not able to ping google.com or any other host when connected to ethernet (request timed out), however I do have network connectivity. When I connect to Wi-Fi on the same network, I am able to ...
1
vote
1answer
2k views

Exact meaning of ICMP protocol 1 port xxx unreachable in a ping exchange

A tcpdump of a ping session shows the following two lines: IP gateway.comp.com > somehost.comp.com: ICMP redirect 10.8.0.10 to host othergateway.comp.com, length 68 IP gateway.comp.com > ...
1
vote
1answer
3k views

Why does ICMP Echo Request and Echo Reply packets contain a Data portion?

The ICMP Echo Request and Echo Reply packets contain a Data portion. For example this is an Echo Request packet (that was sent in Windows using the ping command): As you can see, there is a Data ...
0
votes
0answers
502 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
184 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 ...
4
votes
2answers
19k 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
2
votes
1answer
755 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
8k 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). ...
2
votes
1answer
1k 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.
0
votes
0answers
613 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
637 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 ...
1
vote
1answer
2k 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) ...
1
vote
1answer
797 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
375 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 ...