nettrafd.pl

nettrafd.pl is a NetTraf server written in Perl. It is intended as a replacement for the original nettrafd daemon. NetTraf is a simple piece of software that allows real-time monitoring of data transfer rates of a remote Linux IP interface.


About

Requirements

Download

History

1.0, 7 Jan 2006, Current version
- Initial release

Arguments

nettrafd.pl has the following command-line arguments:

-D, --daemon Spawns a daemon process for nettrafd.pl
-m, --maxconn=NUMBER Maximum number of connections to allow. Note that each connection forks a new process, which may use up to ~15MB or more! The default is 5.
-P, --password[=TEXT] Password that clients must provide straight after they connect. If this argument is omitted, clients will not need to provide a password! If this argument is blank, nettrafd.pl will prompt for a password at the terminal. The default is no password, however this is not recommended.
-p, --port=NUMBER Port that nettrafd.pl will listen on, for incoming connections.
--ifconfig=TEXT Path to the ifconfig binary. Default is `ifconfig'.
-v, --verbose[=NUMBER] Level of debug reporting that you wish to occur. If this argument is blank, verbose level is set to 1. If no argument is specified and nettrafd.pl is run interactively (no -D), verbose level will be set to 1, otherwise default is 0. Levels are as follows:
1 = Connection messages
2 = Socket/protocol spy
3 = Thread debug messages
4 = Process debug messages

Note that errors and warnings are still displayed regardless of this argument (in interactive mode).
--help Displays brief help messages showing options, then exits.
--version Displays brief message containing version and licence information.

Author

Daniel Simmons, dan@dans.im.
Feedback, comments and bug reports welcome!