1QOTDD(8) System Manager's Manual QOTDD(8)
2
3
4
6 qotdd - A daemon to provide an interesting quote every day.
7
9 qotdd [OPTION]...
10
11 qotdd [--help | --version]
12
14 QOTD (quote of the day) is specified in RFC 865 as a way of broadcast‐
15 ing a quote to users. On both TCP and UDP, port 17 is officially
16 reserved for this purpose. qotdd(8) is meant to provide a simple QOTD
17 daemon on IPv4 and/or IPv6 on either TCP or UDP.
18
19 Mandatory arguments to long options are mandatory for short options
20 too.
21
22 -f, --foreground
23 Do not fork, but run in the foreground.
24
25 -c, --config config-file
26 Specify an alternate configuration file location. The default is
27 at `/etc/qotd.conf'. (Overrides a previous -c or -N option)
28
29 -N, --noconfig
30 Do not read from a configuration file, but use the default
31 options instead. (Overrides a previous -c option)
32
33 --lax Disable strict configuration parsing. Without this option, the
34 daemon will perform security checks on input files. Be aware
35 that using this option makes the program vulnerable to confused
36 deputy attacks.
37
38 For more information on the following three options, see qotd.conf(5):
39
40 -P, --pidfile pidfile
41 Override the pidfile name given in the configuration file with
42 the given file instead.
43
44 -s, --quotes quotes-file
45 Override the quotes file given in the configuration file with
46 the given file instead.
47
48 -j, --journal journal-file
49 Overrides the journal file given in the configuration file with
50 the given file instead.
51
52 -4, --ipv4
53 Only listen on IPv4. The default behavior is to listen on both
54 IPv4 and IPv6.
55
56 -6, --ipv6
57 Only listen on IPv6.
58
59 -t, --tcp
60 Use TCP instead of UDP. This is the default behavior.
61
62 -u, --udp
63 Use UDP instead of TCP. (Not fully implemented yet)
64
65 -q, --quiet
66 Only output error messages. This is the same as using `--journal
67 /dev/null'.
68
69 --help List all options and what they do.
70
71 --version
72 Print the version and some basic license information.
73
75 qotdd has the following return codes:
76
77 0 success
78
79 1 general error
80
81 17 invalid arguments
82
83 18 invalid configuration file or settings
84
85 19 failed a security check
86
87 20 out of memory
88
89 21 I/O or network error
90
91 22 SIGSEGV or SIGINT killed the process
92
93 23 unsupported operation
94
95 24 internal error
96
98 qotd.conf(5), telnet(1), netcat(1)
99
101 Ammon Smith (ammon.i.smith@gmail.com)
102
103
104
105qotd 0.11.1 2016-01-29 QOTDD(8)