Commit Graph

171 Commits

Author SHA1 Message Date
wpetit ce7415af20 fix: prevent nil pointer when err session retrieval fails
Cadoles/bouncer/pipeline/head This commit looks good Details
see https://sentry.in.nuonet.fr/share/issue/48b82c13ee3f4721bb6306b533799709/
2024-11-14 10:10:16 +01:00
wpetit 7cc9de180c feat(authn): add configurable global ttl for session storage 2024-11-14 10:09:33 +01:00
wpetit 74c2a2c055 fix(authn): correctly handle session-limited cookies
Cadoles/bouncer/pipeline/head This commit looks good Details
See CNOUS/mse#4347
2024-11-08 12:21:23 +01:00
wpetit 239d4573c3 feat(sentry): ignore 'net/http: abort' errors
Cadoles/bouncer/pipeline/head This commit looks good Details
See:
- https://sentry.in.nuonet.fr/share/issue/972e100ea22d44759c44b6cfad8be7b2/
- https://pkg.go.dev/net/http#:~:text=ErrAbortHandler%20is%20a%20sentinel%20panic%20value%20to%20abort%20a%20handler.%20While%20any%20panic%20from%20ServeHTTP%20aborts%20the%20response%20to%20the%20client%2C%20panicking%20with%20ErrAbortHandler%20also%20suppresses%20logging%20of%20a%20stack%20trace%20to%20the%20server%27s%20error%20log.
2024-11-08 11:19:38 +01:00
wpetit cffe3eca1b fix: prevent loss of information when returning errors
Cadoles/bouncer/pipeline/head This commit was not built Details
Linked to:
- https://sentry.in.nuonet.fr/share/issue/5fa72de1b01b46bc81601958a2ff5fd2/
- https://sentry.in.nuonet.fr/share/issue/5a225f6400a647c0bbf1f7ea01566e63/
2024-11-08 11:13:39 +01:00
wpetit a686c52aed Merge pull request 'fix(rewriter): prevent mixing of cached rule engines (#44)' (#45) from issue-44 into develop
Cadoles/bouncer/pipeline/head This commit looks good Details
Reviewed-on: #45
2024-10-21 14:07:51 +02:00
wpetit c0470ca623 feat: better display of large error messsages
Cadoles/bouncer/pipeline/head Build queued... Details
Cadoles/bouncer/pipeline/pr-develop Build queued... Details
2024-10-21 13:49:32 +02:00
wpetit c611705d45 fix(rewriter): prevent mixing of cached rule engines (#44) 2024-10-21 13:48:59 +02:00
wpetit 16fa751dc7 doc: fix rewriter rule method name 2024-10-21 13:48:07 +02:00
wpetit 8983a44d9e feat: do not capture warning errors
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-10-11 14:18:52 +02:00
wpetit 11375e546f feat: allow more control on redis client configuration
Cadoles/bouncer/pipeline/head This commit was not built Details
2024-10-11 14:17:45 +02:00
wpetit 69501f6302 feat: log context cancelled error as warn instead of errors
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-10-02 12:13:50 +02:00
wpetit 382d17cc85 feat: do not use logger.Debug in critical path 2024-10-02 12:13:26 +02:00
wpetit 9bd1d0fbd7 feat: remove superfluous sentry span handlers 2024-10-02 12:12:51 +02:00
wpetit ecacbb1cbd feat: disable sentry tracing by default 2024-10-02 12:12:10 +02:00
wpetit 910f1f8ba2 feat: do not use fmt.Sprintf in http logger 2024-10-02 12:11:30 +02:00
wpetit be59be1795 feat: add recoverer + request-id http middlewares 2024-10-02 12:10:38 +02:00
wpetit 4d6958e2f5 chore: increase default siege requests volume 2024-10-02 12:09:41 +02:00
wpetit f3b553cb10 feat: expose expvars as profiling endpoint 2024-10-02 12:09:02 +02:00
wpetit 0ff9391a1b Merge pull request 'feat: global error handler with template rendering' (#42) from error-handler into develop
Cadoles/bouncer/pipeline/head This commit looks good Details
Reviewed-on: #42
2024-09-27 15:03:05 +02:00
wpetit d4c28b80d7 feat: global error handler with template rendering
Cadoles/bouncer/pipeline/pr-develop Build started... Details
2024-09-27 15:02:49 +02:00
wpetit 590505e17a feat: add sentry spans to evaluate proxy performances
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-09-27 10:46:18 +02:00
wpetit 867e7c549f feat: capture logged errors and forward them to sentry when enabled
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-09-27 10:15:08 +02:00
wpetit 169578c25d chore: fix log typo
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-09-26 15:48:22 +02:00
wpetit b0a71fc599 feat: use go 1.23 for docker build
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-09-26 14:46:28 +02:00
wpetit eea51c6030 Merge pull request 'feat(rewriter): add redirect(), get_cookie(), add_cookie() methods to rule engine (#36)' (#41) from issue-36 into develop
Cadoles/bouncer/pipeline/head There was a failure building this commit Details
Reviewed-on: #41
2024-09-25 15:53:00 +02:00
wpetit 04b41baea3 feat(rewriter): add redirect(), get_cookie(), add_cookie() methods to rule engine (#36)
Cadoles/bouncer/pipeline/pr-develop Build started... Details
2024-09-25 15:52:49 +02:00
wpetit cb9260ac2b Merge pull request 'feat(authn) : add case to test multiples CIDR #34' (#35) from issue-4 into develop
Cadoles/bouncer/pipeline/head This commit looks good Details
Reviewed-on: #35
2024-09-25 15:15:11 +02:00
Matthieu Lamalle 5eac425fda feat(authn) : add case to test multiples CIDR
Cadoles/bouncer/pipeline/pr-develop Build started... Details
2024-09-25 15:15:04 +02:00
wpetit 0b032fccc9 Merge pull request 'Moteur de règles V2' (#40) from rule-engine-2 into develop
Cadoles/bouncer/pipeline/head This commit looks good Details
Reviewed-on: #40
2024-09-25 09:11:46 +02:00
wpetit fea0610346 feat: reusable rule engine to prevent memory reallocation
Cadoles/bouncer/pipeline/pr-develop This commit looks good Details
2024-09-24 18:45:34 +02:00
wpetit f37425018b feat: use shared redis client to maximize pooling usage (#39)
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-09-23 15:16:30 +02:00
wpetit 4801974ca3 fix(queue): prevent metrics update cancellation on aborted http requests (#39)
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-09-23 10:34:24 +02:00
wpetit bf15732935 feat: disable sentry integration when no dsn is defined
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-09-23 10:13:04 +02:00
wpetit 8317ac5b9a feat: add configurable profiling endpoints (#38) 2024-09-23 10:12:42 +02:00
wpetit f35384c0f3 feat: create profiling package + rewrite profiling tutorial
Cadoles/bouncer/pipeline/head This commit was not built Details
2024-06-28 17:44:51 +02:00
wpetit c73fe8cca5 feat(rewriter): pass structured url to ease request rewriting
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-28 10:46:38 +02:00
wpetit 3c1939f418 feat: add revision number to proxy and layers to identify changes
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-27 17:03:50 +02:00
wpetit 3565618335 doc: update link title
Cadoles/bouncer/pipeline/head There was a failure building this commit Details
2024-06-27 15:53:01 +02:00
wpetit 64ca8fe1e4 fix: wrong bit size 2024-06-27 15:27:14 +02:00
wpetit d5669a4eb5 fix: multiple environment variables interpolation in configuration file
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-27 15:00:25 +02:00
wpetit f3aa8b9be6 doc: add profiling tutorial link
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-27 14:13:08 +02:00
wpetit 2de5e285a3 doc: add virtual hosting example
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-27 11:12:58 +02:00
wpetit 87e1c65607 fix: security vulnerabilities
Cadoles/bouncer/pipeline/head This commit looks good Details
ref #31
2024-06-27 10:04:29 +02:00
wpetit f092520ee4 chore: tidy deps
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-26 16:31:14 +02:00
wpetit 9084b6e05f Merge pull request 'Implémentation des proxies "passthrough"' (#30) from passthrough-proxy into develop
Cadoles/bouncer/pipeline/head This commit looks good Details
Reviewed-on: #30
2024-06-26 16:23:28 +02:00
wpetit 5494abded4 feat: passthrough proxies
Cadoles/bouncer/pipeline/head Build started... Details
Cadoles/bouncer/pipeline/pr-develop Build started... Details
2024-06-26 16:22:30 +02:00
wpetit 059af1b6ee fix: add missing templates in docker image
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-26 15:00:23 +02:00
wpetit 532f30c155 chore: remove artefact Dockerfile
Cadoles/bouncer/pipeline/head Something is wrong with the build of this commit Details
2024-06-26 15:00:07 +02:00
wpetit 49f2ccbc7a feat: templatized proxy error page
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-26 14:36:28 +02:00