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
0 answers
23 views

ICMP ping with increasing payload size [closed]

Is there a tool, ideally already available in Debian stable, which can emit a sequence of ICMP echo requests that have an increasing payload size? I want to debug latency inside vs outside a wireguard ...
Damian's user avatar
  • 1
0 votes
1 answer
74 views

Allowing incoming ICMP from only a specified source IP

In the predetermined snippet: netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow What would I change exactly to allow ...
James Smith's user avatar
0 votes
0 answers
26 views

ICMPv6 Windows Firewall

I've added a simple custom incoming rule in my Windows 10's Firewall to allow all ICMPv6 packets without any limitation, but still https://ipv6-test.com/ reports as filtered. If I disable the firewall,...
roughnecks's user avatar
1 vote
1 answer
89 views

Explicit Congestion Notification (ECN), Why isn't the notification done by the Router?

Quoting from Wikipedia: "When both endpoints support ECN they mark their packets with ECT(0) or ECT(1). Routers treat the ECT(0) and ECT(1) codepoints as equivalent. If the packet traverses an ...
ConventionalProgrammer's user avatar
1 vote
0 answers
81 views

Windows ARP retry interval

I have noticed the following behavior with Windows 10. I am sending an ICMP packet every second or so to a valid IPV4 address using the Windows ping utility. I then remove the device from the ...
Jon's user avatar
  • 153
-2 votes
1 answer
151 views

CVE-2023-23415 doesn't work on my Windows 10

The problem is that I am trying to find answers to the CVE-2023-23415 because it's not working. So, I did everything correctly, I crafted an ICMP echo packet on Scapy, configured it to buffer overflow ...
19216811's user avatar
1 vote
1 answer
716 views

How can I set up 6to4 on MikroTik and configure MTU to fix connection failures and update guix?

I set up a 6to4 SIT tunnel on MikroTik following the example for Hurricane Electric in the MikroTik help files. It worked, but the connection to some resources was painstakingly slow and often timed ...
Roman Riabenko's user avatar
0 votes
1 answer
552 views

Laptop replies to ping in sleep mode

Recently I got new company laptop with Windows 11 and noticed weird behaviour. When the computer is in sleep mode (screen blank, power led slowly fades in and out) the laptop still replies to network ...
Tomasz Grobelny's user avatar
0 votes
1 answer
1k views

Which inbound/outbound rules are necessary for stable IPv6 connectivity in Windows 10/11?

I'm experiencing an issue with Windows 10 where IPv6 connectivity becomes unstable over time. Initially, IPv6 works as expected, but after a while, it stops working. Upon investigation, I've ...
obeN's user avatar
  • 101
0 votes
1 answer
81 views

Why pinging device under VPN succeeds?

