Package: auto-apt-proxy
Version: 16.8
Severity: important
X-Debbugs-Cc: [email protected]


Hi Antonio,

i see there was a change[1] of the lookups in favor of the gateway
instead of the nameserver records.
In my case this slows down auto-apt-proxy by 20 seconds as shown in the
attached log file. On my gateway (an opnsense) there are no services running
on the tested ports nor is there any firewall rule that would forward any of
these requests as my apt-cacher-ng is running in a jail on my nas and i only
have configured an "apt-proxy" A entry which worked pretty well so
far.
I can fix this by adding an additional rule which REJECTs any request
on the tested ports 3142,8000,9999 here but this will not likely be
possible in all networks where i use auto-apt-proxy and my guess is
that not all routers/firewalls will REJECT by default everywhere aswell.

If you want to keep the order of $sources as it is now i would ask if
it might be possible to add another apt.conf.d option that changes the
lookup behaviour? I'm open to write up something and send in an MR on
salsa

[1]https://salsa.debian.org/debian/auto-apt-proxy/-/commit/56b604cd23b465ac795754c474aa4c023a143c69

with many regards,
Christopher



-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (600, 'testing-security'), (600, 'testing'), (550, 'unstable'),
(510, 'buildd-unstable'), (2, 'experimental') Architecture: amd64 (x86_64)

