Block a user
crowdsec-legacy-firewall-bouncer (legacy)
Installation
docker pull gitea.ar2000.me/ar2000/crowdsec-legacy-firewall-bouncer:legacy
sha256:eb7484c7b59ef5be19f5cf1d2c2580fe7539d8b46ec7022b89bada371594d54c
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.04 |
ADD file:ad85a9d7b0a74c2140bd51d9c4559cca392991e0c95f84cb139347348e5d1f9a in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt update apt upgrade -y apt install iptables jq -y # buildkit |
RUN /bin/sh -c update-alternatives --set iptables /usr/sbin/iptables-legacy # buildkit |
RUN /bin/sh -c update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy # buildkit |
ARG IPTABLES_MODE=legacy |
RUN |1 IPTABLES_MODE=legacy /bin/sh -c mkdir -p /etc/crowdsec/bouncers # buildkit |
COPY /app/cs-custom-bouncer/crowdsec-custom-bouncer /usr/bin/crowdsec-custom-bouncer # buildkit |
COPY /app/cs-custom-bouncer/config/crowdsec-custom-bouncer.yaml /crowdsec-custom-bouncer.yaml # buildkit |
RUN |1 IPTABLES_MODE=legacy /bin/sh -c sed -i "s/total_retries: .*/total_retries: 1/g" /crowdsec-custom-bouncer.yaml # buildkit |
ADD --chmod=770 bouncer.sh /bouncer.sh # buildkit |
ENV BINARY_PATH=/bouncer.sh |
LABEL me.ar2000.gitea.buildargs.iptablesmode=legacy |
CMD ["/usr/bin/crowdsec-custom-bouncer" "-c" "/crowdsec-custom-bouncer.yaml"] |
Labels
Key | Value |
---|---|
me.ar2000.gitea.buildargs.iptablesmode | legacy |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.version | 24.04 |