diff options
author | Jon Schipp <jonschipp@gmail.com> | 2014-07-22 14:15:07 -0500 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2014-07-23 14:00:24 +0200 |
commit | 134a7beb7abb77cd3e63a59591f54ea2ddde8890 (patch) | |
tree | 4c476e9a9c40dedf9dde3ffbcb0eeab069f27ae1 /mausezahn.8 | |
parent | c6ac8232cd5e080ad90c9fd0c0a92abc0722c015 (diff) |
mausezahn: re-work configuration file
/etc/netsniff-ng/mausezahn.conf as mentioned in manual was never read
because code was statically set to mz.cfg in /etc/mausezahn. This patch
simplifies things by using the existing /etc/netsniff-ng directory created
in the default install and still using a single configuration but with a
an easier to remember name e.g. ${tool}.conf.
Example:
$ cat /etc/netsniff-ng/mausezahn.conf
user = testuser
password = testpassword
enable = awesome
Pre-patch:
$ mausezahn -x
Mausezahn accepts incoming Telnet connections on port 25542.
mz: Problems opening config file. Will use defaults
Post-patch:
$ mausezahn -x
Mausezahn accepts incoming Telnet connections on port 25542.
Signed-off-by: Jon Schipp <jonschipp@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'mausezahn.8')
-rw-r--r-- | mausezahn.8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mausezahn.8 b/mausezahn.8 index 3efc403..729ca0d 100644 --- a/mausezahn.8 +++ b/mausezahn.8 @@ -244,7 +244,7 @@ mausezahn server: mz# .PP It is recommended to configure your own login credentials in -/etc/mausezahn/mz.cfg, such as: +/etc/netsniff-ng/mausezahn.cfg, such as: .PP user = foo password = bar |