This repository was archived by the owner on Aug 17, 2022. It is now read-only.
File tree 3 files changed +9
-8
lines changed
3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ RUN if [ ! -z "$TRUST_CERT" ]; then \
10
10
fi
11
11
12
12
# Normalize apt sources
13
- RUN cat /etc/apt/sources.list | grep -v '^#' | sed /^$/d | sort | uniq > sources.tmp.1 && \
14
- cat /etc/apt/sources.list | sed s/deb\ /deb-src\ /g | grep -v '^#' | sed /^$/d | sort | uniq > sources.tmp.2 && \
15
- cat sources.tmp.1 sources.tmp.2 > /etc/apt/sources.list && \
13
+ RUN cat /etc/apt/sources.list | grep -v '^#' | sed /^$/d > sources.tmp.1 && \
14
+ cat /etc/apt/sources.list | sed s/deb\ /deb-src\ /g | grep -v '^#' | sed /^$/d > sources.tmp.2 && \
15
+ cat sources.tmp.1 sources.tmp.2 | sort -u > /etc/apt/sources.list && \
16
16
rm -f sources.tmp.1 sources.tmp.2
17
17
18
18
RUN apt-get update && \
19
19
DEBIAN_FRONTEND=noninteractive apt-get build-dep -y squid && \
20
- DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar xz-utils libssl-dev
20
+ DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar xz-utils libssl-dev nano
21
21
22
- ARG SQUID_VERSION=4.0.21
22
+ ARG SQUID_VERSION=4.0.25
23
23
24
24
# TODO: verify the squid download with the signing key
25
25
RUN mkdir /src \
@@ -64,7 +64,8 @@ RUN cd /src/squid && \
64
64
--with-filedescriptors=65536 \
65
65
--with-large-files \
66
66
--with-default-user=proxy \
67
- --disable-arch-native
67
+ --disable-arch-native \
68
+ --disable-ipv6
68
69
69
70
ARG CONCURRENCY=1
70
71
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ chown proxy: /dev/stdout
38
38
chown proxy: /dev/stderr
39
39
40
40
# Initialize the certificates database
41
- /usr/libexec/security_file_certgen -c -s /var/spool/squid4/ssl_db
41
+ /usr/libexec/security_file_certgen -c -s /var/spool/squid4/ssl_db -M 4MB
42
42
chown -R proxy: /var/spool/squid4/ssl_db
43
43
44
44
# ssl_crtd -c -s
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ http_port {{HTTP_PORT}} {% if MITM_PROXY|default:"" == "yes" %} ssl-bump \
30
30
{% endif %}
31
31
32
32
{% if MITM_PROXY|default:"" == "yes" %}
33
- ssl_bump server-first all
33
+ ssl_bump bump all
34
34
{% endif %}
35
35
36
36
{% if ICP_PORT|default:"" != "" %}
You can’t perform that action at this time.
0 commit comments