packages/net/transmission/files/transmission.sysctl
Rosen Penev e8438eb67a
transmission: Fix tracker issue with some firewalls
Some firewalls mandate a minimum size of 4k for SYN packets, which
transmission does not do by default. Upstream issue here:

https://github.com/transmission/transmission/issues/964

Cleanup:

Fixed license info.

Removed two unnecessary patches.

Ran shell script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 730a1697fe)
2019-11-24 19:08:20 -08:00

6 lines
191 B
Text

# Transmission requests large buffers by default
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
# Some firewalls block SYN packets that are too small
net.ipv4.tcp_adv_win_scale = 4