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(-) -- 2.20.1