/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 clients.conf

  • Committer: Teddy Hogeborn
  • Date: 2009-02-12 18:56:52 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090212185652-ast00yprt2pe2l4p
Overflows are not detected by sscanf(), so stop using it:

* plugin-runner.c (main/parse_opt): Change from using "sscanf()" to
                                    "strtoimax()".
* plugins.d/mandos-client.c (main/parse_opt, main): Change from using
                                                    "sscanf()" to
                                                    "strtoimax()" and
                                                    "strtof()".
* splashy.c (main): Change from using "sscanf()" to "strtoimax()".
* usplash.c (main): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# How often to run the checker to confirm that a client is still up.
10
10
# Note: a new checker will not be started if an old one is still
11
11
# running.  The server will wait for a checker to complete until the
12
 
# "timeout" above occurs, at which time the client will be marked
 
12
# above "timeout" occurs, at which time the client will be marked
13
13
# invalid, and any running checker killed.
14
14
;interval = 5m
15
15
 
43
43
;        5MHdW9AYsNJZAQSOpirE4Xi31CSlWAi9KV+cUCmWF5zOFy1x23P6PjdaRm
44
44
;        4T2zw4dxS5NswXWU0sVEXxjs6PYxuIiCTL7vdpx8QjBkrPWDrAbcMyBr2O
45
45
;        QlnHIvPzEArRQLo=
46
 
;        =iHhv
47
46
;
48
47
;# Host name; used only by the checker, not used by the server itself.
49
48
;host = foo.example.org
56
55
;fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
57
56
;
58
57
;# If "secret" is not specified, a file can be read for the data.
59
 
;;secfile = /etc/mandos/bar-secret.txt.asc
 
58
;secfile = /etc/mandos/bar-secret.bin
60
59
;
61
60
;# An IP address for host is also fine, if the checker accepts it.
62
61
;host = 192.0.2.3