/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos.conf

  • Committer: Teddy Hogeborn
  • Date: 2019-07-29 16:35:53 UTC
  • Revision ID: teddy@recompile.se-20190729163553-1i442i2cbx64c537
Make tests and man page examples match

Make the tests test_manual_page_example[1-5] match exactly what is
written in the manual page, and add comments to manual page as
reminders to keep tests and manual page examples in sync.

* mandos-ctl (Test_commands_from_options.test_manual_page_example_1):
  Remove "--verbose" option, since the manual does not have it as the
  first example, and change assertion to match.
* mandos-ctl.xml (EXAMPLE): Add comments to all examples documenting
  which test function they correspond to.  Also remove unnecessary
  quotes from option arguments in fourth example, and clarify language
  slightly in fifth example.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# These are the default values for the server, uncomment and change
5
5
# them if needed.
6
6
 
7
 
 
8
7
# If "interface" is set, the server will only listen to a specific
9
8
# network interface.
10
9
;interface = 
11
10
 
12
 
 
13
11
# If "address" is set, the server will only listen to a specific
14
12
# address.  This must currently be an IPv6 address; an IPv4 address
15
13
# can be specified using the "::FFFF:192.0.2.3" syntax.  Also, if this
16
14
# is a link-local address, an interface should be set above.
17
15
;address =
18
16
 
19
 
 
20
17
# If "port" is set, the server to bind to that port. By default, the
21
18
# server will listen to an arbitrary port.
22
19
;port = 
23
20
 
24
 
 
25
21
# If "debug" is true, the server will run in the foreground and print
26
22
# a lot of debugging information.
27
23
;debug = False
28
24
 
29
 
 
30
25
# GnuTLS priority for the TLS handshake.  See gnutls_priority_init(3).
31
 
;priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP
32
 
 
 
26
;priority = SECURE256:!CTYPE-X.509:+CTYPE-OPENPGP:!RSA:+SIGN-DSA-SHA256
33
27
 
34
28
# Zeroconf service name.  You need to change this if you for some
35
29
# reason want to run more than one server on the same *host*.
42
36
 
43
37
# Whether to use IPv6.  (Changing this is NOT recommended.)
44
38
;use_ipv6 = True
 
39
 
 
40
# Whether to restore saved state on startup
 
41
;restore = True
 
42
 
 
43
# The directory where state is saved
 
44
;statedir = /var/lib/mandos
 
45
 
 
46
# Whether to run in the foreground
 
47
;foreground = False
 
48
 
 
49
# File descriptor number to use for network socket
 
50
;socket = 
 
51
 
 
52
# Whether to use ZeroConf; if false, requires port or socket
 
53
;zeroconf = True