These forums have been switched to read-only mode as of March 1, 2011. The content that already existed here will be retained for posterity. No new posts will be accepted here. For more information and for the address of the new forums, see this page: http://snort.org/community/groups
Forums Support

Snort Compile on BT4

Subscribe to Snort Compile on BT4 3 post(s), 3 voice(s)

 
Avatar oigsnort 3 post(s)

Empty_starEmpty_starEmpty_starEmpty_starEmpty_star

I’m trying to install latest version of Snort in backtrack4 bt4
first problem,
when I do "apt-get update" and "apt-get install snort"
it keep saying I have the latest even though it’s only v 2.8.0.2
is the distribution site normally late on update?

so I’m trying to compile it on my own on BT4.
I had to install libpcre3.dev to pass ./configure
but I’m stuck at make. getting following errors, any ideas?

In function ‘open’,
inlined from ‘server_stats_save’ at server_stats.c:349:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make5: * [server_stats.o] Error 1
make5: Leaving directory `/root/snort-2.8.3.1/src/preprocessors/flow/portscan’
make4: *
[all-recursive] Error 1
make4: Leaving directory `/root/snort-2.8.3.1/src/preprocessors/flow’
make3: * [all-recursive] Error 1
make3: Leaving directory `/root/snort-2.8.3.1/src/preprocessors’
make2: *
[all-recursive] Error 1
make2: Leaving directory `/root/snort-2.8.3.1/src’
make1: * [all-recursive] Error 1
make1: Leaving directory `/root/snort-2.8.3.1’
make: *
[all] Error 2

 
Avatar nigel 106 post(s)

Empty_starEmpty_starEmpty_starEmpty_starEmpty_star

If you want the latest version of Snort, then you need to be using 2.8.5.3. It looks like you have 2.8.3.1. Try downloading and compiling that first.

 
Avatar pbailey 2 post(s)

Empty_starEmpty_starEmpty_starEmpty_starEmpty_star

I wrote a small how to compile snort on ubuntu

<a href="http://www.cryptolife.org/index.php/Compiling_snort_from_source_code_and_creating_a_.deb_package">http://www.cryptolife.org/index.php/Compiling_s…</a>

Forums Support

©2009 Snort and Sourcefire are registered trademarks of Sourcefire, Inc. All rights reserved. Terms of Use | Privacy Policy