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: <1389203751.26646.100.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Wed, 08 Jan 2014 09:55:51 -0800
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Christoph Paasch <christoph.paasch@...ouvain.be>
Cc:	netdev@...r.kernel.org, David Miller <davem@...emloft.net>,
	Yuchung Cheng <ycheng@...gle.com>, Julian Anastasov <ja@....bg>
Subject: Re: [PATCH net-next v2 2/5] tcp: metrics: Add source-address to
 tcp-metrics

On Wed, 2014-01-08 at 16:05 +0100, Christoph Paasch wrote:
> We add the source-address to the tcp-metrics, so that different metrics
> will be used per source/destination-pair. We use the destination-hash to
> store the metric inside the hash-table. That way, deleting and dumping
> via "ip tcp_metrics" is easy.

Note that this has the following problem :

Some applications use a set of source IP addresses to overcome the 64K
port limitation.

tcp_metrics uses a hard-coded TCP_METRICS_RECLAIM_DEPTH value of 5,
meaning that cache wont be able to store more than 5 source IP addresses
(reaching one particular remote IP).



--
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