Commit graph

26 commits

Author SHA1 Message Date
blotus
d493b215c4
appsec: get response code from appsec body (#55) 2024-01-15 16:37:59 +01:00
AlteredCoder
535f009e59
fix IP usage in csmod.Allow(ip) and repair captcha for bouncing (#53)
---------

Co-authored-by: Laurence Jones <laurence.jones@live.co.uk>
2024-01-15 10:49:12 +01:00
Thibault "bui" Koechlin
cb0d72bdf1
fix default timeout (#52) 2024-01-04 15:22:11 +01:00
Laurence Jones
718ebae9e1
Fix http reporting (#51)
* Update crowdsec.lua

* distinct timeouts for stream and live mode

---------

Co-authored-by: bui <thibault@crowdsec.net>
2024-01-04 10:39:49 +00:00
AlteredCoder
926de93ce2
AppSec Component integration (#43)
Integrate AppSec Component 

---------

Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
2023-12-13 18:23:55 +01:00
Laurence Jones
f44ea23d5e
Add no cache headers (#47) 2023-10-23 15:53:15 +01:00
blotus
cd881cb387
properly parse config value containing = (#42) 2023-08-04 17:13:42 +02:00
Laurence Jones
902f055023
Add other captcha providers / update templates (#39)
* Add option for another captcha providers (hcaptcha, turnstile)

* Fix wrong map usage

* Update templates to mobile first and light/dark mode options

* rename recaptcha to captcha more generic

* Just one more update to show pointer cursor on submit button

* height on mobile was out fixed

* Edit title

* Make button same color dark and light mode easily to see

* Add auto captcha submit on completion and increase height on ban template on mobile

* Fix typo

* Fix dark mode button on ban

* Add short timeout to make captcha smoother

* half timeout to make captcha smoother

* Fix the things I noticed when updating the haproxy bouncer

* Fix light mode on load within templates
2023-03-29 10:07:30 +01:00
alteredCoder
eb5de9c364 fix ret_code option check 2022-03-31 18:24:46 +02:00
alteredCoder
4f2c35ca91 Minor refactor for the ret_code parsing 2022-03-31 17:22:09 +02:00
alteredCoder
1201e453de Fix empty ret_code behavior and empty line in config 2022-03-31 17:02:53 +02:00
alteredCoder
29b27f4218 Add warning when ret_code is not supported 2022-03-30 19:16:25 +02:00
alteredCoder
5c6e890f49 Fix Bouncer bypass when using HTTP1.0 2022-03-30 18:34:28 +02:00
alteredCoder
300b448990 Fix fallback remediation 2022-03-09 15:18:13 +01:00
Brian Munro
a7d712f65d Fix nginx error to reflect option default. 2022-02-24 17:09:03 +02:00
Brian Munro
39e00286e3 Fix indentation, use space instead of tabs 2022-02-24 17:07:35 +02:00
Brian Munro
e688107dc4 Make sure only true|false is entered into the config. 2022-02-22 16:16:32 +02:00
Brian Munro
d65ae46067 Add ability to enabled/disable bouncer from config. 2022-02-22 06:33:05 +02:00
alteredCoder
e978bf7b33 Close HTTP connections 2022-02-09 15:37:06 +01:00
he2ss
4313d97ba6 improve captcha template path verif 2022-02-08 17:50:28 +01:00
he2ss
6f689d54ec fix error message 2022-02-08 17:48:03 +01:00
he2ss
7a6e1912f7 improve code 2022-02-08 17:44:41 +01:00
he2ss
c1ec091034 fix typo 2022-02-08 16:49:41 +01:00
he2ss
aadf53ee71 improve configuration mgmt code 2022-02-08 16:42:27 +01:00
he2ss
88b125b626 add local to all missing variables 2022-02-01 11:51:10 +01:00
alteredCoder
7487f3f83a update 2022-01-31 17:24:22 +01:00