2013-06-20 12:28:24

by tingwei liu

[permalink] [raw]
Subject:

Hi, dears:

On Suse 11 sp2 3.0.13 kernel. After a few days, Nginx reply
packets with src ip 0.0.0.0 and dst ip 0.0.0.0。
Just like https://bbs.archlinux.org/viewtopic.php?id=129304. Is
there a bug?


Thanks very much!


Attachments:
2.png (43.46 kB)

2013-06-20 12:51:13

by Jiri Slaby

[permalink] [raw]
Subject: Re:

On 06/20/2013 02:28 PM, tingwei liu wrote:
> Hi, dears:
>
> On Suse 11 sp2 3.0.13 kernel. After a few days, Nginx reply
> packets with src ip 0.0.0.0 and dst ip 0.0.0.0。
> Just like https://bbs.archlinux.org/viewtopic.php?id=129304. Is
> there a bug?

You should better report this via suse's standard channels (suse
support/bugzilla). We cannot help you otherwise.

thanks,
--
js
suse labs

2013-06-24 01:43:07

by tingwei liu

[permalink] [raw]
Subject: Re:

On Thu, Jun 20, 2013 at 8:51 PM, Jiri Slaby <[email protected]> wrote:
> On 06/20/2013 02:28 PM, tingwei liu wrote:
>> Hi, dears:
>>
>> On Suse 11 sp2 3.0.13 kernel. After a few days, Nginx reply
>> packets with src ip 0.0.0.0 and dst ip 0.0.0.0。
>> Just like https://bbs.archlinux.org/viewtopic.php?id=129304. Is
>> there a bug?
>
> You should better report this via suse's standard channels (suse
> support/bugzilla). We cannot help you otherwise.
>
> thanks,
> --
> js
> suse labs

The problem has been fixed. It is a known bug has fixed by Eric Dumazet.

commit dfd25ffffc132c00070eed64200e8950da5d7e9d
Author: Eric Dumazet <[email protected]>
Date: Sat Mar 10 09:20:21 2012 +0000

tcp: fix syncookie regression

commit ea4fc0d619 (ipv4: Don't use rt->rt_{src,dst} in ip_queue_xmit())
added a serious regression on synflood handling.

Simon Kirby discovered a successful connection was delayed by 20 seconds
before being responsive.

In my tests, I discovered that xmit frames were lost, and needed ~4
retransmits and a socket dst rebuild before being really sent.

In case of syncookie initiated connection, we use a different path to
initialize the socket dst, and inet->cork.fl.u.ip4 is left cleared.

As ip_queue_xmit() now depends on inet flow being setup, fix this by
copying the temp flowi4 we use in cookie_v4_check().

Reported-by: Simon Kirby <[email protected]>
Bisected-by: Simon Kirby <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Tested-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>

2013-06-24 08:24:53

by Jiri Slaby

[permalink] [raw]
Subject: Re:

On 06/24/2013 03:43 AM, tingwei liu wrote:
> The problem has been fixed. It is a known bug has fixed by Eric Dumazet.
>
> commit dfd25ffffc132c00070eed64200e8950da5d7e9d
> Author: Eric Dumazet <[email protected]>
> Date: Sat Mar 10 09:20:21 2012 +0000

Which is a part of 3.0.26, pushed into the SLE kernel in Apr 2012...

--
js
suse labs