Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-12789

backport ping: Print reply with wrong source with warning

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.6
    • rhel-9.3.0
    • iputils
    • None
    • iputils-20210202-10.el9
    • None
    • Low
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 26
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • All
    • None

      could you help to backport the patch "ping: Print reply with wrong source with warning"

      [jishi@ibm-x3250m4-08 iputils]$ git log -1 5f6bec5ab57cc8beaa78f5756a0ffbdf01f28d36
      commit 5f6bec5ab57cc8beaa78f5756a0ffbdf01f28d36
      Author: Petr Vorel <pvorel@suse.cz>
      Date: Fri Oct 15 17:38:51 2021 +0200

      ping: Print reply with wrong source with warning

      5e052ad ("ping: discard packets with wrong source address") correctly
      hid replies with wrong source address to comply RFC 1122 (Section
      3.2.1.3: "The IP source address in an ICMP Echo Reply MUST be the same
      as the specific-destination address").

      This caused to hide reply when pinging Subnet-Router anycast address.
      Although it was fixed in the previous commit, relax this to admit the
      reply but print warning "DIFFERENT ADDRESS!". ping is diagnostic program,
      with insisting on RFC we force people to use tcpdump to see replies.

      Link: https://github.com/iputils/iputils/issues/371

      Reviewed-by: Matteo Croce <mcroce@microsoft.com>
      Signed-off-by: Petr Vorel <pvorel@suse.cz>

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      How reproducible:

      Steps to reproduce

      Expected results

      Actual results

              jamacku@redhat.com Jan Macku
              rhn-support-jishi Jianlin Shi
              Jan Macku Jan Macku
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: