Opened 6 years ago

Last modified 4 years ago

#3185 new enhancement

Kea: add ability to read pcap files and process them into Pkt4 and Pkt6

Reported by: tomek Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: dhcp Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

We should develop a test that will read all pcap files from specified directory and try to process all DHCP packets in them through Kea. That would be a very flexible and extensible approach. To add a new test case, we'd have to only add new pcap file. The pcap collection could be confidential and stored separately.

This would require to have the ability to read pcap files. We can either use libpcap for that or hack it. We don't need much functionality, just extracting the packets as raw hex data. I'm slightly concerned with adding extra dependency on another library and dealing with its portability issues.

This could be extended into DNS as well.

See ticket:3177#comment:7 for a brief discussion.

Subtickets

Change History (2)

comment:1 Changed 6 years ago by tomek

  • Description modified (diff)

comment:2 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

Note: See TracTickets for help on using tickets.