Package: dictd
Version: 1.13.1+dfsg-1.3
Severity: wishlist

Since IPv6 is generally preferred, as this can be seen with
"strace dict test"

[...]
socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(2628), sin6_flowinfo=htonl(0), 
inet_pton(AF_INET6, "::1", &sin6_addr), sin6_scope_id=0}, 28) = -1 ECONNREFUSED 
(Connection refused)
close(3)                                = 0
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(2628), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
write(3, "client \"dict 1.13.1/rf on Linux "..., 70) = 70
[...]

dictd should listen to IPv6 ::1, which would make the first connect()
succeed.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.9+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 dictd depends on:
ii  adduser                3.153
ii  debconf [debconf-2.0]  1.5.91
ii  dictzip                1.13.1+dfsg-1.3
ii  init-system-helpers    1.69
ii  libc6                  2.41-12
ii  libmaa4                1.5.1-1
ii  netbase                6.5
ii  ucf                    3.0052
ii  update-inetd           4.54
ii  zlib1g                 1:1.3.dfsg+really1.3.1-1+b1

Versions of packages dictd recommends:
ii  dict [dict-client]  1.13.1+dfsg-1.3

Versions of packages dictd suggests:
ii  dict-foldoc [dictd-dictionary]            20250211-1
ii  dict-freedict-eng-fra [dictd-dictionary]  2022.04.21-1
ii  dict-freedict-fra-eng [dictd-dictionary]  2022.04.21-1
ii  dict-gcide [dictd-dictionary]             0.48.5+nmu4
ii  dict-jargon [dictd-dictionary]            4.4.7-5
ii  dict-vera [dictd-dictionary]              1:1.24-1
ii  dict-wn [dictd-dictionary]                1:3.0-41

-- debconf information:
  dictd/run_mode: daemon

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to