From 72405ed0f71cbdc2ee9f127117fb3780f5bea9ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 30 May 2022 11:53:56 +0200 Subject: [PATCH] renumber: document additions from the parent commit --- NEWS | 1 + modules/renumber/README.rst | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 35e3378c1..5541f924e 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ Improvements ------------ - daemon/tls: disable TLS resumption via tickets for TLS <= 1.2 (#742, !1295) - daemon/http: DoH now responds with proper HTTP codes (#728, !1279) +- renumber module: allow rewriting subnet to a single IP (!1302) Bugfixes -------- diff --git a/modules/renumber/README.rst b/modules/renumber/README.rst index b3cfc23e7..a41ceb032 100644 --- a/modules/renumber/README.rst +++ b/modules/renumber/README.rst @@ -28,6 +28,10 @@ Example configuration -- Source subnet, destination subnet {'10.10.10.0/24', '192.168.1.0'}, -- Remap /16 block to localhost address range - {'166.66.0.0/16', '127.0.0.0'} + {'166.66.0.0/16', '127.0.0.0'}, + -- Remap a /32 block to a single address + {'2001:db8::/32', '::1!'}, } } + +.. TODO: renumber.name() hangs in vacuum, kind of. No occurrences in code or docs, and probably bad UX. -- 2.47.2