Commit graph

194 commits

Author SHA1 Message Date
Ludovic Fernandez
88a2020817
chore: update linter 2024-02-19 15:44:03 +01:00
Ludovic Fernandez
d5cb9b50f4
Update to go1.22
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2024-02-07 17:14:07 +01:00
Landry Benguigui
0e92b02474
Deprecate IPWhiteList middleware in favor of IPAllowList
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2024-01-02 17:04:06 +01:00
Никита Тимофеев
f4ddf25e41
Fixed stripPrefix middleware is not applied to retried attempts 2023-11-24 09:30:06 +01:00
Romain
186e3e1541
Refuse recursive requests
Co-authored-by: Michael <michael.matur@gmail.com>
2023-11-21 15:08:06 +01:00
Ludovic Fernandez
553ef94047
chore: update linter 2023-11-17 01:50:06 +01:00
Romain
e95fde5652
Fix preflight response status in access logs
Co-authored-by: lbenguigui <lbenguigui@gmail.com>
2023-09-29 12:18:06 +02:00
Niall Newman
ab7993428d
Improve CNAME flattening to avoid unnecessary error logging 2023-09-28 12:00:06 +02:00
Romain
b966215e6c
Move origin fields capture to service level
Co-authored-by: lbenguigui <lbenguigui@gmail.com>
2023-09-27 15:22:06 +02:00
Romain
4d63eb30f9
Allow X-Forwarded-For delete operation
Co-authored-by: landrybe <lbenguigui@gmail.com>
2023-09-22 11:00:07 +02:00
Weida Hong
3216c8ab10
Adjust forward auth to avoid connection leak 2023-09-09 12:36:05 +02:00
Ludovic Fernandez
f29325c679
Update to go1.21 2023-08-16 17:50:06 +02:00
Romain
6885e410f0
Support informational headers in middlewares redefining the response writer.
Co-authored-by: LandryBe <lbenguigui@gmail.com>
2023-06-14 17:42:44 +02:00
Romain
d1bdeb3a92
Fix missing trailer with custom errors middleware
Co-authored-by: LandryBe <lbenguigui@gmail.com>
2023-06-14 14:48:05 +02:00
Ludovic Fernandez
c5f23493ab
chore: update linter 2023-06-05 10:24:06 +02:00
Romain
c823879097
Add prometheus metric requests_total with headers
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2023-03-20 18:06:07 +01:00
Ludovic Fernandez
7202038649
chore: update to go1.20 2023-02-23 15:06:05 +01:00
Witold Duranek
0861c47e54
fix no rate limiting if average is 0 2023-01-03 16:16:05 +01:00
Tom Moulard
e1e86763e3
Prevents superfluous WriteHeader call in the error middleware
Co-authored-by: LandryBe <lbenguigui@gmail.com>
2023-01-02 17:00:05 +01:00
Ludovic Fernandez
29b8b6911e
fix: sanitize X-Forwarded-Proto header in RedirectScheme middleware
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2022-12-16 10:34:04 +01:00
Ludovic Fernandez
778188ed34
fix: remove logs of the request 2022-12-05 11:30:05 +01:00
Simon Delicata
f1b91a119d
Create a new capture instance for each incoming request
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2022-11-17 10:26:06 +01:00
Romain
a041a6b198
Handle capture on redefined http.responseWriters
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
2022-10-27 16:08:06 +02:00
Romain
2c550c284d
Remove raw cert escape in PassTLSClientCert middleware 2022-10-13 15:08:08 +02:00
romain
693d5da1b9 Merge v2.8 into master 2022-09-13 17:17:58 +02:00
Tom Moulard
d578ed7327
Add traffic size metrics
Co-authored-by: OmarElawady <omarelawady1998@gmail.com>
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2022-09-12 17:10:09 +02:00
MoonLightWatch
77c8d60092
fix: IPv6 addr in square brackets 2022-09-09 10:44:07 +02:00
Ludovic Fernandez
adf82d72ae
chore: update linter 2022-08-31 08:24:08 +02:00
Ludovic Fernandez
25027d6df8
fix: don't retry on panic 2022-08-29 11:36:08 +02:00
Romain
63f9ec9c38
Remove request dump from IPWhitelist debug log and tracing message 2022-08-11 16:20:14 +02:00
Ludovic Fernandez
45453b20fa
chore: update to go1.19 2022-08-09 17:36:08 +02:00
Julien Salleyron
0231db05b4
Improve performances when Prometheus metrics are enabled 2022-07-07 18:00:09 +02:00
Maxence Moutoussamy
8f6463ba7a
Support forwarded websocket protocol in RedirectScheme
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2022-07-06 11:54:08 +02:00
romain
41748c3ae4 Merge current v2.7 into v2.8 2022-06-27 16:12:21 +02:00
Maxence Moutoussamy
ff17ac53df
RedirectScheme redirects based on X-Forwarded-Proto header 2022-06-24 12:04:09 +02:00
Tom Moulard
ae6e844143
Support URL replacement in errors middleware 2022-05-10 11:00:09 +02:00
Tom Moulard
707d355d4a
Merge branch v2.7 into master 2022-04-21 11:40:16 +02:00
mpl
55addfefc8
Re-add missing writeheader call in flush
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2022-04-21 10:42:08 +02:00
mpl
0ecd85cc66
Fix bug for when custom page is large enough
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2022-04-20 16:42:09 +02:00
Romain
44621ad28c
Fix default for buffering middleware
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2022-04-19 15:32:08 +02:00
Tom Moulard
232e2c1e7d
Fix regexp handling in redirect middleware 2022-04-15 17:24:08 +02:00
Adrian Lai
71150bcaaf
Allow config of additonal CircuitBreaker params 2022-04-05 12:30:08 +02:00
Josh Soref
819de02101
Spelling 2022-02-21 12:40:09 +01:00
Ludovic Fernandez
371b6e3c86
chore: update linter 2022-02-15 14:56:53 +01:00
Ludovic Fernandez
d9fbb5e25c
Use CNAME for SNI check on host header
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2022-02-14 17:18:08 +01:00
luckielordie
6bcfba43c8
Rename Datadog span tags 2022-02-10 16:00:09 +01:00
Tom Moulard
4da33c2bc2
Fix metrics bucket key high cardinality 2022-02-09 09:58:08 +01:00
Tom Moulard
bf29417136
Merge current v2.5 into master 2021-12-20 14:43:35 +01:00
Kevin Pollet
be44385b42
fix: process all X-Forwarded-For headers in the request 2021-12-14 15:36:07 +01:00
Tom Moulard
93de7cf0c0
feat: add in flight connection middleware 2021-11-29 17:12:06 +01:00