Opened 4 years ago

Last modified 4 years ago

#3895 new enhancement

Add configuration option for loose or strict processing of options

Reported by: sar Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: libdhcp Version: git
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

Add a configuration option that enables loose or strict processing of options and sub-options. When set to be strict a packet will be dropped if the option or sub-option is obviously corrupt, such as by having a length field that would extend beyond the end of the packet or enclosing option. When set to loose the server will attempt to process the request if possible. It will ignore the option or sub-option and try to skip past the offending item if possible but it may ignore the rest of the options if it can't determine how to skip past the corrupt part.

This is a continuation of the work in 3618

Subtickets

Change History (5)

comment:1 Changed 4 years ago by fdupont

The term configuration option is ambiguous: is it a new ./configure option or something one can change dynamically?
Note I am in favor of the first as it does not make the behaviour of a library depending on application setting. At the other hands it means some #ifdef.

comment:2 Changed 4 years ago by hschempf

  • Milestone changed from Kea-proposed to Kea1.0

comment:3 Changed 4 years ago by marcin

  • Milestone changed from Kea1.0 to Kea1.1

Deferring from 1.0 as per 1.0 tickets scrub.

comment:4 Changed 4 years ago by tomek

  • Milestone changed from Kea1.1 to DHCP Outstanding Tasks

comment:5 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.