[Snort-devel] Snort crashing on high bandwidth system

Jeff Nathan jeff at ...835...
Thu Dec 11 15:22:44 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Previously,

we've tried to identify all the corner cases where alignment might be a 
problem and use some simple C preprocessor macros to fix alignment 
anywhere it might be a problem.

I think we (all of us) have decided this isn't really a great approach.

In CVS HEAD there is already some new code that aligns potentially 
unaligned accesses, regardless of platform.

The two pieces of code that have been the biggest culprit in this area 
are spp_stream4 and spp_frag2.

So, as I understand it (and can convey it to the rest of you), the plan 
is to remove the existence of SPARC_TWIDDLE and force alignment where 
necessary.  I can't say whether or not this will be part of 2.1 but 
there's a possibility it will be.

I'll see if I can find out what happened to those HP/UX patches as well.

- -Jeff

- --
The original EZ-bake packet oven.
http://nemesis.sourceforge.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/2Lv3Eqr8+Gkj0/0RAq13AJ4ypCGdFhCzw+oT5hju8RuZx4gQAgCfcezg
nEo/ggGy3/RLa8lNnsF1zWg=
=fAQS
-----END PGP SIGNATURE-----





More information about the Snort-devel mailing list