Moved man for FastNetMon daemon from 8 to 1 as it's best preactice.

The command in /sbin or /usr/sbin are system administration commands; their manual pages
thus belong in section 8, not section 1.

Please check whether the command is actually useful to non-privileged user in which
case it should be moved to /bin or /usr/bin, or alternatively the manual page should
be moved to   section 8 instead, ie. /usr/share/man/man8.   Please refer to Bug#348864,
Bug#253011, and the hier(7) manual page for details.
This commit is contained in:
Pavel Odintsov 2022-05-02 15:27:10 +01:00
parent 1d5e2463f8
commit 72caa8dd2a
4 changed files with 5 additions and 5 deletions

View File

@ -707,7 +707,7 @@ install(FILES networks_list DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}")
install(FILES networks_whitelist DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}")
# man pages
install(FILES man/fastnetmon.1 DESTINATION /usr/share/man/man1)
install(FILES man/fastnetmon.8 DESTINATION /usr/share/man/man8)
install(FILES man/fastnetmon_client.1 DESTINATION /usr/share/man/man1)
# service files

View File

@ -1,6 +1,6 @@
[Unit]
Description=FastNetMon - DoS/DDoS analyzer with sFlow/Netflow/mirror support
Documentation=man:fastnetmon(1)
Documentation=man:fastnetmon(8)
After=network.target remote-fs.target
[Service]

View File

@ -1,12 +1,12 @@
.\" Manpage for fastnetmon.
.\" Contact pavel.odintsov@gmail.com to correct errors or typos.
.TH man 1 "04 Jun 2015" "1.1.2" "fastnetmon man page"
.TH man 8 "02 May 2022" "1.2.1" "fastnetmon man page"
.SH NAME
FastNetMon \- a high performance DoS/DDoS load analyzer built on top of multiple packet capture engines
.SH SYNOPSIS
fastnetmon [--daemonize]
.SH DESCRIPTION
FastNetMon - a high performance DoS/DDoS load analyzer built on top of multiple packet capture engines (NetFlow, IPFIX, sFlow, Netmap, PCAP).
FastNetMon - a high performance DoS/DDoS load analyzer built on top of multiple packet capture engines (NetFlow, IPFIX, sFlow, port mirror).
For more information about configuration, please look at the comments in /etc/fastnetmon.conf and check the project GitHub page: https://github.com/pavel-odintsov/fastnetmon.
.SH OPTIONS

View File

@ -1,6 +1,6 @@
.\" Manpage for fastnetmon_client.
.\" Contact pavel.odintsov@gmail.com to correct errors or typos.
.TH man 1 "04 Jun 2015" "1.1.2" "fastnetmon_client man page"
.TH man 1 "02 May 2022" "1.2.1" "fastnetmon_client man page"
.SH NAME
fastnetmon_client \- show information about top talkers and detected DDoS attacks
.SH SYNOPSIS