Bug 1398 - make cachedb secret configurable
make cachedb secret configurable
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
unspecified
Other All
: P5 enhancement
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-07 23:29 CEST by JINMEI Tatuya
Modified: 2017-08-08 11:05 CEST (History)
2 users (show)

See Also:


Attachments
proposed patch (6.09 KB, application/octet-stream)
2017-08-07 23:29 CEST, JINMEI Tatuya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JINMEI Tatuya 2017-08-07 23:29:41 CEST
Created attachment 431 [details]
proposed patch

The attached patch implements a small TODO in the cachedb module: making the secret seed for hash calculation configurable.  It also contains an update to the unbound.conf.5 man page about the entire cachedb module configuration.  I hope you'll find it useful and incorporate it into the trunk.  It should apply to svn revision 4294 on trunk.  note that .c and .h files generated by lex and yacc are not included in the patch, assuming you'll regenerated them.
Comment 1 Wouter Wijngaards 2017-08-08 11:05:41 CEST
Hi Jinmei,

Thank you for the patch!  Looks good, applied it.

Best regards, Wouter