Re: prio queue not working as expected?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-- 
http://www.wogri.at

On Jun 21, 2013, at 05:11 , Remy Mudingay <remy.mudingay@xxxxxxxxx> wrote:

> Hi Wolfgang,
> 
> Can you post the output from 'tc -s class dev wan0' and also include
> all filters for matching scp, ssh and telnet.

Hi Remy, 

tc -s class show dev wan0
class prio 1:1 parent 1: leaf 10: 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0 
class prio 1:2 parent 1: leaf 20: 
 Sent 97189 bytes 678 pkt (dropped 11, overlimits 409 requeues 0) 
 backlog 0b 0p requeues 0 
class prio 1:3 parent 1: leaf 30: 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0 
class tbf 20:1 parent 20: 

(this is after doing some fiddling with an interactive ssh session). 
There are no filters (neither tc nor iptables mangles), as far as I've understood prio should priorize according to it's priomap. 

here's a tcpdump: 

05:39:28.048426 IP (tos 0x10, ttl 64, id 60303, offset 0, flags [DF], proto TCP (6), length 52)
    x.x.x.x.50356 > y.y.y.y.22: Flags [.], cksum 0x545e (incorrect -> 0xc7ca), seq 0, ack 433, win 653, options [nop,nop,TS val 31327537 ecr 1639911627], length 0

oh. and maybe this is my issue: i see an incorrect checksum here on all those packets. maybe this is causing the troubles. is there a chance that this is happening because my interface is bridged? hm. I wonder how to deal with this (the actual communication works, btw). 

Wolfgang

> Cheers,
> 
> Remy

--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux