All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Crazy TCP bug (keepalive flood?) in 2.6.32?
@ 2009-12-26 15:03 Denys Fedoryshchenko
  2009-12-26 19:24 ` Ilpo Järvinen
  2010-01-11 13:02 ` Ilpo Järvinen
  0 siblings, 2 replies; 24+ messages in thread
From: Denys Fedoryshchenko @ 2009-12-26 15:03 UTC (permalink / raw)
  To: Ilpo Järvinen, netdev

Few more dumps. I notice:
1)Ack always equal 1
2)It is usually first segment of data sent (?)

Maybe some value not initialised properly?


17:03:50.406118 IP (tos 0x0, ttl 64, id 57958, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.199.39.1472: Flags [.], seq 0:1452, ack 1, 
win 7479, length 1452
17:03:50.407413 IP (tos 0x0, ttl 64, id 57959, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.199.39.1472: Flags [.], seq 0:1452, ack 1, 
win 7479, length 1452
17:03:50.408516 IP (tos 0x0, ttl 64, id 57960, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.199.39.1472: Flags [.], seq 0:1452, ack 1, 
win 7479, length 1452
17:03:50.409553 IP (tos 0x0, ttl 64, id 57961, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.199.39.1472: Flags [.], seq 0:1452, ack 1, 
win 7479, length 1452
17:03:50.410424 IP (tos 0x0, ttl 64, id 57962, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.199.39.1472: Flags [.], seq 0:1452, ack 1, 
win 7479, length 1452



17:04:39.801149 IP (tos 0x0, ttl 64, id 19431, offset 0, flags [DF], proto TCP 
(6), length 517)
    194.146.153.114.8080 > 172.16.107.14.1405: Flags [P.], cksum 0x51c6 
(correct), seq 0:477, ack 1, win 8730, length 477
17:04:39.802538 IP (tos 0x0, ttl 64, id 19432, offset 0, flags [DF], proto TCP 
(6), length 517)
    194.146.153.114.8080 > 172.16.107.14.1405: Flags [P.], cksum 0x51c6 
(correct), seq 0:477, ack 1, win 8730, length 477
17:04:39.803438 IP (tos 0x0, ttl 64, id 19433, offset 0, flags [DF], proto TCP 
(6), length 517)
    194.146.153.114.8080 > 172.16.107.14.1405: Flags [P.], cksum 0x51c6 
(correct), seq 0:477, ack 1, win 8730, length 477
17:04:39.804251 IP (tos 0x0, ttl 64, id 19434, offset 0, flags [DF], proto TCP 
(6), length 517)
    194.146.153.114.8080 > 172.16.107.14.1405: Flags [P.], cksum 0x51c6 
(correct), seq 0:477, ack 1, win 8730, length 477
17:04:39.805050 IP (tos 0x0, ttl 64, id 19435, offset 0, flags [DF], proto TCP 
(6), length 517)
    194.146.153.114.8080 > 172.16.107.14.1405: Flags [P.], cksum 0x51c6 
(correct), seq 0:477, ack 1, win 8730, length 477

17:06:22.123862 IP (tos 0x0, ttl 64, id 25912, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.180.148.50101: Flags [.], seq 0:1452, ack 1, 
win 108, length 1452
17:06:22.124440 IP (tos 0x0, ttl 64, id 25913, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.180.148.50101: Flags [.], seq 0:1452, ack 1, 
win 108, length 1452
17:06:22.125600 IP (tos 0x0, ttl 64, id 25914, offset 0, flags [DF], proto TCP 
(6), length 1492)
    194.146.153.114.8080 > 172.16.180.148.50101: Flags [.], seq 0:1452, ack 1, 
win 108, length 1452
^C17:06:22.126243 IP (tos 0x0, ttl 64, id 25915, offset 0, flags [DF], proto 
TCP (6), length 1492)
    194.146.153.114.8080 > 172.16.180.148.50101: Flags [.], seq 0:1452, ack 1, 
win 108, length 1452



17:06:43.404279 IP (tos 0x0, ttl 64, id 10279, offset 0, flags [DF], proto TCP 
(6), length 768)
    194.146.153.114.8080 > 172.16.199.151.49404: Flags [FP.], cksum 0x4ac3 
(correct), seq 0:728, ack 1, win 9816, length 728
17:06:43.405819 IP (tos 0x0, ttl 64, id 10281, offset 0, flags [DF], proto TCP 
(6), length 768)
    194.146.153.114.8080 > 172.16.199.151.49404: Flags [FP.], cksum 0x4ac3 
(correct), seq 0:728, ack 1, win 9816, length 728
17:06:43.406670 IP (tos 0x0, ttl 64, id 10282, offset 0, flags [DF], proto TCP 
(6), length 768)
    194.146.153.114.8080 > 172.16.199.151.49404: Flags [FP.], cksum 0x4ac3 
(correct), seq 0:728, ack 1, win 9816, length 728
17:06:43.407821 IP (tos 0x0, ttl 64, id 10283, offset 0, flags [DF], proto TCP 
(6), length 768)
    194.146.153.114.8080 > 172.16.199.151.49404: Flags [FP.], cksum 0x4ac3 
(correct), seq 0:728, ack 1, win 9816, length 728


17:07:09.933303 IP (tos 0x0, ttl 64, id 41731, offset 0, flags [DF], proto TCP 
(6), length 555)
    194.146.153.114.8080 > 172.16.175.130.1692: Flags [P.], cksum 0x7d98 
(correct), seq 0:515, ack 1, win 6432, length 515
17:07:09.934305 IP (tos 0x0, ttl 64, id 41732, offset 0, flags [DF], proto TCP 
(6), length 555)
    194.146.153.114.8080 > 172.16.175.130.1692: Flags [P.], cksum 0x7d98 
(correct), seq 0:515, ack 1, win 6432, length 515
17:07:09.935076 IP (tos 0x0, ttl 64, id 41733, offset 0, flags [DF], proto TCP 
(6), length 555)
    194.146.153.114.8080 > 172.16.175.130.1692: Flags [P.], cksum 0x7d98 
(correct), seq 0:515, ack 1, win 6432, length 515
17:07:09.935887 IP (tos 0x0, ttl 64, id 41734, offset 0, flags [DF], proto TCP 
(6), length 555)
    194.146.153.114.8080 > 172.16.175.130.1692: Flags [P.], cksum 0x7d98 
(correct), seq 0:515, ack 1, win 6432, length 515
17:07:09.937096 IP (tos 0x0, ttl 64, id 41735, offset 0, flags [DF], proto TCP 
(6), length 555)
    194.146.153.114.8080 > 172.16.175.130.1692: Flags [P.], cksum 0x7d98 
(correct), seq 0:515, ack 1, win 6432, length 515
17:07:09.938083 IP (tos 0x0, ttl 64, id 41736, offset 0, flags [DF], proto TCP 
(6), length 555)
    194.146.153.114.8080 > 172.16.175.130.1692: Flags [P.], cksum 0x7d98 
(correct), seq 0:515, ack 1, win 6432, length 515

17:09:21.672761 IP (tos 0x0, ttl 64, id 48515, offset 0, flags [DF], proto TCP 
(6), length 412)
    194.146.153.114.8080 > 172.16.163.219.47653: Flags [P.], cksum 0x584c 
(correct), seq 0:372, ack 1, win 181, length 372
17:09:21.673756 IP (tos 0x0, ttl 64, id 48516, offset 0, flags [DF], proto TCP 
(6), length 412)
    194.146.153.114.8080 > 172.16.163.219.47653: Flags [P.], cksum 0x584c 
(correct), seq 0:372, ack 1, win 181, length 372
17:09:21.674574 IP (tos 0x0, ttl 64, id 48517, offset 0, flags [DF], proto TCP 
(6), length 412)
    194.146.153.114.8080 > 172.16.163.219.47653: Flags [P.], cksum 0x584c 
(correct), seq 0:372, ack 1, win 181, length 372
17:09:21.675440 IP (tos 0x0, ttl 64, id 48518, offset 0, flags [DF], proto TCP 
(6), length 412)
    194.146.153.114.8080 > 172.16.163.219.47653: Flags [P.], cksum 0x584c 
(correct), seq 0:372, ack 1, win 181, length 372
17:09:21.676625 IP (tos 0x0, ttl 64, id 48519, offset 0, flags [DF], proto TCP 
(6), length 412)
    194.146.153.114.8080 > 172.16.163.219.47653: Flags [P.], cksum 0x584c 
(correct), seq 0:372, ack 1, win 181, length 372
17:09:21.678963 IP (tos 0x0, ttl 64, id 48521, offset 0, flags [DF], proto TCP 
(6), length 412)
    194.146.153.114.8080 > 172.16.163.219.47653: Flags [P.], cksum 0x584c 
(correct), seq 0:372, ack 1, win 181, length 372

17:11:12.032679 IP (tos 0x0, ttl 64, id 39699, offset 0, flags [DF], proto TCP 
(6), length 552)
    194.146.153.114.8080 > 172.16.15.13.63145: Flags [P.], cksum 0x1559 
(correct), seq 0:512, ack 1, win 6432, length 512
17:11:12.033882 IP (tos 0x0, ttl 64, id 39700, offset 0, flags [DF], proto TCP 
(6), length 552)
    194.146.153.114.8080 > 172.16.15.13.63145: Flags [P.], cksum 0x1559 
(correct), seq 0:512, ack 1, win 6432, length 512
17:11:12.034835 IP (tos 0x0, ttl 64, id 39701, offset 0, flags [DF], proto TCP 
(6), length 552)
    194.146.153.114.8080 > 172.16.15.13.63145: Flags [P.], cksum 0x1559 
(correct), seq 0:512, ack 1, win 6432, length 512
17:11:12.035720 IP (tos 0x0, ttl 64, id 39702, offset 0, flags [DF], proto TCP 
(6), length 552)
    194.146.153.114.8080 > 172.16.15.13.63145: Flags [P.], cksum 0x1559 
(correct), seq 0:512, ack 1, win 6432, length 512

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [PATCH] tcp: fix ICMP-RTO war
@ 2010-01-27 13:56 Denys Fedoryshchenko
  2010-01-29 12:13 ` Damian Lukowski
  0 siblings, 1 reply; 24+ messages in thread
From: Denys Fedoryshchenko @ 2010-01-27 13:56 UTC (permalink / raw)
  To: Ilpo Järvinen, Netdev, Damian Lukowski, David Miller

On Wednesday 27 January 2010 14:36:18 you wrote:
> Unless they are for a different connection? We might have to print sk (%p)
> in all those printouts to be sure which maps to which. If a peer becomes
> unreachable, it may well have multiple connections open (this was a
> proxy, iirc?).
> 
Ok i will try to do that today.

Most probably different connections, on this proxy i have 10-15k established 
connections at peak time.

Also about estimating rtt, maybe there is something wrong in idea. Just what 
will happen if ip visible for proxy have multiple people behind? It can be 
small router for hotspot and 10-20 people behind it,  some with very large 
rtt, some with very small. 

And some of them getting disconnected (out of range from wireless, for 
example), and thats most probably why host unreachable sent... at same time 
proxy have established and running tcp connections with other people on same 
router (means for proxy same ip).

Sorry, again to Ilpo Järvinen, by default i have reply, instead of reply all.

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2010-02-07 10:29 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-26 15:03 Crazy TCP bug (keepalive flood?) in 2.6.32? Denys Fedoryshchenko
2009-12-26 19:24 ` Ilpo Järvinen
2010-01-11 13:02 ` Ilpo Järvinen
2010-01-16 14:12   ` Denys Fedoryshchenko
2010-01-19  9:10     ` Damian Lukowski
2010-01-19 11:09       ` Denys Fedoryshchenko
2010-01-19 11:17         ` Ilpo Järvinen
2010-01-23 21:37           ` Denys Fedoryshchenko
2010-01-23 22:34             ` [PATCH] tcp: fix ICMP-RTO war Ilpo Järvinen
2010-01-23 22:45               ` Denys Fedoryshchenko
2010-01-25 15:07                 ` Damian Lukowski
2010-01-26  7:45                   ` David Miller
2010-01-27 12:41                     ` Ilpo Järvinen
2010-01-27 14:14                       ` Alexey Kuznetsov
2010-01-23 23:28               ` Denys Fedoryshchenko
2010-01-25 12:12               ` Damian Lukowski
2010-01-27 12:36                 ` Ilpo Järvinen
2010-01-27 13:56 Denys Fedoryshchenko
2010-01-29 12:13 ` Damian Lukowski
2010-01-29 15:15   ` Denys Fedoryshchenko
2010-01-29 21:45     ` Damian Lukowski
2010-01-30 13:35       ` Denys Fedoryshchenko
2010-01-30 13:56         ` Damian Lukowski
2010-02-07 10:28           ` Denys Fedoryshchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.