Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1144144

Bug#1034472: reportbug: auto-apt-proxy prints IPv6 literally incorrectly

From Alexander Clouter <alex+debian@digriz.org.uk>
Newsgroups linux.debian.bugs.dist
Subject Bug#1034472: reportbug: auto-apt-proxy prints IPv6 literally incorrectly
Date 2023-04-16 12:20 +0200
Message-ID <Gl7Ed-2owX-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: auto-apt-proxy
Version: 14
Severity: normal

Dear Maintainer,

Though the package functions perfectly (thanks!) when you just run
auto-apt-proxy on its own, the IPv6 literal is incorrectly concatenated
to the port.

It should emit:

http://[fd69:dead:beef:1::1]:3142

My local setup has apt-cacher-ng running at apt-proxy:
----
alex@sarasti:~$ dig ANY apt-proxy

; <<>> DiG 9.18.12-1-Debian <<>> ANY apt-proxy
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33640
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;apt-proxy.			IN	ANY

;; ANSWER SECTION:
apt-proxy.		0	IN	AAAA	fd69:dead:beef:1::1
apt-proxy.		0	IN	A	192.168.1.1

;; Query time: 16 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (TCP)
;; WHEN: Sun Apr 16 11:00:14 BST 2023
;; MSG SIZE  rcvd: 82

alex@sarasti:~$ auto-apt-proxy 
http://fd69:dead:beef:1::1:3142
----

If you need anything else, do ask.

Kind regards

Alex

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (100, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
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  2.6.0

Versions of packages auto-apt-proxy recommends:
ii  busybox   1:1.35.0-4+b2
ii  iproute2  6.1.0-2

auto-apt-proxy suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1034472: reportbug: auto-apt-proxy prints IPv6 literally incorrectly Alexander Clouter <alex+debian@digriz.org.uk> - 2023-04-16 12:20 +0200

csiph-web