Commit Graph

81 Commits

Author SHA1 Message Date
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 c611705d45 fix(rewriter): prevent mixing of cached rule engines (#44) 2024-10-21 13:48:59 +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 f3b553cb10 feat: expose expvars as profiling endpoint 2024-10-02 12:09:02 +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 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
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 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 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 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 49f2ccbc7a feat: templatized proxy error page
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-26 14:36:28 +02:00
wpetit 4907c0b51f feat: return status 502 on proxy error 2024-06-26 13:53:22 +02:00
wpetit 1881f27928 refactor: use new rule engine package
Cadoles/bouncer/pipeline/head Something is wrong with the build of this commit Details
2024-06-26 13:52:49 +02:00
wpetit 05b547da48 feat: rewriter layer
Cadoles/bouncer/pipeline/head This commit looks good Details
Cadoles/bouncer/pipeline/pr-develop This commit looks good Details
2024-06-25 16:50:29 +02:00
wpetit 1009eb19aa feat: use destination path as prefix when rewritting url
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-24 17:18:31 +02:00
wpetit 19fda6aa64 feat(authn-oidc): allow overwriting of cookie name
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-05 16:13:45 +02:00
wpetit 65238f1ff3 feat(authn-oidc): include proxy in cookie name
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-06-05 16:00:23 +02:00
wpetit d5fed4c2ac feat(authn): add templatized error page
Cadoles/bouncer/pipeline/head Something is wrong with the build of this commit Details
ref CNOUS/mse#3907
2024-06-05 15:53:17 +02:00
wpetit c7ac331b10 chore: add interface description
Cadoles/bouncer/pipeline/head There was a failure building this commit Details
2024-06-05 12:52:01 +02:00
wpetit 2952f68720 fix(config): handles raw nanoseconds durations
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-05-29 16:49:05 +02:00
wpetit 3a9fde9bc9 feat: improve perf by caching proxy and layers locally
Cadoles/bouncer/pipeline/head This commit looks good Details
Cadoles/bouncer/pipeline/pr-develop Build started... Details
2024-05-28 16:45:15 +02:00
wpetit 132bf1e642 feat(authn-oidc): allow for dynamic post-logout redirection
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-05-24 17:01:06 +02:00
wpetit 26a9ad0e2e feat(authn-oidc): match login callback/logout urls with query string by default
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-05-24 15:28:21 +02:00
wpetit 3e5dd446cb feat(authn-oidc): use relative redirection to prevent internal/public host mixing 2024-05-24 15:27:43 +02:00
wpetit 82c93d3f1e feat(config): interpolate recursively in interpolated map
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-05-24 12:49:03 +02:00
wpetit 544326a4b7 feat(authn-oidc): use full urls for login callback/logout options 2024-05-23 17:41:36 +02:00
wpetit 499bb3696d fix(authn-network): handles r.RemoteAddr without port
Cadoles/bouncer/pipeline/head This commit looks good Details
Cadoles/bouncer/pipeline/pr-authn-oidc-redirect-url Build started... Details
2024-05-22 15:24:40 +02:00
wpetit 572093536a feat(authn): do not allow additional options
Cadoles/bouncer/pipeline/head This commit looks good Details
2024-05-22 14:41:54 +02:00
wpetit 781bfcab19 feat: add authn-basic layer
Cadoles/bouncer/pipeline/head This commit looks good Details
Cadoles/bouncer/pipeline/pr-develop This commit looks good Details
2024-05-21 12:10:52 +02:00
wpetit 5a34d5917f feat: transform circuitbreaker layer in authn-network layer
Cadoles/bouncer/pipeline/head Build started... Details
Cadoles/bouncer/pipeline/pr-develop Build started... Details
2024-05-17 17:29:26 +02:00