Thread (5 messages) flat view 5 messages, 2 authors, 2022-09-12

Re: [PATCH 3/4] net-next: frags: add inetpeer frag_mem tracking

From: Eric Dumazet <edumazet@google.com>
Date: 2022-09-01 16:07:27
Also in: linux-doc, lkml, netfilter-devel

On Thu, Sep 1, 2022 at 8:03 AM Richard Gobert [off-list ref] wrote:
On Mon, Aug 29, 2022 at 03:15:47PM -0700, Eric Dumazet wrote:
quoted
We tried to get rid of any dependence over inetpeer, which is not
resistant against DDOS attacks.

So I would not add a new dependency.
I see your point. What do you suggest doing differently?

The inetpeer mechanism is used for IPv4 frags. If it isn't resistant
against DDoS attacks, can it perhaps be improved?
It can be disabled if needed, by changing ipfrag_max_dist sysctl.

Quite frankly IPv4 reassembly unit is a toy, I am always surprised
some applications are still relying on IP fragments.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help