Project

General

Profile

Actions

Bug #6887

closed

defrag: reassembled packet can have wrong datatype

Added by Victor Julien 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

The reassembled fragment will have DLT_RAW unconditionally, but if the real packets have DLT_ETHERNET the data of the packet will include the ethernet header. The IPv6 header is set up correctly using a hack, and so are the higher levels. However packet logging will report datalink 12 (DLT_RAW) but include the ethernet header in the output.

Not sure yet how to solve it. Might strip the ethernet header from the data, or could change the datalink of the pseudo packet to ethernet in this case.


Subtasks 2 (0 open2 closed)

Bug #6944: defrag: reassembled packet can have wrong datatype (6.0.x backport)ClosedVictor JulienActions
Bug #6945: defrag: reassembled packet can have wrong datatype (7.0.x backport)ClosedVictor JulienActions
Actions #1

Updated by Victor Julien 8 months ago

  • Status changed from New to In Progress
  • Assignee changed from OISF Dev to Victor Julien
Actions #2

Updated by Victor Julien 7 months ago

  • Status changed from In Progress to In Review
Actions #3

Updated by Victor Julien 7 months ago

  • Subject changed from defrag/ipv6: reassembled packet can have wrong datatype to defrag: reassembled packet can have wrong datatype

Affects both IPv4 and IPv6.

Actions #4

Updated by Victor Julien 7 months ago

  • Label Needs backport to 6.0, Needs backport to 7.0 added
Actions #5

Updated by OISF Ticketbot 7 months ago

  • Subtask #6944 added
Actions #6

Updated by OISF Ticketbot 7 months ago

  • Label deleted (Needs backport to 6.0)
Actions #7

Updated by OISF Ticketbot 7 months ago

  • Subtask #6945 added
Actions #8

Updated by OISF Ticketbot 7 months ago

  • Label deleted (Needs backport to 7.0)
Actions #9

Updated by Philippe Antoine 7 months ago

Is it really critical to backport to 6 ?

Actions #10

Updated by Victor Julien 7 months ago

  • Status changed from In Review to Resolved
Actions #11

Updated by Victor Julien 7 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF