Package: asn
Version: 0.78.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The current version of 'asn', as shipped with Debian, contains a bug due to a 
changed URL in an API.
This specifically targets the '-g' option.
The cause and fix are known and documented here: 
https://github.com/nitefood/asn/issues/89
Description by the author:
Apparently the RIPE IPmap API URL changed. I'll push the fix shortly, but in 
the meantime you can try changing this line from:

ipmap_output=$(docurl -m15 -s 
"https://ipmap.ripe.net/api/v1/locate/all?resources=$ipmap_targets";)

to

ipmap_output=$(docurl -m15 -s 
"https://ipmap-api.ripe.net/v1/locate/all?resources=$ipmap_targets";)

and bulk geolocation should be working fine.

Can this fix be added in the package please ?
Thanks !

-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.41+deb13-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages asn depends on:
ii  aha         0.5.1-3
ii  bind9-host  1:9.20.11-4
ii  curl        8.14.1-2
ii  grepcidr    2.0-2
ii  ipcalc      0.51-1
ii  jq          1.7.1-6+deb13u1
ii  mtr-tiny    0.95-1.1+b1
ii  ncat        7.95+dfsg-3
ii  nmap        7.95+dfsg-3
ii  whois       5.6.3

asn recommends no packages.

asn suggests no packages.

-- no debconf information

Reply via email to