Commit graph

60 commits

Author SHA1 Message Date
wiz
c30c5fbc0b *: recursive bump for nettle 3.5.1 2019-07-20 22:45:58 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
wiz
e5209a786e Add p11-kit to gnutls/bl3.mk and bump dependencies. 2018-04-17 22:29:31 +00:00
wiz
8733ee0040 Follow some http -> https redirects. 2017-08-01 14:58:51 +00:00
nils
f4a51def66 Upgraded to version 2.9.9.0.
This is a HUGE bump, so look at the changelog on the Snort website !
For example, Snort does not natively handle MySQL anymore.

As for the pkgsrc changes :
- updated deps (net/daq) ;
- updated config files ;
- updated MASTER_SITE ;
- some substitution to handle pkgsrc paths ;
- updated compile options.
2017-06-15 18:27:50 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
wiz
982c8f22e9 Recursive bump for all users of pgsql now that the default is 95. 2016-10-09 21:41:55 +00:00
wiz
a82aa43c18 Recursive PKGREVISION bump for gnutls shlib major bump. 2016-09-19 13:04:18 +00:00
wiz
1a8b91542f Bump PKGREVISION for nettle shlib major bump. 2015-08-23 14:30:35 +00:00
wiz
e03c03b6dc Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump. 2014-01-01 11:52:02 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
wiz
a8730d5aa1 Bump PKGREVISION for mysql default change to 55. 2013-03-02 20:33:21 +00:00
jperkin
73dedd67c2 PKGREVISION bumps for net/libpcap update. 2013-02-06 19:30:54 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
obache
3b49906c93 Instead of overwrite PKG_OPTIONS.snort with -inet6, drop inet6 from
PKG_SUGGESTED_OPTIONS for SunOS.

PR 46947.
2012-09-12 13:16:38 +00:00
wiz
ee311e3b36 Recursive bump for pcre-8.30* (shlib major change) 2012-03-03 00:11:51 +00:00
obache
9ea3b36c23 recursive bump from gettext-lib shlib bump. 2011-04-22 14:40:40 +00:00
gdt
b8f0ec33c9 Update to 2.8.5.1, to resolve a security issue.
Upstream NEWS is weak; release notes for 2.8.5.1 follow.

[*] Improvements
   * Fixed syslog output when running on Windows.

   * Fixed potential segfault when printing IPv6 packets using the -v option.
     Thanks to Laurent Gaffie for reporting this issue.

   * Fixed segfault when additional policies were added during a configuration
     reload.
2011-04-01 16:48:36 +00:00
obache
78d550a447 Add user-destdir support. 2009-12-09 11:42:35 +00:00
adrianp
2ae6078ec7 Give up MAINTAINER 2009-07-17 18:00:13 +00:00
adrianp
08439b6b5e Update to 2.8.3.1
* Update rule latency thresholding
* The flow and stream4 preprocessors will be deprecated in a future release.
* DCE/RPC preprocessor changes to handle abnormal TCP segmentation.
  Added option to reassemble fragmentation buffers early.  Updated
  documentation.
* Fixed handling of MPLS label in checking Stream session uniqueness
  when IPv4 packets are received and build is IPv6.
See the ChangeLog for all the details
2008-10-25 18:35:19 +00:00
adrianp
e23ee51ffc Set MAKE_JOBS_SAFE=NO
Fix non-priv'ed builds which should fix PR 39260

2008-07-24 - Snort 2.8.2.2
[*] Improvements
    * Fix issue with evaluating PCRE rule options with /U modifier that
      are followed by a relative content rule option.

    * Fix issue with dsize range check.

2008-06-12 - Snort 2.8.2.1
[*] Improvements
    * Fix support for pass rules that sometimes did not take precedence
      over alert and/or drop rules.
2008-08-03 19:30:16 +00:00
adrianp
2a67cb0056 Add 'old' MASTER_SITE just in case we're running a little behind in versions 2008-06-11 13:00:56 +00:00
adrianp
1b4721f323 Update to 2.8.1
Includes fix for CVE-2008-1804

[*] New Additions
* Target-Based support to allow rules to use an attribute table
  describing services running on various hosts on the network.
  Eliminates reliance on port-based rules.
* Support for GRE encapsulation for both IPv4 & IPv6.
* Support for IP over IP tunneling for both IPv4 & IPv6.
* SSL preprocessor to allow ability to not inspect encrypted traffic.
* Ability to read mulitple PCAPs from the command line.
* Support for new CVS rule detection options.

[*] Improvements
* Update to HTTP Inspect to identify overly long HTTP header fields.
* Updates to IPv6 support, including changes to avoid namespace
  conflicts for certain Operating systems.
* Updates to address issues seen on various Sparc platforms.
* Stricter enforcement of shared object versions to avoid API
  conflicts.
