Qosify: new package for DSCP marking + cake

good evening how do I know if there is a leak in qosify because my qosify is running very well but degrades over time I have the impression here are my settings based again on script elan ^^, I only use for livestreams on twitch and fps gaming

config defaults
	list defaults /etc/qosify/*.conf
	option dscp_prio video
	option dscp_icmp +besteffort
	option dscp_default_tcp besteffort
	option dscp_default_udp besteffort
	option prio_max_avg_pkt_len 500

config class bulk
	option ingress CS1
	option egress CS1

config class besteffort
	option ingress CS0
	option egress CS0
	option dscp_prio video
	option prio_max_avg_pkt_len 500

config class high_throughput_data
	option ingress AF12
	option egress AF12
	option dscp_prio AF11
	option prio_max_avg_pkt_len 1200
	option dscp_bulk CS1
	option bulk_trigger_pps 700
	option bulk_trigger_timeout 60

config class network_services
	option ingress CS2
	option egress CS2

config class live_streaming
	option ingress CS3
	option egress CS3

config class video
	option ingress AF41
	option egress AF41
	
config class gaming
	option ingress CS4
	option egress CS4

config interface wan
	option name wan
	option disabled 0
	option bandwidth_up 16mbit
	option bandwidth_down 56mbit
	option overhead_type bridged-ptm
	# defaults:
	option ingress 1
	option egress 1
	option mode diffserv4
	option nat 1
	option host_isolate 1
	option autorate_ingress 0
	option ingress_options ""
	option egress_options "wash"
	option options "ether-vlan"

and cofnig default now

# DNS
tcp:53		network_services
tcp:5353	network_services
udp:53		network_services
udp:5353	network_services

# NTP
udp:123		network_services

# SSH
tcp:22		network_services

# DNS over TLS (DoT)
tcp:853		video
udp:853		video

# HTTP (TCP)
tcp:80		+high_throughput_data
tcp:443		+high_throughput_data

# QUIC (UDP)
udp:80		+besteffort
udp:443		+besteffort

# BitTorrent (TCP)
tcp:6881-6889	bulk
tcp:6969	bulk
tcp:51413	bulk

# BitTorrent (UDP)
udp:6881-6889	bulk
udp:6969	bulk
udp:51413	bulk

# Usenet
tcp:119	bulk
tcp:563	bulk

# Bulk
dns:*.backblaze.com		bulk
dns:*.backblazeb2.com		bulk
dns:*.ms-acdc.office.com	bulk
dns:*.windowsupdate.com		bulk
dns:*.update.microsoft.com	bulk
dns:*.onedrive.com		bulk
dns:*.1drv.ms			bulk
dns:*.1drv.com			bulk
dns:*.sharepoint.com		bulk

# Xbox (UDP)
udp:88		gaming
udp:500		gaming
udp:3544	gaming
udp:4500	gaming

# PlayStation (TCP)
tcp:1935	gaming
tcp:3074-3076	gaming
tcp:3478-3480	gaming

# PlayStation (UDP)
udp:3074-3079	gaming
udp:3478-3479	gaming
udp:3659	gaming
udp:30000-45000	gaming

# Zoom, Microsoft Teams and Skype - Them use the same ports.
udp:3478-3481		video
udp:8801-8810		video

# GoToMeeting
udp:1853		video
udp:8200		video

# Webex Meeting
tcp:5004		video
udp:9000		video

# Jitsi Meet
udp:10000		video

# Google Meet
udp:19302-19309		video

# FaceTime
udp:16384-16472		video

# TeamViewer
tcp:5938		video
udp:5938		video

# Live Streaming to YouTube Live, Twitch, Vimeo and LinkedIn Live.
tcp:1935-1936		live_streaming
tcp:2396		live_streaming
tcp:2935		live_streaming






would there also be a possibility to deactivate the down with a # or by putting 0 in mbits example -->

#option bandwidth_down 56mbit
option bandwidth_down 0mbit

1 Like

If only gaming traffic is on the network and everything is wired then how you put stuff in cakes tins makes no difference. It only matters when there is competing traffic.

Imagine some customers at a bank waiting in line. The bank has a special line for VIP customers.... Now imagine only VIP customers are coming to the bank on tuesday.... The special line doesn't help! They all go in that line and they all wait the same as if the line didn't exist

3 Likes

ok thank you for his precision dlakelan aha very good example to understand :wink:

1 Like

@rodrigo-sm2 I am having problems building master due to the same clang issue reported quite a bit earlier in this thread. The answer was to install clang-12 on the host system, but after doing this clang still is not found. Is there something else needed to be done to get master to build with qosify?

EDIT: Able to get the build to proceed by setting Advanced->BPF Toolchain->Use Host BPF Toolchain in make menuconfig. But does this mean that the other option, "Build LLVM toolchain for eBPF" is broken?

Hi everyone!

I hope I'm not making a repeat question but searching in 500+ messages is hard :sweat_smile::sweat_smile::sweat_smile::sweat_smile:
I wanted to build qosify but I can't find it in make menuconfig unless I hremove the $(BPF_DEPENDS).

Any suggestions?

I’ve never tried to build it, but there is a llvm toolchain available.

Will it always be like this? Is it temporary? Cause it's not very user friendly when using the image builder

never had a problem with it

############## grep qosify manifest.*
manifest.r18086:qosify - 2021-11-12-bfc2cafe
manifest.r18161:qosify - 2021-11-21-2743e587
manifest.r18270:qosify - 2021-11-22-06872673
manifest.r18325:qosify - 2021-11-22-06872673
manifest.r18436:qosify - 2021-11-22-06872673
manifest.r18504:qosify - 2021-11-22-06872673
manifest.r18523:qosify - 2021-11-22-06872673
manifest.r18523ujail:qosify - 2021-11-22-06872673
manifest.r18531:qosify - 2021-11-22-06872673
manifest.r18568:qosify - 2021-11-22-06872673
manifest.r18609:qosify - 2021-11-22-06872673
manifest.r18621-fw3:qosify - 2021-11-22-06872673
manifest.r18621-fw4:qosify - 2021-11-22-06872673

Right now I'm trying to build it but I'm having issues, I'm still trying to figure out what's wrong.
I mean, having to select the advanced developer options leaves one thinking that it's none of their business in there :sweat_smile:

1 Like

hi everybody qosify work perfectly for the moment

i has replaced this rules like this

# SSH
tcp:22		network_services

# NTP
udp:123		network_services

# DNS
tcp:53		network_services
tcp:5353	network_services
udp:53		network_services
udp:5353	network_services

# DNS over TLS (DoT)
tcp:853		multimedia_conferencing
udp:853		multimedia_conferencing

# HTTP/QUIC
tcp:80		+high_throughput_data
tcp:443		+high_throughput_data
tcp:8080	+high_throughput_data
udp:80		+besteffort
udp:443		+besteffort

# Bulk
dns:*.backblaze.com		bulk
dns:*.backblazeb2.com		bulk
dns:*.ms-acdc.office.com	bulk
dns:*.windowsupdate.com		bulk
dns:*.update.microsoft.com	bulk
dns:*.onedrive.com		bulk
dns:*.1drv.ms			bulk
dns:*.1drv.com			bulk
dns:*.sharepoint.com		bulk

# YouTube
dns:*.googlevideo.com		multimedia_streaming

# NetFlix
dns:*.nflxvideo.net		multimedia_streaming

# BitTorrent
tcp:6881-6889		bulk
tcp:6969		bulk
tcp:51413		bulk
udp:6881-6889		bulk
udp:6969		bulk
udp:51413		bulk

# Usenet
tcp:119			bulk
tcp:563			bulk

# Live Streaming to YouTube Live, Twitch, Vimeo and LinkedIn Live
tcp:1935-1936		broadcast_video
tcp:2396		broadcast_video
tcp:2935		broadcast_video

# Xbox
tcp:3074		gaming
udp:88			gaming
udp:500			gaming
udp:3074		gaming
udp:3544		gaming
udp:4500		gaming

# PlayStation
tcp:3478-3480		gaming
#udp:3478-3479		gaming # UDP ports already used in "Zoom" rules

# Call of Duty
#tcp:3074		gaming # TCP port already used in "Xbox" rules
tcp:3075-3076		gaming
#udp:3074		gaming # UDP port already used in "Xbox" rules
udp:3075-3079		gaming
udp:3658		gaming

# FIFA
tcp:3659		gaming
udp:3659		gaming

# Minecraft
tcp:25565		gaming
udp:19132-19133		gaming
udp:25565		gaming

# Zoom, Microsoft Teams and Skype (they use the same ports)
udp:3478-3481		multimedia_conferencing
udp:8801-8810		multimedia_conferencing

# GoToMeeting
udp:1853		multimedia_conferencing
udp:8200		multimedia_conferencing

# Webex Meeting
tcp:5004		multimedia_conferencing
udp:9000		multimedia_conferencing

# Jitsi Meet
udp:10000		multimedia_conferencing

# Google Meet
udp:19302-19309		multimedia_conferencing

# FaceTime
udp:16384-16472		multimedia_conferencing

# TeamViewer
tcp:5938		multimedia_conferencing
udp:5938		multimedia_conferencing

# Voice over Internet Protocol (VoIP)
tcp:5060-5061		telephony
udp:5060-5061		telephony

# Voice over WiFi or WiFi Calling (VoWiFi)
udp:500			telephony
udp:4500		telephony

:wink: tell me than you think my gameplay is very impressive

and my settings for my connexion

config defaults
	list defaults /etc/qosify/*.conf
	option dscp_prio multimedia_conferencing
	option dscp_icmp +besteffort
	option dscp_default_tcp besteffort
	option dscp_default_udp besteffort
	option prio_max_avg_pkt_len 500

config class bulk
	option ingress CS1
	option egress CS1

config class besteffort
	option ingress CS0
	option egress CS0
	option dscp_prio multimedia_conferencing
	option prio_max_avg_pkt_len 500

config class high_throughput_data
	option ingress AF12
	option egress AF12
	option dscp_prio AF11
	option prio_max_avg_pkt_len 500
	option dscp_bulk bulk
	option bulk_trigger_pps 700
	option bulk_trigger_timeout 10

config class network_services
	option ingress CS2
	option egress CS2

config class broadcast_video
	option ingress CS3
	option egress CS3

config class multimedia_streaming
	option ingress AF32
	option egress AF32
	option dscp_prio AF31
	option prio_max_avg_pkt_len 500
	option dscp_bulk AF33
	option bulk_trigger_pps 500
	option bulk_trigger_timeout 5

config class gaming
	option ingress CS4
	option egress CS4

config class multimedia_conferencing
	option ingress AF42
	option egress AF42
	option dscp_prio AF41
	option prio_max_avg_pkt_len 500

config class telephony
	option ingress EF
	option egress EF

config interface wan
	option name wan
	option disabled 0
	option bandwidth_up 16mbit
	option bandwidth_down 56mbit
	option overhead_type bridged-ptm
	# defaults:
	option ingress 1
	option egress 1
	option mode diffserv4
	option nat 1
	option host_isolate 1
	option autorate_ingress 0
	option ingress_options ""
	option egress_options "wash"
	option options ""

config device wandev
	option disabled 1
	option name wan
1 Like

Ok, at least its independend from the type of filtering. i ahve the same with udp, tcp or dns only.

Sad, because its not really usefull if its crashing again and again :expressionless:

1 Like

I recommend that you use the Online Image Builder to build your custom OpenWrt firmware (with packages that you want already installed in the firmware, along with some commands to run on first boot):

Example:

  1. On "Custom package selection" ADD to the end of the last package, these packages:

    • qosify auc luci-app-attendedsysupgrade
  2. On "Custom script to run on first boot (optional)" ADD if you want:

  3. Request Build, wait and download the firmware, then flash the firmware and configure the router from scratch (don't use a backup).

P.S. Don't delete the packages that appear in "Custom package selection", they are necessary or you will brick the router, but you can replace those packages if you want.

2 Likes

It doesn't support Xiaomi ax3600 router... Is my router supported??

1 Like

no your router is not in this list wait because AX3600 is an development ....

1 Like

Going back so snapshot is not an option for me. And as you can see other ppl on Snapshot have the same issues. So i will wait for an update for now, even when qosify is crashing, the qdisc is still working at least.

Anyway thanks for trying to help :slight_smile:

2 Likes

Is there any way to limit steam and epic downloads?

1 Like

Yes thanks elan , i will test tonight after my work :ok_hand::wink:

1 Like

test this settings

config defaults
	list defaults /etc/qosify/*.conf
	option dscp_prio multimedia_conferencing
	option dscp_icmp +CS0
	option dscp_default_tcp besteffort
	option dscp_default_udp besteffort
	option prio_max_avg_pkt_len 500

config class bulk
	option ingress CS1
	option egress CS1

config class besteffort
	option ingress CS0
	option egress CS0
	option dscp_prio multimedia_conferencing
	option prio_max_avg_pkt_len 500

config class high_throughput_data
	option ingress AF11
	option egress AF11
	option dscp_prio multimedia_conferencing
	option prio_max_avg_pkt_len 500
	option dscp_bulk bulk
	option bulk_trigger_pps 700
	option bulk_trigger_timeout 30

config class network_services
	option ingress CS2
	option egress CS2

config class broadcast_video
	option ingress CS3
	option egress CS3

config class gaming
	option ingress CS4
	option egress CS4

config class multimedia_conferencing
	option ingress AF42
	option egress AF42
	option dscp_prio AF41
	option prio_max_avg_pkt_len 500

config class telephony
	option ingress EF
	option egress EF

config interface wan
	option name wan
	option disabled 0
	option bandwidth_up 16mbit
	option bandwidth_down 56mbit
	option overhead_type bridged-ptm
	# defaults:
	option ingress 1
	option egress 1
	option mode diffserv4
	option nat 1
	option host_isolate 1
	option autorate_ingress 0
	option ingress_options ""
	option egress_options "wash"
	option options ""

config device wandev
	option disabled 1
	option name wan
	option bandwidth 100mbit
# SSH
tcp:22		network_services

# NTP
udp:123		network_services

# DNS
tcp:53		network_services
tcp:5353	network_services
udp:53		network_services
udp:5353	network_services

# DNS over TLS (DoT)
tcp:853		multimedia_conferencing
udp:853		multimedia_conferencing

# HTTP/QUIC
tcp:80		+high_throughput_data
tcp:443		+high_throughput_data
tcp:8080	+high_throughput_data
udp:80		+besteffort
udp:443		+besteffort

# Microsoft (Bulk)
dns:*1drv*			bulk
dns:*backblaze*			bulk
dns:*backblazeb2*		bulk
dns:*ms-acdc.office*		bulk
dns:*onedrive*			bulk
dns:*sharepoint*		bulk
dns:*update.microsoft*		bulk
dns:*windowsupdate*		bulk

# MEGA (Download)
dns:*mega*			bulk

# Dropbox (Download)
dns:*dropboxusercontent*	bulk

# Steam (Download)
dns:*steamcontent*		bulk

# Epic Games (Download)
dns:*download.epicgames*	bulk
dns:*download2.epicgames*	bulk
dns:*download3.epicgames*	bulk
dns:*download4.epicgames*	bulk
dns:*epicgames-download1*	bulk

# YouTube
dns:*googlevideo*	besteffort

# Twitch
dns:*ttvnw*		besteffort

# Netflix
dns:*nflxvideo*		besteffort

# Amazon Prime Video
dns:*aiv-cdn*		besteffort
dns:*aiv-delivery*	besteffort
dns:*pv-cdn*		besteffort

# Disney Plus
dns:*disney*		besteffort
dns:*dssott*		besteffort

# HBO
dns:*hbo*		besteffort
dns:*hbomaxcdn*		besteffort

# BitTorrent
tcp:6881-6889		bulk
tcp:6969		bulk
tcp:51413		bulk
udp:6881-6889		bulk
udp:6969		bulk
udp:51413		bulk

# Usenet
tcp:119			bulk
tcp:563			bulk

# Live Streaming to YouTube Live, Twitch, Vimeo and LinkedIn Live
tcp:1935-1936		broadcast_video
tcp:2396		broadcast_video
tcp:2935		broadcast_video

# Xbox
tcp:3074		gaming
udp:88			gaming
udp:500			gaming
udp:3074		gaming
udp:3544		gaming
udp:4500		gaming

# PlayStation
tcp:3478-3480		gaming
#udp:3478-3479		gaming # UDP ports already used in "Zoom" rules

# Call of Duty
#tcp:3074		gaming # TCP port already used in "Xbox" rules
tcp:3075-3076		gaming
#udp:3074		gaming # UDP port already used in "Xbox" rules
udp:3075-3079		gaming
udp:3658		gaming

# FIFA
tcp:3659		gaming
udp:3659		gaming

# Minecraft
tcp:25565		gaming
udp:19132-19133		gaming
udp:25565		gaming

# Zoom, Microsoft Teams, Skype and FaceTime (they use these same ports)
udp:3478-3497		multimedia_conferencing

# Zoom
dns:*zoom*		multimedia_conferencing
tcp:8801-8802		multimedia_conferencing
udp:8801-8810		multimedia_conferencing

# FaceTime
udp:16384-16387		multimedia_conferencing
udp:16393-16402		multimedia_conferencing

# GoToMeeting
udp:1853		multimedia_conferencing
udp:8200		multimedia_conferencing

# Webex Meeting
tcp:5004		multimedia_conferencing
udp:9000		multimedia_conferencing

# Jitsi Meet
tcp:5349		multimedia_conferencing
udp:10000		multimedia_conferencing

# Google Meet
udp:19302-19309		multimedia_conferencing

# TeamViewer
tcp:5938		multimedia_conferencing
udp:5938		multimedia_conferencing

# Voice over Internet Protocol (VoIP)
tcp:5060-5061		telephony
udp:5060-5061		telephony

# Voice over WiFi or WiFi Calling (VoWiFi)
udp:500			telephony
udp:4500		telephony
1 Like

I'll check them out. Thanks.

2 Likes

@elan So far, every influx of data is being set correctly in each of the tins. Great, thanks.

2 Likes