All of lore.kernel.org
 help / color / mirror / Atom feed
* ARP confirmed timestamp update on TCP data flow vs keep-alive
@ 2020-04-21 14:46 Steffen Heil (Mailinglisten)
  0 siblings, 0 replies; only message in thread
From: Steffen Heil (Mailinglisten) @ 2020-04-21 14:46 UTC (permalink / raw)
  To: netfilter

Hi


I have a question regarding confirm timestamps in the ARP table.
If this is the wrong place, please tell me.

For established TCP connection with data flowing, the ARP table is updated, such that (for some time) no further ARP requests are required for later data packets. (Observed on a live system, and read here [1].)

This seems to work only for payload data, not for TCP keep-alive.
Is there a way to update the confirmed timestamp as well, if TCP keep-alive packets are received?

I already have a TCP keep-alive of 30s for thousands of connections, but now I also have ARP requests.
I know that I could modify base_reachable_time_ms (which I am already doing), but there is a trade-off of not detecting stale entries versus sending too many requests. If the keep-alive packets would keep the ARP entry alive, I could keep a low value for base_reachable_time_ms.


Best regards,
  Steffen



[1] https://stackoverflow.com/questions/15372011/configuring-arp-age-timeout/15511117#15511117
"the kernel will sometimes change timeout values based on positive feedback from higher level protocols"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-21 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 14:46 ARP confirmed timestamp update on TCP data flow vs keep-alive Steffen Heil (Mailinglisten)

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.