Skip to content

Commit

Permalink
Remove JA3 plugin (#1512)
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetso authored Nov 12, 2024
2 parents d7e2257 + ec4e9b3 commit fb09277
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions docker/images/caddy.dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM caddy:2-builder AS builder
RUN apk update && apk add gcc g++ make libpcap-dev libpcap
RUN CGO_ENABLED=1 xcaddy build \
--with github.com/mholt/caddy-ratelimit \
--with github.com/rushiiMachine/caddy-ja3
--with github.com/mholt/caddy-ratelimit

FROM caddy:2
RUN apk update && apk add libpcap
Expand Down
4 changes: 0 additions & 4 deletions docker/provider.Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@

# Caddy must be told custom rate_limit module its order
order rate_limit before basicauth
order ja3 before rate_limit
servers {
listener_wrappers {
http_redirect
ja3
tls
}
timeouts {
Expand Down Expand Up @@ -55,8 +53,6 @@
log_key
}

ja3 sort_ja3 true

# reverse proxy to the provider container
reverse_proxy {$CADDY_PROVIDER_CONTAINER_NAME:provider}:{$CADDY_PROVIDER_PORT:9229} {
# https://caddyserver.com/docs/caddyfile/concepts#placeholders
Expand Down

0 comments on commit fb09277

Please sign in to comment.