[Cake] flow_hash vs host_hash

Sebastian Moeller moeller0 at gmx.de
Tue Oct 6 06:59:47 EDT 2015


Hi Jonathan,

On Oct 6, 2015, at 10:44 , Jonathan Morton <chromatix99 at gmail.com> wrote:

> 
>> On 6 Oct, 2015, at 11:39, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
>> 
>> Sebastian Moeller <moeller0 at gmx.de> writes:
>> 
>>> Ah, I see. I guess you are right, but on egress we could get back to
>>> the pre-nat addresses, like Vincent does in nxt_routed_hfsc.qos?
> 
> I can’t immediately see how that works.
> 
>> Ah, so there is a hook to get those; cool. Just need to make sure Cake
>> uses that, then :)
> 
> I think the better solution would be to implement that in the flow dissector.  Then Cake (and all other relevant qdiscs) will receive that information automatically.

	Certainly. But all of this hopefully does impede the implementation of the dual-flow-classifiying cake-mode; as even without those refinements the dual-mode should work well for IPv6 (assuming people do not game this by using excessive amounts of addresses per host) and non-NATed IPv4…

Best Regards
	Sebastian

> 
> - Jonathan Morton
> 




More information about the Cake mailing list