Closed Bug 1734579 Opened 3 years ago Closed 3 years ago

Make block size of doh padding configurable and choose a more sane default

Categories

(Core :: Networking: DNS, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: manuel, Assigned: manuel)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

The request should be padable to powers of two. Currently it is padded to 16 bytes. More would be probably better. I would go to 128 next, but other opinions are welcome.

The config option could look like network.dns.padding.length-pow2 with the default value of 7 = 128 bytes. Maybe instead of adding an option, using a saner default would be sufficient?

Follow up on https://bugzilla.mozilla.org/show_bug.cgi?id=1734165

Assignee: nobody → mbucher
Status: NEW → ASSIGNED
Depends on: 1734165
Flags: needinfo?(valentin.gosu)
Depends on: 1543811
No longer depends on: 1734165
Blocks: doh
Severity: -- → S3
Flags: needinfo?(valentin.gosu)
Priority: -- → P2
Whiteboard: [necko-triaged]

Additionally changing the paddding block size to a saner default

Pushed by mbucher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba4d3953e07c
Make block size of encrypted edns padding configurable r=necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: