mausezahn: provide port option to configuration file
commit29a7c9ee6fd3c353282150c6a8039473d69a7d44
authorJon Schipp <jonschipp@gmail.com>
Tue, 29 Jul 2014 20:51:08 +0000 (29 20:51 +0000)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 4 Aug 2014 08:28:32 +0000 (4 10:28 +0200)
tree00ef06dbc78c452b7cc24adba9f670a342870db6
parent0678fa12400b54f4da054f1c6057a81f9cc8e041
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 <jonschipp@gmail.com>
[tklauser: Fixed whitespace issues for patch to apply cleanly]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
mausezahn.8
staging/cli.c
staging/mausezahn.c