Bug 1104 - portsentry starts only tcp listener but not the udp one
Summary: portsentry starts only tcp listener but not the udp one
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: portsentry (show other bugs)
Version: unstable
Hardware: all Linux
: P4 minor
Assignee: Nobody's working on this, feel free to take it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-16 10:38 MSD by Vadim V. Zhytnikov
Modified: 2003-08-25 15:18 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 \"Starting tcp port scan detector: \"
-	daemon portsentry -atcp
+	action \"Starting tcp port scan detector: \" portsentry -atcp
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch \"$LOCKFILE\"
-	echo
 
-	echo -n \"Starting udp port scan detector: \"
-	daemon portsentry -audp
+	action \"Starting udp port scan detector: \" portsentry -audp
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch \"$LOCKFILE\"
-	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.