Analyzer shows packets from BMS as having bogus IP header length

Bug #1420452 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Medium
Divakar Dharanalakota
R2.1
Fix Committed
Medium
Divakar Dharanalakota
R2.20
Fix Committed
Undecided
Divakar Dharanalakota

Bug Description

2.1 Build 26 Ubuntu 14.04 multi-node setup

From a BMS (10.1.1.5) , i am pinging a KVM VM (10.1.1.3 ) on vn VN1
There is an analyzer to sniff all VN1 traffic

The packet capture on the analyzer shows (for all packets from 10.1.1.5 to 10.1.1.3) that it has a bad IP header length

Attached is the capture

Tags: bms vrouter
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Source and dest macs are also not set correctly

Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Anand H. Krishnan (anandhk)
tags: added: bms
Changed in juniperopenstack:
assignee: Anand H. Krishnan (anandhk) → Divakar Dharanalakota (ddivakar)
Changed in juniperopenstack:
importance: High → Medium
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/9290
Submitter: Divakar Dharanalakota (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/9290
Committed: http://github.org/Juniper/contrail-vrouter/commit/ecd253a6fa942120d01fdf622197985196c74991
Submitter: Zuul
Branch: master

commit ecd253a6fa942120d01fdf622197985196c74991
Author: Divakar <email address hidden>
Date: Mon Apr 20 03:57:27 2015 -0700

closes-bug:#1420452 While mirroring the tunneled packet, tunnel headers
are removed and ethernet header is added from Encap nh to ensure that
Mirroring application sees a regular ethernet packet. After IRB, the
packet can be L2 packet and might contain ethernet header in the Tunnel
payload. In this case, the ethernet header need not be added from Encap
NH. This functionality is added by verifying the type of NH.

Change-Id: I0797c9db5e25ac09d51ddd3cdb9b25c632b812b9

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/9333
Submitter: Divakar Dharanalakota (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/9334
Submitter: Divakar Dharanalakota (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/9334
Committed: http://github.org/Juniper/contrail-vrouter/commit/294d9ccf8bd9cc7f9d35a03ac9f689c8bf02f291
Submitter: Zuul
Branch: R2.20

commit 294d9ccf8bd9cc7f9d35a03ac9f689c8bf02f291
Author: Divakar <email address hidden>
Date: Mon Apr 20 03:57:27 2015 -0700

closes-bug:#1420452 While mirroring the tunneled packet, tunnel headers
are removed and ethernet header is added from Encap nh to ensure that
Mirroring application sees a regular ethernet packet. After IRB, the
packet can be L2 packet and might contain ethernet header in the Tunnel
payload. In this case, the ethernet header need not be added from Encap
NH. This functionality is added by verifying the type of NH.

Change-Id: I0797c9db5e25ac09d51ddd3cdb9b25c632b812b9

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/9333
Committed: http://github.org/Juniper/contrail-vrouter/commit/e5b83ba441a43f3673af37cb2d0c07fdf8f2656b
Submitter: Zuul
Branch: R2.1

commit e5b83ba441a43f3673af37cb2d0c07fdf8f2656b
Author: Divakar <email address hidden>
Date: Mon Apr 20 03:57:27 2015 -0700

closes-bug:#1420452 While mirroring the tunneled packet, tunnel headers
are removed and ethernet header is added from Encap nh to ensure that
Mirroring application sees a regular ethernet packet. After IRB, the
packet can be L2 packet and might contain ethernet header in the Tunnel
payload. In this case, the ethernet header need not be added from Encap
NH. This functionality is added by verifying the type of NH.

Conflicts:

 dp-core/vr_mirror.c

Change-Id: I0797c9db5e25ac09d51ddd3cdb9b25c632b812b9

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.