[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1358961185.12374.853.camel@edumazet-glaptop>
Date: Wed, 23 Jan 2013 09:13:05 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Yannick Koehler <yannick@...hler.name>
Cc: Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org
Subject: Re: Unix Socket buffer attribution
On Wed, 2013-01-23 at 08:56 -0800, Eric Dumazet wrote:
> You'll have to add proper limits (SO_RCVBUF), accounting the truesize of
> all accumulated messages.
And if you claim being able to remove DOS attacks, you'll also have to
add global limits, at a very minimum.
(a la /proc/sys/net/ipv4/tcp_mem or /proc/sys/net/ipv4/udp_mem)
Its not an easy problem, unfortunately.
--
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