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
17 views

Is it possible to send a PING without any data from a cisco router

Probably an odd question, I'm just working on a project where I'm using an application that only responds to pings without any data attached. If I ping from this program the Cisco router will respond ...
0
votes
2answers
30 views

Spectrum Router not allowing ICMP Echo Requests

I am currently trying to set up a server off of my Windows 10 PC, after lots of troubleshooting I have concluded that my router is blocking ICMP Echo requests (AKA Ping) from reaching my computer. ...
0
votes
0answers
14 views

iptables not dropping ping requests remotely or locally

I am attempting to prevent my ip address from being pinged by writing a rule in iptables. I found the following ways to write these. iptables -A INPUT -p icmp --icmp-type echo-request -j DROP iptables ...
0
votes
2answers
75 views

Does ICMP use any processes from above layer 3?

I'm doing a project and have to describe the process of a ping from layer 7 to 1. Ping uses ICMP which is layer 3, so the data sits at under a layer 3 header. Does this mean any layers above that just ...
0
votes
0answers
50 views

ICMP-IPv4 total length exceeds packet length

I have a problem with +500byte ICMP packet, I am using ubuntu 16.04 and firewall inactive. When I try to send ping with this command ping -s 500 192.168.1.127 ping is successfull, but when I try to ...
0
votes
1answer
29 views

Why are packets taking 64 hops to connect from my laptop to my laptop?

So, I'm pinging my laptop (from my laptop) expecting the TLL in the reports to be 128 (Because I'm on Windows 10), but I get this instead: Pinging [REDACTED] with 32 bytes of data: Reply from [...
1
vote
1answer
21 views

Do Linux (4.15.0-130) and Windows (10) treat ICMP differently?

While attempting to troubleshoot a Windows 10 machine with erratic network problems, I did a traceroute to a host and got somewhat different results from what I see on my Ubuntu 18.04 system with ...
0
votes
0answers
54 views

ping failed but ICMP Echo Reply received

I have a network topology like: On the host, I had done these scripts before hand: echo 1 > /proc/sys/net/ipv4/conf/veth1/accept_local echo 1 > /proc/sys/net/ipv4/conf/veth0/accept_local echo 0 ...
0
votes
1answer
38 views

Traceroute/tracert fails to receive hops return information

I noticed that with some routers/gateways when I issue a traceroute or a tracert in a 'inner' computer the hops always fail with: request timed out can anybody clarify this? what information goes ...
0
votes
0answers
24 views

Redhat ICMP packet loss

I have a monitoring server running RHEL 7.8 which is monitoring around 10k devices. I send 5 ICMP packets to all of these hosts every 5 min and what I see is a constant small loss of packets across ...
1
vote
1answer
263 views

Windows ping to Any IP including 127.0.0.1 hangs, but internet works

I have weird behavior on my Windows 10 operating system. Any ping/tracert command hangs and nothing happens. I have never seen something like this before, and all i have found in the google aren't my ...
1
vote
0answers
60 views

ICMP DUP! packets (but only sometimes)

I have LibreNMS monitoring devices on my home network and it is logging duplicate ICMP packets on my network. Of the 30+ nodes being monitored, a few (3-4) exhibit this behavior. I can reproduce it ...
0
votes
1answer
100 views

ICMPv6 not reachable under Windows 10 while under Linux it is fine, why, how to fix?

I have just upgraded my ISP and it is finally IPv6-capable. Last year I had an ISP not capable, so... The only thing which does not seem to work under Windows only, is ICMPv6. Since it's an online ...
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
20 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
129 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
44 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
0answers
101 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 ...
1
vote
2answers
89 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
2k 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 ...
-2
votes
1answer
49 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
209 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
22 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 ...
2
votes
1answer
2k 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-...
1
vote
3answers
1k 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
552 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
827 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
655 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
141 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
2k 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
999 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
919 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
5k 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
527 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
3k 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
497 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
94 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
85 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
24 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
2k 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
172 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
1k 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
4k 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
625 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 ...