ShoCon V1.0 ShoCon.serv V1.1 Copyright © 1996 by Michael Jaecks FREEWARE Requirements ------------ OS 2.0+ AmiTCP 4.0+ Internet connection inetd active TCP: device active If you are running the server: In your path, you should have the following programs: Avail Info ShowConfig You should also have the following environment variables set accordingly: REALNAME USERNAME HOSTNAME (Your "startnet" script should set this automatically) EMAILADDR (May not be the same as USERNAME@HOSTNAME for all of us) COMPUTER (Mine's set to "Amiga 1200") Disclaimer ---------- I take no responsibility for any damage caused to you, your hardware or software by the usage of "ShoCon" or "ShoCon.serv". Please use these programs at your own risk! If you are a very insecure person, then this utility may not be for you. :) Distribution ------------ These files may freely redistributed. No monetary charge shall be made for these files, unless it covers the cost of shipping and the disk or it is part of the Aminet CD collection. What is it? ----------- I thought it would be interesting to see how other user's systems were configured, so I wrote "ShoCon.serv". You might ask why not include all the information in my .path file for use with "finger" instead? Well, I'm a "real-time" kind of guy. :) "ShoCon.serv" is a server called automatically anytime port 999 is accessed. When such a port call is received, the server will send the output from "ShowConfig", "Avail" and "Info" over the internet to the requesting party. Thus, anyone can see exactly what hardware, memory and drives are being used by you. The "ShoCon" program is just a quick CLI utility that calls the host address of a user on port 999. It then prints out the corresponding information from the remote hosts "ShoCon.serv" program. You must specify the host address on the command line, for instance >ShoCon dialup30.spasm.com You can also use "letnet" by entering >letnet dialup30.spasm.com 999 Remember that the output will be displayed in the current shell's window. To test it out for yourself, you can just enter something like >ShoCon $hostname Installation ------------ 1) To install the files, just copy "ShoCon.serv" to AmiTCP:serv/ and copy "ShoCon" to AmiTCP:bin/ 2) Now you should add the following line to AmiTCP:db/inetd.conf ShoCon stream tcp nowait nobody amitcp:serv/ShoCon.serv 3) and add the following line to AmiTCP:db/services ShoCon 999/tcp That's it! Bugs, Comments or Questions? ---------------------------- Email: mjaecks@wazoo.com IRC: MotoXR History ------- 1.0 Initial Release 1.1 ADD - ShoCon.serv Now prints out your real name and email address via the REALNAME/EMAILADDR environment variables.