/mandos/release

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

« back to all changes in this revision

Viewing changes to clients.conf

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:
14
14
;interval = 5m
15
15
 
16
16
# What command to run as "the checker".
17
 
;checker = fping -q -- %(host)s
 
17
;checker = fping -q -- %%(host)s
18
18
 
19
19
 
20
20
;####
55
55
;fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
56
56
;
57
57
;# If "secret" is not specified, a file can be read for the data.
58
 
;;secfile = /etc/mandos/bar-secret.txt.asc
 
58
;secfile = /etc/mandos/bar-secret.bin
59
59
;
60
60
;# An IP address for host is also fine, if the checker accepts it.
61
61
;host = 192.0.2.3