Skip to contentSkip to conversation

Please backport commit to 3.12+

DISCUSSION Willy Tarreau 1 participant 1 message Nov 6, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

We recently faced the issue described in the patch below on 3.14.56. This fix was merged in 4.2-rc7. I checked Davem's queue and stable queue and it's not there yet. Could we please have it in 3.12 and above ? (feature was introduced in 3.11). I can confirm that it properly fixes the problem for us.

Mainline commit is :

commit 3c16241c445303a90529565e7437e1f240acfef2
Author: Phil Sutter <[email protected]>
Date: Tue Jul 28 00:53:26 2015 +0200

netfilter: SYNPROXY: fix sending window update to client

Upon receipt of SYNACK from the server, ipt_SYNPROXY first sends back an ACK to finish the server handshake, then calls nf_ct_seqadj_init() to initiate sequence number adjustment of forwarded packets to the client and finally sends a window update to the client to unblock it's TX queue.

Since synproxy_send_client_ack() does not set synproxy_send_tcp()'s nfct parameter, no sequence number adjustment happens and the client receives the window update with incorrect sequence number. Depending on client TCP implementation, this leads to a significant delay (until a window probe is being sent).

Thanks,
Willy