Kernel: Linux 6.12.32-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
(charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages auto-apt-proxy depends on:
ii  apt  3.1.0

Versions of packages auto-apt-proxy recommends:
ii  busybox   1:1.37.0-6
ii  iproute2  6.15.0-1

Versions of packages auto-apt-proxy suggests:
pn  avahi-utils  <none>

-- no debconf information
% /usr/bin/time -p sh -c 'rm -Rf /tmp/.auto-apt-proxy-`id -u`; sh -x `which auto-apt-proxy` 2>&1 |ts "%F %H:%M:%.S"  > ~/auto-apt-proxy-bug.log'
real 20.42
user 0.26
sys 0.29
% cat auto-apt-proxy-bug.log
2025-06-24 12:46:49.652440 + set -eu
2025-06-24 12:46:49.652575 + [ -z  ]
2025-06-24 12:46:49.652592 + id -u
2025-06-24 12:46:49.652604 + uid=1000
2025-06-24 12:46:49.652615 + cache_dir=/tmp/.auto-apt-proxy-1000
2025-06-24 12:46:49.652627 + [ -d /tmp/.auto-apt-proxy-1000 ]
2025-06-24 12:46:49.652638 + [ -z  ]
2025-06-24 12:46:49.652650 + mkdir -m 0700 /tmp/.auto-apt-proxy-1000
2025-06-24 12:46:49.652660 + output=/tmp/.auto-apt-proxy-1000/output
2025-06-24 12:46:49.652671 + trap cleanup INT EXIT TERM
2025-06-24 12:46:49.652681 + cache_ttl=60
2025-06-24 12:46:49.652692 + command -v ip
2025-06-24 12:46:49.652704 + ip_tool=ip
2025-06-24 12:46:49.652716 + [ 0 -eq 0 ]
2025-06-24 12:46:49.652726 + detect
2025-06-24 12:46:49.652736 + [ -z  ]
2025-06-24 12:46:49.652750 + cache __detect__
2025-06-24 12:46:49.652763 + local cache_file=/tmp/.auto-apt-proxy-1000/cache
2025-06-24 12:46:49.652774 + local lock_file=/tmp/.auto-apt-proxy-1000/lock
2025-06-24 12:46:49.652784 + local cache_age
2025-06-24 12:46:49.652795 + local cached_proxy
2025-06-24 12:46:49.652805 + flock 9
2025-06-24 12:46:49.652815 + [ -f /tmp/.auto-apt-proxy-1000/cache ]
2025-06-24 12:46:49.652825 + [ -f /tmp/.auto-apt-proxy-1000/cache ]
2025-06-24 12:46:49.652835 + __detect__
2025-06-24 12:46:49.652847 + sources=
2025-06-24 12:46:49.652857     v4_localhost
2025-06-24 12:46:49.652867     v4_addresses
2025-06-24 12:46:49.652877     v4_gateway
2025-06-24 12:46:49.652887     v6_localhost
2025-06-24 12:46:49.652897     v6_gateway
2025-06-24 12:46:49.652908     v4_explicit_proxy
2025-06-24 12:46:49.652918     v6_explicit_proxy
2025-06-24 12:46:49.652928     container_host
2025-06-24 12:46:49.652939   
2025-06-24 12:46:49.652949 + v4_localhost
2025-06-24 12:46:49.652958 + echo 127.0.0.1
2025-06-24 12:46:49.652968 + detect_apt_cacher_ng 127.0.0.1
2025-06-24 12:46:49.652978 + local ip=127.0.0.1
2025-06-24 12:46:49.652990 + proxy_url 127.0.0.1 3142
2025-06-24 12:46:49.653001 + echo http://127.0.0.1:3142
2025-06-24 12:46:49.653012 + local proxy=http://127.0.0.1:3142
2025-06-24 12:46:49.653024 + log_debug looking for apt-cacher-ng at http://127.0.0.1:3142
2025-06-24 12:46:49.653035 + :
2025-06-24 12:46:49.653045 + hit -o Acquire::http::Proxy::127.0.0.1=DIRECT http://127.0.0.1:3142
2025-06-24 12:46:49.653056 + timeout 5 /usr/lib/apt/apt-helper -o Acquire::http::Proxy=DIRECT -o Acquire::Retries=0 download-file -o Acquire::http::Proxy::127.0.0.1=DIRECT http://127.0.0.1:3142 /tmp/.auto-apt-proxy-1000/output
2025-06-24 12:46:49.653066 + grep -q -i HTTP.*406
2025-06-24 12:46:49.661187 + return 1
2025-06-24 12:46:49.661271 + detect_approx 127.0.0.1
2025-06-24 12:46:49.661284 + local ip=127.0.0.1
2025-06-24 12:46:49.661737 + proxy_url 127.0.0.1 9999
2025-06-24 12:46:49.661770 + echo http://127.0.0.1:9999
2025-06-24 12:46:49.662201 + local proxy=http://127.0.0.1:9999
2025-06-24 12:46:49.662217 + log_debug looking for approx at http://127.0.0.1:9999
2025-06-24 12:46:49.662227 + :
2025-06-24 12:46:49.662238 + hit -o Acquire::http::Proxy::127.0.0.1=DIRECT http://127.0.0.1:9999
2025-06-24 12:46:49.686762 + true
2025-06-24 12:46:49.686871 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:49.686891 + return 1
2025-06-24 12:46:49.686903 + detect_apt_cacher 127.0.0.1
2025-06-24 12:46:49.686914 + local ip=127.0.0.1
2025-06-24 12:46:49.687343 + proxy_url 127.0.0.1 3142
2025-06-24 12:46:49.687454 + echo http://127.0.0.1:3142
2025-06-24 12:46:49.687669 + local proxy=http://127.0.0.1:3142
2025-06-24 12:46:49.687686 + log_debug looking for apt-cacher at http://127.0.0.1:3142
2025-06-24 12:46:49.687698 + :
2025-06-24 12:46:49.687711 + hit -o Acquire::http::Proxy::127.0.0.1=DIRECT http://127.0.0.1:3142
2025-06-24 12:46:49.715807 + true
2025-06-24 12:46:49.715967 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:49.716002 + return 1
2025-06-24 12:46:49.716028 + detect_squid_deb_proxy 127.0.0.1
2025-06-24 12:46:49.716055 + local ip=127.0.0.1
2025-06-24 12:46:49.716374 + proxy_url 127.0.0.1 8000
2025-06-24 12:46:49.716403 + echo http://127.0.0.1:8000
2025-06-24 12:46:49.716766 + local proxy=http://127.0.0.1:8000
2025-06-24 12:46:49.716795 + log_debug looking for squid at http://127.0.0.1:8000
2025-06-24 12:46:49.716820 + :
2025-06-24 12:46:49.717206 + + hit -oDebug::acquire::http=1 -o Acquire::http::Proxy::127.0.0.1=DIRECT http://127.0.0.1:8000
2025-06-24 12:46:49.717239 grep -q Via: .*squid-deb-proxy
2025-06-24 12:46:49.744443 + return 1
2025-06-24 12:46:49.744816 + v4_addresses
2025-06-24 12:46:49.744839 + local ret
2025-06-24 12:46:49.746090 + ip -4 route
2025-06-24 12:46:49.746203 + awk {if($10 == "linkdown") {print($9)}}
2025-06-24 12:46:49.750629 + ret=192.168.122.1
2025-06-24 12:46:49.750660 + log_debug_if_present 192.168.122.1 Local IPv4 addessses: 192.168.122.1
2025-06-24 12:46:49.750686 + item=192.168.122.1
2025-06-24 12:46:49.750713 + msg=Local IPv4 addessses: 192.168.122.1
2025-06-24 12:46:49.750740 + [ -z 192.168.122.1 ]
2025-06-24 12:46:49.750766 + log_debug Local IPv4 addessses: 192.168.122.1
2025-06-24 12:46:49.750792 + :
2025-06-24 12:46:49.750818 + echo 192.168.122.1
2025-06-24 12:46:49.751043 + detect_apt_cacher_ng 192.168.122.1
2025-06-24 12:46:49.751075 + local ip=192.168.122.1
2025-06-24 12:46:49.751626 + proxy_url 192.168.122.1 3142
2025-06-24 12:46:49.751656 + echo http://192.168.122.1:3142
2025-06-24 12:46:49.752014 + local proxy=http://192.168.122.1:3142
2025-06-24 12:46:49.752043 + log_debug looking for apt-cacher-ng at http://192.168.122.1:3142
2025-06-24 12:46:49.752069 + :
2025-06-24 12:46:49.752545 + + hit -o Acquire::http::Proxy::192.168.122.1=DIRECT http://192.168.122.1:3142
2025-06-24 12:46:49.752594 + timeout 5 /usr/lib/apt/apt-helper -o Acquire::http::Proxy=DIRECTgrep -q -o -i Acquire::Retries=0 HTTP.*406 download-file -o
2025-06-24 12:46:49.752616  Acquire::http::Proxy::192.168.122.1=DIRECT http://192.168.122.1:3142 /tmp/.auto-apt-proxy-1000/output
2025-06-24 12:46:49.777174 + return 1
2025-06-24 12:46:49.777251 + detect_approx 192.168.122.1
2025-06-24 12:46:49.777265 + local ip=192.168.122.1
2025-06-24 12:46:49.777842 + proxy_url 192.168.122.1 9999
2025-06-24 12:46:49.777886 + echo http://192.168.122.1:9999
2025-06-24 12:46:49.778403 + local proxy=http://192.168.122.1:9999
2025-06-24 12:46:49.778429 + log_debug looking for approx at http://192.168.122.1:9999
2025-06-24 12:46:49.778441 + :
2025-06-24 12:46:49.778500 + hit -o Acquire::http::Proxy::192.168.122.1=DIRECT http://192.168.122.1:9999
2025-06-24 12:46:49.803622 + true
2025-06-24 12:46:49.803732 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:49.803754 + return 1
2025-06-24 12:46:49.803769 + detect_apt_cacher 192.168.122.1
2025-06-24 12:46:49.803780 + local ip=192.168.122.1
2025-06-24 12:46:49.804160 + proxy_url 192.168.122.1 3142
2025-06-24 12:46:49.804184 + echo http://192.168.122.1:3142
2025-06-24 12:46:49.804551 + local proxy=http://192.168.122.1:3142
2025-06-24 12:46:49.804583 + log_debug looking for apt-cacher at http://192.168.122.1:3142
2025-06-24 12:46:49.804596 + :
2025-06-24 12:46:49.804649 + hit -o Acquire::http::Proxy::192.168.122.1=DIRECT http://192.168.122.1:3142
2025-06-24 12:46:49.826612 + true
2025-06-24 12:46:49.826647 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:49.826679 + return 1
2025-06-24 12:46:49.826699 + detect_squid_deb_proxy 192.168.122.1
2025-06-24 12:46:49.826716 + local ip=192.168.122.1
2025-06-24 12:46:49.827358 + proxy_url 192.168.122.1 8000
2025-06-24 12:46:49.827385 + echo http://192.168.122.1:8000
2025-06-24 12:46:49.827746 + local proxy=http://192.168.122.1:8000
2025-06-24 12:46:49.827772 + log_debug looking for squid at http://192.168.122.1:8000
2025-06-24 12:46:49.827785 + :
2025-06-24 12:46:49.828510 + hit -oDebug::acquire::http=1 -o Acquire::http::Proxy::192.168.122.1=DIRECT http://192.168.122.1:8000
2025-06-24 12:46:49.828771 + grep -q Via: .*squid-deb-proxy
2025-06-24 12:46:49.849452 + return 1
2025-06-24 12:46:49.850119 + v4_gateway
2025-06-24 12:46:49.850175 + local ret
2025-06-24 12:46:49.850672 + find_gateway
2025-06-24 12:46:49.850985 + awk /^default via/ { print($3) }
2025-06-24 12:46:49.851096 + ip route
2025-06-24 12:46:49.854179 + ret=10.10.2.1
2025-06-24 12:46:49.854204 + log_debug_if_present 10.10.2.1 IPv4 gateway: 10.10.2.1
2025-06-24 12:46:49.854224 + item=10.10.2.1
2025-06-24 12:46:49.854242 + msg=IPv4 gateway: 10.10.2.1
2025-06-24 12:46:49.854260 + [ -z 10.10.2.1 ]
2025-06-24 12:46:49.854277 + log_debug IPv4 gateway: 10.10.2.1
2025-06-24 12:46:49.854292 + :
2025-06-24 12:46:49.854308 + echo 10.10.2.1
2025-06-24 12:46:49.854824 + detect_apt_cacher_ng 10.10.2.1
2025-06-24 12:46:49.854843 + local ip=10.10.2.1
2025-06-24 12:46:49.855145 + proxy_url 10.10.2.1 3142
2025-06-24 12:46:49.855166 + echo http://10.10.2.1:3142
2025-06-24 12:46:49.855282 + local proxy=http://10.10.2.1:3142
2025-06-24 12:46:49.855302 + log_debug looking for apt-cacher-ng at http://10.10.2.1:3142
2025-06-24 12:46:49.855321 + :
2025-06-24 12:46:49.855625 + hit -o Acquire::http::Proxy::10.10.2.1=DIRECT http://10.10.2.1:3142
2025-06-24 12:46:49.855651 + timeout 5 /usr/lib/apt/apt-helper -o Acquire::http::Proxy=DIRECT -o Acquire::Retries=0 download-file -o Acquire::http::Proxy::10.10.2.1=DIRECT http://10.10.2.1:3142 /tmp/.auto-apt-proxy-1000/output
2025-06-24 12:46:49.855953 + grep -q -i HTTP.*406
2025-06-24 12:46:49.884641 + return 1
2025-06-24 12:46:49.884855 + detect_approx 10.10.2.1
2025-06-24 12:46:49.884909 + local ip=10.10.2.1
2025-06-24 12:46:49.885157 + proxy_url 10.10.2.1 9999
2025-06-24 12:46:49.885367 + echo http://10.10.2.1:9999
2025-06-24 12:46:49.885424 + local proxy=http://10.10.2.1:9999
2025-06-24 12:46:49.885466 + log_debug looking for approx at http://10.10.2.1:9999
2025-06-24 12:46:49.885490 + :
2025-06-24 12:46:49.885510 + hit -o Acquire::http::Proxy::10.10.2.1=DIRECT http://10.10.2.1:9999
2025-06-24 12:46:49.914527 + true
2025-06-24 12:46:49.914742 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:49.914798 + return 1
2025-06-24 12:46:49.914839 + detect_apt_cacher 10.10.2.1
2025-06-24 12:46:49.914880 + local ip=10.10.2.1
2025-06-24 12:46:49.915184 + proxy_url 10.10.2.1 3142
2025-06-24 12:46:49.915397 + echo http://10.10.2.1:3142
2025-06-24 12:46:49.915503 + local proxy=http://10.10.2.1:3142
2025-06-24 12:46:49.915550 + log_debug looking for apt-cacher at http://10.10.2.1:3142
2025-06-24 12:46:49.915591 + :
2025-06-24 12:46:49.915635 + hit -o Acquire::http::Proxy::10.10.2.1=DIRECT http://10.10.2.1:3142
2025-06-24 12:46:49.940815 + true
2025-06-24 12:46:49.940885 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:49.940925 + return 1
2025-06-24 12:46:49.940966 + detect_squid_deb_proxy 10.10.2.1
2025-06-24 12:46:49.941007 + local ip=10.10.2.1
2025-06-24 12:46:49.941550 + proxy_url 10.10.2.1 8000
2025-06-24 12:46:49.941594 + echo http://10.10.2.1:8000
2025-06-24 12:46:49.941970 + local proxy=http://10.10.2.1:8000
2025-06-24 12:46:49.942016 + log_debug looking for squid at http://10.10.2.1:8000
2025-06-24 12:46:49.942055 + :
2025-06-24 12:46:49.942463 + grep -q Via: .*squid-deb-proxy
2025-06-24 12:46:49.942564 + hit -oDebug::acquire::http=1 -o Acquire::http::Proxy::10.10.2.1=DIRECT http://10.10.2.1:8000
2025-06-24 12:46:49.967928 + return 1
2025-06-24 12:46:49.968400 + v6_localhost
2025-06-24 12:46:49.968615 + echo ::1
2025-06-24 12:46:49.968675 + detect_apt_cacher_ng ::1
2025-06-24 12:46:49.968716 + local ip=::1
2025-06-24 12:46:49.969118 + proxy_url ::1 3142
2025-06-24 12:46:49.969166 + echo http://[::1]:3142
2025-06-24 12:46:49.969521 + local proxy=http://[::1]:3142
2025-06-24 12:46:49.969553 + log_debug looking for apt-cacher-ng at http://[::1]:3142
2025-06-24 12:46:49.969576 + :
2025-06-24 12:46:49.969921 + hit -o Acquire::http::Proxy::::1=DIRECT http://[::1]:3142
2025-06-24 12:46:49.970019 + timeout 5 /usr/lib/apt/apt-helper -o Acquire::http::Proxy=DIRECT -o Acquire::Retries=0 download-file -o Acquire::http::Proxy::::1=DIRECT http://[::1]:3142 /tmp/.auto-apt-proxy-1000/output
2025-06-24 12:46:49.970211 + grep -q -i HTTP.*406
2025-06-24 12:46:49.994638 + return 1
2025-06-24 12:46:49.994726 + detect_approx ::1
2025-06-24 12:46:49.994738 + local ip=::1
2025-06-24 12:46:49.995206 + proxy_url ::1 9999
2025-06-24 12:46:49.995230 + echo http://[::1]:9999
2025-06-24 12:46:49.995471 + local proxy=http://[::1]:9999
2025-06-24 12:46:49.995498 + log_debug looking for approx at http://[::1]:9999
2025-06-24 12:46:49.995511 + :
2025-06-24 12:46:49.995551 + hit -o Acquire::http::Proxy::::1=DIRECT http://[::1]:9999
2025-06-24 12:46:50.022023 + true
2025-06-24 12:46:50.022178 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:50.022221 + return 1
2025-06-24 12:46:50.022255 + detect_apt_cacher ::1
2025-06-24 12:46:50.022290 + local ip=::1
2025-06-24 12:46:50.022734 + proxy_url ::1 3142
2025-06-24 12:46:50.022780 + echo http://[::1]:3142
2025-06-24 12:46:50.023163 + local proxy=http://[::1]:3142
2025-06-24 12:46:50.023200 + log_debug looking for apt-cacher at http://[::1]:3142
2025-06-24 12:46:50.023213 + :
2025-06-24 12:46:50.023276 + hit -o Acquire::http::Proxy::::1=DIRECT http://[::1]:3142
2025-06-24 12:46:50.049447 + true
2025-06-24 12:46:50.049543 + [ -s /tmp/.auto-apt-proxy-1000/output ]
2025-06-24 12:46:50.049564 + return 1
2025-06-24 12:46:50.049583 + detect_squid_deb_proxy ::1
2025-06-24 12:46:50.049599 + local ip=::1
2025-06-24 12:46:50.050406 + proxy_url ::1 8000
2025-06-24 12:46:50.050451 + echo http://[::1]:8000
2025-06-24 12:46:50.050924 + local proxy=http://[::1]:8000
2025-06-24 12:46:50.050962 + log_debug looking for squid at http://[::1]:8000
2025-06-24 12:46:50.050973 + :
2025-06-24 12:46:50.051622 + hit -oDebug::acquire::http=1 -o Acquire::http::Proxy::::1=DIRECT http://[::1]:8000
2025-06-24 12:46:50.051831 + grep -q Via: .*squid-deb-proxy
2025-06-24 12:46:50.079507 + return 1
2025-06-24 12:46:50.080052 + v6_gateway
2025-06-24 12:46:50.080085 + local ret
2025-06-24 12:46:50.080667 + find_gateway -6
2025-06-24 12:46:50.081313 + ip -6 route
2025-06-24 12:46:50.081489 + awk /^default via/ { print($3) }
2025-06-24 12:46:50.085111 + ret=
2025-06-24 12:46:50.085131 + log_debug_if_present  IPv6 gateway: 
2025-06-24 12:46:50.085144 + item=
2025-06-24 12:46:50.085159 + msg=IPv6 gateway: 
2025-06-24 12:46:50.085171 + [ -z  ]
2025-06-24 12:46:50.085185 + return
2025-06-24 12:46:50.085199 + echo 
2025-06-24 12:46:50.085859 + v4_explicit_proxy
2025-06-24 12:46:50.086101 + local ret
2025-06-24 12:46:50.086671 + resolve_getent ahostsv4 apt-proxy
2025-06-24 12:46:50.086690 + log_debug Resolving hostname: getent ahostsv4 apt-proxy
2025-06-24 12:46:50.086709 + :
2025-06-24 12:46:50.087341 + timeout 5 getent ahostsv4 apt-proxy
2025-06-24 12:46:50.087663 + awk /[[:blank:]]/ { if ($2 == "STREAM") {print($1)} }
2025-06-24 12:46:50.087829 + uniq
2025-06-24 12:46:50.092598 + ret=10.10.2.7
2025-06-24 12:46:50.092640 + log_debug_if_present 10.10.2.7 apt-proxy IPv4: 10.10.2.7
2025-06-24 12:46:50.092654 + item=10.10.2.7
2025-06-24 12:46:50.092669 + msg=apt-proxy IPv4: 10.10.2.7
2025-06-24 12:46:50.092684 + [ -z 10.10.2.7 ]
2025-06-24 12:46:50.092699 + log_debug apt-proxy IPv4: 10.10.2.7
2025-06-24 12:46:50.092712 + :
2025-06-24 12:46:50.092726 + echo 10.10.2.7
2025-06-24 12:46:50.093103 + detect_apt_cacher_ng 10.10.2.7
2025-06-24 12:46:50.093121 + local ip=10.10.2.7
2025-06-24 12:46:50.093407 + proxy_url 10.10.2.7 3142
2025-06-24 12:46:50.093419 + echo http://10.10.2.7:3142
2025-06-24 12:46:50.093572 + local proxy=http://10.10.2.7:3142
2025-06-24 12:46:50.093586 + log_debug looking for apt-cacher-ng at http://10.10.2.7:3142
2025-06-24 12:46:50.093596 + :
2025-06-24 12:46:50.093915 + hit -o Acquire::http::Proxy::10.10.2.7=DIRECT http://10.10.2.7:3142
2025-06-24 12:46:50.093954 + timeout 5 /usr/lib/apt/apt-helper -o Acquire::http::Proxy=DIRECT -o Acquire::Retries=0 download-file -o Acquire::http::Proxy::10.10.2.7=DIRECT http://10.10.2.7:3142 /tmp/.auto-apt-proxy-1000/output
2025-06-24 12:46:50.094218 + grep -q -i HTTP.*406
2025-06-24 12:46:50.122049 + set_proxy http://10.10.2.7:3142
2025-06-24 12:46:50.122115 + log_debug detected proxy: http://10.10.2.7:3142
2025-06-24 12:46:50.122127 + :
2025-06-24 12:46:50.122138 + echo http://10.10.2.7:3142
2025-06-24 12:46:50.122148 + return 0
2025-06-24 12:46:50.122159 + return 0
2025-06-24 12:46:50.122169 + cat /tmp/.auto-apt-proxy-1000/cache
2025-06-24 12:46:50.123787 http://10.10.2.7:3142
2025-06-24 12:46:50.124272 + cleanup
2025-06-24 12:46:50.124505 + rm -f /tmp/.auto-apt-proxy-1000/output

Reply via email to