I am looking for a way to drop idle connections for bittorrent traffic only. The best way would be to us L7 Traffic but also certain ports or a range of ports. I know that I can drop all idle traffic with
echo 15 >/proc/net/expire_early
but this is not ideal as some of the other traffic may still be important.
EDIT: if I
cat /proc/net/ip_conntrack | grep UNREPLIED
These are the connections that I would like to drop. I think this will solve my problem…. Any ideas?
EDIT2: Under Advanced > Conntrack if I lower the TCP TIME WAIT from 120 (default) to 45 I seem to be limiting the amount of UNREPLIED connections. This may be the answer
Dropbox 2GB Free sync