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)
This commit is contained in:
Rosen Penev
2019-09-08 18:39:33 -07:00
parent 4a82137613
commit e8438eb67a
5 changed files with 34 additions and 83 deletions
@@ -1,2 +1,6 @@
# 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