There are two devices connected to the same LAN network: A with IP 192.168.1.1, B with IP 192.168.1.0. I connected B through VPN (WireGuard if that matters) exposed externally (B on server - BS - ...
Jon's user avatar
  • 3
7 votes
1 answer
3k views

ICMP packet with TCP?

For some time now I have found myself interested in packet analyzing and I try to figure out all kinds of stuff that I see in network captures. I hope you guys might want to help me find out this one. ...
Deluccio's user avatar
1 vote
0 answers
338 views

Windows - sharing connection to WinTun interface - ping fails with protocol unreachable

I'm trying to access the network from the Windows app which creates TUN interface connection. Windows 10 Home Edition. TUN interface created with https://www.wintun.net/ project example code. When ...
Michał Jaroń's user avatar
1 vote
0 answers
32 views

How do ping packets get to the ping utility in a NATed network? [duplicate]

I did this test from two PCs at home that are connected to a typical SOHO router, so the router is doing Network Address Translation. I pinged successfully an IP address from the two computers: ping 8....
Antonio23249's user avatar
1 vote
1 answer
154 views

windows built-in ping response strangeness

Have cheep noname "managed" websmart switch, generic china. It have default IP 192.168.1.199 When ping it on LAN with my favorit ping program https://github.com/dexit/fping-windows (using it ...
user2956477's user avatar
0 votes
0 answers
279 views

ICMP 3 / 3 if a port is unreachable

When I want to connect to a non-opened port of my Linux-PC from my Windows PC my IP-stack runs into a timeout after some seconds. So what's happening here ? Does my Windows PC not evaluate any ICMP ...
Bonita Montero's user avatar
1 vote
0 answers
187 views

How do you display timeouts when using ping6 on macOS?

When using ping6 (IPv6 version of ping), on macOS, I don't visually see the request timeouts when they occur. The ping responses just pause for each request that times out. A super observant eye will ...
Marcel Wilson's user avatar
0 votes
0 answers
196 views

Devices on Network Intermittently Unable to Ping Each Other

I'm trying to connect to an NVIDIA Jetson AGX Orin DevKit (Ubuntu 20.04) over my local network. I believe that I've set up the SSH server correctly because sometimes I'm able to connect to it. However,...
Nicholas Carpenedo's user avatar
0 votes
1 answer
345 views

Are infinite icmp requests to a server a good way to monitor connectivity?

I have a self-hosted vps server, and I want to always see its status in the system tray of my home machine(if it is reachable or not). For that purpose I wrote a simple bash script that looks like ...
Alexey104's user avatar
  • 103
1 vote
0 answers
1k views

How to stop the sending of ICMP timestamps replies and requests?

Woo, progress! Updated below! I've been all over the internet looking for an answer to this one. I am using a Raspberry Pi running Raspbian Debian 11. The problem seems rather simple, just blocking ...
SuperDialga's user avatar
0 votes
1 answer
842 views

Correct flag to use instead of --icmp-type?

I am trying to set up iptables v1.8.7 on a Debian 11 Raspberry Pi to block ICMP timestamp requests and replies. The tutorial I am following and all the other forums I have looked at say to use the ...
SuperDialga's user avatar
5 votes
1 answer
24k views

how to test ntp servers as real servers that responding without using ping test

we have bash script that configured the chrony.conf script check if ping is ok on ntp1 and ntp2 ( ntp servers ) and then script insert the ntp servers to /etc/chrony.conf ( only if ping success ) ...
King David's user avatar
0 votes
1 answer
1k views

How is ARP reply generated from Windows 10? Sending ARP req from embedded device through ethernet port to windows10 on laptop

I want to send an ARP request using my embedded device through the ethernet cable to my laptop that has windows 10 on it. I want to receive an ARP reply from windows back to my embedded device through ...
AZ123's user avatar
  • 5
3 votes
2 answers
3k views

Detect ICMP requests on a Windows 10 System

I'm looking for a way to detect ICMP requests (e.g. ping) on a Windows 10 System. Unfortunately it does not work with netstat, since ICMP doesn't depend on a port hence all other light weight tools ...
Albin's user avatar
  • 10.6k
0 votes
1 answer
1k views

DHCP Discover : why don't other hosts reply with ICMP 'port unreachable'

When a host sends a DHCP Discover (port 67, UDP), why don't all the hosts (except the DHCP server) reply with an ICMP 'port unreachable' message. This would cause a huge amount of useless data going ...
cmdEvo's user avatar
  • 3
1 vote
2 answers
1k 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. ...
Cameron Bell's user avatar
0 votes
2 answers
515 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 ...
Wolfgang's user avatar
0 votes
1 answer
78 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 [...
Crabby Fish's user avatar
1 vote
1 answer
152 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 ...
Frank van Wensveen's user avatar
0 votes
1 answer
1k 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 ...
ZEE's user avatar
  • 958
1 vote
1 answer
2k 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 ...
Sergey Vaulin's user avatar
1 vote
0 answers
593 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 ...
user13700422's user avatar
2 votes
1 answer
436 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 ...
Vlastimil Burián's user avatar
0 votes
0 answers
39 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 ...
wlnirvana's user avatar
  • 103
0 votes
0 answers
49 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 ...
Shawn Hughes's user avatar
0 votes
0 answers
360 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 ...
Nemanja's user avatar
0 votes
0 answers
397 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 ...
b1zzu's user avatar
  • 101
0 votes
0 answers
378 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 ...
Marco's user avatar
  • 1
1 vote
2 answers
348 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 ...
Borut Flis's user avatar
3 votes
2 answers
6k 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 ...
VineAndBranches's user avatar
-2 votes
1 answer
88 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 ...
Utkarsh Agrawal's user avatar
2 votes
0 answers
547 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 ...
Chek Wei Tan's user avatar
1 vote
0 answers
29 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 ...
user1022059's user avatar
2 votes
1 answer
6k 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-...
gusto2's user avatar
  • 133
2 votes
3 answers
3k 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 ...
Djfe's user avatar
  • 21
0 votes
1 answer
1k 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 ...
Niko's user avatar
  • 113
1 vote
0 answers
1k 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,...
MrTod's user avatar
  • 53
6 votes
1 answer
1k 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 ...
SkyParrillo's user avatar
2 votes
1 answer
312 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 ...
Mouin's user avatar
  • 123
1 vote
2 answers
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 ...
Alex's user avatar
  • 33
3 votes
1 answer
2k 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 ...
ToniAz's user avatar
  • 145