Ticket #125 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Warn on DLT missmatch

Reported by: aturner Owned by: aturner
Priority: medium Milestone: 3.0.RC1
Component: tcpreplay Version: 3.0.beta12
Keywords: Cc:
Operating System: Add to FAQ?:
Hardware: All
Output of tcpreplay -V:

Description

Currently there is no sanity check to make sure that the DLT type of the pcap you are reading matches the DLT of the NIC you're sending on. We should generate a warning since many people seem unaware of this issue.

Change History

comment:1 Changed 5 years ago by aturner

(In [1734]) tag things as rc1 refs #108 add support for pcap_snapshot_override() refs #130 check that dual nic mode both interfaces have the same dlt refs #125

comment:2 Changed 5 years ago by aturner

(In [1735]) add support for getting DLT of interface for sendpacket unfortunately, not all methods seem to support getting DLT :( refs #125

comment:3 Changed 5 years ago by aturner

  • Status changed from new to closed
  • Resolution set to fixed

(In [1760]) use libpcap for libnet & pf_packet. fixes #125

Note: See TracTickets for help on using tickets.