Useful Scripts and Programs

Blue Bar separator




The following are links to articles containing all the various scripts and programs that I have scattered around here.


VOS

arp_scan.cmUses a fast ping to generate an ARP request for each host in a class C subnet and then dumps the resulting ARP table. Similar to scan.cm but simpler.
beacon.cBeacon packet to assist in protocol trace synchronization
BPRI_LO_alert.cmSends 25th line message when current STREAMS memory usage exceeds specified threshold
BPRI_LO_check.cmDisplays current and max STREAMS memory usage
cycle_output_files.cmRuns a process till the output file gets to a certain size then stops it and runs it again cycling to another output file
dump_streams.cmGather as much information as possible about the current STREAMS usage
fnet.cmFilter the output of the STCP netstat command
gather_stcp.cmGather STCP Interface and Ethernet adapter statistics for performance monitoring and troubleshooting
get_connection_meters.cmDump the stcp_meters statistics for a select connection or connections
get_socket_info.cmDump the stcp_meters statistics and/or TCB data for a select connection or connections
list_all_process_network.cmList all the STCP IP socket connections for all process currently running. See tcp_socket_owner.cm for a faster alternative that might do what you need.
list_process_network.cmList all the STCP IP socket connections for a given process
list_vterm_parameters.cmList the parameters needed for telnet_msd to work for all vterms matching a star name
netstat_filter.plMonitor netstat output filtering out uninteresting lines
map_connections.cmA macro to call both map_telnetd_connections and map_secured_connections.
map_telnetd_connections.cmDisplay or write a file containing a list of all users who are connected to the module via telnetd, the device they are connected to and the IP address and port number they are connecting from.
map_secured_connections.cmDisplay or write a file containing a list of all users who are connected to the module via sshd, the device they are connected to and the IP address and port number they are connecting from.
match.plPerl script to match lines from files or command output
netstat-all-interfaces.cmloop through all STCP interfaces doing netstat -interface
personal_ssh_setup.cmSet up Stratus STCP SSH to use public key authentication
ping_forever.cmContinuously ping a host without flooding the network
pm.cmRun STCP packet_monitor with the most common/useful options
pm21line.plCombines all of the protocol header lines displayed by packet_monitor into 1 line eliminating non-header lines
pm2text2pcap.plPerl script to process packet_monitor out so that text2pcap can be run over it to create a pcap file
process_packet_monitor_scan.cmProcesses the output of packet_monitor to construct a list of seen IP addresses
scan.cmA scanner to find all hosts on a local subnet (uses ARP)
send_cmds.cC program that allows you to log into a remote system via "telnet" and execute commands in a script. Allows execution within a command macro
socket_count.cmCalculate the current socket usage and how close to the various limits you are
stcp_deadgw.cmDetermine if a STCP gateway has stopped working and switch to another gateway (MS Word file)
stcp_tping.cC program that "pings" a remote host by establishing a TCP connection (MS Word file).
tcpos_deadgw.cmDetermine if a TCP_OS gateway has stopped working and switch to another gateway (MS Word file)
tcp_socket_owner.cmList processes attached to an STCP TCP socket. This is much faster than list_all_process_network.cm but does not list UDP sockets or identify the actual connections. It also requires perl.

ftServer/Windows

beacon.cBeacon packet to assist in protocol trace synchrontization
dgw.plPerl script to determine if a gateway has stopped working and switch to another gateway (MS Word file)
genpass.exePassword generation program, runs under Windows.
ListFilesBySize.vbsVBS script to list all files in a directory tree sorted by size
netstat-statistics.vbsA VBS script to periodically collect network statistics for baselining and trouble shooting Windows systems
ping_trigger.vbsVBS script to ping a host and execute a command if the ping fails
tping-w.plPerl script that uses TCP to "ping" a host.

Platform/OS Independent

genpass2.plPerl script to generate "good" passwords based on easy to remember passphrase

Other

mm.cProxy program to split and combine application layer messages accross and within TCP layer segments. This tests an applications ability to correctly handle TCP's byte stream protocol versus a mesage protocol. The program is written in C for FreeBSD but it should compile on just anout any Unix or Linux platform.


Blue Bar separator
This page was last modified on 09-10-28
mailbox Send comments and suggestions
to ndav1@cox.net