notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
modsecurity3 Intrusion detection and prevention engine
3.0.12 security on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.0.8Version of this port present on the latest quarterly branch.
Maintainer: marius.halden@modirum.com search for ports maintained by this maintainer
Port Added: 2018-11-27 14:29:06
Last Update: 2024-03-16 13:16:09
Commit Hash: e1d2851
People watching this port, also watch:: samba413, py39-s3transfer
Also Listed In: www
License: APACHE20
WWW:
https://www.modsecurity.org/
Description:
ModSecurity is an embeddable web application firewall. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure. It is also an open source project that aims to make the web application firewall technology available to everyone.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (40 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/modsecurity3-3.0.12/catalog.mk
  3. /usr/local/share/licenses/modsecurity3-3.0.12/LICENSE
  4. /usr/local/share/licenses/modsecurity3-3.0.12/APACHE20
  5. bin/modsec-rules-check
  6. include/modsecurity/anchored_set_variable.h
  7. include/modsecurity/anchored_set_variable_translation_proxy.h
  8. include/modsecurity/rule_message.h
  9. include/modsecurity/rule_unconditional.h
  10. include/modsecurity/variable_origin.h
  11. include/modsecurity/transaction.h
  12. include/modsecurity/anchored_variable.h
  13. include/modsecurity/intervention.h
  14. include/modsecurity/collection/collections.h
  15. include/modsecurity/collection/collection.h
  16. include/modsecurity/rule_with_operator.h
  17. include/modsecurity/variable_value.h
  18. include/modsecurity/rules_set.h
  19. include/modsecurity/audit_log.h
  20. include/modsecurity/modsecurity.h
  21. include/modsecurity/debug_log.h
  22. include/modsecurity/rule_with_actions.h
  23. include/modsecurity/rules_set_properties.h
  24. include/modsecurity/rule_marker.h
  25. include/modsecurity/rules.h
  26. include/modsecurity/rules_exceptions.h
  27. include/modsecurity/rules_set_phases.h
  28. include/modsecurity/reading_logs_via_rule_message.h
  29. include/modsecurity/actions/action.h
  30. include/modsecurity/rule.h
  31. lib/libmodsecurity.a
  32. lib/libmodsecurity.so
  33. lib/libmodsecurity.so.3
  34. lib/libmodsecurity.so.3.0.12
  35. libdata/pkgconfig/modsecurity.pc
  36. etc/modsecurity/unicode.mapping
  37. @sample etc/modsecurity/modsecurity.conf.sample
  38. @owner
  39. @group
  40. @mode
Collapse this list.
Dependency lines:
  • modsecurity3>0:security/modsecurity3
Conflicts:
CONFLICTS_INSTALL:
  • ap??-mod_security
  • mod_security3
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/security/modsecurity3/ && make install clean
To add the package, run one of these commands:
  • pkg install security/modsecurity3
  • pkg install modsecurity3
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: modsecurity3
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1710594070 SHA256 (modsecurity-v3.0.12.tar.gz) = a36118401641feef376bb469bf468abf94b7948844976a188a6fccb53390b11f SIZE (modsecurity-v3.0.12.tar.gz) = 3504045

Packages (timestamps in pop-ups are UTC):
modsecurity3
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.0.83.0.123.0.4_23.0.83.0.12-3.0.4_2-
FreeBSD:13:quarterly3.0.83.0.83.0.83.0.83.0.83.0.83.0.83.0.8
FreeBSD:14:latest3.0.83.0.123.0.83.0.83.0.123.0.8-3.0.8
FreeBSD:14:quarterly3.0.83.0.8-3.0.83.0.83.0.83.0.83.0.8
FreeBSD:15:latest3.0.83.0.12n/a3.0.8n/a3.0.83.0.83.0.8
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libcurl.so : ftp/curl
  2. libpcre.so : devel/pcre
  3. libyajl.so : devel/yajl
  4. libmaxminddb.so : net/libmaxminddb
  5. libxml2.so : textproc/libxml2
This port is required by:
for Libraries
  1. security/modsecurity3-nginx
  2. www/nginx-full

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. security/modsecurity3-apache*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
security_modsecurity3
USES:
cpe gmake gnome libtool pkgconfig:build
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.12/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.0.12
16 Mar 2024 13:16:09
commit hash: e1d28513d03190ae18df0041926d23828e8ec760commit hash: e1d28513d03190ae18df0041926d23828e8ec760commit hash: e1d28513d03190ae18df0041926d23828e8ec760commit hash: e1d28513d03190ae18df0041926d23828e8ec760 files touched by this commit
Kurt Jaeger (pi) search for other commits by this committer
Author: Wolfgang Gerlach
security/modsecurity3: update 3.0.8 -> 3.0.12

- Trustwave transfered ModSecurity custodianship to OWASP
  effective January 25, 2024
- Fixes CVE 2024-1019

PR:		276817
Changes:	https://github.com/owasp-modsecurity/ModSecurity/releases
3.0.8
05 Oct 2022 05:44:51
commit hash: 01b8fffa0339064eb4ebc9ea10035a1e9899e77acommit hash: 01b8fffa0339064eb4ebc9ea10035a1e9899e77acommit hash: 01b8fffa0339064eb4ebc9ea10035a1e9899e77acommit hash: 01b8fffa0339064eb4ebc9ea10035a1e9899e77a files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Marius Halden
security/modsecurity3: Update to v3.0.8

PR:		266786
Reported by:	marius.halden@modirum.com (maintainer)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.0.6
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.0.6
12 Apr 2022 12:24:29
commit hash: 6a77785b5b66e793783b3f04109aa54e44bb7ce8commit hash: 6a77785b5b66e793783b3f04109aa54e44bb7ce8commit hash: 6a77785b5b66e793783b3f04109aa54e44bb7ce8commit hash: 6a77785b5b66e793783b3f04109aa54e44bb7ce8 files touched by this commit
Ryan Steinmetz (zi) search for other commits by this committer
security/modsecurity3: Update to 3.0.5

Approved by:	maintainer (via email)
3.0.5_2
10 Apr 2022 19:11:41
commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
textproc/libxml2: bump all LIB_DEPENDS consumers

This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
3.0.5_1
26 Mar 2022 08:27:27
commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/libxml2: bump all dependencies

This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
3.0.5
11 Oct 2021 16:16:10
commit hash: 0b71d7d972e6f39c36ff9cc93dfa5c349c4a949acommit hash: 0b71d7d972e6f39c36ff9cc93dfa5c349c4a949acommit hash: 0b71d7d972e6f39c36ff9cc93dfa5c349c4a949acommit hash: 0b71d7d972e6f39c36ff9cc93dfa5c349c4a949a files touched by this commit
Ryan Steinmetz (zi) search for other commits by this committer
security/modsecurity3: Update to 3.0.5

PR:		258801
Approved by: maintainer
3.0.4_2
21 Sep 2021 12:57:59
commit hash: 42e9d0bbc8981b515d8935aeb67430a961ee1a21commit hash: 42e9d0bbc8981b515d8935aeb67430a961ee1a21commit hash: 42e9d0bbc8981b515d8935aeb67430a961ee1a21commit hash: 42e9d0bbc8981b515d8935aeb67430a961ee1a21 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
security/modsecurity3: Add CPE information

Approved by:    portmgr (blanket)
3.0.4_2
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
3.0.4_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.0.4_2
27 Oct 2020 13:53:14
Revision:553441Original commit files touched by this commit
kevans search for other commits by this committer
security/modsecurity3: include unicode.mapping in package

This is included in the distribution and referenced in the default
configuration that's installed, but hasn't been included in the package. Do
so now.

PR:		250669
Submitted by:	Marius Halden <marius halden modirum com> (maintainer)
MFH:		2020Q4 (blanket: packaging fix)
3.0.4_1
30 Sep 2020 17:11:21
Revision:550723Original commit files touched by this commit
lwhsu search for other commits by this committer
security/modsecurity3: Add patch for CVE-2020-15598

PR:		249312
Submitted by:	Felipe Zipitria <fzipitria@perceptyx.com>
Approved by:	Marius Halden <marius.halden@modirum.com> (maintainer)
MFH:		2020Q3
Security:	CVE-2020-15598
3.0.4
18 Jan 2020 14:14:04
Revision:523419Original commit files touched by this commit
joneum search for other commits by this committer
Update to 3.0.4

PR:		243410
Submitted by:	Marius Halden <marius.halden@modirum.com> (maintainer)
Sponsored by:	Netzkommune GmbH
3.0.3_3
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
3.0.3_2
06 Feb 2019 16:11:06
Revision:492312Original commit files touched by this commit
joneum search for other commits by this committer
Change from libGeoIP to libmaxminddb and bump PORTREVISION

PR:		235154
Reported by:	Ralf van der Enden <tremere@cainites.net>
Approved by:	Marius Halden <marius.halden@modirum.com> (maintainer)
Sponsored by:	Netzkommune GmbH
3.0.3_1
13 Jan 2019 21:22:07
Revision:490213Original commit files touched by this commit
adamw search for other commits by this committer
Deprecate everything that depends on net/GeoIP and everything that depends
on those ports.
3.0.3_1
14 Dec 2018 00:37:37
Revision:487396Original commit files touched by this commit
osa search for other commits by this committer
Avoid to change the pkg-plist entry with every new release.

While I'm here pet portlint(1).
Bump PORTREVISION.

Approved by:	Marius Halden <marius.halden@modirum.com> (maintainer)
3.0.3
12 Dec 2018 16:03:31
Revision:487301Original commit files touched by this commit
des search for other commits by this committer
Upgrade to 3.0.3.

PR:		233566
Submitted by:	Marius Halden <marius.halden@modirum.com> (maintainer)
Differential Revision:	https://reviews.freebsd.org/D18357
3.0.2_3
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
3.0.2_2
27 Nov 2018 14:28:49
Revision:486012Original commit files touched by this commit
des search for other commits by this committer
Rename www/mod_security3 to security/modsecurity3.  It is not an Apache
module, and the upstream name is ModSecurity in a single word.

PR:		233351
Submitted by:	Marie Helene Kvello-Aune, Marius Halden (maintainer)
Differential Revision:	https://reviews.freebsd.org/D18353

Number of commits found: 21