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-Users
[Top] [All Lists]

Re: [Snort-users] Errors building snort-inlne 2.8.2.1 with clamv preproc

Subject: Re: [Snort-users] Errors building snort-inlne 2.8.2.1 with clamv preprocessor
Date: Wed, 09 Jul 2008 22:42:29 +0200
Thanks Will. Now works and rpm package is produced, but during compile time 
some 
warnings are produced:

gcc -DHAVE_CONFIG_H -I. -I../../../src/preprocessors -I../.. -I../../.. 
-I../../../src -I../../../src/sfutil -I/usr/include/pcap 
-I../../../src/output-plugins -I../../../src/detection-plugins 
-I../../../src/dynamic-plugins -I../../../src/preprocessors 
-I../../../src/preprocessors/flow -I../../../src/preprocessors/portscan 
-I../../../src/preprocessors/flow/int-snort 
-I../../../src/preprocessors/HttpInspect/include 
-I../../../src/preprocessors/Stream5 -I../../../src/target-based  
-I/usr/include 
-fno-strict-aliasing -g -O2 -g -O2 -Wall -DSHUTDOWN_MEMORY_CLEANUP 
-DTARGET_BASED -DDYNAMIC_PLUGIN -DDETECTION_OPTION_TREE -DNFNETLINKQ -DGIDS 
-DHAVE_NFQ_MAXLEN -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H -DGRE -DCLAMAV -DCLAMAV_HAVE_CL_BUILD 
-fno-strict-aliasing 
-c ../../../src/preprocessors/spp_clamav.c
../../../src/preprocessors/spp_clamav.c: In function ‘ProcessPorts’:
../../../src/preprocessors/spp_clamav.c:191: warning: pointer targets in 
passing 
argument 1 of ‘mSplit’ differ in signedness
../../../src/preprocessors/spp_clamav.c: In function ‘ParseClamAVArgs’:
../../../src/preprocessors/spp_clamav.c:306: warning: pointer targets in 
initialization differ in signedness
../../../src/preprocessors/spp_clamav.c:318: warning: implicit declaration of 
function ‘strlcpy’
../../../src/preprocessors/spp_clamav.c:356: warning: pointer targets in 
passing 
argument 1 of ‘mSplit’ differ in signedness
../../../src/preprocessors/spp_clamav.c:365: warning: pointer targets in 
passing 
argument 1 of ‘ProcessPorts’ differ in signedness
../../../src/preprocessors/spp_clamav.c: In function ‘ClamAVInit’:
../../../src/preprocessors/spp_clamav.c:507: warning: pointer targets in 
passing 
argument 1 of ‘ParseClamAVArgs’ differ in signedness
../../../src/preprocessors/spp_clamav.c:520: warning: implicit declaration of 
function ‘cl_loaddbdir’
../../../src/preprocessors/spp_clamav.c: In function ‘strip_http_headers_p’:
../../../src/preprocessors/spp_clamav.c:650: warning: pointer targets in 
passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:660: warning: assignment discards 
qualifiers from pointer target type
../../../src/preprocessors/spp_clamav.c:663: warning: pointer targets in 
passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:663: warning: pointer targets in 
assignment differ in signedness
../../../src/preprocessors/spp_clamav.c:678: warning: pointer targets in 
passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:678: warning: pointer targets in 
assignment differ in signedness
../../../src/preprocessors/spp_clamav.c:706: warning: pointer targets in 
passing 
argument 1 of ‘strstr’ differ in signedness
../../../src/preprocessors/spp_clamav.c:706: warning: pointer targets in 
assignment differ in signedness
gcc -DHAVE_CONFIG_H -I. -I../../../src/preprocessors -I../.. -I../../.. 
-I../../../src -I../../../src/sfutil -I/usr/include/pcap 
-I../../../src/output-plugins -I../../../src/detection-plugins 
-I../../../src/dynamic-plugins -I../../../src/preprocessors 
-I../../../src/preprocessors/flow -I../../../src/preprocessors/portscan 
-I../../../src/preprocessors/flow/int-snort 
-I../../../src/preprocessors/HttpInspect/include 
-I../../../src/preprocessors/Stream5 -I../../../src/target-based  
-I/usr/include 
-fno-strict-aliasing -g -O2 -g -O2 -Wall -DSHUTDOWN_MEMORY_CLEANUP 
-DTARGET_BASED -DDYNAMIC_PLUGIN -DDETECTION_OPTION_TREE -DNFNETLINKQ -DGIDS 
-DHAVE_NFQ_MAXLEN -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H -DGRE -DCLAMAV -DCLAMAV_HAVE_CL_BUILD 
-fno-strict-aliasing 
-c ../../../src/preprocessors/spp_stickydrop.c



