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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111116094550.61b73eee@nehalam.linuxnetplumber.net>
Date:	Wed, 16 Nov 2011 09:45:50 -0800
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ss: report ecnseen

On Wed, 16 Nov 2011 05:51:27 +0100
Eric Dumazet <eric.dumazet@...il.com> wrote:

> Support ECNSEEN reporting in ss command.
> 
> ESTAB      0      0           10.170.73.123:4900
> 10.170.73.125:51001    uid:501 ino:385994 sk:f31e5f00
>          mem:(r0,w0,f0,t0) ts sack ecn ecnseen bic wscale:8,8 rto:210
> rtt:18.75/15 ato:40 cwnd:10 send 69.9Mbps rcv_space:32768
> 
> "ecn" means TCP session negociated ECN capability (TCP layer) at setup
> time
> 
> "ecnseen" at least one frame with ECT(0) or ECT(1) or ECN (IP layer) was
> received from peer.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> ---
>  include/netinet/tcp.h |    1 +
>  misc/ss.c             |    2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
> index 282b29c..95a4fe6 100644
> --- a/include/netinet/tcp.h
> +++ b/include/netinet/tcp.h
> @@ -172,6 +172,7 @@ enum
>  # define TCPI_OPT_SACK		2
>  # define TCPI_OPT_WSCALE	4
>  # define TCPI_OPT_ECN		8
> +# define TCPI_OPT_ECNSEEN	16

Please use same name as include/linux/tcp.h TCPI_OPT_ECN_SEEN
Also, need to get this to glibc to make it included in standard distro
headers.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