1
0
Commit Graph

42 Commits

Author SHA256 Message Date
d07185cefe checkin
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=95
2024-06-04 12:15:05 +00:00
4f58a94cd5 Accepting request 1178487 from home:dimstar:Factory
- Fix patch application syntax: Use %patch -P N instead of
  deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1178487
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=94
2024-06-04 12:11:39 +00:00
deb0e0b6c9 Accepting request 1172451 from home:pgajdos
- added patches
  fix fix build with gcc14
  + apache2-mod_security2-gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1172451
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=92
2024-05-13 09:19:16 +00:00
933e8d6dbd Accepting request 1147828 from home:dimstar:rpm4.20:a
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1147828
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=90
2024-02-22 08:23:14 +00:00
Danilo Spinella
196d82d91e Accepting request 1101664 from Apache:Modules
revert to 87

OBS-URL: https://build.opensuse.org/request/show/1101664
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=89
2023-08-01 09:41:33 +00:00
Danilo Spinella
b365d4d203 Accepting request 1099113 from home:dirkmueller:Factory
- reenable tests
- switch to SpiderLabs owasp 3.2.0 release (final release, upstream
  archived the project, please switch to coreruleset instead):
  * Various security fixes, see 
  * https://raw.githubusercontent.com/SpiderLabs/owasp-modsecurity-crs/v3.2.0/CHANGES
- introduce supply chain security by adding gpg signature and keyring

OBS-URL: https://build.opensuse.org/request/show/1099113
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=88
2023-08-01 09:14:57 +00:00
Danilo Spinella
ca6551fe3a Accepting request 1098838 from home:dirkmueller:Factory
- update to 2.9.7:
  * Fix: FILES_TMP_CONTENT may sometimes lack complete content
  * Support configurable limit on number of arguments processed
  * Silence compiler warning about discarded const
  * Support for JIT option for PCRE2
  * Use uid for user if apr_uid_name_get() fails
  * Fix: handle error with SecConnReadStateLimit configuration
  * Only check for pcre2 install if required
  * Adjustment of previous fix for log messages
  * Mark apache error log messages as from mod_security2
  * Use pkg-config to find libxml2 first
  * Support for PCRE2 in mlogc
  * Support for PCRE2
  * Adjust parser activation rules in modsecurity.conf-
    recommended
  * Multipart parsing fixes and new MULTIPART_PART_HEADERS
    collection
  * Limit rsub null termination to where necessary
  * IIS: Update dependencies for next planned release
  * XML parser cleanup: NULL duplicate pointer
  * Properly cleanup XML parser contexts upon completion
  * Fix memory leak in streams
  * Fix: negative usec on log line when data type long is 32b
  * mlogc log-line parsing fails due to enhanced timestamp
  * Allow no-key, single-value JSON body
  * Set SecStatusEngine Off in modsecurity.conf-recommended
  * Fix memory leak that occurs on JSON parsing error
  * Multipart names/filenames may include single quote if double-
    quote enclosed
  * Add SecRequestBodyJsonDepthLimit to modsecurity.conf-

OBS-URL: https://build.opensuse.org/request/show/1098838
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=87
2023-07-17 08:33:54 +00:00
Danilo Spinella
1dd8c36c28 Accepting request 907288 from home:dspinella:branches:Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/907288
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=86
2021-07-20 09:51:27 +00:00
Danilo Spinella
2bc003e915 Accepting request 907282 from home:dspinella:branches:Apache:Modules
- Update to 2.9.4:
  * Add microsec timestamp resolution to the formatted log timestamp
  * Added missing Geo Countries
  * Store temporaries in the request pool for regexes compiled per-request.
  * Fix other usage of the global pool for request temporaries in re_operators.c
  * Adds a sanity check before use ctl:ruleRemoveTargetById and ctl:ruleRemoveTargetByMsg.
  * Fix the order of error_msg validation
  * When the input filter finishes, check whether we returned data
  * fix: care non-null terminated chunk data
  * Fix for apr_global_mutex_create() crashes with mod_security
  * Fix inet addr handling on 64 bit big endian systems
- Run spec-cleaner
- Remove if/else for older version of SUSE distribution

