Re: [Cake] diffserv based on firewall mark

2016-10-12 Thread moeller0
Hi Ching, > On Oct 12, 2016, at 14:40 , ching lu wrote: > > There is no need for cleansing dscp for wan ingress, I think it is > unnecessary, too > > In https://www.bufferbloat.net/projects/codel/wiki/Cake/ > > There is a statement: > > “The only way we know how to

Re: [Cake] diffserv based on firewall mark

2016-10-12 Thread ching lu
There is no need for cleansing dscp for wan ingress, I think it is unnecessary, too In https://www.bufferbloat.net/projects/codel/wiki/Cake/ There is a statement: "The only way we know how to “fix” bittorrent is to classify it somewhat, somehow, as “background”." But in fact, there is no

Re: [Cake] diffserv based on firewall mark

2016-10-12 Thread moeller0
Hi Ching? > On Oct 12, 2016, at 12:17 , ching lu wrote: > > > 2016年10月12日 下午6:05,"moeller0" 寫道: > > > > Hi Ching, > > > > > On Oct 12, 2016, at 11:35 , ching lu wrote: > > > > > > How to archive "cake follows iptables"? is it “wan

Re: [Cake] diffserv based on firewall mark

2016-10-12 Thread ching lu
For egress, setting DSCP field should work. iptables -> wan egress -> cake But is it possible to set DSCP to 0x0 after cake's classification? i do not know how ISP handle non-zero DSCP, there seems to be no standard for this. For ingress, DSCP field may not be set by network peer at all, and i

Re: [Cake] diffserv based on firewall mark

2016-10-12 Thread Jonathan Morton
> On 12 Oct, 2016, at 08:52, ching lu wrote: > > I deprioritize bittorrent traffic by marking related connections in > iptables (e.g. detect by port number) and route them to corresponding > HTB class and qdisc. > > How can i archive the same goal using the cake qdisc?