1c98c70f14
⬆️ renovate: Update all ( #349 )
...
Co-authored-by: Renovate Bot <22881669+maxlerebourg@users.noreply.github.com >
2026-07-05 19:56:15 +02:00
5a2998bc62
⬆️ renovate: Update all ( #345 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com >
2026-07-03 10:19:28 +02:00
71d845faae
✨ ️ Do not block middleware startup due to stream intialization ( #281 )
...
* 🍱 not block on stream startup
* 🍱 fix
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 update readme
* 📚 clarify StreamStartupBlock warning in README
Make the fail-open implication of StreamStartupBlock=false explicit:
banned IPs are allowed through until the first stream sync completes.
* 🐛 clear isCrowdsecStreamStartup on alreadyUpdated path
When cacheTimeoutKey is already set (another instance/process has
populated the stream cache within the update window), the early return
in handleStreamCache used to leave isCrowdsecStreamStartup at true,
causing this instance to keep sending startup=true on subsequent ticks.
Flip the flag in the early-return path so startup is correctly tracked
across multi-instance deployments sharing a cache.
---------
Co-authored-by: mhx <mathieu@hanotaux.fr >
2026-06-06 11:07:18 +02:00
maxlerebourg and GitHub
0d8fd2a7a9
🍱 Header.Add -> Set, log Info -> Debug, version bump ( #324 )
2026-05-05 15:51:35 +02:00
maxlerebourg and GitHub
1f6a8991c8
🐛 fix appsec bypass with invalid content-length ( #321 )
2026-04-27 08:33:11 +02:00
maxlerebourg and GitHub
889c5b55fe
✨ Add solved-captcha as option of remediationCustomHeader ( #310 )
2026-01-23 11:36:32 +01:00
efb3a67019
🔒 ️ Potential fix for code scanning alert no. 8: Workflow does not contain permissions ( #311 )
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-01-22 09:44:33 +01:00
892909b9b8
🐛 fix start up config error for appsec and review doc for appsec tls ( #300 )
...
* 🐛 fix start up config error for appsec
* :doc: add documentation on appsec variables and missing conf parameter
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix after lot of tests
* update exemple tls with new variables tested
* fix exemple appsec with release and not localplugin
---------
Co-authored-by: mhx <mathieu@hanotaux.fr >
2025-12-21 21:52:19 +01:00
maxlerebourg and GitHub
a9d83f2097
✨ Separate TLS conf for LAPI and Appsec ( #293 )
...
* ✨ Separate TLS conf for LAPI and Appsec
* 🍱 fix lint
* 🍱 fix test
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint ?
* 🍱 fix lint
* 🍱 Add default for traceCustomHeaders
2025-12-11 07:58:12 +01:00
maxlerebourg and GitHub
4ab4f3f183
✨ Transform banTemplate to add blocking reason and client IP ( #290 )
...
* ✨ Transform banTemplate to add blocking reason
* 🍱 fix test
* 🍱 fix lint
* 🍱 fix test
* 🍱 fix lint
* 🍱 fix lint
* 🍱 add doc and fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 lint html
* 🍱 fix comments + fix wicketpeeker readme
* 🍱 Give ClientIP in ban page
* 🍱 fix test
2025-11-15 10:42:14 +01:00
7c4f5163e9
✨ add custom selfhosted captcha ( #259 )
...
* ✨ Add wicketkeeper captcha
* ✨ Anom config
* 🍱 fix readme
* 🍱 fix lint
* 🍱 fix lint
* 🍱 normalize
* 🍱 fix lint
* 🍱 fix lint
* ✨ Add env for RemediationStatusCode (#250 )
* ✨ Add env for defaultStatusCode
* 📝 doc
* ✨ change name of the parameter
* 🔧 Add config check
* fix lint
* 📈 Report traffic dropped metrics to LAPI (#223 )
* Initial implementation
* fix
* fixes
* Fixes
* xx
* progress
* xx
* xx
* xx
* fix linter
* Progress
* Fixes
* xx
* xx
* Remove trace logger
* Last fix
* fix lint
* fix lint
* fix lint
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
* ✨ Anom config
* 🍱 fix readme
* 🍱 fix lint
* 🍱 normalize
* 🍱 fix lint
* 📝 Add documentation
* 📝 Fix example and makefile and doc for wicketkeeper
* 🍱 fix last things
* 🍱 add disclaimer to use maxlerebourg docker image
* 🍱 Use official wicketpeeker image
* 🍱 revert unnecessary code
* 🍱 fix
---------
Co-authored-by: David <deivid.garcia.garcia@gmail.com >
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
Co-authored-by: mhx <mathieu@hanotaux.fr >
2025-09-01 19:41:45 +02:00
maxlerebourg and GitHub
de7e382fde
✨ Add env for RemediationStatusCode ( #250 )
...
* ✨ Add env for defaultStatusCode
* 📝 doc
* ✨ change name of the parameter
* 🔧 Add config check
* fix lint
2025-07-01 21:59:12 +02:00
maxlerebourg and GitHub
7f99266f99
📝 doc: rename RedisUnreachableBlock to RedisCacheUnreachableBlock ( #230 )
2025-04-05 11:34:06 +02:00
maxlerebourg and GitHub
a184ae6db9
💄 Center recaptcha div ( #225 )
2025-03-25 09:34:06 +01:00
maxlerebourg and GitHub
4708d76854
✨ Add variable to not block if redis is unreachable ( #214 )
...
* ✨ Add variable to not block if redis is unreachable
* 🚨 fix lint
* 📝 Update README.md
2025-02-10 20:10:29 +01:00
maxlerebourg and GitHub
c34d7f4617
🍱 Fix lint ( #211 )
2025-01-29 08:14:15 +01:00
maxlerebourg and GitHub
92f05b0ba5
✨ [BREAKING-CHANGE] Add CrowdsecAppsecBodyLimit ( #208 )
...
* ✨ Add CrowdsecAppsecBodyLimit
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix error on main
2025-01-24 21:04:45 +01:00
maxlerebourg and GitHub
45d5f38c4d
✨ add remediation header when plugin made decision ( #189 )
...
* ✨ add remediation header when plugin made decision
* 🍱 add documentation
2024-09-25 19:30:27 +02:00
f1de1c924e
🔨 174 fix classname for Turnstile ( #178 )
...
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
2024-06-19 20:13:49 +02:00
maxlerebourg and GitHub
123cf15434
✨ Add CrowdsecAppsecUnreachableBlock ( #175 )
...
* ✨ Add CrowdsecAppsecUnreachableBlock
* 🍱 update readme
* 🍱 fix lint
* 🍱 fix lint
2024-06-09 10:59:45 +02:00
maxlerebourg and GitHub
58946d9fa2
📄 Update README.md for lang doc ( #170 )
2024-05-22 11:24:11 +02:00
70ad0365f0
🐛 fix content-type header for ban and captcha page ( #166 )
...
* 🍱 fix content-type header for ban and captcha page
* 🍱 Add comment to warn future developer
---------
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
2024-05-16 18:40:28 +02:00
6059f23dc3
🐛 fix bug with recaptcha ( #141 ) and add doc for recaptcha
...
* 🐛 fix bug with recaptcha
* 📝 Add documentation for recpatcha
---------
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
Co-authored-by: mhx <mathieu@hanotaux.fr >
2024-04-01 20:47:54 +02:00
497d1a2928
✨ Implement captcha protection ( #139 )
...
* ✨ Implement captcha protection
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 📝 Update exemple doc
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Add doc for the captcha and update some exemples
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update doc readme with some arguments
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update doc
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 generic documentation in readme on catpcha feature
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update exemple captcha
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Fix rendering and typos
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 🍱 fix readme
* 📝 update doc ongoing
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Add doc on crowdsec config
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Add sequence diagram for captcha exemple
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* Fix rendering and typos
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 add mermaid basics graphs
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update first diagram
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update first seq diagram
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 🐛 Fix bug in diagram syntax
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 rework all diagrams
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 📝 Update a bit diagrams
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
* 🌐 Fix lang fr
* 🚸 change advice on uniq lapi confusing for users
* ✅ Fix test du to rework on cache interface
* 🚨 Fix lint
---------
Signed-off-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
Co-authored-by: max.lerebourg <max.lerebourg@monisnap.com >
Co-authored-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
2024-04-01 11:41:28 +02:00
maxlerebourg and GitHub
575d3a02e5
✨ Add a logger instance to bouncer instance ( #134 )
...
* ✨ Add a logger instance to bouncer instance
* 🍱 fix test
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix lint
* 🍱 fix test
* 🍱 fix test
* 🍱 fix lint + test
* 🍱 fix test
* 🍱 fix test
* 🍱 fix test
* 🍱 fix lint
* 🍱 fix lint
2024-02-11 11:52:47 +01:00
maxlerebourg and GitHub
6c183d9231
✨ add a new mode to enable only appsec checking ( #128 )
...
* ✨ add a new mode to enable only appsec checking
* 🍱 fix comments
2024-02-06 19:42:28 +01:00
maxlerebourg and GitHub
bd71b58f19
🐛 fix coherence naming for forwardedHeadersCustomHeader became forwardedHeadersCustomName ( #129 )
2024-02-04 15:52:53 +01:00
b68c692ed1
✨ add support for appsec in crowdsec ( #123 )
...
* ✨ add support for appsec in crowdsec
* 🐛 lint
* 🐛 fix lint
* 🐛 fix lint
* 🐛 fix lint
* fix: comments
* 🐛 lint and doc
* 🐛 fix comment and lint
* 📝 Start documentation for appsec with exemple
* 📝 Fix readme typos and update example
* 🚨 Fix Lint
---------
Co-authored-by: Mathieu Hanotaux <mathieu@hanotaux.fr >
2024-01-24 14:11:34 +01:00
maxlerebourg and GitHub
93340ffa55
🍱 update dependencies redisclient to reduce memory consumption ( #105 )
...
* 🍱 update dependencies to avoid memory leak
* 🍱 update dep
2023-06-20 09:22:51 +02:00
maxlerebourg and GitHub
0c2668d578
✨ add redis database selection ( #100 )
...
* ✨ add redis database selection
* 📝 update docs
* 📝 readme
2023-05-25 17:20:14 +02:00
maxlerebourg and GitHub
abae7ee028
📝 update version used ( #97 )
...
* 📝 update version used
* 📝 update doc
* 📝 documentation
* 📝 documentation
* 📝 versionning
2023-04-17 09:25:57 +02:00
maxlerebourg and GitHub
1fcd4f4e2f
✨ remove down at start if crowdsec unavailable ( #93 )
...
* ✨ remove down at start if crowdsec unavailable
* 🚨 fix lint
2023-03-12 20:49:00 +01:00
Max Lerebourg
dd322a966a
🍱 fix lint
2023-03-04 12:11:22 +01:00
Max Lerebourg
f0bb140596
🍱 fix lint
2023-03-04 12:08:03 +01:00
Max Lerebourg
46e581eca2
🍱 fix readme to add redis pass
2023-03-04 12:05:09 +01:00
maxlerebourg and GitHub
50690d1ac7
✨ handle redis password ( #87 )
...
* ✨ handle redis password
* 🍱 fix version
2023-03-04 11:51:54 +01:00
maxlerebourg and GitHub
b079073ff6
✨ handle isHealthy in the main function and log error became… ( #84 )
...
* ✨ handle isHealthy in the main function and log error became debug
* fix: lint
* fix: lint
2023-03-01 14:18:19 +01:00
maxlerebourg and GitHub
976cbb7d1f
81 bug stream mode stops blocking ( #82 )
...
* ✨ fix isHealthy issue at startup
* 🍱 not added in first commit ?
* 🍱 remove unused import
* 🍱 fix lint
* fix: lint
2023-01-30 14:03:10 +01:00
Max Lerebourg
80726df450
🐛 fix alone mode
2023-01-25 20:43:07 +01:00
maxlerebourg and GitHub
4132445a79
✨ cache decision in live mode for maximum defaultDecisionTimeout params ( #79 )
2023-01-18 21:03:09 +01:00
1b310b2c15
✨ Standalone mode come back ( #74 )
...
* ✨ Standalone mode come back
* 🍱 fix lint
* 🐛 fix tests cache
* 🐛 fix tests
* 🐛 fix tests
* 🚨 fix lint
* 🚨 fix lint
* 🍱 add logging
* :rotating-light: fix lint
* 🍱 fix comments
* 🐛 fix tests
* 🚨 Fix lint
Co-authored-by: Mathieu HANOTAUX <mathieu@hanotaux.fr >
2023-01-02 11:53:57 +01:00
maxlerebourg and GitHub
87a839f22d
Update issue templates
2022-12-31 16:25:52 +01:00
maxlerebourg and GitHub
f14a4e3a68
✨ add external simpleredis and add log for cache ( #73 )
...
* ✨ add external simpleredis and add log for cache
* 🐛 fix comment
2022-12-31 16:18:08 +01:00
maxlerebourg and GitHub
11b615b9bd
📃 Update issue templates
2022-12-31 11:31:49 +01:00
maxlerebourg and GitHub
8f937d22a2
🐛 fix all incoherence ( #71 )
...
* 🐛 fix all incoherence
* 🐛 fix comment + lint
2022-12-31 11:15:36 +01:00
maxlerebourg and GitHub
fe3b3b05fd
Merge pull request #58 from maxlerebourg/55-feature-clean-readme-doc
...
🍱 fix readme
2022-12-05 20:03:30 +01:00
Max Lerebourg
7466dbec6d
🍱 fix readme
2022-12-05 20:01:11 +01:00
maxlerebourg and GitHub
9406b70219
Merge pull request #57 from maxlerebourg/46-feature-add-automated-tests-to-the-plugin
...
✅ Add test structure for bouncer pkg
2022-12-05 19:40:53 +01:00
Max Lerebourg
a289c93d9b
💄 revert docker compose
2022-12-05 19:34:09 +01:00
Max Lerebourg
b4cb552ee0
💄 fix lint
2022-12-05 08:18:11 +01:00
Max Lerebourg
b3d0203145
💄 fix lint
2022-12-05 08:17:33 +01:00
Max Lerebourg
8f5b7bb9af
💄 fix lint
2022-12-05 08:17:17 +01:00
Max Lerebourg
22e3febb45
💄 fix lint
2022-12-05 08:15:47 +01:00
Max Lerebourg
1f094d818a
💄 move getTlsConfig to configuration pkg
2022-12-05 08:10:56 +01:00
Max Lerebourg
a17e082ba3
💄 fix lint
2022-12-04 21:56:03 +01:00
Max Lerebourg
c311d8357d
:lips-stick: fix lint
2022-12-04 21:53:33 +01:00
Max Lerebourg
7e9044c41d
🧪 fix test
2022-12-04 21:47:15 +01:00
Max Lerebourg
988f3ebeae
✨ add configuration pkg and tests
2022-12-04 21:40:14 +01:00
Max Lerebourg
91c31e3fa1
🍱 fix golgot attitude
2022-12-04 19:16:42 +01:00
Max Lerebourg
aa1f00b055
Revert "add library until better solution"
...
This reverts commit c867453ab4 .
2022-12-04 19:09:21 +01:00
Max Lerebourg
f313b478e7
🍱 delete mhx brain failure
2022-12-04 17:04:58 +01:00
Max Lerebourg
2543127abb
🍱 fix lint
2022-12-04 16:58:49 +01:00
Max Lerebourg
5dd06567f4
🍱 test validate
2022-12-04 16:58:06 +01:00
maxlerebourg and GitHub
f69faaf66c
Merge pull request #54 from mmetc/typos
...
fixed some typos/grammar/style
2022-12-02 08:02:50 +01:00
maxlerebourg and GitHub
b2ed600d5e
Merge pull request #52 from maxlerebourg/mathieuHa-patch-1
...
Update issue templates
2022-11-27 20:52:22 +01:00
maxlerebourg and GitHub
70558c781a
Merge pull request #39 from maxlerebourg/38-fix-loging
...
🍱 fix loging
2022-11-20 12:47:59 +01:00
Max Lerebourg
f99dbfc203
🍱 fix comment
2022-11-20 12:46:05 +01:00
Max Lerebourg
b37f866ca9
🍱 fix lint :vomit:
2022-11-20 12:33:39 +01:00
Max Lerebourg
1dc50a8a8c
🍱 add more error context
2022-11-20 12:29:00 +01:00
Max Lerebourg
953e9f6bf4
🍱 fix lint
2022-11-20 12:12:20 +01:00
Max Lerebourg
d1d64689af
🍱 fix logic + logs
2022-11-20 12:04:05 +01:00
Max Lerebourg
80d49e3969
🍱 fix loging
2022-11-19 22:23:12 +01:00
Max Lerebourg
72be1a68f5
🍱 fix loging
2022-11-19 22:18:47 +01:00
Max Lerebourg
15bca90b18
🍱 fix loging
2022-11-19 22:17:06 +01:00
maxlerebourg and GitHub
2d0bea8eec
Merge pull request #32 from maxlerebourg/28-bypassing-crowdsec-for-local-ips
...
28 bypassing crowdsec for local ips
2022-11-19 15:47:30 +01:00
Max Lerebourg
400de0d552
✨ add redis timeout
2022-11-18 20:36:42 +01:00
Max Lerebourg
bf76ca9ef5
🍱 change logging
2022-11-15 19:50:22 +01:00
maxlerebourg and GitHub
1baa5d7667
Merge pull request #31 from maxlerebourg/30-significant-slow-down-after-updating-to-v111-and-configuring-to-use-redis
...
✨ rewrite redis communication
2022-11-11 00:14:00 +01:00
Max Lerebourg
18f68de196
✨ rewrite redis communication
2022-11-11 00:09:06 +01:00
maxlerebourg and GitHub
4a5f1eca6a
Merge pull request #24 from maxlerebourg/20-implement-shared-cache-with-an-external-redis-as-an-option
...
Create Environnement to work on redis cache
2022-11-06 13:02:58 +01:00
maxlerebourg and GitHub
cdda369fb8
Merge branch 'main' into 20-implement-shared-cache-with-an-external-redis-as-an-option
2022-11-06 13:02:40 +01:00
Max Lerebourg
f0f28fecef
🍱 fix readme
2022-11-06 13:01:25 +01:00
Max Lerebourg
23620207f7
🍱 fix before version
2022-11-06 12:57:32 +01:00
maxlerebourg and GitHub
4a674da9f9
Merge pull request #29 from maxlerebourg/max-impl-redis
...
Max impl redis
2022-11-06 12:50:19 +01:00
maxlerebourg and GitHub
b50074dca4
Merge pull request #26 from maxlerebourg/max-impl-redis
...
Max impl redis
2022-11-05 20:01:51 +01:00
maxlerebourg and GitHub
5044004ec2
Update cache.go
2022-10-26 10:26:19 +02:00
Max Lerebourg
41a46c0584
✨ add delete
2022-10-24 21:56:38 +02:00
Max Lerebourg
0a186cf9a9
✨ add redis ttl
2022-10-24 21:38:56 +02:00
Max Lerebourg
ffcf4356fc
✨ redis included
2022-10-20 02:42:24 +02:00
Max Lerebourg
f94e48aa03
not working...
2022-10-19 08:22:00 +02:00
Max Lerebourg
a197194591
not working...
2022-10-19 08:21:01 +02:00
Max Lerebourg
44e329cd57
🍱 fix
2022-10-17 22:14:49 +02:00
maxlerebourg and GitHub
81ffeabcec
Merge pull request #25 from maxlerebourg/prepare-for-release-1.1.0
...
Update exemple traefik to version 2.9.1 and version of plugin 1.1.0 in exemples
2022-10-17 21:03:28 +02:00
8696501f61
✨ add one instance of cache for all the service ( #19 )
...
* ✨ add one instance of cache for all the service
* 🐛 fix the healthy issue
* 🐛 fix lint
* 🍱 upgrade codebase
* 🍱 fix lint
* 🐛 when there is master node shut down
* Set live mode as default, clean docker and recipes
* Restore live mode in readme as default
* 🍱 add channel management
* 🍱 order funcs
* 🍱 revert service in docker compose
* ✨ logLevel added + cache put out the bouncer
* 🍱 fix
* 🍱 fix
* 🍱 fix
Co-authored-by: MathieuHa <mathieu@hanotaux.fr >
2022-10-16 20:14:41 +02:00
maxlerebourg and GitHub
f22fc2cd09
Merge pull request #22 from maxlerebourg/21-allow-the-real-ip-the-be-fetched-from-a-custom-header
...
✨ Add Custom header usage to find the user IP
2022-10-15 21:03:46 +02:00
maxlerebourg and GitHub
b69bd77409
Merge pull request #15 from maxlerebourg/remove_alone
...
🍱 remove alone mode
2022-10-15 09:54:15 +02:00
Max Lerebourg
64a117d7b0
🍱 change default mode to live
2022-10-11 19:56:14 +02:00
Max Lerebourg
d0ba71c0c8
🍱 clean code
2022-10-11 19:34:08 +02:00
Max Lerebourg
2e780b304d
🍱 remove alone mode
2022-10-11 19:28:57 +02:00
Max Lerebourg
4d7615dd19
🍱 fix waiter
2022-10-03 01:23:19 +02:00