lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 31 Aug 2009 17:46:55 -0400 (EDT) From: Christoph Lameter <cl@...ux-foundation.org> To: netdev@...r.kernel.org cc: davem@...ux-foundation.org, eric.dumazet@...il.com Subject: UDP is bypassing qdisc statistics .... This is with 2.6.31-rc7. If I send icmp then its correctly registered as a packet by the qdisc layer: #tc -s qdisc show qdisc pfifo_fast 0: dev eth0 root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 10491 bytes 72 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 #ping yy PING yy (10.2.36.120) 56(84) bytes of data. 64 bytes from yy (10.2.36.120): icmp_seq=1 ttl=64 time=0.933 ms 64 bytes from yy (10.2.36.120): icmp_seq=2 ttl=64 time=0.122 ms 64 bytes from yy (10.2.36.120): icmp_seq=3 ttl=64 time=0.119 ms ^C --- yy ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.119/0.391/0.933/0.383 ms #tc -s qdisc show qdisc pfifo_fast 0: dev eth0 root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 10839 bytes 75 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 Now I overrun the transmitter with udp multicast traffic: #./mcast -n1 -r400000 Receiver: Listening to control channel 239.0.192.1 Receiver: Subscribing to 0 MC addresses 239.0.192-254.2-254 offset 0 origin 10.2.36.120 Sender: Sending 400000 msgs/ch/sec on 1 channels. Probe interval=0.001-1 sec. ^C Unsubscribing from multicast groups Done. #tc -s qdisc show qdisc pfifo_fast 0: dev eth0 root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 13359 bytes 101 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 The mcast invocation send over 3 million packets(!) but they are not accounted for in the qdisc. 500k of those were lost. Also not counted. The 26 packets receives are likely only covering the ssh session using TCP. Receiver log: yy#./mcast Receiver: Listening to control channel 239.0.192.1 Receiver: Subscribing to 1 MC addresses 239.0.192-254.2-254 offset 0 origin 10.2.36.121 TotalMsg Lost SeqErr TXDrop Msg/Sec KB/Sec Min/us Avg/us Max/us StdDv 3110416 531472 25555 531472 307958 0.0 151.45 1648.21 1875.68 499.92 Unsubscribing from 1 multicast addresses origin 10.2.36.121. What is wrong here? Is UDP bypassing the qdisc layer? Tried UDP unicast with similar effects. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists