Skip to content

Commit d71dab8

Browse files
committed
rpcapd-config(5): Document ActiveClient and PassiveClient better.
For ActiveClient reword the description for clarity. For PassiveClient remove all mentions of port numbers to match what fileconf_read() implements, which in turn matches the behaviour implemented and documented for the -l command-line flag, which in turn is the most sensible behaviour because the source TCP port is almost certainly ephemeral.
1 parent 9d9cfca commit d71dab8

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

rpcapd/rpcapd-config.manfile.in

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
1818
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1919
.\"
20-
.TH RPCAPD-CONFIG @MAN_FILE_FORMATS@ "6 January 2019"
20+
.TH RPCAPD-CONFIG @MAN_FILE_FORMATS@ "18 October 2025"
2121
.SH NAME
2222
rpcapd-config \- rpcapd configuration file format
2323
.SH DESCRIPTION
@@ -47,22 +47,20 @@ are:
4747
.B ActiveClient
4848
.I value
4949
is a host name or IP address, followed by a comma,
50-
semicolon, or space, followed by a port name and address or
51-
.BR DEFAULT .
52-
.B DEFAULT
53-
specifies the default active mode port for rpcapd, port 2003.
50+
semicolon, or space, followed by either a port number or a service name
51+
recognized by
52+
.BR getaddrinfo (3)
53+
or the word
54+
.B \%DEFAULT
55+
to mean port number 2003.
5456
Each
5557
.B ActiveClient
5658
line adds the host and port to the list of clients to which the server
5759
should connect in active mode.
5860
.TP
5961
.B PassiveClient
6062
.I value
61-
is a host name or IP address, followed by a comma,
62-
semicolon, or space, followed by a port name and address or
63-
.BR DEFAULT .
64-
.B DEFAULT
65-
specifies the default passive mode port for rpcapd, port 2002.
63+
is a host name or IP address.
6664
Each
6765
.B PassiveClient
6866
line adds the host and port to the list of clients addresses and ports

0 commit comments

Comments
 (0)