From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brandon Saunders Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Snort on Tru64 Date: Fri, 28 Mar 2003 13:47:20 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <10922145.1048859240@BAS_LAPTOP> References: <15110000.1048532691@legos.cns.ohoiu.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========10927944==========" X-Trace: main.gmane.org 1048877507 6855 80.91.224.249 (28 Mar 2003 18:51:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2003 18:51:47 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Mar 28 19:51:45 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18yyx7-0001mP-00 for ; Fri, 28 Mar 2003 19:51:45 +0100 Original-Received: (qmail 16041 invoked by uid 5); 28 Mar 2003 18:51:43 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16032 invoked by uid 49493); 28 Mar 2003 18:51:43 -0000 Original-Received: from brandon.a.saunders.1@ohio.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-6.8/5.0):. Processed in 0.634514 secs); 28 Mar 2003 18:51:43 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 28 Mar 2003 18:51:42 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCH00DXO30UIL@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Fri, 28 Mar 2003 13:51:42 -0500 (EST) Original-Received: from oak1a.cats.ohiou.edu (oak1a.cats.ohiou.edu [132.235.8.45]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTPS id <0HCH00GF730N6I@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Fri, 28 Mar 2003 13:50:48 -0500 (EST) Original-Received: from BAS_LAPTOP (dhcp-196-066.cns.ohiou.edu [132.235.196.66]) (authenticated bits=0) by oak1a.cats.ohiou.edu (8.12.8/8.12.8) with ESMTP id h2SIlXXG783745 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 28 Mar 2003 13:47:33 -0500 (EST) In-reply-to: <15110000.1048532691@legos.cns.ohoiu.edu> Original-To: Tru64-UNIX-Managers@ornl.gov X-Mailer: Mulberry/3.0.0 (Win32) Xref: main.gmane.org gmane.os.tru64.managers:3830 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3830 --==========10927944========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline First, Thanks to everyone that lended suggestions. I have snort 1.9.1 working,=20 and will probably see if I can get the necessary changes into the 2.0=20 stream. Here is what I have found. The primary issue is the include file for the u_int32_t type. In Tru64=20 u_int32_t is not included in the sys/types.h file. Adding the include file = sys/bitypes.h is necessary for the system to compile. The following code needs to be added to these files after the #include=20 statement. #ifdef OSF1 #include #endif ./src/event.h ./src/signature.h It may be necessary to add this code elsewhere to more strictly declare the = variable. With this change the code will compile with the Compaq compiler, but=20 alignment errors do occur during runtime. To compensate for this problem=20 the -misalign option can be added to the CFLAGS variable in the following=20 Makefiles. ./src/output-plugins/Makefile ./src/detection-plugins/Makefile ./src/preprocessors/Makefile ./src/Makefile Work should be done to determine the changes necessary in the autoconf=20 scripts to add this option in Tru64. I suppose this could also be done by=20 setting the a CFLAGS shell variable before running the .configure script. This generates a running program that does not issue Alignment Errors. It=20 does crash with a core dump. The ladebug shows that the http_decode=20 preprocessor is the source of the problem. To work around this problem the = preprocessor was commented out of the config file. #preprocessor http_decode More debugging will be done on that in the future. The program appears to work in this state for a couple of days, then=20 crashes. I am looking into that as well. Brandon Saunders Senior Network Engineer Ohio University Communication Network Services Email: brandon.a.saunders.1@ohiou.edu --On Monday, March 24, 2003 2:04 PM -0500 Brandon Saunders=20 wrote: > Managers, > > I am currently working to get Snort 1.9.1 to work on Tru64 5.1a, and am > getting a great deal of alignment errors. I had similar problems with > Argus some time ago, and never found a good solution. > > Snort 1.8b1 was supplied with the Tru64 5.1B Open Source Software > Collection. It works, but core dumps after a few minutes in operation and > has several known issues. > > Does anyone have a version of Snort later than 1.8.1 working on their > machines? > > Thank You > > Brandon Saunders > Senior Network Engineer > Ohio University Communication Network Services > Email: brandon.a.saunders.1@ohiou.edu --==========10927944========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: Mulberry PGP Plugin v2.0 Comment: processed by Mulberry PGP Plugin iQA/AwUBPoSYuPyVOiKGBk3dEQJnTgCcDMqKIHXT4Pdu+kAQZ6HrwQXmH7EAnRct SxXEHSnpCfM0VFzRhGdpRHDN =A+Mt -----END PGP SIGNATURE----- --==========10927944==========--