AICCU and TOS
![]()
Hello,
does AICCU relay TOS values?
AICCU and TOS
![]()
As far as I can see Linux 6in4 implementation (sit) is copying TOS field from higher layer to lower:
iph->tos = INET_ECN_encapsulate(tos, ipv6_get_dsfield(iph6));
(net/ipv6/sit.c:851)
As for UDP (tun/tap) implementation - I didn't find such behaviour in aiccu/common/tun.c
AICCU and TOS
![]()
I'm sorry, but I'm not very familiar with network programming, but where is the code that actually forwards the packet, and how can I change it to copy the TOS field?
The problem simply is that I'm at a very narrow network connection (an ADSL line) which I would like to use as efficient as possible particularly since I want to start doing video telephony via IPv6. Now I use the same line for IPv6 as well as legacy IPv4. I'm using an AYIYA tunnel.
Of course one solution would be to use 2 routers. One doing the NA(P)T for IPv4 and running AICCU, the other one throttling down the traffic and throwing away non essential packets, hopefully seeing IPv4 and IPv6 traffic in unison.
AICCU and TOS
I've added the 'tunneltos' option to AICCU which is enabled per default this should have the same behaviour for the AYIYA protocol as the kernel variant for proto-41 tunnels.
Hopefully the new AICCU will be ready soon, but it needs a few more fixes and updates to make it worthy of a release and github distribution.
AICCU and TOS
![]()
Thank you very much!
AICCU and TOS
![]()
Hmm, maybe I'm wrong, but it seems like changing my tunnel to 6in4-heartbeat would preserve the TOS and therefore solve my problem. Could that work?
AICCU and TOS
That would do the trick today, otherwise wait a week or two max for the new AICCU which can do it for AYIYA tunnels too.
|