On 18 Mar 2022, at 18:46, Klement Sekera 
<klem...@graphiant.com<mailto:klem...@graphiant.com>> wrote:



On 18 Mar 2022, at 18:43, Ole Troan 
<otr...@employees.org<mailto:otr...@employees.org>> wrote:



On 18 Mar 2022, at 17:40, Klement Sekera 
<klem...@graphiant.com<mailto: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.

First case is basically same thing as sending ICMP port unreachable when UDP 
packet is received on a closed port…


Second - yes. More complicated.

Cheers
Ole

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21074): https://lists.fd.io/g/vpp-dev/message/21074
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to