commit 31eb1cea262763027c61d2bcce686a2afcf9e944
Author: Anand H. Krishnan <email address hidden>
Date: Fri Jun 5 16:12:17 2015 +0530
TCP connection state awareness for faster flow aging
If a flow has already seen a tcp session close (either through the FIN
mechanism or through the RST mechanism), that flow can be dismantled
immediately instead of waiting for the flow aging time. vRouter will
now track the connection closure (RST as well as FIN/FIN-ACK/ACK or
FIN-ACK-FIN-ACK) and when it comprehends a session close will send a
trap to agent to indicate that the flow(forward/reverse) can be
dismantled.
Similarly, connections to non-existent systems can result in inactive
flows that could be dismantled after proper backouts. vRouter will track
SYN, SYN-ACK, ACK sequence to mark the flow with flags indicating that
it has seen SYN and a session establishment (if the cycle goes through),
which can be used to dismantle dummy flows.
Reviewed: https:/ /review. opencontrail. org/11308 github. org/Juniper/ contrail- vrouter/ commit/ 31eb1cea2627630 27c61d2bcce686a 2afcf9e944
Committed: http://
Submitter: Zuul
Branch: master
commit 31eb1cea2627630 27c61d2bcce686a 2afcf9e944
Author: Anand H. Krishnan <email address hidden>
Date: Fri Jun 5 16:12:17 2015 +0530
TCP connection state awareness for faster flow aging
If a flow has already seen a tcp session close (either through the FIN reverse) can be
mechanism or through the RST mechanism), that flow can be dismantled
immediately instead of waiting for the flow aging time. vRouter will
now track the connection closure (RST as well as FIN/FIN-ACK/ACK or
FIN-ACK-FIN-ACK) and when it comprehends a session close will send a
trap to agent to indicate that the flow(forward/
dismantled.
Similarly, connections to non-existent systems can result in inactive
flows that could be dismantled after proper backouts. vRouter will track
SYN, SYN-ACK, ACK sequence to mark the flow with flags indicating that
it has seen SYN and a session establishment (if the cycle goes through),
which can be used to dismantle dummy flows.
Change-Id: I343fb6d56ef16a 08d1a9dabe1027d 3426249a17a
Partial-BUG: #1362701