pkgsrc/net/snort/Makefile.common

78 lines
2.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile.common,v 1.27 2005/10/18 15:15:04 adrianp Exp $
#
DISTNAME= snort-2.4.3
CATEGORIES= net security
MASTER_SITES= http://www.snort.org/dl/current/ \
ftp://the.wiretapped.net/pub/security/network-intrusion-detection/snort/ \
ftp://gd.tuwien.ac.at/infosys/security/snort/dl/
- Upgrade snort to 2.1.3 - Grab maintainership of the package (with ok of previous owner) - Use SUBST_* code Ok'ed wiz@, snj@, salo@ From the changelog: 2004-05-06 Daniel Roelker <droelker@sourcefire.com> * src/detection-plugins/sp_pattern_match.c: Fixed rule read up error when parsing hexmode content options. Thanks for pointing it out Toni Maatta. (Roelker) * src/preprocessors/spp_stream4.c: Fixed null pointer dereference when detect_scans were enabled and creating a new session that had funky flags. Thanks to Chad Kreimendahl for reporting the bug and testing the fix. (Roelker) 2004-04-20 Daniel Roelker <droelker@sourcefire.com> * src/event_queue.c: * src/event_queue.h: * src/sfutil/sfeventq.c: * src/sfutil/sfeventq.h: Added multi-event queueing in Snort. Snort now supports logging multiple events per packet, and prioritizing those events using different methods. Thanks to H.D. Moore for illustrating event obfuscations when snort only logged one event per packet. (Roelker) * src/snort.c: * src/decode.c: * src/detect.c: * src/fpcreate.c: * src/fpdetect.c: * src/preprocessors/spp_arpspoof.c: * src/preprocessors/spp_bo.c: * src/preprocessors/spp_frag2.c: * src/preprocessors/snort_httpinspect.c: * src/preprocessors/spp_rpc_decode.c: * src/preprocessors/spp_stream4.c: Updated event generators to use new event queueing sytem. (Roelker) * src/output-plugins/spo_alert_fast.c: Added newline to 'cmg' alert output, so IP decode is easier to read. (Roelker) * src/output-plugins/spo_database.c: Updated how current/utc times are calculated, as well as how they are formatted, thanks Marcus Janoski. (Reid) * src/parser.c: Error on unterminated IP lists. Added 'config event_queue' parameter. Configuration changes to 'config checksum_mode' for specifying which checksums to do. (Norton) * src/plugbase.h: Fixes from Chris Reid for timestamp routines. (Reid) * src/tag.c: Revert to old tag functionality. Will add proposed tagging configurations in the future. (Roelker)
2004-07-01 19:10:22 +02:00
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.snort.org/
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-libpcap-includes=${BUILDLINK_PREFIX.libpcap}/include
CONFIGURE_ARGS+= --with-libpcap-libraries=${BUILDLINK_PREFIX.libpcap}/lib
PKG_SYSCONFSUBDIR= snort
RCD_SCRIPTS= snort
SNORT_USER?= snort
SNORT_GROUP?= snort
PKG_GROUPS= ${SNORT_GROUP}
PKG_USERS= ${SNORT_USER}:${SNORT_GROUP}::Snort\ user
FILES_SUBST+= SNORT_USER="${SNORT_USER}" SNORT_GROUP="${SNORT_GROUP}"
OWN_DIRS_PERMS= ${VARBASE}/log/snort ${SNORT_USER} ${SNORT_GROUP} 700
CONF_FILES= ${EGDIR}/snort.conf.default \
${PKG_SYSCONFDIR}/snort.conf
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
CONF_FILES+= ${EGDIR}/threshold.conf \
${PKG_SYSCONFDIR}/threshold.conf
CONF_FILES+= ${EGDIR}/classification.config \
${PKG_SYSCONFDIR}/classification.config
CONF_FILES+= ${EGDIR}/reference.config \
${PKG_SYSCONFDIR}/reference.config
CONF_FILES+= ${EGDIR}/gen-msg.map \
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
${PKG_SYSCONFDIR}/gen-msg.map
CONF_FILES+= ${EGDIR}/generators \
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
${PKG_SYSCONFDIR}/generators
CONF_FILES+= ${EGDIR}/sid \
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
${PKG_SYSCONFDIR}/sid
CONF_FILES+= ${EGDIR}/sid-msg.map \
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
${PKG_SYSCONFDIR}/sid-msg.map
CONF_FILES+= ${EGDIR}/unicode.map \
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
${PKG_SYSCONFDIR}/unicode.map
EGDIR= ${PREFIX}/share/examples/snort
SNORTDIR= ${PREFIX}/share/snort
- Upgrade snort to 2.1.3 - Grab maintainership of the package (with ok of previous owner) - Use SUBST_* code Ok'ed wiz@, snj@, salo@ From the changelog: 2004-05-06 Daniel Roelker <droelker@sourcefire.com> * src/detection-plugins/sp_pattern_match.c: Fixed rule read up error when parsing hexmode content options. Thanks for pointing it out Toni Maatta. (Roelker) * src/preprocessors/spp_stream4.c: Fixed null pointer dereference when detect_scans were enabled and creating a new session that had funky flags. Thanks to Chad Kreimendahl for reporting the bug and testing the fix. (Roelker) 2004-04-20 Daniel Roelker <droelker@sourcefire.com> * src/event_queue.c: * src/event_queue.h: * src/sfutil/sfeventq.c: * src/sfutil/sfeventq.h: Added multi-event queueing in Snort. Snort now supports logging multiple events per packet, and prioritizing those events using different methods. Thanks to H.D. Moore for illustrating event obfuscations when snort only logged one event per packet. (Roelker) * src/snort.c: * src/decode.c: * src/detect.c: * src/fpcreate.c: * src/fpdetect.c: * src/preprocessors/spp_arpspoof.c: * src/preprocessors/spp_bo.c: * src/preprocessors/spp_frag2.c: * src/preprocessors/snort_httpinspect.c: * src/preprocessors/spp_rpc_decode.c: * src/preprocessors/spp_stream4.c: Updated event generators to use new event queueing sytem. (Roelker) * src/output-plugins/spo_alert_fast.c: Added newline to 'cmg' alert output, so IP decode is easier to read. (Roelker) * src/output-plugins/spo_database.c: Updated how current/utc times are calculated, as well as how they are formatted, thanks Marcus Janoski. (Reid) * src/parser.c: Error on unterminated IP lists. Added 'config event_queue' parameter. Configuration changes to 'config checksum_mode' for specifying which checksums to do. (Norton) * src/plugbase.h: Fixes from Chris Reid for timestamp routines. (Reid) * src/tag.c: Revert to old tag functionality. Will add proposed tagging configurations in the future. (Roelker)
2004-07-01 19:10:22 +02:00
SUBST_CLASSES= paths
SUBST_STAGE.paths= post-patch
Update snort to 2.4.0 If you are using this package make note of the distribution change mentioned below. I have update the MESSAGE to inform users of this and there is now also a net/snort-rules package with the community rules. > [*] Distribution Change > * Rules are no longer distributed as part of the Snort releases, they are > available as a separate download from snort.org. This was done for > three reasons: > 1) To better manage the new rules licensing. > 2) To reduce the size of the engine download. > 3) To move the thousands of documentation files for the rules into > the rules tarballs. If you've ever checked Snort out of CVS you'll > know why this is a Good Thing. > > [*] New additions > * Added new IP defragmentation preprocessor, Frag3. The frag3 preprocessor > is a target-based IP defragmentation module, and is intended as a > replacement for the frag2 module. Check out the README.frag3 for full > info on this new preprocessor. > > * Libprelude support has been added (enable with --enable-prelude). > Thanks Yoann Vandoorselaere! > > * An "ftpbounce" rule detection plugin was added for easier detection of > FTP bounce attacks. > > * Added a new Snort config option, "ignore_ports," to ignore packets > based on port number. This is similar to bpf filters, but done within > snort.conf. > > [*] Improvements > * Snort startup messages printed in syslog now contain a PID before each > entry. Thanks Sekure for initially bringing this up. > > * Stream4: Performance improvements. > > * Stream4: Added 'max_session_limit' option which limits number of > concurrent sessions tracked. Added favor_old/favor_new options that > affect order in which packets are put together for reassembly. > > * Stream4: New configuration options to manage flushpoints for improved > anti-evasion. The flush_behavior option selects flushpoint management > mode. New flush_base, flush_range, and flush_seed manage randomized > flushing. Check out the snort.conf file for full config data on the > new flush options. > > * Added two more alerts for BackOrifice client and server packets. This > allows specific alerts to be suppressed. > > * PerfMon preprocessor updated to include more detailed stats for rebuilt > packets (applayer, wire, fragmented & TCP). Also added 'atexitonly' > option that dumps stats at exit of snort, and command line -Z flag to > specify the file to which stats are logged. > > * Added new Http Inspect config item, "tab_uri_delimiter," which if > specified, lets a tab character (0x09) act as the delimiter for a URI. > > * Added a '-G' command line flag to snort that specifies the Snort > instance log identifier. It takes a single argument that can be either > hex (prefaced with 0x) or decimal. The unified log files will include > the instance ID when the -G flag is used. > > * "Same SRC/DST" (sid 527) and "Loopback Traffic" (sid 528) are now > handled in the IP decoder. Those sids are now considered obsolete. > > * Http_Inspect "flow_depth" option now accepts a -1 value which tells > Snort to ignore all server-side traffic. > > * RPMs have been updated to be more portable, and also now include a > "--with inline" option for those wanting to build Inline RPMs. Thanks > Daniel Wittenberg and JP Vossen for your help! > > * Many, many bug fixes have also gone into this release, please see the > ChangeLog for details.
2005-08-13 21:56:47 +02:00
SUBST_FILES.paths= etc/snort.conf src/snort.c
SUBST_SED.paths= -e "s|@PREFIX@|${PREFIX}|g" \
-e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
- Upgrade snort to 2.1.3 - Grab maintainership of the package (with ok of previous owner) - Use SUBST_* code Ok'ed wiz@, snj@, salo@ From the changelog: 2004-05-06 Daniel Roelker <droelker@sourcefire.com> * src/detection-plugins/sp_pattern_match.c: Fixed rule read up error when parsing hexmode content options. Thanks for pointing it out Toni Maatta. (Roelker) * src/preprocessors/spp_stream4.c: Fixed null pointer dereference when detect_scans were enabled and creating a new session that had funky flags. Thanks to Chad Kreimendahl for reporting the bug and testing the fix. (Roelker) 2004-04-20 Daniel Roelker <droelker@sourcefire.com> * src/event_queue.c: * src/event_queue.h: * src/sfutil/sfeventq.c: * src/sfutil/sfeventq.h: Added multi-event queueing in Snort. Snort now supports logging multiple events per packet, and prioritizing those events using different methods. Thanks to H.D. Moore for illustrating event obfuscations when snort only logged one event per packet. (Roelker) * src/snort.c: * src/decode.c: * src/detect.c: * src/fpcreate.c: * src/fpdetect.c: * src/preprocessors/spp_arpspoof.c: * src/preprocessors/spp_bo.c: * src/preprocessors/spp_frag2.c: * src/preprocessors/snort_httpinspect.c: * src/preprocessors/spp_rpc_decode.c: * src/preprocessors/spp_stream4.c: Updated event generators to use new event queueing sytem. (Roelker) * src/output-plugins/spo_alert_fast.c: Added newline to 'cmg' alert output, so IP decode is easier to read. (Roelker) * src/output-plugins/spo_database.c: Updated how current/utc times are calculated, as well as how they are formatted, thanks Marcus Janoski. (Reid) * src/parser.c: Error on unterminated IP lists. Added 'config event_queue' parameter. Configuration changes to 'config checksum_mode' for specifying which checksums to do. (Norton) * src/plugbase.h: Fixes from Chris Reid for timestamp routines. (Reid) * src/tag.c: Revert to old tag functionality. Will add proposed tagging configurations in the future. (Roelker)
2004-07-01 19:10:22 +02:00
SUBST_MESSAGE.cgi= "Fixing paths."
post-install:
- Upgrade snort to 2.1.3 - Grab maintainership of the package (with ok of previous owner) - Use SUBST_* code Ok'ed wiz@, snj@, salo@ From the changelog: 2004-05-06 Daniel Roelker <droelker@sourcefire.com> * src/detection-plugins/sp_pattern_match.c: Fixed rule read up error when parsing hexmode content options. Thanks for pointing it out Toni Maatta. (Roelker) * src/preprocessors/spp_stream4.c: Fixed null pointer dereference when detect_scans were enabled and creating a new session that had funky flags. Thanks to Chad Kreimendahl for reporting the bug and testing the fix. (Roelker) 2004-04-20 Daniel Roelker <droelker@sourcefire.com> * src/event_queue.c: * src/event_queue.h: * src/sfutil/sfeventq.c: * src/sfutil/sfeventq.h: Added multi-event queueing in Snort. Snort now supports logging multiple events per packet, and prioritizing those events using different methods. Thanks to H.D. Moore for illustrating event obfuscations when snort only logged one event per packet. (Roelker) * src/snort.c: * src/decode.c: * src/detect.c: * src/fpcreate.c: * src/fpdetect.c: * src/preprocessors/spp_arpspoof.c: * src/preprocessors/spp_bo.c: * src/preprocessors/spp_frag2.c: * src/preprocessors/snort_httpinspect.c: * src/preprocessors/spp_rpc_decode.c: * src/preprocessors/spp_stream4.c: Updated event generators to use new event queueing sytem. (Roelker) * src/output-plugins/spo_alert_fast.c: Added newline to 'cmg' alert output, so IP decode is easier to read. (Roelker) * src/output-plugins/spo_database.c: Updated how current/utc times are calculated, as well as how they are formatted, thanks Marcus Janoski. (Reid) * src/parser.c: Error on unterminated IP lists. Added 'config event_queue' parameter. Configuration changes to 'config checksum_mode' for specifying which checksums to do. (Norton) * src/plugbase.h: Fixes from Chris Reid for timestamp routines. (Reid) * src/tag.c: Revert to old tag functionality. Will add proposed tagging configurations in the future. (Roelker)
2004-07-01 19:10:22 +02:00
@${CP} ${WRKSRC}/etc/snort.conf ${WRKSRC}/etc/snort.conf.default
${INSTALL_DATA_DIR} ${EGDIR}
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
${INSTALL_DATA} ${WRKSRC}/etc/*.config \
${WRKSRC}/etc/*.map \
${WRKSRC}/etc/generators \
${WRKSRC}/etc/sid \
${WRKSRC}/etc/threshold.conf \
- Upgrade snort to 2.1.3 - Grab maintainership of the package (with ok of previous owner) - Use SUBST_* code Ok'ed wiz@, snj@, salo@ From the changelog: 2004-05-06 Daniel Roelker <droelker@sourcefire.com> * src/detection-plugins/sp_pattern_match.c: Fixed rule read up error when parsing hexmode content options. Thanks for pointing it out Toni Maatta. (Roelker) * src/preprocessors/spp_stream4.c: Fixed null pointer dereference when detect_scans were enabled and creating a new session that had funky flags. Thanks to Chad Kreimendahl for reporting the bug and testing the fix. (Roelker) 2004-04-20 Daniel Roelker <droelker@sourcefire.com> * src/event_queue.c: * src/event_queue.h: * src/sfutil/sfeventq.c: * src/sfutil/sfeventq.h: Added multi-event queueing in Snort. Snort now supports logging multiple events per packet, and prioritizing those events using different methods. Thanks to H.D. Moore for illustrating event obfuscations when snort only logged one event per packet. (Roelker) * src/snort.c: * src/decode.c: * src/detect.c: * src/fpcreate.c: * src/fpdetect.c: * src/preprocessors/spp_arpspoof.c: * src/preprocessors/spp_bo.c: * src/preprocessors/spp_frag2.c: * src/preprocessors/snort_httpinspect.c: * src/preprocessors/spp_rpc_decode.c: * src/preprocessors/spp_stream4.c: Updated event generators to use new event queueing sytem. (Roelker) * src/output-plugins/spo_alert_fast.c: Added newline to 'cmg' alert output, so IP decode is easier to read. (Roelker) * src/output-plugins/spo_database.c: Updated how current/utc times are calculated, as well as how they are formatted, thanks Marcus Janoski. (Reid) * src/parser.c: Error on unterminated IP lists. Added 'config event_queue' parameter. Configuration changes to 'config checksum_mode' for specifying which checksums to do. (Norton) * src/plugbase.h: Fixes from Chris Reid for timestamp routines. (Reid) * src/tag.c: Revert to old tag functionality. Will add proposed tagging configurations in the future. (Roelker)
2004-07-01 19:10:22 +02:00
${WRKSRC}/etc/snort.conf.default ${EGDIR}/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort
cd ${WRKSRC}/doc ; \
for i in `${LS} | ${EGREP} -v "(Makefile|signatures)"` ; do \
${INSTALL_DATA} $$i ${PREFIX}/share/doc/snort ; \
done
${INSTALL_MAN} ${WRKSRC}/snort.8 ${PREFIX}/man/man8
Update to version 2.1.0. Changes: 2.1.0: ====== - A new connection tracking module, Flow (replaces conversation) - A new portscan detector based off of Flow, Flow-Portscan (replaces portscan2) - A new http preprocessor, HttpInspect (replaces http_decode) - Alert Thresholding and Suppression - PCRE rule keyword (Perl Compat Regular Expressions) - isdataat rule keyword (buffer length detection) - A ton of new and updated rules. 2.0.6: ====== - 64-bit update for detection engine. (Thanks, Silio d'Angelo) - Added better PPP decoding. (Thanks Jesper Peterson) - Updated ip_proto optimization for high-speed detection engine. - Fixed infinite loop problem that was introduced by the recursive pattern matching patch. Reported by Lawrence Reed, thanks for testing out the changes for us! - Various changes to help respond (version 1) work a little better. - spp_http_decode 64-bit patch from Dirk Mueller. - Out-of-order ACK problem from Andrew Rucker. Also, updated stream4 to the most recent version from HEAD. - Minor fixes to tagging related to 'src' and 'dst' directives - When counting one byte patterns in 'ningroup' added a check for psLen==1 (wu-manber pattern matcher). Thanks Josh Sakofsky and Dennis McGuire for helping us test this. 2.0.5: ====== - Stream4 fixes from Andrew Rucker Jones. - Allow memcap to be configured for threshold features. 2.0.4: ====== - Fixed a core dump introduced with 2.0.3 when dealing with negated patterns 2.0.3: ====== - doe_ptr handling in byte_test/byte_jump slightly modified to work better with the pcre patch - content processing is now recursive to make distance/within processing better ( thanks to Shai Rubin for patch! ) - fixed a bug in the mwm.c pattern matcher that resulted in some alerts not firing in a particular configuration of rules 2.0.2: ====== - Added Thresholding and Suppression features (Marc Norton/Sourcefire) - Fixed TCP RST processing bug found (Shai Rubin) - Cleanup of spp_arpspoof (Jeff Nathan) - Cleanup of win32 version including proper Event Log support (Chris Reid) - Munged data fixes for stream4 (Chris Green)
2003-12-31 15:11:42 +01:00
.include "../../devel/pcre/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"