Bug 1398 - make cachedb secret configurable
make cachedb secret configurable
Product: unbound
Classification: Unclassified
Component: server
Other All
: P5 enhancement
Assigned To: unbound team
Depends on:
  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:

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

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