aboutsummaryrefslogtreecommitdiff
path: root/test/go.mod
diff options
context:
space:
mode:
authorAurelia <git@acuteaura.net>2025-04-25 13:59:55 +0200
committerGitHub <noreply@github.com>2025-04-25 11:59:55 +0000
commita420db8b8a3597b56bcc6dc7d1fc5f5d7d932448 (patch)
treea8962aafc94ffd192a23a912c01b73f574dcce6b /test/go.mod
parent5a4f68d384895b09c45d0c6ebb09b069603c363b (diff)
downloadanubis-a420db8b8a3597b56bcc6dc7d1fc5f5d7d932448.tar.xz
anubis-a420db8b8a3597b56bcc6dc7d1fc5f5d7d932448.zip
feat: more elaborate XFF compute (#350)
* feat: more elaborate XFF compute #328 followup now featuring configuration and defaults that shouldn't break most setups. fixes #344 * refactor: obvious condition eval order optimization * feat: add StripLLU implementation * chore: I'm sorry it's 7 AM * test: add test environment for unix socket serving Signed-off-by: Xe Iaso <me@xeiaso.net> * test(unix-socket-xff): comment out the shell script more Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(internal): fix logic bug in XFF computation, add tests Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(internal): prevent panic in local testing Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(internal): shuffle around return values to flow better Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net> Co-authored-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'test/go.mod')
-rw-r--r--test/go.mod41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/go.mod b/test/go.mod
new file mode 100644
index 0000000..ca08313
--- /dev/null
+++ b/test/go.mod
@@ -0,0 +1,41 @@
+module github.com/TecharoHQ/anubis/test
+
+go 1.24.2
+
+replace github.com/TecharoHQ/anubis => ..
+
+require (
+ github.com/facebookgo/flagenv v0.0.0-20160425205200-fcd59fca7456
+ github.com/google/uuid v1.6.0
+)
+
+require (
+ github.com/TecharoHQ/anubis v1.16.0 // indirect
+ github.com/a-h/templ v0.3.857 // indirect
+ github.com/beorn7/perks v1.0.1 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
+ github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c // indirect
+ github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
+ github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 // indirect
+ github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
+ github.com/jsha/minica v1.1.0 // indirect
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
+ github.com/prometheus/client_golang v1.22.0 // indirect
+ github.com/prometheus/client_model v0.6.1 // indirect
+ github.com/prometheus/common v0.62.0 // indirect
+ github.com/prometheus/procfs v0.15.1 // indirect
+ github.com/sebest/xff v0.0.0-20210106013422-671bd2870b3a // indirect
+ github.com/yl2chen/cidranger v1.0.2 // indirect
+ golang.org/x/net v0.39.0 // indirect
+ golang.org/x/sys v0.32.0 // indirect
+ google.golang.org/protobuf v1.36.5 // indirect
+ k8s.io/apimachinery v0.32.3 // indirect
+ sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
+ sigs.k8s.io/yaml v1.4.0 // indirect
+)
+
+tool (
+ github.com/TecharoHQ/anubis/cmd/anubis
+ github.com/jsha/minica
+)