Debian Patches

Status for crowdsec/1.0.9-2

Patch Description Author Forwarded Bugs Origin Last update
0001-use-a-local-machineid-implementation.patch Use local machineid implementation
Let's avoid a dependency on an extra package (denisbrodbeck/machineid),
since its ID() function is mostly about trying to read from two files.
Cyril Brulebois <cyril@debamax.com> no 2021-01-07
0002-add-compatibility-for-older-sqlite-driver.patch Use _foreign_keys=1 instead of _fk=1
The _foreign_keys=1 syntax is widely supported but the _fk=1 alias for
it was only added in version 1.8.0 of the sqlite3 driver. Avoid using
the alias for the time being (the freeze is near).
Cyril Brulebois <cyril@debamax.com> no 2021-01-08
0003-adjust-systemd-unit.patch Adjust systemd unit
- Drop PIDFile (that uses an obsolete path, and doesn't seem to be
used at all).
- Adjust paths for the packaged crowdsec binary (/usr/bin).
- Drop commented out ExecStartPost entirely.
- Drop syslog.target dependency, it's socket-activated (thanks to the
systemd-service-file-refers-to-obsolete-target lintian tag).
- Ensure both local and online API credentials have been defined.
Cyril Brulebois <cyril@debamax.com> no 2021-01-22
0004-disable-geoip-enrich.patch Disable geoip-enrich in the hub files
It would download GeoLite2*.mmdb files from the network. Let users
enable the hub by themselves if they want to use it.
Cyril Brulebois <cyril@debamax.com> no 2021-01-22
0005-adjust-config.patch Adjust default config
Let's have all hub-related data under /var/lib/crowdsec/hub instead of
the default /etc/crowdsec/hub directory.
Cyril Brulebois <cyril@debamax.com> no 2021-03-01
0006-prefer-systemctl-restart.patch Prefer `systemctl restart crowdsec` to `systemctl reload crowdsec`
As of version 1.0.8, reloading doesn't work due to failures to reopen
the database:
https://github.com/crowdsecurity/crowdsec/issues/656

Until this is fixed, advertise `systemctl restart crowdsec` instead.
Cyril Brulebois <cyril@debamax.com> no 2021-03-01
0007-automatically-enable-online-hub.patch Automatically enable the online hub
By default, crowdsec comes with an offline copy of the hub (see
README.Debian). When running `cscli hub update`, ensure switching from
this offline copy to the online hub.

To ensure cscli doesn't disable anything that was configured (due to
symlinks from /etc/crowdsec becoming dangling all of a sudden), copy the
offline hub in the live directory (/var/lib/crowdsec/hub), and let
further operations (`cscli hub upgrade`, or `cscli <type> install`)
update the live directory as required.
Cyril Brulebois <cyril@debamax.com> no 2021-03-01
0008-hub-disable-broken-scenario.patch [PATCH] remove broken scenario `ban-report-ssh_bf_report` (#181)
* remove broken scenario

* Update index
"Thibault \"bui\" Koechlin" <thibault@crowdsec.net> no 2021-03-12
0009-Improve-http-bad-user-agent-use-regexp-197.patch [PATCH] Improve http bad user agent : use regexp (#197)
* switch to regexp with word boundaries to avoid false positives when a legit user agent contains a bad one
"Thibault \"bui\" Koechlin" <thibault@crowdsec.net> no 2021-04-22

All known versions for source package 'crowdsec'

Links