netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* conntrack-tool question for contribution.
@ 2016-03-16 11:16 Miguel Angel Ajo Pelayo
  2016-03-18 11:59 ` Arturo Borrero Gonzalez
  0 siblings, 1 reply; 3+ messages in thread
From: Miguel Angel Ajo Pelayo @ 2016-03-16 11:16 UTC (permalink / raw)
  To: netfilter-devel

I was considering the possibility of making an small contribution to
conntrack-tool
to allow the batching of commands in a single conntrack-tool call.

Specifically I'm interested in batching delete commands.

In some of the neutron reference implementations we make use of conntrack-tool
to target and kill any active connection when security group rules are removed.

That sometimes expands in thousands of calls due to combinations (worst
scenario is n_port^2 calls for a very common type of rule we have).


So I was considering two options:

1) Adding a mode to accept conntrack-tool actions via stdin
2) Accepting the cmdline notation of separating multiple command lines
with "--" in a single call to conntrack tool.


Any thoughts or recommendations in this regard?


[1] http://git.openstack.org/cgit/openstack/neutron/tree/neutron/agent/linux/ip_conntrack.py#n32

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-21  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 11:16 conntrack-tool question for contribution Miguel Angel Ajo Pelayo
2016-03-18 11:59 ` Arturo Borrero Gonzalez
2016-03-21  7:51   ` Miguel Angel Ajo Pelayo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).