Skip to content

Conversation

@vb-linetco
Copy link

On linux platform when using ping from iptuils there is an issue when some misbehaving hosts or other network devices may respond to a ping with a different address. The ping implementation of iputils unfortunately regards those as valid replies and prints the timing information nevertheless see: comparison of source address with target and the corresponding statistics output

We observed an issues with host being detected as alive when another misbehaving hosts replies to the echo requests. This PR Addresses the issue by adding an option to enable verification of reply addresses.


---------

Co-authored-by: sa-linetco <sa-linetco@users.noreply.github.com>
@vb-linetco vb-linetco changed the title Add support for verifying reply addresses (#2) Add support for verifying reply addresses Feb 25, 2025
@vb-linetco
Copy link
Author

Hey @danielzzz , when you get a chance, could you please take a look at this PR? Let me know if you spot anything that needs changing. Thanks!

@mondwan
Copy link
Collaborator

mondwan commented Sep 29, 2025

Hi, after reading your implementation, can you rename the option to be ignoreDifferentAddressReply?

A side note. I have update the underlying node engine. You may need to rebuild this project development accordingly.

@vb-linetco
Copy link
Author

@mondwan I've updated the PR as you requested. If there are any issues with my changes, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants