and in this picture is cod priorisiation possibility to add in qosify ? like that generaly 3074 to 30000-45000 and inverse which source or destination ...
@anon78773196 regarding the source/destination port: you should just add the 2035 port. Port matching works like this: For egress traffic, the port is compared against the destination port, for ingress traffic against the source port.
Any udp not identified by another rule will be marked as CS4. See what happens after you fix the range syntax from udp:10000:30000 +CS5 to udp:10000-30000 CS5 (try with and without the + sign before CS5).
for add this information i download the packages "tee"
and i write on firewall.user for example
iptables -A POSTROUTING -t mangle -o br-lan ! -s 192.168.2.160 -j TEE --gateway 192myip of PC wired
iptables -A PREROUTING -t mangle -i br-lan ! -d 192.168.2.160 -j TEE --gateway 192.168.my ip of pc wired
Iâm not 100% certain since I donât use TEE or Wireshark much, but if youâre taking the traffic input on br-lan before it is sent through the wan tc filter with bpf (qosify) you wonât see the modified dscp yet.
The PREROUTING rule captures the original traffic before qosify can modify it. So I think this is just a flaw in the wireshark capture setup.
Others with more experience may correct me if Iâm wrong.
What rules? Theyâre not quite iptables rules and theyâre definitely not qosify rules. If those are in your /etc/qosify/*.conf files then they are being ignored due to invalid formats.
I was reading more of the qosify code and it looks to me like the priority of rules is:
IP rules (whether IP or DNS names) without + sign.
udp, tcp, or dscp_icmp port rules without + sign.
Default tcp or udp DSCP values (dscp_default_udp or dscp_default_tcp)
Non-bulk packets smaller than prio_max_avg_pkt_len get the dscp_prio value.
Bulk flows with packets per second greater than bulk_trigger_pps get the dscp_bulk value until they fall below that rate for bulk_trigger_timeout seconds(?).
Original DSCP from sending application or iptables rules, if set and no defaults set in #3.
IP rules (whether IP or DNS names) with + sign (e.g. +CS6).
udp, tcp, or dscp_icmp port rules with + sign (e.g. +CS6).
Iâm posting this more as a statement of my level of understanding on how the config is interpreted, but glad to be corrected by @nbd and make edits.
Small corrections: The dscp_prio and dscp_bulk marking only happens in cases where there are no ip/port rules. Original DSCP is preserved whenever the final DSCP mark is one with a +