tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Snort on Tru64
@ 2003-03-24 19:04 Brandon Saunders
  2003-03-28 18:47 ` SUMMARY: " Brandon Saunders
  0 siblings, 1 reply; 2+ messages in thread
From: Brandon Saunders @ 2003-03-24 19:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY: Snort on Tru64
  2003-03-24 19:04 Snort on Tru64 Brandon Saunders
@ 2003-03-28 18:47 ` Brandon Saunders
  0 siblings, 0 replies; 2+ messages in thread
From: Brandon Saunders @ 2003-03-28 18:47 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2625 bytes --]

First,

Thanks to everyone that lended suggestions.  I have snort 1.9.1 working, 
and will probably see if I can get the necessary changes into the 2.0 
stream.

Here is what I have found.

The primary issue is the include file for the u_int32_t type.  In Tru64 
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 
<sys/types.h> statement.

#ifdef OSF1
#include <sys/bitypes.h>
#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 
alignment errors do occur during runtime.  To compensate for this problem 
the -misalign option can be added to the CFLAGS variable in the following 
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 
scripts to add this option in Tru64.  I suppose this could also be done by 
setting the a CFLAGS shell variable before running the .configure script.

This generates a running program that does not issue Alignment Errors.  It 
does crash with a core dump.  The ladebug shows that the http_decode 
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 
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 
<brandon.a.saunders.1@ohio.edu> 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


[-- Attachment #2: Type: application/pgp-signature, Size: 231 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-28 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24 19:04 Snort on Tru64 Brandon Saunders
2003-03-28 18:47 ` SUMMARY: " Brandon Saunders

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox