]> git.ipfire.org Git - dbl.git/commit
exporters: Compute Suricata SIDs by a hash
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 5 Jan 2026 15:42:24 +0000 (15:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 5 Jan 2026 15:42:24 +0000 (15:42 +0000)
commit65dce824644bb768197db5d9158e7454bfb41a98
tree90eb47780f5c9e51028c055bacef948746b8142a
parentc64e638ad117a38da68a55ede897c0c64892e1bd
exporters: Compute Suricata SIDs by a hash

This function is not perfect, but substantially faster when writing out
the list. We will have some somewhat-stable hash here which will always
return the same result per domain unless there has already been a small
collision.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dnsbl/exporters.py