Package: deluged
Version: 1.3.15-2
Severity: important
Tags: ipv6

Dear Maintainer,

* What led up to the situation?

My system has both IPv4 and IPv6 connections and I used deluged to get
the debian-9.5.0-amd64-netinst.iso .

* What exactly did you do (or not do) that was effective (or
  ineffective)?

When I did an update tracker, I saw that 2 announce messages are sent.
One to the tracker's IPv4 address and one to the tracker's IPv6 address,
but the last one sent port=0 instead of the correct portnumber.

* What was the outcome of this action?

I did a tcpdump of the connection to the debian tracker and saw the
following data:

To 130.239.18.159 on port 6969:
..`.NGD.GET 
/announce?info_hash=%3b%1d%85%f8x%0e%f8%c4%d8S%8f%80%9azc%fcR%991%8e&peer_id=-DE13F0-a7HtrDr99EyW&port=28741&uploaded=0&downloaded=0&left=0&corrupt=0&key=EBA0497F&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0
 HTTP/1.1
Host: bttracker.debian.org:6969
User-Agent: Deluge 1.3.15
Accept-Encoding: gzip
Connection: close

and to 2001:6b0:e:2018::159 on port 6969:
..5ENGD.GET 
/announce?info_hash=%3b%1d%85%f8x%0e%f8%c4%d8S%8f%80%9azc%fcR%991%8e&peer_id=-DE13F0-a7HtrDr99EyW&port=0&uploaded=0&downloaded=0&left=0&corrupt=0&key=EBA0497F&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0
 HTTP/1.1
Host: bttracker.debian.org:6969
User-Agent: Deluge 1.3.15
Accept-Encoding: gzip
Connection: close

Here you can see the port=0 part of the announce message, which will
make the tracker think the client is listening on port 0, but it is not.

* What outcome did you expect instead?
I would expect that both the IPv4 and IPv6 announce messages would send
the correct port

* Additional information:
I used deluge-gtk to talk to the deluged daemon.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages deluged depends on:
ii  adduser            3.118
ii  deluge-common      1.3.15-2
ii  lsb-base           9.20170808
ii  python             2.7.15-3
ii  python-libtorrent  1.1.9-1

deluged recommends no packages.

deluged suggests no packages.

-- no debconf information

Reply via email to