CrowdSec v1.8.2-rc2

v1.8.2-rc2Pre-releaseWindowsLinux
Added 14
  • Add a RateLimit() helper to the WAF.
  • Add custom JS fingerprinting capabilities to bot detection.
  • Add a cs_features metric.
  • Add an option to set the SameSite=None and Partitioned flags on the bot detection cookie.
  • Add GetDecisionsSinceCountByScenario to exprhelpers.
  • Add an option to optionally limit concurrent decision stream requests in the LAPI.
Changed 12
  • LookupHost in exprhelpers goes through the DNS cache.
  • Make the decisions stream page size configurable in the LAPI.
  • Grok only keeps capture groups that can be accessed in evt.Parsed.
  • Preshot static strings in grokky.
  • The API server reloads the TLS server certificate when its files change.
  • Drop the URI from the bot detection cookie.
Fixed 15
  • Fix ValidateChallengeResponse in bot detection.
  • Match the alert IP/range filter in the database on a single decision.
  • The file acquisition datasource no longer sends half-written lines, and skips the lines after them.
  • Display human-readable timestamps in local time in cscli.
  • WAF uses dedicated workers for out-of-band processing.
  • Remove runtime Fatalf calls.

From CrowdSec

Changes
  • AGENTS.md: clearer guidance on tests (#4713) @blotus
  • pimp readme (#4701) @buixor
New Features
  • waf: add RateLimit() helper (#4721) @blotus
  • [bot-detection] Add custom JS fingerprinting capabilities (#4657) @buixor
Improvements
  • Add cs_features metric (#4770) @blotus
  • bot detection: add an option to set SameSite=None + Partitioned flag on cookie (#4764) @blotus
  • exprhelpers: add GetDecisionsSinceCountByScenario (#4756) @tommy-ng0
  • lapi: optionally limit concurrent decision stream requests (#4747) @tommy-ng0
  • exprhelpers: LookupHost goes through the DNS cache (#4741) @twiesing
  • metrics: add CAPI last pull timestamp and error counter (#4749) @NazarkinRoman
  • add cscli bot subcommand (#4666) @blotus
  • prometheus: add kind label to cs_alerts (#4742) @blotus
  • lapi: make decisions stream page size configurable (#4733) @tommy-ng0
  • Fix ValidateChallengeResponse (#4737) @buixor
  • grok: only keep capture groups that can be accessed in evt.Parsed (#4736) @blotus
  • grokky : preshot static strings (#4731) @buixor, @Copilot
  • grokky : ParseInto (#4729) @buixor
  • bot-detection: add new FlagSubmission() helper (#4727) @blotus
  • appsec: add an optional category to the request score (#4715) @buixor
  • apiserver: reload the TLS server certificate when its files change (#4709) @ohartwig
  • fix image link (#4702) @buixor
  • waf: add SkipProcessing() helper (#4667) @blotus
  • [bot-detection] drop the URI from the cookie (#4656) @buixor
Bug Fixes
  • fix RateLimit() tests (#4771) @blotus
  • database: match the alert ip/range filter on a single decision (#4710) @AdzerKI
  • acquisition/file: don't send half-written lines, or skip the lines after them (#4678) @n1koo, @blotus, @claude
  • fix(cscli): display human-readable timestamps in local time (#4759) @sep2
  • waf: use dedicated workers for OOB processing (#4722) @blotus
  • remove runtime Fatalf calls (#4760) @blotus
  • waf: fix log spam when usin unix socket on freebsd (#4745) @blotus
  • docker: read from now if container restarts (#4605) @blotus
  • splunk-notification: add an option to configure InsecureSkipVerify (#4720) @blotus
  • victorialogs: move the datasource to RestartableStreamer interface (#4738) @blotus
  • metrics: remove series of deleted machines and bouncers (#4712) @somaz94
  • postoverflow: run them in a goroutine to not block writers, enforce max in-flight alerts, and warn if queue is becoming too full (#4672) @blotus
  • buckets: make a copy of all event maps before pouring the event to a bucket (#4481) @blotus
  • fix(database): keep simulated decisions from suppressing real bans (#4679) @4erdenko, @blotus
  • fix a nasty bug in transfrom where the effective uuid for a datasource (#4697) @sabban
  • hubtest: add a tiebreaker based on the alert date to have a consistent order (#4699) @blotus
  • challenge: optimize memory usage (#4674) @blotus
  • syslog: copy buffer before handing it to the datasource (#4690) @blotus
  • Expand env vars in online_api_credentials.yaml (#4677) @kushiemoon-dev
Chore / Deps
  • build(deps): bump the github-actions group across 1 directory with 8 updates (#4766) @dependabot[bot]
  • build(deps): bump the gomod group with 16 updates (#4767) @dependabot[bot]
  • build(deps): bump the gomod group with 8 updates (#4753) @dependabot[bot]
  • fpscanner: use fork (#4761) @blotus
  • waf: update to coraza 3.8.0 (#4724) @blotus, @buixor
  • build(deps): bump the gomod group across 1 directory with 19 updates (#4730) @dependabot[bot]
  • CI: skip more docker tests on windows (#4728) @blotus
  • grok: embed grok library instead of having it as a dep (#4725) @blotus
  • docker datasource: skip tests on windows (#4719) @blotus
  • agents.md: keep comments to a reasonable level (#4716) @blotus
  • build(deps): bump the github-actions group with 7 updates (#4693) @dependabot[bot]
  • build(deps): bump the gomod group with 11 updates (#4694) @dependabot[bot]
  • build(deps): bump github.com/go-openapi/validate from 0.26.5 to 1.0.0 (#4682) @dependabot[bot]
  • build(deps): bump the gomod group with 19 updates (#4681) @dependabot[bot]
  • build(deps): bump cryptography from 48.0.1 to 50.0.0 in /build/docker/test (#4591) @dependabot[bot]
  • bump to go 1.27 (#4675) @blotus
  • build(deps): bump the github-actions group across 1 directory with 3 updates (#4658) @dependabot[bot]
  • build(deps): bump the gomod group across 1 directory with 21 updates (#4659) @dependabot[bot]
Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

View original

Upgraded? How did it go?

Discussion