Will Metcalf wrote:
Check out trunk from svn and try again  ArchiveMaxCompressionRatio
goes away in 0.93 and we were trying to set it ;-)....

Regards,

Will

On 7/9/08, carlopmart <carlopmart@gmail.com> wrote:
Yes, I did it ...

Will Metcalf wrote:
did you run ./autojunk.sh prior to ./configure ?

On 7/9/08, carlopmart <carlopmart@gmail.com> wrote:
Hi all,

 I am trying to install snort-inline 2.8.2.1 from
https://snort-inline.svn.sourceforge.net/svnroot/snort-inline site and 
when I
try to compile returns me this error:

/src/dynamic-plugins -I../../../src/preprocessors
-I../../../src/preprocessors/flow -I../../../src/preprocessors/portscan
-I../../../src/preprocessors/flow/int-snort
-I../../../src/preprocessors/HttpInspect/include
-I../../../src/preprocessors/Stream5 -I../../../src/target-based  
-I/usr/include
-fno-strict-aliasing -g -O2 -g -O2 -Wall -DSHUTDOWN_MEMORY_CLEANUP
-DTARGET_BASED -DDYNAMIC_PLUGIN -DDETECTION_OPTION_TREE -DNFNETLINKQ -DGIDS
-DHAVE_NFQ_MAXLEN -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DGRE -DCLAMAV -DCLAMAV_HAVE_CL_BUILD 
-fno-strict-aliasing
-c ../../../src/preprocessors/spp_clamav.c
../../../src/preprocessors/spp_clamav.c: In function 'ProcessPorts':
../../../src/preprocessors/spp_clamav.c:191: warning: pointer targets in 
passing
argument 1 of 'mSplit' differ in signedness
../../../src/preprocessors/spp_clamav.c: In function 'ParseClamAVArgs':
../../../src/preprocessors/spp_clamav.c:306: warning: pointer targets in
initialization differ in signedness
../../../src/preprocessors/spp_clamav.c:318: warning: implicit declaration 
of
function 'strlcpy'
../../../src/preprocessors/spp_clamav.c:356: warning: pointer targets in 
passing
argument 1 of 'mSplit' differ in signedness
../../../src/preprocessors/spp_clamav.c:365: warning: pointer targets in 
passing
argument 1 of 'ProcessPorts' differ in signedness
../../../src/preprocessors/spp_clamav.c: In function 'ClamAVInit':
../../../src/preprocessors/spp_clamav.c:507: warning: pointer targets in 
passing
argument 1 of 'ParseClamAVArgs' differ in signedness
../../../src/preprocessors/spp_clamav.c:520: warning: implicit declaration 
of
function 'cl_loaddbdir'
../../../src/preprocessors/spp_clamav.c:545: error: 'struct cl_limits' has 
no
member named 'maxratio'
../../../src/preprocessors/spp_clamav.c: In function 
'strip_http_headers_p':
../../../src/preprocessors/spp_clamav.c:650: warning: pointer targets in 
passing
argument 1 of 'strstr' differ in signedness
../../../src/preprocessors/spp_clamav.c:660: warning: assignment discards
qualifiers from pointer target type
../../../src/preprocessors/spp_clamav.c:663: warning: pointer targets in 
passing
argument 1 of 'strstr' differ in signedness
../../../src/preprocessors/spp_clamav.c:663: warning: pointer targets in
assignment differ in signedness
../../../src/preprocessors/spp_clamav.c:678: warning: pointer targets in 
passing
argument 1 of 'strstr' differ in signedness
../../../src/preprocessors/spp_clamav.c:678: warning: pointer targets in
assignment differ in signedness
../../../src/preprocessors/spp_clamav.c:706: warning: pointer targets in 
passing
argument 1 of 'strstr' differ in signedness
../../../src/preprocessors/spp_clamav.c:706: warning: pointer targets in
assignment differ in signedness
make[4]: *** [spp_clamav.o] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/snort-2.8.2.1/plain/src/preprocessors'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/snort-2.8.2.1/plain/src/preprocessors'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/snort-2.8.2.1/plain/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/snort-2.8.2.1/plain'
make: *** [all] Error 2

 I am trying to compile under rhel5.2 x86_64 and I have clamav-devel libs
intalled. Anyone knows how can I fix this??

--
CL Martinez
carlopmart {at} gmail {d0t} com

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


--
CL Martinez
carlopmart {at} gmail {d0t} com

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users




-- 
CL Martinez
carlopmart {at} gmail {d0t} com

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

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