Re: DDoS attack causing bad effect on conntrack searches

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Thursday, April 22, 2010 - 7:53 am

Le jeudi 22 avril 2010 à 16:36 +0200, Eric Dumazet a écrit :


On normal situation, we always finish the lookup :

1) If we found the thing we were looking at.

2) We get the list end (item not found), we then check if it is the
expected end.

It is _not_ the expected end only if some writer deleted/inserted an
element in _this_ chain during our lookup.

Because our lookup is lockless, we then have to redo it because we might
miss the object we are looking for.

If we can do the 'retry' a 10 times, it means the attacker was really
clever enough to inject new packets (new conntracks) at the right
moment, in the right hash chain, and this sounds so higly incredible
that I cannot believe it at all :)



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Thu Apr 22, 5:58 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Thu Apr 22, 6:17 am)
Re: DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Thu Apr 22, 6:31 am)
Re: DDoS attack causing bad effect on conntrack searches, Eric Dumazet, (Thu Apr 22, 7:53 am)
Re: DDoS attack causing bad effect on conntrack searches, Paul E. McKenney, (Thu Apr 22, 8:51 am)
Re: DDoS attack causing bad effect on conntrack searches, Paul E. McKenney, (Thu Apr 22, 9:34 am)
Re: DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Thu Apr 22, 1:38 pm)
Re: DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Thu Apr 22, 2:28 pm)
Re: DDoS attack causing bad effect on conntrack searches, Eric Dumazet, (Thu Apr 22, 10:44 pm)
Re: DDoS attack causing bad effect on conntrack searches, Jan Engelhardt, (Fri Apr 23, 12:23 am)
Re: DDoS attack causing bad effect on conntrack searches, Eric Dumazet, (Fri Apr 23, 12:46 am)
Re: DDoS attack causing bad effect on conntrack searches, Jan Engelhardt, (Fri Apr 23, 12:55 am)
Re: DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Fri Apr 23, 1:40 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Fri Apr 23, 3:35 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Fri Apr 23, 3:36 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Fri Apr 23, 3:55 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Fri Apr 23, 3:56 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Fri Apr 23, 4:06 am)
Re: DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Fri Apr 23, 5:45 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Fri Apr 23, 6:57 am)
Re: DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Sat Apr 24, 4:11 am)
Re: DDoS attack causing bad effect on conntrack searches, Jesper Dangaard Brouer, (Mon Apr 26, 7:36 am)
Re: DDoS attack causing bad effect on conntrack searches, Eric Dumazet, (Mon May 31, 10:05 pm)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Tue Jun 1, 3:18 am)
Re: DDoS attack causing bad effect on conntrack searches, Patrick McHardy, (Tue Jun 1, 3:41 am)
[PATCH nf-next-2.6] conntrack: IPS_UNTRACKED bit, Eric Dumazet, (Fri Jun 4, 9:25 am)
[PATCH nf-next-2.6 2/2] conntrack: per_cpu untracking, Eric Dumazet, (Fri Jun 4, 1:15 pm)
Re: [PATCH nf-next-2.6] conntrack: IPS_UNTRACKED bit, Patrick McHardy, (Tue Jun 8, 7:12 am)
Re: [PATCH nf-next-2.6 2/2] conntrack: per_cpu untracking, Patrick McHardy, (Tue Jun 8, 7:29 am)
Re: [PATCH nf-next-2.6 2/2] conntrack: per_cpu untracking, Patrick McHardy, (Wed Jun 9, 5:45 am)