Skip to content

preparing support for command batch

Pablo Neira Ayuso netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3conntrack: add struct ct_cmdsrc/conntrack.c+76 -490 replies
2/3conntrack: add struct ct_tmplsrc/conntrack.c+121 -1100 replies
3/3conntrack: add do_command_ct()src/conntrack.c+24 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH conntrack-tools 0/3] preparing support for command batch

Hi Mikhail,

This is a patch to prepare for the command batch support.

Please have a look at the xtables restore parser, it would be great if the code to read the file lines via fgets() and then turn it into argc and argv (see add_argv() for reference in iptables/xshared.c). If conntrack can converge to use existing approach in the iptables code, that will be good for maintainability reasons.

Thanks for your patience.

Pablo Neira Ayuso (3):
conntrack: add struct ct_cmd
conntrack: add struct ct_tmpl
conntrack: add do_command_ct()

 src/conntrack.c | 346 +++++++++++++++++++++++++++---------------------
 1 file changed, 194 insertions(+), 152 deletions(-)
Signature · 1 line
2.20.1