[quote author=10Dedfish link=board=5;threadid=5814;start=0#55525 date=1039518778]
Also, Ashcrow, for the arguments on your PET, you use -tcp for obvious reasons, but you use -sudp for same. Whats the -s for?
[/quote]
The s stands for silent or stealth bepending on who you ask. It's harder for the scanner to figure out you are watching but it doesn't give as much informaiton back. The reason I use -sudp is because udp packets are unreliable and error filled as it is.
Does Red Hat have a rc.local file? Also check your path (in my PET I am using /usr/local/psionic/portsentry and you seem to be using ''/Portsentry).
Also, try running your rc.local file and see if portsentry starts. If it doesn't then there is probably a path problem, if it does then rc.local isn't being started at boot for some reason on RH 7.3.
I know Red Hat uses the SysV-like start up so something like this might work better for you (NOTE: This is not tested and probably needs tweaking!) ...
Code:
#!/bin/sh
#
# Startup script for Portsentry 1.1
#
# Source function library.
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo "Starting Portsentry: "
if [ -x /usr/local/psionic/portsentry/portsentry ]; then
/usr/local/psionic/portsentry/portsentry -tcp
/usr/local/psionic/portsentry/portsentry -sud
fi
echo_success
echo
;;
*)
echo "Usage: %s {start}\n" "$0"
exit 1
esac
exit 0
Bookmarks