workaround for "no attribute named gquic"

This commit is contained in:
kauedg 2023-10-27 23:10:10 -03:00
parent 02098f9b76
commit 780c93709a
2 changed files with 1050 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM alpine:3.17 FROM alpine:3.18
# #
# Get and install dependencies & packages # Get and install dependencies & packages
RUN apk -U --no-cache add \ RUN apk -U --no-cache add \
@ -21,11 +21,8 @@ RUN apk -U --no-cache add \
git clone https://github.com/0x4D31/fatt && \ git clone https://github.com/0x4D31/fatt && \
cd fatt && \ cd fatt && \
git checkout c29e553514281e50781f86932b82337a5ada5640 && \ git checkout c29e553514281e50781f86932b82337a5ada5640 && \
#git checkout 45cabf0b8b59162b99a1732d853efb01614563fe && \
#git checkout 314cd1ff7873b5a145a51ec4e85f6107828a2c79 && \
mkdir -p log && \ mkdir -p log && \
# pyshark >= 0.4.3 breaks fatt pip3 install pyshark==0.6 && \
pip3 install pyshark==0.4.2.11 && \
# #
# Setup configs # Setup configs
chgrp fatt /usr/bin/dumpcap && \ chgrp fatt /usr/bin/dumpcap && \
@ -37,6 +34,9 @@ RUN apk -U --no-cache add \
python3-dev && \ python3-dev && \
rm -rf /root/* /var/cache/apk/* /opt/fatt/.git rm -rf /root/* /var/cache/apk/* /opt/fatt/.git
# #
# Workaround issue fatt/#9
COPY dist/fatt.py /opt/fatt/
#
# Start fatt # Start fatt
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
ENV PYTHONPATH /opt/fatt ENV PYTHONPATH /opt/fatt

1045
docker/fatt/dist/fatt.py vendored Normal file

File diff suppressed because it is too large Load diff