Package: apt-cacher-ng
Version: 3.7.4-1+b2
Followup-For: Bug #997073

Hi,

git bisect suggests this bug was introduced with commit

commit 2b6d53888ae8bf13260c3ea86a52cd66ee0eec16
Author: Eduard Bloch <[email protected]>
Date:   Sat May 29 15:26:46 2021 +0200

    Converting port description type to plain uint16_t

    Slight reduction of memory footprint

This seems to have changed how "AllowUserPorts" works...

AFAICS, this can be worked around by setting

    AllowUserPorts: 80 443

or even

    AllowUserPorts: 0

if you trust your users.

Maybe "AllowUserPorts: 80 443" shoud be the default in future package
versions?

Regards, Tobias

PS: I could not reproduce the problem with non-https sources, so the
initial report seems to be either unrelated or a genuine configuration
error...
-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), 
LANGUAGE=de:en_GB:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-cacher-ng depends on:
ii  adduser                    3.130
ii  debconf [debconf-2.0]      1.5.82
ii  dpkg                       1.21.19
ii  libbz2-1.0                 1.0.8-5+b1
ii  libc-ares2                 1.18.1-1+b2
ii  libc6                      2.36-8
ii  libevent-2.1-7             2.1.12-stable-5+b1
ii  libevent-pthreads-2.1-7    2.1.12-stable-5+b1
ii  libfuse2                   2.9.9-6
ii  libgcc-s1                  12.2.0-14
ii  liblzma5                   5.4.1-0.0
ii  libssl3                    3.0.7-2
ii  libstdc++6                 12.2.0-14
ii  libsystemd0                252.4-2
ii  libwrap0                   7.6.q-32
ii  sysvinit-utils [lsb-base]  3.06-2
ii  zlib1g                     1:1.2.13.dfsg-1

Versions of packages apt-cacher-ng recommends:
ii  ca-certificates  20211016

Versions of packages apt-cacher-ng suggests:
pn  avahi-daemon  <none>
ii  doc-base      0.11.1

Reply via email to