[PATCH 0/3] conntrack: -A command implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pablo & all,

As discussed, here is the implementation for the -A command.

The -A command works exactly the same way as -I except that it
does not fail if the ct entry already exists.
This command is useful for the batched ct loads to not abort if
some entries being applied exist.
    
The ct entry dump in the "save" format is now switched to use the
-A command as well for the generated output.

Regards,
Mikhail

Mikhail Sennikovsky (3):
  conntrack: introduce new -A command
  conntrack.8: man update for -A command support
  tests/conntrack: -A command support

 conntrack.8                       | 11 ++++++--
 src/conntrack.c                   | 35 ++++++++++++++++++-----
 tests/conntrack/testsuite/08stdin | 47 ++++++++++++++++++++++++++++++-
 tests/conntrack/testsuite/10add   | 42 +++++++++++++++++++++++++++
 4 files changed, 124 insertions(+), 11 deletions(-)
 create mode 100644 tests/conntrack/testsuite/10add

-- 
2.25.1




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux