Misc work over Pablo's patchset
Status from this message: Applied. Please add a short description (even if it is the same of the
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Set timestamp in NFLOG for INPUT and OUTPUT.input/ | +8 | 1 reply | |
| 2/9 | Fill the maximum of timestamp.input/ | +42 | 1 reply | |
| 3/9 | Sync PGSQL schema with NFCT.doc/ | +14 | 1 reply | |
| 4/9 | Add INSERT_OR_REPLACE_CT pgsql function.doc/ | +61 | 1 reply | |
| 5/9 | Fix crash IP2BIN and IP2STR due to ui128 type introduction.filter/ filter/ | +2 | 1 reply | |
| 6/9 | Add some missing files to git repository.Rules.make.in ulogd.8 | +107 | 1 reply | |
| 7/9 | Add a lacking newline in buffer overrun messages.input/ input/ | +4 | 1 reply | |
| 8/9 | Only use overrun handling if local hash is used.input/ | +28 | 2 replies | |
| 9/9 | Update config file to be in sync with latest modifications.ulogd.conf.in | +36 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [ULOGD PATCH 0/9] Misc work over Pablo's patchset
Hello,
This patchset contains some modifications over latest Pablo's patchset as well as fix related to the last git migration or PGSQL improvement. This last part is a rework of my latest patchset.
I've tested Pablo's patchset and it seems to behave well (NFCT is working, NFLOG handling of stress is far better when using socket related options). The only problem was related to a crash in the module IP2STR due to the introduction of ui128 type.
This is fixed by the patch:
* Fix crash IP2BIN and IP2STR due to ui128 type introduction.
I've also done a slight modification of overrun related messages to add a new line:
* Add a lacking newline in buffer overrun messages.
The main modification is brought by the patch:
* Only use overrun handling if local hash is used.
This modify the behaviour of NFCT overrrun handling to only dump the conntrack in case of overrun if the local hash is used. The goal of this modification is to avoid to flood output modules which are not able to interpret well this type of dump.
Next patches aim at adding timestamp to some messages. NFCT without local hash did not fill the timestamp it was able to fill. On NFLOG side, INPUT and OUTPUT packet were logged without timestamp. The patch make ulogd compute the timestamp:
* Set timestamp in NFLOG for INPUT and OUTPUT.
* Fill the maximum of timestamp.
The next patches improve PGSQL support:
* Sync PGSQL schema with NFCT.
* Add INSERT_OR_REPLACE_CT pgsql function.
It is now possible to use PGSQL for NFCT in non hash mode. This can be used to have a SQL duplication of the connection tracking table.
Switching to git seems to have cause the lost of some files. The following patch recover them:
* Add some missing files to git repository.
Last patch brings the configuration file in sync with latest change:
* Update config file to be in sync with latest modifications.
Here's the global stats:
Rules.make.in | 43 +++++++++++++++ doc/pgsql-ulogd2.sql | 89 +++++++++++++++++++++++++----- filter/ulogd_filter_IP2BIN.c | 2 +- filter/ulogd_filter_IP2STR.c | 2 +- input/flow/ulogd_inpflow_NFCT.c | 108 ++++++++++++++++++++++++------------ input/packet/ulogd_inppkt_NFLOG.c | 19 ++++--- ulogd.8 | 64 ++++++++++++++++++++++ ulogd.conf.in | 36 ++++++++++++ 8 files changed, 302 insertions(+), 61 deletions(-)
BR,
--
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/