[ovs-discuss] ct_state and tcp sessions

Flavio Leitner fbl at sysclose.org
Mon Sep 4 22:36:14 UTC 2017


On Fri, 1 Sep 2017 14:33:58 -0600
Sterdnot Shaken <sterdnotshaken at gmail.com> wrote:

> *OVS version: 2.70*
> 
> Howdy!
> 
> *Goal:* instantiate a flow(s) based on completion of tcp 3-way handshake
> and have those flows live ONLY as long as the respective tcp session
> exists. Once the tcp session has ended, I want the flow(s) to be removed. I
> don't want the flows to be removed if the respective hosts stop talking for
> whatever reason for say 5 minutes. They would be removed only in the event
> the tcp session is terminated.
> 
> Can I use ct_state and associated conn-track to accomplish this?

You can't control conntrack timeouts.

> Any ideas?

Well, I don't know if I got that right, but I suggest to look at
the documentation of ovs-ofctl searching for action ``learn´´.

-- 
Flavio



More information about the discuss mailing list