diff options
author | Jon Schipp <jonschipp@gmail.com> | 2014-08-04 20:39:13 +0000 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-08-05 08:55:33 +0200 |
commit | 815dcd255ea9da8b23e8e7c839545d5d41eee336 (patch) | |
tree | 589fce4d2be463ee759692bfcab155c947bf5845 /mausezahn.8 | |
parent | eb9d3eeea59be2618598ada24a1f24deaae57c3d (diff) |
mausezahn: provide listen-addr option to configuration file
Specify the listen-addr for the CLI in /etc/netsniff-ng/mausezahn.conf
and remove the message, "mz: device not given, will use eth0" since
we're listening by IP, rather than interface now, and this shows continues
to show.
$ grep listen-addr /etc/netsniff-ng/mausezahn.conf
listen-addr = 127.0.0.1
$ mausezahn -V -x
mz: device eth0 got assigned 10.0.2.15 and is a possible candidate.
mz: device lo got assigned 127.0.0.1 (loopback)
Opening config file /etc/netsniff-ng/mausezahn.conf...
...
Mausezahn accepts incoming Telnet connections on 127.0.0.1:25542.
Signed-off-by: Jon Schipp <jonschipp@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'mausezahn.8')
-rw-r--r-- | mausezahn.8 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mausezahn.8 b/mausezahn.8 index e094e9b..24e829e 100644 --- a/mausezahn.8 +++ b/mausezahn.8 @@ -231,6 +231,7 @@ Options supported in the configuration file are: password Password for authentication (default: mz) enable Password to enter privilege mode (default: mops) port The listening port for the CLI (default: 25542) + listen-addr IP address to bind CLI to (default: 0.0.0.0) management-only Set management interface (no data traffic is allowed to pass through) cli-device Interface to bind CLI to (default: all) *not fully implemented* automops Path to automops file (contains XML data describing protocols) *in development* @@ -242,6 +243,7 @@ Options supported in the configuration file are: password = mzpasswd enable = privilege-mode-passwd port = 65000 + listen-addr = 127.0.0.1 .PP .SH INTERACTIVE MODE HOWTO .PP |