Commit graph

123 commits

Author SHA1 Message Date
nils
062b69d31b forgot to add black_list.rules and white_list.rules 2017-06-16 06:47:12 +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
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
wiz
1a8b91542f Bump PKGREVISION for nettle shlib major bump. 2015-08-23 14:30:35 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +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
2701daa925 Sun's ar needs at least one symbol in a library.
Fixes SunOS build.
2013-02-22 12:05:34 +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
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
wiz
ee311e3b36 Recursive bump for pcre-8.30* (shlib major change) 2012-03-03 00:11:51 +00:00
shattered
26ce32cfbd PR/29576 -- Use @RCD_SCRIPTS_SHELL@ in rc.d scripts, not /bin/sh 2011-10-07 22:37:02 +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
joerg
3900f91ff1 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:00:03 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +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
joerg
291f070901 Use stdbool.h instead of defining bool manually.
Fixes issues e.g. on NetBSD where bool is defined by system headers.
2008-06-21 21:44:21 +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
4da828180a Snort 2.8.x supports IPv6 2007-10-31 16:49:17 +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
a8a8ad11ff Remove libpreludedb dependency for snort-prelude builds. Apparently it's
not required.  From John R. Shannon.
2007-09-09 19:57:23 +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
8464f66dc1 Fix typos in options.mk
Fix snort-flexresp{2} so that they actually can be tested and work properly
 with the new libnet{10,11} laoyout
Pointed out by wiz@ in private email
2007-03-23 10:54:52 +00:00
joerg
800393454c Kill an useless, unportable check. 2007-02-20 17:29:36 +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
0e80ca1b00 Remove the now obsolete Makefile.common 2007-02-17 21:45:18 +00:00
adrianp
889bae3488 Add options.mk missed in the 2.6 update 2007-02-17 19:08:48 +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
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
rillig
33d47824d2 Fixed a typo (SUBST_MESSAGE.cgi => SUBST_MESSAGE.paths) found by pkglint. 2006-06-18 00:25:26 +00:00
adrianp
5ecf126456 Update to 2.4.5
These releases have better performance, numerous new features and
incorporate many bug fixes. Notable bug fixes and improvements include:

* 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.
2006-06-06 18:51:52 +00:00
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +00:00
adrianp
55341ffa93 Add debug option
Suggested by Jason Miller in private email
2006-04-18 22:39:32 +00:00
adrianp
df223db62c Update to 2.4.4
This includes the fix for:
	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0839
> +2006-02-20 Steven Sturges <ssturges@sourcefire.com>
> +    * src/preprocessors/spp_frag3.c:
> +    * configure.in:
> +      Fix ip options handling.  Thanks to Vyacheslav Burdjanadze for
> +      finding the issue.
> +
> +2006-01-09 Steven Sturges <ssturges@sourcefire.com>
> +    * src/sfutil/mwm.c:
> +      Fixed bug with multiple recurring patterns in Wu-Manbher implementation.
> +      Thanks to Evan Stawnyczy for pointing it out an Marc Norton for the
> +      fix.
> +    * src/parser/IpAddrSet.c:
> +      Fixed problem with parsing conf file and rules when DNS is not working.
> +      Thanks Martin Olsson for mentioning this and testing the fix.
> +    * src/preprocessors/spp_perfmonitor.c:
> +    * src/preprocessors/perf-base.c:
> +      Handle wrapping on 64-bit platforms
> +
> +2005-11-17 Andrew Mullican <amullican@sourcefire.com>
> +    * src/sfutil/sfxhash.c:
> +    * src/preprocessors/portscan.c:
> +      Add tracker without using bogus data, to avoid internal buffer overrun.
> +      Thanks Sandro Poppi for the find.
> +
> +2005-11-11 Steven Sturges <ssturges@sourcefire.com>
> +    * src/snort.c:
> +      Allow value of 0 to be used with -G flag
> +    * src/preprocessors/spp_bo.c:
> +      Code Cleanup
> +    * src/preprocessors/spp_frag3.c:
> +      Fix memory leak and mishandling of IP Options.  Thanks Yin
> +      Zhaohui for the find.
2006-03-09 09:37:44 +00:00