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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2023Q4
modsecurity3 Intrusion detection and prevention engine
3.0.15 security on this many watch lists=2 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.0.15Version of this port present on the latest quarterly branch.
Maintainer: wolfgang.gerlach@proton.me search for ports maintained by this maintainer
Port Added: 2018-11-27 14:29:06
Last Update: 2026-05-04 17:17:17
Commit Hash: e07a238
People watching this port, also watch:: pkgconf, openvpn, smartmontools, libevent, cyrus-sasl-saslauthd
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.15/catalog.mk
  3. /usr/local/share/licenses/modsecurity3-3.0.15/LICENSE
  4. /usr/local/share/licenses/modsecurity3-3.0.15/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.15
  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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • modsecurity3>0:security/modsecurity3
Conflicts:
CONFLICTS_INSTALL:
  • ap??-mod_security
  • mod_security3
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 = 1777914418 SHA256 (modsecurity-v3.0.15.tar.gz) = c276c838df6b61d96aa52075aee17d426af52755e16d09edca9f9d718696fda7 SIZE (modsecurity-v3.0.15.tar.gz) = 11781410

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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. libpcre2-8.so : devel/pcre2
  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.15/
Collapse this list.

There are no commits on branch 2023Q4 for this port