Opened 11 years ago

Closed 11 years ago

#3373 closed Enhancement (invalid)

Dynamically change the binding ip

Reported by: slurdge Owned by: charles
Priority: Normal Milestone: None Set
Component: libtransmission Version: 2.01
Severity: Normal Keywords: patch
Cc:

Description

Hi,

It would be nice to have the possiblity to change the binding ip while transmission is running, like changing the port. I tried to write a patch that does this, but I'm not sure this is the proper way. It seems that this patch fails to remove the listening to the bound address but effectively closes all connections. Any advice on it ? This patch would allow an external script to change the ip based on external parameters (e.g. the interface, but also other things...)

This patch is related but has a somewhat different function: #2313.

Attachments (1)

change-binding-address-v1.patch (3.4 KB) - added by slurdge 11 years ago.
change-binding-address-v1

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by slurdge

change-binding-address-v1

comment:1 Changed 11 years ago by jordan

  • Resolution set to invalid
  • Status changed from new to closed

slurdge, I think this could be addressed by changing the bind address in settings.json and then sending a SIGHUP to the daemon s.t. it reload the config files.

Changing the bind address during runtime doesn't sound like a use case that will happen very frequently, so I'm not sure it's worth supporting in RPC... SIGHUP should be enough, IMO.

Note: See TracTickets for help on using tickets.