FreeBSD Ports

security/crowdsec 1.8.1_2

CrowdSec lightweight and collaborative security engine

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
MIT
Categories
security
Package size
79643.4 KiB, 305016.0 KiB installed

Description

Crowdsec is an open-source, lightweight software, detecting peers with aggressive behaviors to prevent them from accessing your systems. Its user friendly design and assistance offers a low technical barrier of entry and nevertheless a high security gain.

Install

As a binary package — by origin, or by package name:

pkg install security/crowdsec
pkg install crowdsec

From the ports tree:

cd /usr/ports/security/crowdsec/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	crowdsec>0:security/crowdsec

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.8.1_11.8.1_1-1.6.11_11.8.1_1
FreeBSD:14:quarterly1.8.1_11.8.1_1n/a1.6.91.8.1_1
FreeBSD:15:latest1.8.1_11.8.1_1n/a-1.6.11_1
FreeBSD:15:quarterly1.8.1_11.8.1_1n/an/an/a
FreeBSD:16:latest1.8.11.8.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

All build dependencies 4
All run dependencies 2

No port depends on this one.

Configuration

Options name: security_crowdsec

OptionDefaultDescription
FIREWALL_BOUNCERoffDepend on security/crowdsec-firewall-bouncer
USES
go:modules pkgconfig
Service scripts
crowdsec

Message after installing

crowdsec is installed.

Note: If you are using OPNsense or pfSense, ignore the following instructions and use the settings page of the
CrowdSec plugin.

-----

You need to check/edit the following files in /usr/local/etc/crowdsec as described in https://doc.crowdsec.net/docs/configuration/crowdsec_configuration

 - config.yaml: main configuration
 - acquis.yaml, acquis.d: datasource configuration (this port does not include automatic discovery of the running services)
 - profiles.yaml: remediation policies (ban, duration, etc)

Then you can enable the service and run it.

----------
# service crowdsec enable
crowdsec enabled in /etc/rc.conf
# service crowdsec start
----------

Files

pkg-plist 57
  • @mode 0755
  • bin/crowdsec
  • bin/cscli
  • bin/crowdsec-cli
  • libexec/crowdsec/upgrade-hub
  • @mode 0600
  • @sample etc/crowdsec/config.yaml.sample
  • @sample etc/crowdsec/local_api_credentials.yaml.sample
  • @sample etc/crowdsec/online_api_credentials.yaml.sample
  • @sample etc/crowdsec/notifications/email.yaml.sample
  • @sample etc/crowdsec/notifications/file.yaml.sample
  • @sample etc/crowdsec/notifications/http.yaml.sample
  • @sample etc/crowdsec/notifications/sentinel.yaml.sample
  • @sample etc/crowdsec/notifications/slack.yaml.sample
  • @sample etc/crowdsec/notifications/splunk.yaml.sample
  • @mode 0644
  • @sample etc/crowdsec/acquis.yaml.sample
  • @sample etc/crowdsec/console.yaml.sample
  • @sample etc/crowdsec/profiles.yaml.sample
  • @sample etc/crowdsec/simulation.yaml.sample
  • etc/crowdsec/patterns/aws
  • etc/crowdsec/patterns/bacula
  • etc/crowdsec/patterns/bro
  • etc/crowdsec/patterns/cowrie_honeypot
  • etc/crowdsec/patterns/exim
  • etc/crowdsec/patterns/firewalls
  • etc/crowdsec/patterns/haproxy
  • etc/crowdsec/patterns/java
  • etc/crowdsec/patterns/junos
  • etc/crowdsec/patterns/linux-syslog
  • etc/crowdsec/patterns/mcollective
  • etc/crowdsec/patterns/modsecurity
  • etc/crowdsec/patterns/mongodb
  • etc/crowdsec/patterns/mysql
  • etc/crowdsec/patterns/nagios
  • etc/crowdsec/patterns/nginx
  • etc/crowdsec/patterns/paths
  • etc/crowdsec/patterns/postgresql
  • etc/crowdsec/patterns/rails
  • etc/crowdsec/patterns/redis
  • etc/crowdsec/patterns/ruby
  • etc/crowdsec/patterns/smb
  • etc/crowdsec/patterns/ssh
  • etc/crowdsec/patterns/tcpdump
  • etc/cron.d/crowdsec
  • @mode 0755
  • lib/crowdsec/plugins/notification-email
  • lib/crowdsec/plugins/notification-file
  • lib/crowdsec/plugins/notification-http
  • lib/crowdsec/plugins/notification-sentinel
  • lib/crowdsec/plugins/notification-slack
  • lib/crowdsec/plugins/notification-splunk
  • @dir etc/crowdsec/hub
  • @dir etc/crowdsec/acquis.d
  • @dir /var/db/crowdsec
  • @dir /var/db/crowdsec/data
  • @dir /var/db/crowdsec/data/trace
distinfo 2
FileSizeSHA256
go/security_crowdsec/crowdsec-v1.8.1/v1.8.1.mod133900ede7e786b4ea38bd2436d3e78390227b50fc37900b850e19e4c546514f0b35f
go/security_crowdsec/crowdsec-v1.8.1/v1.8.1.zip7.130932e+06315ab9ce2f1605f8b637ce502a3647289eb12ccda665fa55363c7c78ab5863f9

Commit history 8

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
2c73fa4d6e Dag-Erling Smørgrav various: Drop Go 1.26+ version pin
This is a nop since 1.26 is the oldest supported version.
9f6b595fad Manuel Sabban security/crowdsec: Security update 1.7.8 => 1.8.1
This update brings security fixes, bug fixes and improvements. Changelogs: - https://github.com/crowdsecurity/crowdsec/releases/tag/v1.8.0 - https://github.com/crowdsecurity/crowdsec/releases/tag/v1.8.1 PR: 298349 Approved by: osa, vvd (Mentors, implicit) Security: GHSA-g2x2-jgfg-pg7g Security: GHSA-rh69-4vqj-9gj8 MFH: 2026Q3
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1

The latest 5 of 8 in the history this site was built from.