Control: close -1 3.12.0-1 On Tue, 13 Jan 2009 21:57:56 +0100 Andreas Schuldei <andr...@debian.org > wrote: > Package: iproute > Version: 20080725-2 > Severity: normal > > > the parsing of the filter options for >= and/or <= seems flawed > as these results differ significantly: > > netstat -tn | awk '$4 ~/:406[0-9]/ && $6 == "ESTABLISHED" { ++num; } END { print num; }' > 17015 > > ss state established \( sport \>= :4060 sport \<= :4069 \) | wc -l > 4850 > > ss -n state established | awk '$3 ~ /:406[0-9]/ { ++num; } END { print num; }' > 16984 > > note that a long list of sports like this comes closer to the > correct result but fails because the list gets too long (i > guess): > > ss state established \( sport = :4060 or sport = :4061 or sport = :4062 or sport = :4063 or sport = :4064 or sport = :4065 or sport = :4066 \) | wc -l > 7675 > > one more sport in that list gives me this result: > > ss state established \( sport = :4060 or sport = :4061 or sport = :4062 or sport = :4063 or sport = :4064 or sport = :4065 or sport = :4066 or sport = :4067 \) > Recv-Q Send-Q Local Address:Port Peer Address:Port > Aborted
This has been fixed upstream a while ago, so closing manually. Thanks for sending the patch upstream. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part