LPDBiff - A TCP/UDP message receiver for LPRng Hi there I'm sure this is only one of many efforts but a fully functional, albeit largely untested, version of LPDBiff can currently be found as It supports TCP and UDP, has a man-page, has lots of switches allowing you to configure most things and appears to work. Functionality tested with Netcat (great program) as I haven't had time to compile and install LPRng to test it. Let me know if you want to laugh at it, test it, maintain it, keep it and/or all of the above. I can maintain if needed, however it is a small trivial program so shouldn't pose any problems if you just include it in the general LPRng distribution. I'm, however, interested in knowing whether or not the messages it's supposed to receive from LPRng are encoded in any way, i.e. the first byte has special meaning or something, or if it's plain textual information. Right now the messages are just received, prepended with the date and name of the sender and displayed. This may or may not be what you want. Feedback welcome. 15:14:56(pierot)~/LPR/LPDBiff 69>./LPDBiff -u ./LPDBiff [-u] [-d] [-m ] [-t ] [-r ] [-s ] [-p ] [-P ] -u Usage -d Debug output on STDERR -t Drop TCP connections after T seconds (Default 5 secs) -m Single or continous messages (Default continous) -s Regexps matching valid client hosts (Default ".*") -p Regexps matching valid client ports (Default ".*") -P Port number to listen to (Default 3456) -r Seconds to wait in select (Default 1 sec) OK -- Olav Kolbu (Olav.Kolbu@usit.uio.no) System Administrator Center for Information Technology Services/Section for Operations University of Oslo P.O. Box 1059 Blindern, N-0316 Oslo, Norway Phone: +47 22 85 27 80, Fax: +47 22 85 27 30 Olav Kolbu The LPDBiff program is a generic monitoring program. It will open the specified TCP and UDP port, and then wait for information to be sent. The received information is displayed in a Tk window, either as single messages or as a scrolling list. It has lots of options, allowing you to configure more or less what you want. For the security conscious you can set it up to only allow connections from certain clients and/or ports. This program made available under the GNU GENERAL PUBLIC LICENSE, see file COPYING for conditions of use. NOTE: You probably need to edit the excutable and point it at your favorite perl5 binary location. Usage: 14:44:44(aragorn)~/LPR/LPDBiff 1> ./LPDBiff -u ./LPDBiff [-u] [-d] [-m ] [-t ] [-r ] [-s ] [-p ] [-P ] -u Usage -d Debug output on STDERR -t Drop TCP connections after T seconds (Default 5 secs) -m Single or continous messages (Default continous) -s Regexps matching valid client hosts (Default ".*") -p Regexps matching valid client ports (Default ".*") -P Port number to connect to (Default 3456) -r Seconds to wait in select (Default 1 sec) Olav Kolbu olav@kolbu.com