Compiling snort for OS X | 6 comments | Create New Account
Click here to return to the 'Compiling snort for OS X' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Try using #./configure -no-cpp-precomp I haven't tried this myself but it often works. For more hints read the porting tips on the fink and gnu-darwin web sites goodluck Y
“Snort is a free and open source network intrusion prevention system (NIPS) and network intrusion detection system (NIDS) created by Martin Roesch in 1998. Snort is now developed by Sourcefire, of which Roesch is the founder and CTO, and which has been owned by Cisco since 2013. CVE-2010-0019 Microsoft Silverlight 3 before 3.0.50611.0 on Windows, and before 3.0.41130.0 on Mac OS X, does not properly handle pointers, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and framework outage) via a crafted web site, aka 'Microsoft Silverlight Memory Corruption Vulnerability.'
While what yuriwho posted will help speed up compile, it won't fix this particular problem. The problem is that, while Apple includes libpcap libraries, they don't include the header files. Easiest thing is to grab libpcap header files and put the included files into /usr/local/include (create if necessary) then try again. If you don't trust the header files I put out there, you can grab the complete source for libpcap at ftp://ftp.ee.lbl.gov/libpcap.tar.Z.
Snort For Os X 10
Me again - I take it by header files you mean *.h files in the raw unpack? Just copy the 8 files into the directory you mentioned, right? Or do I need to do the INTSTALL as well? (No - haven't done that, since I think this will overwrite the Apple files, and I don't want to do that) Thanks in advance.
Os X 10.11.4
Not sure which files you are referring to when you mention 'the 8 files', but the ones I linked to in pcap_inc.tar.gz has just five (ethertype.h, gencode.h, pcap-int.h, pcap-namedb.h, and pcap.h) which define stuff in the libraries under /usr/lib which Apple provided. Ragnarok online for mac os x. These five should be placed under /usr/local/include then try your make again.