similar to: Difficulties with filtering based on TOS byte

Displaying 20 results from an estimated 10000 matches similar to: "Difficulties with filtering based on TOS byte"

2002 May 28
0
Ingress Filter Problem using TOS
Hi all I am attempting to police the incoming rate by using the ingress filter based on the TOS of the incoming packet. I used the following commands: tc qdisc add dev eth0 handle ffff: ingress tc filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip tos 0x10 0xff police rate 24kbit burst 1k drop flowid :1 On downloading a 6 Mb file which was TCP and TOS 0x10, this filter made on
2007 Jan 30
0
Problems matching tos on port 554
Hi There, I am trying to match mac address and tos at the same time. It mostly works for all ports, but recently I discovered that it doesn''t, for example it does not work on port 554. For each client I have two classes, one is the "good" traffic that I mark using iptables with the line, for example: /sbin/iptables -t mangle -A PREROUTING -p tcp --sport 554 -j TOS
2007 Aug 16
3
Unable to match/classify non-icmp traffic with TOS bigger than 0x10
This problem is driving nuts, so I am seeking help here. Your help will be deeply appreciated. I have made myself a Linux bridge with eth1 and eth0 to form br0. Then I run a script to configure tc with htb on it. But I can never match non-icmp traffic ( such as tcp and udp ) with TOS or DSCP values such as 0x68. The full story as follows :- 1. On the source testing machine, I do this to set
2005 Nov 15
3
can I use tos and fwmark at the same time?
Hello lartc maintainers and users! I have a router with two NICs. One NIC is connected to the Internet and the other to my internal LAN. I made a script for priorizing interactive traffic. The script matches TOS Minimize-Delay for priorizing interactive trafic, and fwmark for metropolitan packets. I have two root classes (simulating two circuits) : 1:1 for internet and 1:3 for metropolitan.
2008 Feb 22
0
is tos=ef same as tos=0xb8 same as DSCP ef ?
Trying to figure out how to prefer voip traffic on a dsl line. Found a great howto: http://www.howtoforge.com/voip_qos_traffic_shaping_iproute2_asterisk but I'm trying to figure out the relationship between the tos of iax.conf and tos of tc from Iproute2. my traffic goes from my linux router to a CPE cisco box. I understand Cisco uses tos ( usually referred to as DSCP, just to keep us on
2004 May 09
3
prerouting does not effect filtering
I try to shape traffic using HTB and mark packets within iptables using PREROUTING. But the filterrules seems to ignore the marks set with PREROUTING Only POSTROUTING marks are accepted. First my configuration I have a router connected to the internet via ADSL over interface ppp0. eth0 is a tunnel to ppp0 and eth1 serves the LAN. LAN is 192.168.57.0/24 on 10Mbit ppp0 is 80.126.16.44 on
2010 Apr 22
1
PRIO qdisc + iptables TOS target
i am trying to do some traffic classification using the PRIO qdisc and i am having a few problems. I have a root htb class: tc qdisc add dev imq0 root handle 1: htb default 255 r2q 1 tc class add dev imq0 parent 1: classid 1:1 htb rate 768kbit and a child PRIO tc class add dev imq0 parent 1:1 classid 1:99 htb rate 96kbit ceil 600kbit prio 0 tc qdisc add dev imq0 parent 1:99 prio tc filter
2005 May 10
1
Help with PRIO qdisc and filters
Hi, Sorry to bother you all. I have a typical problem sharing DSL upstream bandwidth with users. I have 3 types of traffic high-priority, medium-priority and low priority. My upstream rate is 960kbits. Traffic (any priority) can vary in bandwidth from 0 to 960kbits. I have a test setup where I can pump 600kbit of high priority sustained and I have 400kbit of low priority traffic sustained. I
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
Hi, complete newb and I apologise for it. I have a setup where my linux box has multiple broadband connection where I am routing certain things over certain interfaces, currently 2 links eth2 is a 1500/256 and eth3 is a 512/512, eth0 is the link to the LAN for users. What I am trying to do is traffic shape the information going out eth0 to the local users by the interface the traffic arrived
2006 Apr 07
0
PRIO and u32 matching problem
Hi to everybody I''m trying to use PRIO qdisc to prioritize the traffic but i have strange problem maybe I''m missing sometging. First i add root qdisc like this tc qdisc add dev eth0 root handle 1: prio it''s fine after this i try to match traffic by tos field but i get error invalid match tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \ match ip tos 0x10 0xff
2006 Feb 02
0
Linux Gateway Qos_2 interfaces (1 lan and 1 internet) problem
Hello...I have a Slackware based machine doing routing & QoS for my internal LAN users... It has two interfaces: eth1(100mbps) that connects to the aDSL modem(USR 9105) and eth0(100mbps) that connects to my local LAN... I''am using shorewall as a firewall...i think it''s configured well as it''s working as i want and i pass all the online firewall tests... :D All lan
2004 Jan 11
1
HTB rates aren''t enforced correctly
Hi! I recently changed my qdisc from CBQ and PRIO to only HTB, and I can''t really seem to get the rates to work as I want them to. I have eight classes, which I set up as follows: tc qdisc add dev eth1 root handle 1: htb default 122 tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit cburst 1500 burst 50kb tc class add dev eth1 parent 1:1 classid 1:11 htb prio 0
2006 Feb 01
0
prio test results
Hi, below are some test results from implementing a prio qdisc ''that is also below''. The qdisc is attacted to a vlan interface for my external network. Both tests were run at the same time. The links are policed at 6.0M ''by our provider''. 192.168.70.1 --> 192.168.30.1 My question is: If using a prio qdisc should''nt the iperf run with a tos of b8 have
2007 Mar 28
2
strict priority
I''m trying to configure 4 queues with strict priorities based on DSCP. I tried to following commands, but it seems that the filters I defined have no effect tc qdisc add dev eth0 root handle 1: prio bands 4 tc qdisc add dev eth0 parent 1:0 handle 10: pfifo limit 100 tc qdisc add dev eth0 parent 1:1 handle 20: pfifo limit 100 tc qdisc add dev eth0 parent 1:2 handle 30: pfifo limit 100 tc
2006 Jul 01
2
How to priorize VoIP in a Wi-Fi scenario? Default qdisc in Linux, PRIO, HTB and HFSC ...
Hi all, Long email but please be patient :) I am part of EHAS [1], a non profit organization which main goal is to improve the Healthcare assistance in isolated rural areas in developing countries. Recently we have developed a long distance Wi-Fi network in Cuzco (Peru). This network provides connectivity to 12 nodes (they are in fact Health Centers). As VoIP is a essential service in this
2007 Feb 05
2
tc filter matches ip fileds inside pppoe frames
I have a requirement which I guess it is not too unusually, however I haven''t quite figured out how to do it and couldn''t find any examples which handle that. I have made myself a Linux-based bridge, eth0 bridged with eth1 to form br0. In this bridge, I run ''tc'' script to handle QoS. So far nothing unusual. However, what''s different is that this
2007 Jun 27
1
Deleting a tc filter rule
Hi, I am very new to tc. I added a filter using the following command: tc filter add dev eth0 V parent 20:0 protocol ip prio 1 handle ::128 u32 match ip tos 0x44 0xfc flowid 20:1 To check if the filter rule was indeed added, I run tc filter show dev eth0 parent 20: This gave me the following output: filter protocol ip
2003 Nov 23
4
u32 filter won''t match
Hi! I really need help with a u32 filter that won''t match what I think I''m telling it to. The situation is that I have set up an internal computer to change the TOS value of packets sent by certain processes to 0x1E (If anyone known of a better way to mark packets, please tell me. I would love to find some module that adds an IP option with UIDs and GIDs to the packets - does
2004 Jun 28
0
Prioritizing interactive traffic does not work
Hello. In short Linux Advanced Routing & Traffic Control HOWTO''s chapter 15.4. Prioritizing interactive traffic does not help me at all. I have an asymmetric ADSL connection nominal 64Kbit in / 16Kbit out, real (based on bulk transfers measures) 256Kbit/26Kbit. First thing I would like to improve is to keep interactive (ssh) connection fast even if uplink is full. The test I make
2002 Apr 06
0
Clarification required for Prio in CBQ dequeing order
Hi, I have been modifying the Wonder shaper to include another queue. My understanding was packets would be de queued to hardware in the following order: cbq1 -> sfq10 > sfq20 > sfq30. Also we only move onto the next queue when the preceding one is empty. However is seems to be prio xx number that reflects the order packets are de queued not to what flowid they belong to. If I