summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <fmancera@suse.de>2026-05-26 23:58:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2026-06-05 13:11:55 +0200
commit22bb132cfb9b94847d52d73614284b8c5ea8d36e (patch)
tree78118c437aaff98c6b3145b3fc5b1cc546c95f9c /include/linux/timerqueue.h
parent63d29ee95c4ab5976d660182d2e4733bb4a091d8 (diff)
netfilter: synproxy: adjust duplicate timestamp options
RFC 9293 does not mention anything about duplicated options and each networking stack handles it in their own way. Currently, Linux kernel is processing options sequentially and in case of duplicated timestamp options, the value from the latest one overrides the others. As SYNPROXY is modifying only the first timestamp option found, a packet can reach the backend server and it might parse the wrong timestamp value. Let's just continue parsing the following options and in case a duplicated timestamp is found, adjust it too. Fixes: 48b1de4c110a ("netfilter: add SYNPROXY core/target") Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions