Skip to content

Conversation

@nicefile
Copy link

@nicefile nicefile commented Jan 24, 2025

Maintainer: @danwrt
Compile tested:
Run tested:

root@wdcm:/# ubus call system board
{
        "kernel": "6.6.63",
        "hostname": "wdcm",
        "system": "ARMv7 Processor rev 1 (v7l)",
        "model": "WD MyCloud Mirror Gen 2 (BWVZ/Grand Teton)",
        "board_name": "wd,cloud-mirror-gen2",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r28184-ac2d278528",
                "target": "mvebu/cortexa9",
                "description": "OpenWrt SNAPSHOT r28184-ac2d278528",
                "builddate": "1732473887"
        }
}

Description:
Recent transmission versions did change announce method for ipv6
(transmission/transmission#5336 (comment))

before:

root@wdcm:~# netstat -tunlp |grep 40444
tcp        0      0 0.0.0.0:40444           0.0.0.0:*               LISTEN      9358/transmission-d
tcp        0      0 :::40444                :::*                    LISTEN      9358/transmission-d
udp        0      0 0.0.0.0:40444           0.0.0.0:*                           9358/transmission-d
udp        0      0 :::40444                :::*                                9358/transmission-d

after

root@wdcm:~# netstat -tunlp |grep 40444
tcp        0      0 0.0.0.0:40444           0.0.0.0:*               LISTEN      12087/transmission-
tcp        0      0 0000:1111:2222:3333:4444:5555:6666:7777:40444 :::*                    LISTEN      12087/transmission-
udp        0      0 0.0.0.0:40444           0.0.0.0:*                           12087/transmission-
udp        0      0 0000:1111:2222:3333:4444:5555:6666:7777:40444 :::*                                12087/transmission-

I've done practical tests using ipv4 and ipv6 tracker torrent.ubuntu.com
port open test for ipv4 and ipv6 port.tools/port-checker shows both green (after router firewall configuration)

bind_address_ipv6 "" is not accepted in /etc/config/transmission and will cause transmission-daemon fail to start

@nicefile nicefile changed the title Add support for annoucing both IPV4 and IPV6 address to tracker Add support for announcing both IPV4 and IPV6 address to tracker Jan 24, 2025
@nicefile nicefile force-pushed the master branch 2 times, most recently from a98ceb3 to 0afff80 Compare January 25, 2025 09:33
@nicefile nicefile changed the title Add support for announcing both IPV4 and IPV6 address to tracker transmission: add support for announcing both IPV4 and IPV6 address to tracker Jan 25, 2025
@1715173329
Copy link
Member

cc @dangowrt

option alt_speed_time_end 1020
option alt_speed_up 50
option bind_address_ipv4 '0.0.0.0'
option bind_address_ipv6 '::'
Copy link
Member

@BKPepe BKPepe Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are saying that '' is not accepted, but I see it in blocklist_url. I think the issue is elsewhere.

Copy link
Author

@nicefile nicefile Sep 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see it

root@wdcm:~# grep block /mnt/sdc2/transmission/settings.json
"blocklist-enabled": false,
root@wdcm:~# grep block /etc/config/transmission
        option blocklist_enabled 'false'

peer_congestion_algorithm peer_socket_tos rpc_bind_address rpc_password rpc_url \
rpc_username rpc_host_whitelist rpc_whitelist script_torrent_done_filename watch_dir

echo '"bind-address-ipv6": "",'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think that this is right.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As explained above . Maybe doesn't look right but It's working as shown.

@GeorgeSapkin
Copy link
Member

This probably needs a PKG_RELEASE bump. Also the commit message could use better formatting as per submissions guidelines.

@Neustradamus
Copy link

@nicefile: Have you seen comments on your PR?

@nicefile nicefile force-pushed the master branch 2 times, most recently from 542ec5e to a89cc60 Compare October 26, 2025 21:12
@nicefile nicefile requested a review from BKPepe October 26, 2025 21:14
Transmission 4.0.x update method how IPv6 address is handled
This change allows announcing both IPv4 and IPv6 addresses to the tracker

tested and

Signed-off-by: Robert Senderek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants