#5691 closed task (complete)

Hostname Rewriting - Preparation

Reported by: stephen Owned by: wlodekwencel
Priority: medium Milestone: Kea1.5 QA
Component: tests Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Mozilla Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 6
Total Hours: 0 Internal?: no


Hostname rewriting concerns the modification of invalid client hostnames prior to putting them in the DNS. This tickets concerns the preparation for the tests.

  • Modifying Lettuce/Scapy? to accept invalid host names (including blanks)
  • Generating lease requests comprising a mixture of valid and invalid hostnames. The invalid ones should include:
    • Names with spaces (embedded, leading, trailing)
    • Names with characters outside the normal letter-digit-hyphen range (i.e. punctuation, characters with ASCII values above 127)
  • Code to check whether a name is in a DNS zone


Change History (3)

comment:1 Changed 20 months ago by wlodekwencel

  • Owner set to wlodekwencel
  • Status changed from new to accepted

comment:2 Changed 20 months ago by wlodekwencel

  • Add Hours to Ticket changed from 0 to 6

It turned out that it's not only hostname option, but FQDN in v4 and v6 as well.

Lettuce and Scapy modified, Forge is ready to accept wite spaces and non-rfc compliant characters in FQDN and host name.

Still working on sending characters about ASCII 127

Template for tests are ready.

comment:3 Changed 19 months ago by wlodekwencel

  • Resolution set to complete
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.