2008-05-25 23:49:07 +00:00
adrianp
3e87a878b2 Update to 2.8.0.1
[*] Improvements
* Updates to build with new versions of libPCRE.
* Fix Stream5 debugging output to actually compile and have correct output
  for normal & IPv6 enabled builds.
* Correct perfmonitor statistic calculation for pattern matcher percentage.
2008-01-06 00:28:44 +00:00
taca
d4a708aabc Remove an obsolete configuration file which already deleted from PLIST.
This change should fix a problem with CHECK_FILES=yes.
2007-12-19 03:18:49 +00:00
adrianp
dd0dcee099 snort ipv6 support does not work on SunOS 2007-11-11 21:24:24 +00:00
adrianp
a2b8769b99 Update to 2.8.0
* Port lists
* IPv6 support
* Packet performance monitoring
* Experimental support for target-based stream and IP frag reassembly
* Ability to take actions on preprocessor events
* Detection for TCP session hijacking based on MAC address
* Unified2 output plugin
* Improved performance and detection capabilities
2007-10-21 00:22:53 +00:00
adrianp
87761da3f5 Update to 2.7.0.1
Fixed header files to avoid conflicts with system files on BSD for
IPv6 data structures.
Added code to prevent URI-related alerts from firing when the
body is being normalized.
Make Stream5 the default stream engine.
Add alert for multiple GRE encapsulations.
Added ability for Snort to track fragmented ICMPv6 to check for the
remote BSD exploit (Bugtraq ID 22901, CVE-2007-1365).
Code cleanup, change malloc/calloc to SnortAlloc, use safer functions
SnortSnprintf, SnortStrncpy, etc.  Check pointers before use.
Additional updates for bounds checking.

And many more . . . check the ChangeLog for all the details
2007-08-20 20:28:18 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
adrianp
20aab0d59e Update to 2.6.1.5
Snort v2.6.1.5 includes:
* A new http_post rule keyword used to search for content in normalized
  HTTP posts
* A fix for a potential memory leak when generating HTTP Inspection events

Snort v2.6.1.4 includes detection functionality for a BSD IPv6 fragmentation
overflow, and addresses a number of potential security-related issues in
Snort as reported by customers, uncovered by internal investigations, and
through third-party code audits.
2007-05-18 22:20:09 +00:00
adrianp
e62c23b0b4 Update to 2.6.1.3
* src/dynamic-preprocessors/Makefile.am:
* src/dynamic-preprocessors/dcerpc/smb_andx_decode.c:
* src/dynamic-preprocessors/dcerpc/dcerpc.c:
Add bounds checking to ReassembleSMBWriteX; use Safememcpy for calculated
length buffer copies.
2007-02-19 19:40:35 +00:00
adrianp
8588663438 Update to snort 2.6.1.2
2.6.1 provides new functionality including the following:

* New pattern matcher with a significantly reduced memory footprint
* Introduction of stream5 for experimental use
* Improvements to stream4, including UDP session tracking and optimizations for the reassembly buffer
* Handling for reassembly of SMB fragmented data in DCE/RPC
* An ssh preprocessor for experimental use
* Updated Snort decoder that can decode GRE encapsulated packets
* Output plugin to allow Snort to configure Aruba access control

Snort 2.6.0:
* Tcp stream properly reassembled after failed sequence check, which may lead to possible detection evasion.
* Added configurable stream flushpoints.
* Improved rpc processing.
* Improved portscan detection.
* Improved http request processing and handling of possible evasion cases.
* Improved performance monitoring.

The Snort 2.6 release also introduces the ability to use dynamic rules and dynamic preprocessors and contains further improvements to the Snort detection engine.

Remove snort-{pgsql,mysql,prelude}. The new snort package uses options.mk
to specify build options.
2007-02-17 19:08:05 +00:00
adrianp
55341ffa93 Add debug option
Suggested by Jason Miller in private email
2006-04-18 22:39:32 +00:00
adrianp
9bff922955 Update to snort 2.3.0
2005-01-25 - Snort 2.3.0 Final Released

* Fixed issue with sfPortscan reporting incorrect IP datagram length.
  Thanks Jon Hart for the test case and finding the bug, and Marc Norton
  for resolving the issue.

* Threshold/Suppression now prints properly when logging to syslog.
  Thanks Sekure for pointing out the problem. Thanks Steve Sturges for
  working on the fix.

* Threshold memcap argument now correctly handles non-integer input.
  Thanks nnposter for the patch.

* Fixed issue reported by Allan Jensen, where on MacOS X, ppp links were
  not decoded properly. Thanks Dan Roelker for the fix.

* Snort manual and FAQ are updated for 2.3. Thanks Jen Harvey for your
  work on putting it all together.

2004-12-15 - Snort 2.3.0 RC2 Released

