Skip to content

Commit 5ed3f65

Browse files
authored
Adding iptable to runtime
1 parent 802da4a commit 5ed3f65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ RUN apt-get install -qq -y python3 python3-pip tcpdump libpcap-dev iproute2 proc
99
RUN apt-get clean
1010
RUN pip3 install --no-cache-dir -U pip
1111
RUN pip3 install --no-cache-dir rpyc==3.4.4 scapy cryptography vpython
12+
RUN echo 'iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP' >> /bootstrap.sh
13+
RUN echo 'iptables -L' >> /bootstrap.sh
1214
RUN echo 'sleep infinity' >> /bootstrap.sh
1315
RUN chmod +x /bootstrap.sh
1416

15-
1617
CMD /bootstrap.sh

0 commit comments

Comments
 (0)