Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Signatures
[Top] [All Lists]

Re: [Snort-sigs] FLOWBITS ERROR

Subject: Re: [Snort-sigs] FLOWBITS ERROR
Date: Mon, 07 Mar 2005 11:10:54 -0500
You cannot just remove the cap since the data storage schemes use this number prior to the rules actually being read. For now just use a higher limit. We will be comming out with a more dynamic mechanism as Brian suggests shortly.

Brian wrote:
On Wed, Mar 02, 2005 at 09:35:48AM +0000, Zultan  wrote:

I tried Matthew Watchinski's suggestion and set "config
flowbits_size: 64" and that fixed the problem.

I just guessed when choosing 64. What is the number for?  Meg of
memory allocated?


The value was an arbitrary nubmer that fixes your issue.  Anything
bigger than the number of flowbits you have would solve your issue.

flowbits uses a dynamically sized bitarray for data storage.  The more
unique flowbits you have, the larger the bit array you store, however
the storage is only 1 bit per flowbit (rounded up to the nearest
byte).

The original code I wrote that added flowbits didn't include this
arbitrary cap, since if you need the flowbits you need the flowbits.

Its trivial to remove the arbitrary cap.  If you are really concerned,
go hack the code to remove the upper limit.  You won't break anything
by toasting the upper limit.

Brian


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Snort-sigs mailing list Snort-sigs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-sigs


-- Marc Norton Snort Team Lead 410-423-1924 mnorton@sourcefire.com www.snort.org www.sourcefire.com


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Snort-sigs mailing list Snort-sigs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-sigs

<Prev in Thread] Current Thread [Next in Thread>