* Small performance improvement to arpspoof and also fixed a problem
  where the list of configured IP/MAC entries would contain only one
  entry and leaked memory (Jeff Nathan).

* Fixed a problem affecting MacOS X where linking may fail with
  non-standard libraries when global symbols are encountered multiple
  times (Jeff Nathan).

* Ignore RST|ACK midstream pickup case so we don't get an evasive TCP
  alerts.  Thanks for the report, Sekure. Thanks Dan Roelker for the fix.

* Moved CheckLogDir() to after parsing snort.conf (for IDS mode) so the
  logdir config will work if the default or command-line logdir does not
  exist on the system. Thanks Dan Roelker.

* Fixed bug when setting the doe_ptr on a successful pcre match.
  It is now set relative to base_ptr. Thanks Steve Sturges for the
  fix.

* Added from_beginning and multiplier options for byte_jump.
  from_beginning skips bytes from the beginning of the content,
  instead of from the location immediately following the number
  of bytes to skip.  multiplier takes a numeric argument, and
  skips x times that number of bytes. Thanks again to Steve Sturges.

* In "fast" output, now log only actual packet contents when UDP
  data length is greater than actual data length. Thanks Brian
  Caswell for spotting this, and Andrew Mullican for working on the fix.

* Please check the ChangeLog for further details.

2004-11-18 - Snort 2.3.0 RC1 Released

* Added IPS functionality from Snort-Inline.  A big thanks to the
  Snort-Inline guys (Jed Haile, Rob McMillen, William Metcalf, and Victor
  Julien).  Also, Thanks Dan Roelker for doing the integrating of
  Snort-Inline into the official Snort project.

* Added new portscan detector.  The design and implementation was headed
  up by Dan Roelker, and included Marc Norton and Jeremy Hewlett.

* Numerous changes for better 64bit Snort support from Jeremy Hewlett and
  Marc Norton.  Additionally, an --enable-64bit-gcc option was added to
  configure.  However, there are still some memory alignment issues to
  work out before 64bit mode is fully functional, patches are welcomed.
  Thanks Chris Baker for doing 64bit testing.

* Added not_established keyword to the flow detection option.  This allows
  snort to do dynamic firewall rulesets.  Experimental for now.

* Added an enforce_state keyword to stream4 so we won't pick up midstream
  sessions.  This works well for asynchronous links and also for
  just monitoring legitimate traffic.

* Relocated ./contrib files to http://www.snort.org/dl/contrib as many
  are not maintained by Sourcefire and are out of date. The rpm and
  schema files have been relocated in their respective 'rpm' and 'schemas'
  directories under the snort parent directory.

* perfmonitor config line can now be configured with "accumulate" or
  "reset."  Thanks Marc Norton for the feature, and Barry Basselgia for
  pointing out the issue.  Thanks Scott Dexter and Andreas Ostling for
  doing some initial testing.

* Fixed 64-bit bug in sfmemcap.c found and tested by Ryan Matteson
  and Clay McClure.  Thanks guys.

* Fixed reference times to match log time for first packet, for an event
  generated by a reassembled packet.  Incremented event ID to give
  unique ID for each packet.  Also made unified logging compatible with
  Windows.  Thanks Andrew Mullican for the fix.

* Fixed linux perfmonitoring stats for the 2.6 kernel.  Thanks to
  everyone that reported this bug.  Thanks Dan Roelker for the fix.

* Get thresholding/suppression to work for alerts that do not
  contain an ip header (primarily decode alerts).  Thanks
  Brian Caswell.

* Fix conditions where snort would log double web alerts that
  contained only content options (no uricontents).  Thanks to kawa for
  finding and reporting this bug.

* Fix suppression/thresholding bug for non-rule alerts.  Thanks to
  Alex Butcher for reporting it to us.

* Many other bug fixes, please check the ChangeLog for details.
2005-01-28 23:02:41 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
salo
495195d60a 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 14:11:42 +00:00
salo
6ecd356afd Updated to version 2.0.1.
Changes:

