Commit 9bfec89c authored by nimrod's avatar nimrod
Browse files

Better queuing for torrent traffic.

I think, not 100% sure. It's in use for a day now and seems to perform
better but opening new connections is still slow.
parent 80ee7659
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@ match on egress proto { ah, esp, gre, icmp } set queue critical set prio 6
match on egress proto tcp to port { smtp, www, https, submission, imaps } set queue services set prio 4
match on egress proto { tcp, udp } from kodi.shore.co.il port bittorrent set queue bulk set prio 1
match on egress proto { tcp, udp } to kodi.shore.co.il port bittorrent set queue bulk set prio 1
match on egress proto { tcp, udp } from kodi.shore.co.il tos 0x02 set queue bulk set prio 1
match on egress proto { tcp, udp } to kodi.shore.co.il tos 0x02 set queue bulk set prio 1

# Defaults
pass in quick proto tcp to (all:0) port ssh keep state (source-track rule, max 100, max-src-nodes 10, max-src-conn-rate 15/60, overload <brute> flush global)