ulogd2 branch, master, updated. ulogd-2.0.0beta4-33-ge7e229f
Pablo Neira Ayuso
netfilter-cvslog-bounces at lists.netfilter.org
Thu Mar 10 12:00:25 CET 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "ulogd2".
The branch, master has been updated
via e7e229fd66454a11317b2386948ff2055903e7ea (commit)
via ff196ff7ff31e7dc38260bd54d5e0e9e99bf3839 (commit)
via 99b7c46d0297663d8a908a42ce137d04221a4e31 (commit)
via a99693efa30139c7d5ce42cdb32618fe24b99234 (commit)
from 24d635a48ba16e97ef3d6c089c942470141d80b6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e7e229fd66454a11317b2386948ff2055903e7ea
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date: Fri Feb 25 18:05:59 2011 +0100
sqlite3: remove automatic creation of table `daily'
This patch removes the creation of the `daily' table. Now, we assume
that the table that we use are created before launching ulogd2.
This code is broken because you have to specify in the configuration
file that the table used is `daily', otherwise this `daily' table is
created and dropped during the daemon starting, but not used.
Moreover, the code explicit shows a message that it says:
/* FIXME make this configurable */
So, I think that this patch is the way to go :-).
This patch also documents the table creation in ulogd.sgml
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
commit ff196ff7ff31e7dc38260bd54d5e0e9e99bf3839
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date: Fri Feb 25 18:48:32 2011 +0100
sqlite3: fix warning during compilation
This patch fixes the following warning during the compilation:
ulogd_output_SQLITE3.c: In function âulogd_find_keyâ:
ulogd_output_SQLITE3.c:292: warning: comparison between signed and unsigned integer expressions
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
commit 99b7c46d0297663d8a908a42ce137d04221a4e31
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date: Fri Feb 25 18:36:49 2011 +0100
sqlite3: cleanup error handling of sqlite3_bind_int() in sqlite3_interp()
Move error handling after the switch statement since it's the same
for all cases, we save several lines of code.
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
commit a99693efa30139c7d5ce42cdb32618fe24b99234
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date: Fri Feb 25 18:40:30 2011 +0100
sqlite3: use continue instead of goto in sqlite3_interp()
Use continue instead of goto inside loop. I don't need to scroll
up and down in the code to know what the jump is performing.
I think this improve code readability. It's a comestic cleanup,
of course.
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
-----------------------------------------------------------------------
Summary of changes:
doc/sqlite3.txt | 7 ---
doc/ulogd.sgml | 11 ++++-
output/sqlite3/ulogd_output_SQLITE3.c | 75 ++++++---------------------------
3 files changed, 23 insertions(+), 70 deletions(-)
delete mode 100644 doc/sqlite3.txt
hooks/post-receive
--
ulogd2
More information about the netfilter-cvslog
mailing list