Skip to content
Snippets Groups Projects
Commit 0bf2d5a7 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

refresh: add security todo/warning

parent 46457357
No related branches found
No related tags found
1 merge request!587Events refactoring
......@@ -725,6 +725,13 @@ static int transfer_consume(knot_layer_t *layer, knot_pkt_t *pkt)
data->is_ixfr ? LOG_OPERATION_IXFR : LOG_OPERATION_AXFR,
LOG_DIRECTION_IN, data->remote, &data->stats);
/*
* TODO: Add TSIG check, or move finialization into finish
* callback. And update requestor to allow reset from fallback
* as we need IXFR to AXFR failover.
*/
#warning SECURITY: final TSIG packet is not verified yet
// Finalize and publish the zone
int ret = data->is_ixfr ? ixfr_finalize(data) : axfr_finalize(data);
if (ret == KNOT_EOK) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment