dave14305
Part of the Furniture
Only Traditional QoS.hey can i set device priority under the Bandwith Monitor Tab in conjunction with qos?
Only Traditional QoS.hey can i set device priority under the Bandwith Monitor Tab in conjunction with qos?
So what if I had set some device to highest after enabling all "da tings" ? HehOnly Traditional QoS.
It wouldn't make a bit of difference, based on the details you've provided.So what if I had set some device to highest after enabling all "da tings" ? Heh
Is this something that will become part of cake itself, or will we need to add this to a file ourselves to get this feature?So far I'm liking this capability using ipsets. I want to use an ipset for everything now.
One application that eluded inbound tinning was Facetime. It doesn't seem to use a dedicated DNS name like other services. So I played with abitmap:port
ipset containing all the Facetime udp ports (3478-3497,16384-16402). Then added another tc filter putting all that into Video. I debated putting it into Voice, but left Voice for WiFi calling.
You could also add Zoom ports 8801-8810 as well, but I think Zoom will get added dynamically by the DNS names, if added to dnsmasq.conf.add.Code:ipset create videoports bitmap:port range 3400-17000 ipset add videoports 3478-3497 ipset add videoports 16384-16402 ipset create voiceports bitmap:port range 500-4500 ipset add voiceports 500 ipset add voiceports 4500 handle="$(tc qdisc show dev ifb4eth0 root | awk ' { print $3 } ')" tc filter add dev ifb4eth0 parent $handle protocol all prio 31 basic match 'ipset(videoports src)' action skbedit priority ${handle}3 tc filter add dev ifb4eth0 parent $handle protocol all prio 41 basic match 'ipset(voiceports src)' action skbedit priority ${handle}4
Anyway, still a lot of experimenting to do. And a reminder that you don't need to classify everything -- just the stuff that is very important or very unimportant. Everything else can linger in besteffort without any extra effort.
Haven’t decided how it would/should work for general purposes. I’m currently running at home with CAKE on br0 instead of ifb4eth0, so I could just iptables all the incoming traffic instead of tc filtering it. But that would be farther in the future (my experiments are many, my positive results are few).Is this something that will become part of cake itself, or will we need to add this to a file ourselves to get this feature?
FWIW, I ran it from the command line and it seemed to work.
I've spent quite a few hours at peak usage testing them all, including with custom configurations. I tweak QoS as I predominantly play UDP based AFPS, it's very obvious when QoS isn't coping both through the way the games react and the in game network graph. Thank you very much for your work on this, I'm looking forward to seeing if there is any improvement with the 2.2.0 beta during high use.Are you using diffserv4 for download, or just upload? Since streaming is primarily a download activity, and we don’t yet have a simple way to classify download traffic, many people stick with besteffort for download.
service restart_dnsmasq
cat /etc/dnsmasq.conf
It seemed fine when I was using it, but filtering by specific rules just felt like a lot of work.So what’s everyone’s experience with using the beta with dnsmasq ipsets?
I played with this some awhile back, using your ipset list. Just watching netflix , everything still goes to besteffort. Figured I had some user error somewhere. But text file attached. This is on the dreaded AX86uCode:ipset list -n iptables -t mangle -S CakeQOS-Merlin ip6tables -t mangle -S CakeQOS-Merlin tc -s filter show dev ifb4eth0 tc -s qdisc show dev eth0 tc -s qdisc show dev ifb4eth0 grep ^ipset= /jffs/configs/dnsmasq.conf.add
CakeFlexQoS? What madness is this?I am using your beta CakeFlexQoS solution and finding it an absolute dream.
Rock solid stable and great ping results.
Hehehe, technically it isn't quite in FlexQoS yet, but it is a planned feature.CakeFlexQoS? What madness is this?
I am using (and are a big fan of) Unbound. Can I use this version or will Unbound not honor the ipsets?So what’s everyone’s experience with using the beta with dnsmasq ipsets?
I am using (and are a big fan of) Unbound. Can I use this version or will Unbound not honor the ipsets?
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "cache-size=1500" "cache-size=0" $CONFIG
ipset=/googlevideo.com/amazonaws.com/netflix.com/nflxext.com/nflximg.net/nflxso.net/nflxvideo.net/dvd.netflix.com/aiv-cdn.net/r.cloudfront.net/aiv-delivery.net/video_4,video_6
ipset=/zoom.us/skype.com/voice_4,voice_6
ipset=/backblaze.com/backblazeb2.com/bulk_4,bulk_6
ipset=/ms-acdc.office.com/windowsupdate.com/update.microsoft.com/bulk_4,bulk_6
ipset=/onedrive.com/1drv.ms/1drv.com/bulk_4,bulk_6
Are you using DNSFilter? You probably need to make sure the FireTV is using the router DNS. I’d also suggest using Diversion just to be able to turn on logging so you can watch the queries and responses from the FireTV.I tried
Code:ipset=/googlevideo.com/amazonaws.com/netflix.com/nflxext.com/nflximg.net/nflxso.net/nflxvideo.net/dvd.netflix.com/aiv-cdn.net/r.cloudfront.net/aiv-delivery.net/video_4,video_6 ipset=/zoom.us/skype.com/voice_4,voice_6 ipset=/backblaze.com/backblazeb2.com/bulk_4,bulk_6 ipset=/ms-acdc.office.com/windowsupdate.com/update.microsoft.com/bulk_4,bulk_6 ipset=/onedrive.com/1drv.ms/1drv.com/bulk_4,bulk_6
Unfortunately I still can't see any sign that netflix (via FireTV, or SmartTV in the UK) is actually coming up in the video tin. I can't sniff what they're using currently, so it's quite likely I just don't have the right domains covered rather any errors in the setup, I'd had to hunt for suggestions from various forums.
Thanks again. BTW, I did notice that the cache-size setting in /etc/dnsmasq.conf is already set to 0. It seems ubound_managerd.sh already took care of this for me!As long as queries go through dnsmasq to Unbound, it will work. I have successfully tested that setup.
I suggest setting dnsmasq's cache-size to 0 in that arrangement, so its cache doesn't disrupt Unbound's prefetch feature.
I use a file called dnsmasq.postconf in /jffs/scripts/ with this in it:
Code:#!/bin/sh CONFIG=$1 source /usr/sbin/helper.sh pc_replace "cache-size=1500" "cache-size=0" $CONFIG
There may be other ways to accomplish the same goal, but I was already using that to modify the dnsmasq configuration.
I canceled Netflix a few months ago, so I wasn't able to test it with real videos, but fast.com speedtests do belong under the nflxvideo.net domain.I have added @dave14305 ipsets to dnsmasq.conf.add and they do show up in /etc/dnsmasq.conf.
I must not have cake-qos configured correctly. Playing a video on Netflix shows packets in Best Effort.
ipset list video_4
ipset list video_6
ipset list video
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!