- fix host endianess problem in udp decoder
- vlan decoding fixes from Michael Pomraning
- add tcp state checking to httpflow
- ignoring bad checksums throughout snort if checksumming is turned on
- config disable_ttcp_alerts is now also config disable_tcpopt_ttcp_alerts
- better initialization handling of low memory conditions pointing to the
- low memory search engine
- byte_jump / byte_test 2 byte cases handled and unified
- correctly assign port numbers on tcpoption events
- pass rule logic changed to "win" in specific multiple event cases
- named interface support for win32 from the winpcap folks
- spp_bo now also will work with log-only output plugins
- added window detection plugin documentation to manual
- lots of new rules and tons of rule documentation
2003-07-26 11:13:16 +00:00
salo
f926ba83a1 Bump PKGREVISION: honour PKG_SYSCONFDIR for real. (i thought i fixed this
before but apparently i did not :/)
2003-04-16 15:51:22 +00:00
wiz
b8de028caa COMMENT should be set in Makefile, not any common Makefile parts. 2002-11-09 13:43:48 +00:00
wiz
cb16668c4c buildlink1 -> buildlink2. 2002-10-10 12:23:05 +00:00
rh
9935573961 Remove SNORT_USE_PGSQL option. This will be split out into a separate
package.  For that purpose, move most of Makefile into a new
Makefile.common.
2002-04-15 08:31:14 +00:00
rh
2842fc1305 Add a SNORT_USE_PGSQL option to compile in PostgreSQL support (and add
the appropriate dependency).  Patch provided by ww@GROOVY.NET
2002-04-14 09:49:46 +00:00
rh
843bf5a7ba Update snort to 1.8.6. Patch provided in private mail by Mipam
<mipam@ibb.net>.  From the release notes:

    1.8.4 and 1.8.5 both had bugs that were found right as we were ready
    to do a full release and represented good midway points but 1.8.6
    should be the stable target.

Changes include:
  * The ICMP decoders have been rewritten.
  * (This is a summary of recent changes -- not all mine)
  * Fixed stream4 offset initialization
  * Double Open of snort log file
  * Lots of new rules
  * Fatal error on problems other than -> and <>
  * Fixed stream4 several low memory conditions
  * Error checking in stream4/frag2 argument parsing
  * snort-db schema updates to 1.05
  * --with-pcap-includes should now look at specified pcap
  * packet statistics now should be more accurate with regards to lost
    frags
  * double PID file write
  * S4 alignment problems on SPARC fixed ( rpc_decode still has SPARC
  alignment errors )
  * new snmptrap code
  * documentation updates
  * Stability fixes in frag2
  * SEQ / ACK checking should be correct
  * Reassembled packets with stream4 will now also be inspected when
    using -z est
  * ip fragments are now calculated correctly
  * rule headers correctly matched
    ( multiple CIDR performance greatly increased )
2002-04-10 22:01:10 +00:00
rh
49eb8b5659 Update snort to 1.8.4 (update was provided by Mipam <mipam@ibb.net> in a
private mail -- thanks!)

Changes are:
	* Fixed stream4 offset initialization
	* Double Open of snort log file
	* Lots of new rules
	* Fatal error on problems other than -> and <>
	* Fixed stream4 several low memory conditions
	* Error checking in stream4/frag2 argument parsing
	* snortdb schema updates to 1.05
	* --with-pcap-includes should now look at specified pcap
	* packet statistics now should be more accurate with regards to
	  lost packets werwerwerwerwer
	* double PID file write
	* S4 alignment problems on Sparc fixed
	* new snmptrap code
	* documentation updates
	* Stability fixes in frag2
2002-04-02 21:34:08 +00:00
agc
a3c645a3eb Normalise all the uses of "wheel", and "root" for ${ROOT_GROUP}, now that
the definition is available in all the defs.${OPSYS}.mk files.
2001-12-05 16:03:56 +00:00
kleink
86465690a4 Update snort to 1.8.3; changes since 1.8.2 include:
Major repairs include a fix to frag2 on Linux platforms, the icmp
    decoder and printout routines were updated to match the data
    structures that I implemented in 1.8.1 and the flexresp code was
    repaired and should now be faster, plus the usual rule updates.  I
    also added a new "-B" command line switch to convert IP addresses
    in a pcap file to a new specified IP subnet addresses.
2001-12-02 14:43:49 +00:00
kleink
ad1ab47c7b Update snort to 1.8.2; changes since 1.8.1 include:
* fixed UTC timestamps
            * fixed SIGUSR1 handling, should reset properly now after getting
              a signal
            * fixed PID path generation code, PID files go in the right place
	      now
            * fixed stability problems in stream4
            * fixed stability problems in frag2
            * tweaks to spo_unified for better integration with barnyard
            * added -f switch to turn off fflush() calls in binary logging mode
            * added new config keyword to stream4, "log_flushed_streams", which
              causes all buffered packets in the stream reassembler for that
              session to be logged in the event of an event on that stream
	      (must be used in conjunction with spo_log_tcpdump)
            * added packet precacheing for flexresp TCP packets, responses
              should be generated more quickly
            * fixed rules parser code for various failure modes
            * several new rules files and a new classification system
2001-11-28 13:44:51 +00:00
wiz
d6524cf3f5 Use libpcap buildlink.mk instead of OS test. By Stoned Elipot from pkg/13928. 2001-09-11 16:12:56 +00:00
abs
8d04d4c878 At least depend on the right version of pcal for SunOS or Linux. 2001-08-24 11:43:47 +00:00