]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: anon: add new macros and functions to anonymize contents
authorErwan Le Goas <elegoas@haproxy.com>
Wed, 14 Sep 2022 15:40:24 +0000 (17:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 17 Sep 2022 09:24:53 +0000 (11:24 +0200)
commit9c76637fff162478ebd9ad4b705ca0745110a98a
tree855d20962fbf72d056adb2f1625c31b1c55794f0
parent85af76070412d87433fbcaa0ac95833a8470159d
MINOR: anon: add new macros and functions to anonymize contents

These macros and functions will be used to anonymize strings by producing
a short hash. This will allow to match config elements against dump elements
without revealing the original data. This will later be used to anonymize
configuration parts and CLI commands output. For now only string, identifiers
and addresses are supported, but the model is easily extensible.
include/haproxy/tools.h
src/tools.c