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
Max Lerebourg
c99a0ddc46
✨ fix logger
2022-10-01 20:02:49 +02:00
Max Lerebourg
f876458bb2
✨ fix logger
2022-10-01 20:00:42 +02:00
Max Lerebourg
6c6a80efb4
✨ fix
2022-10-01 19:44:06 +02:00
maxlerebourg and GitHub
9e92aeb449
Merge pull request #13 from maxlerebourg/fixMax
...
✨ fix loop
2022-10-01 19:33:09 +02:00
Max Lerebourg
dd704d4274
✨ fix
2022-10-01 19:23:20 +02:00
Max Lerebourg
1e4508f091
✨ fix log
2022-10-01 19:18:12 +02:00
Max Lerebourg
89e8b5631e
✨ fix loop
2022-10-01 19:12:48 +02:00
Max Lerebourg
68adb31065
✨ fix loop
2022-10-01 19:09:22 +02:00
Max Lerebourg
2f2cb60f74
🍱 fix
2022-09-30 01:38:00 +02:00
Max Lerebourg
cb16130ca0
🍱 lint
2022-09-30 00:30:37 +02:00
Max Lerebourg
d4fce42fd7
🍱 lint
2022-09-30 00:03:09 +02:00
Max Lerebourg
253caac5a4
🍱 lint
2022-09-29 22:19:35 +02:00
Max Lerebourg
e122ce488c
🍱 lint
2022-09-29 22:18:08 +02:00
Max Lerebourg
d9d92ed92d
🍱 lint
2022-09-29 22:08:52 +02:00
Max Lerebourg
3452c62860
✨ add alone mode
2022-09-29 21:38:55 +02:00
Max Lerebourg
b545eac5a8
fix lint
2022-09-29 14:01:33 +02:00
Max Lerebourg
2569f26805
fix lint
2022-09-29 11:27:14 +02:00
Max Lerebourg
773f001239
fix lint
2022-09-29 11:18:35 +02:00
Max Lerebourg
6b46c63287
fix logic
2022-09-29 11:16:52 +02:00
Max Lerebourg
c8f59c2233
fix lint
2022-09-29 10:57:11 +02:00
Max Lerebourg
2110c70bbd
fix lint
2022-09-29 10:52:29 +02:00
Max Lerebourg
00bbcfdb94
fix lint
2022-09-29 10:32:09 +02:00
Max Lerebourg
a6012015e6
fix lint
2022-09-29 10:31:25 +02:00