> On 18 Mar 2022, at 18:43, Ole Troan <otr...@employees.org> wrote: > > > >> On 18 Mar 2022, at 17:40, Klement Sekera <klem...@graphiant.com> wrote: >> >> I like the idea of VPP sending RST for cases where the session doesn’t exist >> or for some reason the state is invalid. >> >> It might also be a good idea to implement VPP sending TCP keepalives for >> idle sessions to discover whether the peers are still active, but that is a >> separate task. > > Aren’t both tricky unless you track sequence numbers?
For first, it’s a reply - you receive a packet for non-existent sessions and reply with a RST. No tracking required. Second - yes. More complicated. > > Cheers > Ole
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21073): https://lists.fd.io/g/vpp-dev/message/21073 Mute This Topic: https://lists.fd.io/mt/88218698/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-