ports/139460: security/snortsam broken on 64 bit platforms

Paul J Murphy paulm at srv00.inetstat.net
Fri Oct 9 22:10:08 UTC 2009

>Number:         139460
>Category:       ports
>Synopsis:       security/snortsam broken on 64 bit platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 09 22:10:07 UTC 2009
>Originator:     Paul J Murphy
>Release:        FreeBSD 7.2-RELEASE-p4 amd64
System: FreeBSD srv00.inetstat.net 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Sun Oct 4 04:26:43 GMT 2009 root at srv00.inetstat.net:/usr/obj/usr/src/sys/MAC amd64
security/snortsam is broken on 64 bit platforms.  This is confirmed by the author at http://lists.snortsam.net/pipermail/snortsam-discussion/2008-April/000248.html.
Install security/snort
Install security/snortsam
Configure both ports to talk to each other
Start snortsam
Run "snort -T" and observe the errors (midway through very long diagnostic output at startup):

	snort: INFO => [Alert_FWsam](FWsamCheckIn) Connected to host .
	snort: ERROR => [Alert_FWsam](FWsamCheckIn) Password mismatch! Ignoring host .
--- ports/security/snortsam/Makefile.orig	2008-09-03 23:02:16.000000000 +0000
+++ ports/security/snortsam/Makefile	2009-10-09 21:47:07.000000000 +0000
@@ -32,6 +32,9 @@
 OPTIONS=	IPFW	"Enable IPFW table checking if it set deny rules" on
+NOT_FOR_ARCHS=	amd64 ia64 sparc64 sun4v
+NOT_FOR_ARCHS_REASON=	Password/key mechanism fails on 64 bit platforms
 .include <bsd.port.pre.mk>
 .if defined(WITHOUT_IPFW)

More information about the freebsd-ports-bugs mailing list