Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10725 closed defect (fixed)

Transmission init.d and default config using wrong settings for defaults

Reported by: hechacker1@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:



Move from append_params "peer_socket_tos" to append_params_quote because "peer_socket_tos" is actually a string option, not a boolean setting.

Then, in /etc/config/transmission:

option peer_socket_tos 'lowcost': Should be lowcost by default as according to tranmission's wiki.

Right now with a boolean setting, tranmission is instead configured to do "default" TCP_TOS, which is OK, but harmful to other normal traffic.

Also, option utp_enabled false.

utp should be set to false by default. It has a bad behavior of using very small UDP packets (small as 150 bytes for some version of bittorrent). This floods the router with packets, and makes QoS based on UDP matching impossible. For example, the default QoS scripts set UDP packets with less than 500 bytes as an "express" priority.

Recent versions of uTP protocol still use UDP packets as small as 300 bytes for bulk transfer. It's better to just disable uTP and use TCP along with properly configured QoS.

I'd be happy to submit patches. Is there a simple how to for that? Or do I have to be the original developer?

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by obsy

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

Fixed in r29639, thanks.

Other option - settings are an individual case, the configuration should be adjusted to your own links.

comment:2 Changed 6 years ago by hechacker1@…

"Other option - settings are an individual case, the configuration should be adjusted to your own links."

Did you mean the setting in /etc/conf/transmission?

Because right now I believe it's still set to 1? Which is invalid for a string parameter.

Tranmission's wiki suggest TCP_TOS "lowcost" as the best default (at least it shouldn't harm any other traffic).

Your revision didn't change that parameter. I guess if you don't want to set a default, that option could be "default" which uses regular TCP settings. But you might as well set lowcost anyways. Unless somebody actually wants bittorrent to compete with normal TCP traffic.

comment:3 Changed 6 years ago by obsy

Sorry, I forgot to set value.

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.