OBS-URL: https://build.opensuse.org/request/show/907282
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=85
2021-07-20 09:36:03 +00:00
1f5c2cdf32 - version update to 2.9.3
* Enable optimization for large stream input by default on IIS
   [Issue #1299 - @victorhora, @zimmerle]
 * Allow 0 length JSON requests.
   [Issue #1822 - @allanbomsft, @zimmerle, @victorhora, @marcstern]
 * Include unanmed JSON values in unnamed ARGS
   [Issue #1577, #1576 - @marcstern, @victorhora, @zimmerle]
 * Fix buffer size for utf8toUnicode transformation
   [Issue #1208 - @katef, @victorhora]
 * Fix sanitizing JSON request bodies in native audit log format
   [p0pr0ck5, @victorhora]
 * IIS: Update Wix installer to bundle a supported CRS version (3.0)
   [@victorhora, @zimmerle]
 * IIS: Update dependencies for Windows build
   [Issue #1848 - @victorhora, @hsluoyz]
 * IIS: Set SecStreamInBodyInspection by default on IIS builds (#1299)
   [Issue #1299 - @victorhora]
 * IIS: Update modsecurity.conf
   [Issue #788 - @victorhora, @brianclark]
 * Add sanity check for a couple malloc() and make code more resilient
   [Issue #979 - @dogbert2, @victorhora, @zimmerl]
 * Fix NetBSD build by renaming the hmac function to avoid conflicts
   [Issue #1241 - @victorhora, @joerg, @sevan]
 * IIS: Windows build, fix duplicate YAJL dir in script
   [Issue #1612 - @allanbomsft, @victorhora]
 * IIS: Remove body prebuffering due to no locking in modsecProcessRequest
   [Issue #1917 - @allanbomsft, @victorhora]
 * Fix mpm-itk / mod_ruid2 compatibility
   [Issue #712 - @ju5t , @derhansen, @meatlayer, @victorhora]
 * Code cosmetics: checks if actionset is not null before use it

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=83
2021-02-23 07:55:22 +00:00
edc44d368e - removing %apache_test_* macros, do not test module just by
loading the module

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=81
2020-02-13 07:56:49 +00:00
4374cdecf2 Accepting request 741022 from openSUSE:Factory
revert

OBS-URL: https://build.opensuse.org/request/show/741022
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=80
2019-10-18 09:16:43 +00:00
45ffd97882 Accepting request 739567 from home:RBrownSUSE:branches:Apache:Modules
Remove obsolete Groups tag (fate#326485)

OBS-URL: https://build.opensuse.org/request/show/739567
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=79
2019-10-17 13:42:44 +00:00
11811bcb4e Accepting request 560465 from home:jengelh:branches:Apache:Modules
* (TM) ought not to be used according to openSUSE's license guidelines (when I last looked at it)
* simplify the find line

OBS-URL: https://build.opensuse.org/request/show/560465
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=77
2018-01-04 12:36:56 +00:00
0cf4ea6d08 - fix build for SLE_11_SP4: BuildRoot and %deffattr have to be
present

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=76
2017-12-20 09:21:12 +00:00
8a706f0f57 Accepting request 556963 from home:kstreitova:branches:Apache:Modules
- update to 2.9.2
  * release notes
    https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.2
  * refresh apache2-mod_security2-no_rpath.diff
  * remove apache2-mod_security2-lua-5.3.patch that was applied
    upstream
- remove outdated html pages and diagram (they can be accessed
  online at https://github.com/SpiderLabs/ModSecurity/wiki)
  * Reference-Manual.html.bz2
  * ModSecurity-Frequently-Asked-Questions-FAQ.html.bz2
  * modsecurity_diagram_apache_request_cycle.jpg
- don't pack the whole doc directory as it contains also Makefiles
  or doxygen configuration files
- disable mlogc as we don't pack it and it also can't be built for
  curl <=7.34
- add basic and regression test suite (but disabled for now)
  * add apache2-mod_security2_tests_conf.patch for apache2
    configuration file used for tests that was trying to load
    mpm_worker_module (it's static for our apache2 package)
  * add "BuildRequires: perl-libwww-perl" needed for the test suite

OBS-URL: https://build.opensuse.org/request/show/556963
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=75
2017-12-18 09:36:29 +00:00
70673e6619 Accepting request 482327 from home:kstreitova:branches:Apache:Modules
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/482327
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=71
2017-03-24 09:57:51 +00:00
edc5905530 Accepting request 331626 from home:pgajdos:apache2
OBS-URL: https://build.opensuse.org/request/show/331626
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=70
2015-09-18 11:51:55 +00:00
404e95423a Accepting request 319200 from home:pgajdos:apache2
- fix build for lua 5.3

OBS-URL: https://build.opensuse.org/request/show/319200
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=67
2015-07-29 07:02:10 +00:00
73cc1b8056 Accepting request 317137 from home:pgajdos:apache2
require %{apache_suse_maintenance_mmn}

OBS-URL: https://build.opensuse.org/request/show/317137
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=65
2015-07-16 17:01:10 +00:00
Tomáš Chvátal
9215730c17 - Remove useless comment lines/whitespace
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=62
2015-03-02 14:46:30 +00:00
Tomáš Chvátal
c648fa3d5c Accepting request 287448 from home:elvigia:branches:Apache:Modules
- spec, build: Respect optflags
- spec: buildrequire pkgconfig
- modsecurity-fixes.patch: mod_security fails at:
  * building with optflags enabled due to undefined behaviour
    and implicit declarations.
  * It abuses it apr_allocator api, creating one allocator
    per request and then destroying it, flooding the system
    with mmap() , munmap requests, this is particularly nasty
    with threaded mpms. it should instead use the allocator
    from the request pool.

OBS-URL: https://build.opensuse.org/request/show/287448
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=61
2015-03-01 11:04:28 +00:00
Cristian Rodríguez
fbf8e83717 Accepting request 286140 from home:thomas-worm-sicsec:release:mod_security
Raised to version 2.9

OBS-URL: https://build.opensuse.org/request/show/286140
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=59
2015-02-15 17:09:07 +00:00
Tomáš Chvátal
7f3314325c Accepting request 259451 from home:pgajdos:apache2
- call spec-cleaner
- use apache rpm macros

OBS-URL: https://build.opensuse.org/request/show/259451
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=57
2014-11-11 12:00:42 +00:00
Roman Drahtmueller
6145a7eaa6 - Source URL set to (expanded)
https://www.modsecurity.org/tarball/2.8.0/modsecurity-2.8.0.tar.gz

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=55
2014-08-27 16:57:19 +00:00
Roman Drahtmueller
d204f2d2ca OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=54 2014-08-27 16:54:45 +00:00
Roman Drahtmueller
b518d3bbc3 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=53 2014-08-27 16:51:13 +00:00
Roman Drahtmueller
683b922885 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=52 2014-08-27 16:32:34 +00:00
Roman Drahtmueller
8897dd4991 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=51 2014-08-27 15:32:56 +00:00
Roman Drahtmueller
0d2701922b - Portability: provide /etc/apache2/mod_security2.d/empty.conf
to avoid a non-match of the file-glob in the Include statement
  from /etc/apache2/conf.d/mod_security2.conf . This restores
  the Include back from the IncludeOptional, which is not portable.

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=50
2014-08-27 15:30:58 +00:00
Roman Drahtmueller
fc3d6dbc4e Accepting request 246404 from home:thomas-worm-sicsec:dev:mod_security
Added backward compatibility for SLE 11 (aclocal fails on older distributions than openSuSE 13.1). Please forward to updates.

OBS-URL: https://build.opensuse.org/request/show/246404
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=49
2014-08-27 15:27:01 +00:00
Roman Drahtmueller
fce1311a9b - BuildRequires: libtool missing
- apache2-mod_security2-libtool-fix.diff: initialize libtool.

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=47
2014-06-16 17:03:44 +00:00
Roman Drahtmueller
7ec8988758 - apache2-mod_security2-no_rpath.diff: avoid the usage of -rpath
in autoconf m4 macros. Obsoletes patch
  modsecurity-apache_2.8.0-build_fix_pcre.diff
- use automake for build, add autoconf and automake to
  BuildRequires:. This fix is combined with [bnc#876878].
- turn on --enable-htaccess-config
- use %{?_smp_mflags} for build

- OWASP rule set. [bnc#876878]
  new in 2.8.0 (more complete changelog to add to last changelog):
  * Connection limits (SecConnReadStateLimit/SecConnWriteStateLimit)
    now support white and suspicious list
  * New variables: FULL_REQUEST and FULL_REQUEST_LENGTH
  * GPLv2 replaced by Apache License v2
  * rules are not part of the source tarball any longer, but
    maintaned upstream externally, and included in this package.
  * documentation was externalized to a wiki. Package contains
    the FAQ and the reference manual in html form.
  * renamed the term "Encryption" in directives that actually refer
    to hashes. See CHANGES file for more details.
  * byte conversion issues on s390x when logging fixed.
  * many small issues fixed that were discovered by a Coverity scanner
  * updated reference manual
  * wrong time calculation when logging for some timezones fixed.
  * replaced time-measuring mechanism with finer granularity for
    measured request/answer phases. (Stopwatch remains for compat.)
  * cookie parser memory leak fix
  * parsing of quoted strings in multipart Content-Disposition
    headers fixed.

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=46
2014-06-16 15:37:59 +00:00
Cristian Rodríguez
2052f24a65 Accepting request 232296 from home:thomas-worm-sicsec:dev:mod_security
- Raised to version 2.8.0.
- updated patches:
  * modsecurity-apache_2.8.0-build_fix_pcre.diff
    -> modsecurity-apache_2.7.7-build_fix_pcre.diff

OBS-URL: https://build.opensuse.org/request/show/232296
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=45
2014-05-01 19:12:22 +00:00
Tomáš Chvátal
70581c9f39 Accepting request 215135 from home:thomas-worm-sicsec:dev:mod_security
- Raised to version 2.7.7.
 - modified patches:
  * modsecurity-apache_2.7.5-build_fix_pcre.diff,
    renamed to modsecurity-apache_2.7.7-build_fix_pcre.diff.

OBS-URL: https://build.opensuse.org/request/show/215135
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=44
2014-03-19 10:06:20 +00:00
Roman Drahtmueller
43623123c6 Accepting request 214773 from home:aeneas_jaissle:branches:Apache:Modules
Use correct source Url

OBS-URL: https://build.opensuse.org/request/show/214773
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=43
2014-01-23 13:15:05 +00:00
Roman Drahtmueller
fdf6dd2bf3 Accepting request 206042 from home:draht:branches:Apache:Modules
- complete overhaul of this package, with update to 2.7.5.
- ruleset update to 2.2.8-0-g0f07cbb.
- new configuration framework private to mod_security2:
  /etc/apache2/conf.d/mod_security2.conf loads
  /usr/share/apache2-mod_security2/rules/modsecurity_crs_10_setup.conf,
  then /etc/apache2/mod_security2.d/*.conf , as set up based on
  advice in /etc/apache2/conf.d/mod_security2.conf
  Your configuration starting point is
  /etc/apache2/conf.d/mod_security2.conf
- !!! Please note that mod_unique_id is needed for mod_security2 to run!
- modsecurity-apache_2.7.5-build_fix_pcre.diff changes erroneaous
  linker parameter, preventing rpath in shared object.
- fixes contained for the following bugs:
  * CVE-2009-5031, CVE-2012-2751 [bnc#768293] request parameter handling
  * [bnc#768293] multi-part bypass, minor threat
  * CVE-2013-1915 [bnc#813190] XML external entity vulnerability
  * CVE-2012-4528 [bnc#789393] rule bypass
  * CVE-2013-2765 [bnc#822664] null pointer dereference crash
- new from 2.5.9 to 2.7.5, only major changes:
  * GPLv2 replaced by Apache License v2
  * rules are not part of the source tarball any longer, but
    maintaned upstream externally, and included in this package.
  * documentation was externalized to a wiki. Package contains
    the FAQ and the reference manual in html form.
  * renamed the term "Encryption" in directives that actually refer
    to hashes. See CHANGES file for more details.
  * new directive SecXmlExternalEntity, default off
  * byte conversion issues on s390x when logging fixed.
  * many small issues fixed that were discovered by a Coverity scanner
  * updated reference manual

OBS-URL: https://build.opensuse.org/request/show/206042
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=42
2013-11-06 23:16:14 +00:00
Stephan Kulow
6341f03002 Accepting request 131757 from Apache:Modules
license update: Apache-2.0 and GPL-2.0
Many of the files in the rules/ subdirectory are GPL-2.0 licensed (forwarded request 131755 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/131757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_security2?expand=0&rev=12
2012-08-27 13:45:37 +00:00
OBS User unknown
630c208028 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_security2?expand=0&rev=4 2009-06-17 17:12:51 +00:00
OBS User unknown
4263c40609 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_security2?expand=0&rev=3 2009-05-19 00:53:20 +00:00
OBS User unknown
492d69c20d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_security2?expand=0&rev=2 2009-01-23 22:43:58 +00:00
OBS User unknown
b08c840c20 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_security2?expand=0&rev=1 2008-09-24 13:02:28 +00:00