• Joined on 2024-01-13

crowdsec-legacy-firewall-bouncer (dev)

Published 2025-05-25 17:26:04 +02:00 by AR2000 in AR2000/crowdsec-legacy-firewall-bouncer

Installation

docker pull gitea.ar2000.me/ar2000/crowdsec-legacy-firewall-bouncer:dev
sha256:d333d77fa5d394e815ee70518721bda8edf017419e9639c6301e07dc513b9708

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
Details
Container
2025-05-25 17:26:04 +02:00
4
OCI / Docker
linux/amd64
36 MiB
Versions (6) View all
legacy 2025-05-25
latest 2025-05-25
nft 2025-05-25
dev 2025-05-25
nft-dev 2025-05-25