From 29a7c9ee6fd3c353282150c6a8039473d69a7d44 Mon Sep 17 00:00:00 2001 From: Jon Schipp Date: Tue, 29 Jul 2014 20:51:08 +0000 Subject: mausezahn: provide port option to configuration file Specify the port for the CLI in /etc/netsniff-ng/mausezahn.conf like so: $ grep port /etc/netsniff-ng/mausezahn.conf port = 65000 $ mausezahn -V -x -l 127.0.0.1 Mausezahn 0.40 - (C) 2007-2010 by Herbert Haas - http://www.perihel.at/sec/mz/ Use at your own risk and responsibility! -- Verbose mode -- ... Opening config file /etc/netsniff-ng/mausezahn.conf... ... Mausezahn accepts incoming Telnet connections on 127.0.0.1:65000. Signed-off-by: Jon Schipp [tklauser: Fixed whitespace issues for patch to apply cleanly] Signed-off-by: Tobias Klauser --- mausezahn.8 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mausezahn.8') diff --git a/mausezahn.8 b/mausezahn.8 index 6614407..2873e9d 100644 --- a/mausezahn.8 +++ b/mausezahn.8 @@ -230,6 +230,7 @@ Options supported in the configuration file are: user Username for authentication (default: mz) password Password for authentication (default: mz) enable Password to enter privilege mode (default: mops) + port The listening port for the CLI (default: 25542) cli-device Interface to bind to (default: all) *not fully implemented* .SS Example: @@ -238,6 +239,7 @@ Options supported in the configuration file are: user = mzadmin password = mzpasswd enable = privilege-mode-passwd + port = 65000 .PP .SH INTERACTIVE MODE HOWTO .PP -- cgit v1.2.3-54-g00ecf