Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1868

Packet rx on L3 memif interface with bad DMAC not dropped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • 20.05
    • None
    • Devices
    • None

      IP packet with incorrect destination MAC received by memif interface is not dropped.  Ethernet-input node should perform DMAC check and drop the packet.  Following is the packet trace showing the issue:

       

      Input interface:

            memif1/131                         6     up   memif1/131

        Link speed: unknown

        Ethernet address 02:00:00:00:00:94

        MEMIF interface

       

      Packet 65

       

      00:57:29:337040: memif-input

        memif: hw_if_index 6 next-index 4

          slot: ring 0

      00:57:29:337084: ethernet-input

        frame: flags 0x1, hw-if-index 6, sw-if-index 6

        IP4: 02:00:00:00:00:a6 -> 02:00:00:00:00:aa

      00:57:29:337114: ip4-input

        UDP: 10.10.2.11 -> 10.10.2.18

          tos 0x00, ttl 231, length 122, checksum 0x7b42

          fragment id 0x0000, flags DONT_FRAGMENT

        UDP: 9001 -> 9002

          length 102, checksum 0x50f0

      ...

            lojohn John Lo
            lojohn John Lo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: