Improve default padding of responses.
Compare changes
+ 1
− 1
@@ -69,7 +69,7 @@ static inline int __attribute__((__cold__)) kr_error(int x) {
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
At NDSS 2017's DNS privacy workshop, I presented an empirical study of DNS padding policies:
The slide deck is here: https://dns.cmrg.net/ndss2017-dprive-empirical-DNS-traffic-size.pdf
The resulting recommendation from the research is that a simple padding policy is relatively cheap and still protective of metadata when DNS traffic is encrypted:
This change adjusts the default policy to match these recommendations.
I recently proposed a similar change to libknot to define a standard policy in a centralized place:
https://gitlab.labs.nic.cz/labs/knot/merge_requests/692
I'll submit a followup request to make use of that centralized policy (once kresd is willing to depend on a newer version of libknot), but please consider this proposed change first.