Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] OpenWRT, DSCP & 6in4 tunneling - a hint!
@ 2015-12-10 14:30 Kevin Darbyshire-Bryant
  2015-12-10 15:12 ` Dave Taht
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Darbyshire-Bryant @ 2015-12-10 14:30 UTC (permalink / raw)
  To: cake

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

Those following my recent journey on trying to get dcsp info from inner
ipv6 headers to the outer ipv4 tunnel headers and as a result get cake
to classify traffic correctly, may be interested in the following solution:

add "option tos 'inherit'" to the 'wan6' interface definition in
/etc/config/network


I can't find any documentation covering this on the openwrt site which
lead to quite an investigation starting from 'sit.c' in the kernel,
iproute2, busybox, openwrt's netifd and finally the '6in4.sh' that it calls.

The odd thing is that I swear this used to work by default!


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4816 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Cake] OpenWRT, DSCP & 6in4 tunneling - a hint!
  2015-12-10 14:30 [Cake] OpenWRT, DSCP & 6in4 tunneling - a hint! Kevin Darbyshire-Bryant
@ 2015-12-10 15:12 ` Dave Taht
  2015-12-10 16:40   ` Kevin Darbyshire-Bryant
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Taht @ 2015-12-10 15:12 UTC (permalink / raw)
  To: Kevin Darbyshire-Bryant; +Cc: cake

it did work by default in cerowrt. I would prefer it be the default now...

but if you could update the openwrt wiki to point to it, that would be nice.
Dave Täht
Let's go make home routers and wifi faster! With better software!
https://www.gofundme.com/savewifi


On Thu, Dec 10, 2015 at 3:30 PM, Kevin Darbyshire-Bryant
<kevin@darbyshire-bryant.me.uk> wrote:
> Those following my recent journey on trying to get dcsp info from inner
> ipv6 headers to the outer ipv4 tunnel headers and as a result get cake
> to classify traffic correctly, may be interested in the following solution:
>
> add "option tos 'inherit'" to the 'wan6' interface definition in
> /etc/config/network
>
>
> I can't find any documentation covering this on the openwrt site which
> lead to quite an investigation starting from 'sit.c' in the kernel,
> iproute2, busybox, openwrt's netifd and finally the '6in4.sh' that it calls.
>
> The odd thing is that I swear this used to work by default!
>
>
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Cake] OpenWRT, DSCP & 6in4 tunneling - a hint!
  2015-12-10 15:12 ` Dave Taht
@ 2015-12-10 16:40   ` Kevin Darbyshire-Bryant
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Darbyshire-Bryant @ 2015-12-10 16:40 UTC (permalink / raw)
  To: Dave Taht; +Cc: cake

[-- Attachment #1: Type: text/plain, Size: 1532 bytes --]

On 10/12/15 15:12, Dave Taht wrote:
> it did work by default in cerowrt. I would prefer it be the default now...
> 
> but if you could update the openwrt wiki to point to it, that would be nice.

Ha!  I tell porkie pies.  It *does* appear in
https://wiki.openwrt.org/doc/uci/network *but* as 'tos'.  DSCP doesn't
appear so I didn't find/go looking for it there.

So I'll edit that page to at least mention DSCP and I'll also see if I
can figure out where to set a default of 'inherit'.


> Dave Täht
> Let's go make home routers and wifi faster! With better software!
> https://www.gofundme.com/savewifi
> 
> 
> On Thu, Dec 10, 2015 at 3:30 PM, Kevin Darbyshire-Bryant
> <kevin@darbyshire-bryant.me.uk> wrote:
>> Those following my recent journey on trying to get dcsp info from inner
>> ipv6 headers to the outer ipv4 tunnel headers and as a result get cake
>> to classify traffic correctly, may be interested in the following solution:
>>
>> add "option tos 'inherit'" to the 'wan6' interface definition in
>> /etc/config/network
>>
>>
>> I can't find any documentation covering this on the openwrt site which
>> lead to quite an investigation starting from 'sit.c' in the kernel,
>> iproute2, busybox, openwrt's netifd and finally the '6in4.sh' that it calls.
>>
>> The odd thing is that I swear this used to work by default!
>>
>>
>> _______________________________________________
>> Cake mailing list
>> Cake@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/cake
>>



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4816 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-10 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-10 14:30 [Cake] OpenWRT, DSCP & 6in4 tunneling - a hint! Kevin Darbyshire-Bryant
2015-12-10 15:12 ` Dave Taht
2015-12-10 16:40   ` Kevin Darbyshire-Bryant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox