Registered Member
|
Hello.
I'm using ktorrent 3.3.4 and I've found a bug in the DSCP setting feature. DSCP field is set only for packets sent AFTER connection is made. Initial handshake has tos/dscp = 0. This may seem to be a small issue for simple traffic shaping, but it completely breaks policy routing. For example, I have 2 upstream links and I've set policy routing based on DSCP field to route torrent trafic to another ISP. In this configuration first packets of the connection go to the different uplink than the rest of transmission, which of course makes it unusable. Following patch fixes this issue for me:
Best regards. |
Moderator
|
Send that patch in a file, copy pasting from forums usually leads to patches which don't apply.
|
Registered Member
|
Sent to joris@ktorrent.org (the only contact email address I was able to find on the ktorrent.org) |
Moderator
|
OK, patch is committed, had to modify it though, given the recent changes in trunk due to µTP.
|
Registered Member
|
Looks good in svn, thanks.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]