Bug 1104

Summary: portsentry starts only tcp listener but not the udp one
Product: Sisyphus Reporter: Vadim V. Zhytnikov <vvzhy>
Component: portsentryAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   

Description Vadim V. Zhytnikov 2002-07-16 10:38:29 MSD
The portsentry service script
/etc/rc.d/init.d/portsentry
starts only tcp listener
portsentry -atcp
but not udp ones
portsentry -audp
---

---
Suggested patch:
--------------------------------------------------
--- portsentry.orig	Tue Jul 31 11:27:57 2001
+++ portsentry	Mon Jul 15 11:19:23 2002
@@ -28,17 +28,13 @@
 
 start()
 {
-	echo -n \&quot;Starting tcp port scan detector: \&quot;
-	daemon portsentry -atcp
+	action \&quot;Starting tcp port scan detector: \&quot; portsentry -atcp
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] &amp;&amp; touch \&quot;$LOCKFILE\&quot;
-	echo
 
-	echo -n \&quot;Starting udp port scan detector: \&quot;
-	daemon portsentry -audp
+	action \&quot;Starting udp port scan detector: \&quot; portsentry -audp
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] &amp;&amp; touch \&quot;$LOCKFILE\&quot;
-	echo
 }
 
 stop()

-------------------------------------------------------
Comment 1 Aleksandr Blokhin 2003-02-03 19:45:52 MSK
Fixed in portsentry-1.1-alt3.
Comment 2 Aleksandr Blokhin 2003-02-03 19:45:52 MSK
Fixed in portsentry-1.1-alt3.