Nethence Documentation Lab Webmail Your IP BBDock  


Those documents are obsolete, please use the Nethence Documentation instead.

HomeUnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigsPrivate

Inetd port checker on RHEL
 
 
Create the inetd capable script,
vi /root/scinetd.ksh
like,
#!/bin/ksh

while read input; do
echo "$HOSTNAME: $input"
logger "$HOSTNAME: $input"
done
 
Configure the scinetd service,
vi /etc/xinetd.d/scinetd
like,
service scinetd
{
disable = no
socket_type = stream
wait = no
user = root
server = /root/scinetd.ksh
log_on_failure += USERID
}
 
Define the port for the scinetd service,
vi /etc/services
like,
scinetd 990/tcp
Note. "990/udp" works too.
 

Last update: Jun 29, 2009