From e766e230d5f8e0b46e9e200d16b8c5bec31bf6ee Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 29 Nov 2022 16:19:25 +0100 Subject: [PATCH] dnsreplay: Document the new source-from-pcap option --- docs/manpages/dnsreplay.1.rst | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/docs/manpages/dnsreplay.1.rst b/docs/manpages/dnsreplay.1.rst index 15f796cb99..42de1d1281 100644 --- a/docs/manpages/dnsreplay.1.rst +++ b/docs/manpages/dnsreplay.1.rst @@ -29,19 +29,23 @@ ADDRESS PORT if omitted, 53 will be used. ---help, -h Show summary of options. ---ecs-mask When EDNS forwarding an IP address, mask out first octet with this value ---ecs-stamp Add original IP address as EDNS Client Subnet Option when - forwarding to reference server ---pcap-dns-port Look at packets from or to this port in the PCAP. Default is 53. ---packet-limit Stop after replaying *NUM* packets. Default for *NUM* is 0, which - means no limit. ---quiet If *FLAG* is set to 1. dnsreplay will not be very noisy with its - output. This is the default. ---recursive If *FLAG* is set to 1. dnsreplay will only replay queries with - recursion desired flag set. This is the default. ---speedup Replay queries with this speedup *FACTOR*. Default is 1. ---timeout-msec Wait at least *MSEC* milliseconds for a reply. Default is 500. +--help, -h Show summary of options. +--ecs-mask When EDNS forwarding an IP address, mask out first octet with this value +--ecs-stamp Add original IP address as EDNS Client Subnet Option when + forwarding to reference server +--pcap-dns-port Look at packets from or to this port in the PCAP. Default is 53. +--packet-limit Stop after replaying *NUM* packets. Default for *NUM* is 0, which + means no limit. +--quiet If *FLAG* is set to 1. dnsreplay will not be very noisy with its + output. This is the default. +--recursive If *FLAG* is set to 1. dnsreplay will only replay queries with + recursion desired flag set. This is the default. +--source-from-pcap If *FLAG* is set to 1. dnsreplay will send the replayed queries from the + source IP address present in the PCAP file. This requires IP_TRANSPARENT + support. Default is 0 which means replayed queries will be sent from a + local address. +--speedup Replay queries with this speedup *FACTOR*. Default is 1. +--timeout-msec Wait at least *MSEC* milliseconds for a reply. Default is 500. Bugs ---- -- 2.47.2