]> git.ipfire.org Git - thirdparty/ulogd2.git/log
thirdparty/ulogd2.git
17 years agoFrom: Pierre Chifflier <chifflier@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:24:08 +0000 (12:24 +0000)] 
From: Pierre Chifflier <chifflier@inl.fr>

Change from procedure to function in mysql schema adds the need to free MySQL
result after request.

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:23:10 +0000 (12:23 +0000)] 
From: Eric leblond <eric@inl.fr>
With this patch, BASE filter module is able fill oob_family when parsing IPv6
address.

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:13:54 +0000 (12:13 +0000)] 
From: Eric leblond <eric@inl.fr>
OOB_FAMILY output was not set by NFLOG because the key was not set as valid.

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:11:44 +0000 (12:11 +0000)] 
From: Eric leblond <eric@inl.fr>
Fix a bug in IPv4 output of IP2BIN module.

17 years agoFrom: Eric Leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:10:48 +0000 (12:10 +0000)] 
From: Eric Leblond <eric@inl.fr>
MySQL need no to be able to print RAW data to be able to display
IP addresses.

17 years agoFrom: Eric Leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:08:23 +0000 (12:08 +0000)] 
From: Eric Leblond <eric@inl.fr>
Fix description and indenting (cleanups)

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:06:23 +0000 (12:06 +0000)] 
From: Eric leblond <eric@inl.fr>
This module convert IP from internal notation to a string in binary notation
which is used by the MySQL output plugin.

17 years agoFrom: Pierre Chifflier <chifflier@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:03:21 +0000 (12:03 +0000)] 
From: Pierre Chifflier <chifflier@inl.fr>
Mark ID as inactive (sequence in pg schema)

17 years agoFrom: Pierre Chifflier <chifflier@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 12:02:20 +0000 (12:02 +0000)] 
From: Pierre Chifflier <chifflier@inl.fr>
Fix incorrect options for PGsql module.

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:59:47 +0000 (11:59 +0000)] 
From: Eric leblond <eric@inl.fr>
- This patch suppress key relative to IPv6 address because IPv4 and IPv6 can be stored in the same key.
- Add missing IP2STR line to ulogd.conf.in

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:57:24 +0000 (11:57 +0000)] 
From: Eric leblond <eric@inl.fr>

This module is a generic module which is used to convert an IP from internal representation to string representation. This is a task needed by several modules like printpkt or pgsql. This module factorizes the code.

17 years agoFrom: Eric Leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:46:58 +0000 (11:46 +0000)] 
From: Eric Leblond <eric@inl.fr>
MySQL client library does not reconnect automatically since 5.0.

17 years agoFrom: Eric Leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:46:04 +0000 (11:46 +0000)] 
From: Eric Leblond <eric@inl.fr>
Request at least autoconf 2.50 (needed for large file support macro).

17 years agoFrom: Eric Leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:45:03 +0000 (11:45 +0000)] 
From: Eric Leblond <eric@inl.fr>
Display filename in the other error case.
Based on Marius Tomaschewski work.

17 years agoFrom: Eric Leblond <eric@inl.fr>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:43:48 +0000 (11:43 +0000)] 
From: Eric Leblond <eric@inl.fr>:
Changed to show pcap file name when open failed.
Based on Marius Tomaschewski work.

17 years agoFrom: Eric Leblond <eric@inl.fr>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:42:40 +0000 (11:42 +0000)] 
From: Eric Leblond <eric@inl.fr>:
Put O at the real end of the string.
Based on Marius Tomaschewski work.

17 years agoFrom: Eric Leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:41:25 +0000 (11:41 +0000)] 
From: Eric Leblond <eric@inl.fr>
Add some missing line break.
Based on Marius Tomaschewski work.

17 years agoFrom: Eric Leblond <eric@inl.fr>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:39:34 +0000 (11:39 +0000)] 
From: Eric Leblond <eric@inl.fr>:
For OPRINT, changed sighup_handler_print to fallback to continue using old descriptor on new file opening failure.
Based on Marius Tomaschewski work.

17 years agoFrom: Eric Leblond <eric@inl.fr>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:37:50 +0000 (11:37 +0000)] 
From: Eric Leblond <eric@inl.fr>:
Added explicit null termination of the hostname buffer
This patch is a backport of Marius Tomaschewski <mt@suse.de> work on ulogd.

17 years agoFrom: Eric Leblond <eric@inl.fr>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:33:56 +0000 (11:33 +0000)] 
From: Eric Leblond <eric@inl.fr>:
Changed sighup_handler_print to fallback to continue using old descriptor on new file opening failure.

This patch is a backport of Marius Tomaschewski <mt@suse.de> work on ulogd.

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:30:34 +0000 (11:30 +0000)] 
From: Eric leblond <eric@inl.fr>
It is difficult to find how to configure a plugin. This patch adds an info
option which can be used to display:
* Name
* Configuration variables
* Input keys
* Output keys

Output example:
/opt/ulogd2/sbin/ulogd --info /opt/ulogd2/lib/ulogd/ulogd_filter_IFINDEX.so
Name: IFINDEX
Input keys:
Key: oob.ifindex_in (unsigned int 32)
Key: oob.ifindex_out (unsigned int 32)
Output keys:
Key: oob.in (string)
Key: oob.out (string)

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:27:14 +0000 (11:27 +0000)] 
From: Eric leblond <eric@inl.fr>
This patch update the printflow output module to be able to print a
whole conntrack entry on a single line.

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:24:07 +0000 (11:24 +0000)] 
From: Eric leblond <eric@inl.fr>
This patch clarifies code which will be modified in next patch.

17 years agoFrom: Pierre Chifflier <p.chifflier@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 11:18:05 +0000 (11:18 +0000)] 
From: Pierre Chifflier <p.chifflier@inl.fr>
Add insert functions for the PostgreSQL version

17 years agoFrom: Eric leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sun, 3 Feb 2008 10:59:16 +0000 (10:59 +0000)] 
From: Eric leblond <eric@inl.fr>

This patch adds new SQL schema for MySQL and PGsql. The goal is to improve the one line per entry format. There is no more a big table with all fields because this sort of storage is causing bad performance (databases don't like to have a lot of NULL fields to store).

Main changes are :
* Add new schema for MySQL and PGsql
* Use call to configurable procedure in SQL OUTPUT modules
* Arguments of a procedure are given by the list of fields of a selected table

17 years agoHolger Eitzenberger <heitzenberger@astaro.com>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sat, 2 Feb 2008 21:48:18 +0000 (21:48 +0000)] 
Holger Eitzenberger <heitzenberger@astaro.com>:
renice to -1 on startup

17 years agoHolger Eitzenberger <heitzenberger.org@astaro.com>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sat, 2 Feb 2008 21:44:26 +0000 (21:44 +0000)] 
Holger Eitzenberger <heitzenberger.org@astaro.com>:
conffile cleanup, use common pr_debug()

17 years agoHolger Heitzenberger <heitzenberger@astaro.com>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sat, 2 Feb 2008 21:30:11 +0000 (21:30 +0000)] 
Holger Heitzenberger <heitzenberger@astaro.com>:
add common.h

17 years agoHolger Eitzenberger <heitzenberger@astaro.com>:
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Sat, 2 Feb 2008 21:26:38 +0000 (21:26 +0000)] 
Holger Eitzenberger <heitzenberger@astaro.com>:
Add NACCT output plugin

17 years agoUlogd2: fix db OUTPUT system
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Sat, 12 Jan 2008 14:55:41 +0000 (14:55 +0000)] 
Ulogd2: fix db OUTPUT system

The following patch fixes MySQL and Pgsql output modules.

The callback function was not correctly initialized and this was leading
to a crash by calling the a NULL function. This patch correctly inits
the callback.

Eric Leblond <eric@inl.fr>

17 years agoUlogd2: fix some indenting
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Sat, 12 Jan 2008 14:54:41 +0000 (14:54 +0000)] 
Ulogd2: fix some indenting

The following patch fixes some indenting and typo in various ulogd2
files.

Eric Leblond <eric@inl.fr>

17 years ago[PATCH 5/5] stores the converted syslog parameters set within config file
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Sat, 12 Jan 2008 14:53:35 +0000 (14:53 +0000)] 
[PATCH 5/5] stores the converted syslog parameters set within config file

This patch stores the converted values from the configuration file
into the syslog instance structure.
Otherwise configuration parameters are senseless and only the
default values will be used.

Signed-off-by: Peter Warasin <peter@endian.com>
17 years ago[PATCH 4/5] Workaround of recvfrom() EAGAIN bug
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Sat, 12 Jan 2008 14:51:49 +0000 (14:51 +0000)] 
[PATCH 4/5] Workaround of recvfrom() EAGAIN bug

This is a workaround which prevents ulogd from logging each
time when recvfrom() returns error because of EAGAIN.
Since the netlink socket is now O_NONBLOCK, we probably run
into the following bug:

http://bugzilla.kernel.org/show_bug.cgi?id=5498

which causes recvfrom() get an error when select() had a good
return, whenever select() receives a packet with a bad checksum.

ipulog_read() always has this problem once after every successful
ipulog_read().

Signed-off-by: Peter Warasin <peter@endian.com>
[Note: this is not a workaround but correct handling of EAGAIN
 on a non-blocking socket. -Patrick]

17 years ago[PATCH 3/5] Logs also ipulog_strerror() and strerror() within ULOG plugin
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Sat, 12 Jan 2008 14:49:03 +0000 (14:49 +0000)] 
[PATCH 3/5] Logs also ipulog_strerror() and strerror() within ULOG plugin

This patch logs also the string representations ipulog:_strerror()
and strerror() when an error occurred during receivement of packets
within the ULOG plugin

Signed-off-by: Peter Warasin <peter@endian.com>
17 years ago[PATCH 2/5] Dont ntohs() mac_len of ULOG, since it is not in network byte order
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Sat, 12 Jan 2008 14:47:47 +0000 (14:47 +0000)] 
[PATCH 2/5] Dont ntohs() mac_len of ULOG, since it is not in network byte order

Stores mac_len correctly, since within ULOG structire it is not stored
in network byte order.

Signed-off-by: Peter Warasin <peter@endian.com>
17 years ago[PATCH 1/5] openlog() to syslog for global ulogd log messages
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Sat, 12 Jan 2008 14:44:05 +0000 (14:44 +0000)] 
[PATCH 1/5] openlog() to syslog for global ulogd log messages

When [global]'s logfile is syslog, ulogd should log it's own
mesasages (not the firewall log lines) to syslog, which it
does'nt because openlog() is missing. This patch adds openlog()

Signed-off-by: Peter Warasin <peter@endian.com>
17 years ago[PATCH]: ulogd2: fix ULOG input plugin
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Fri, 4 Jan 2008 14:18:31 +0000 (14:18 +0000)] 
[PATCH]: ulogd2: fix ULOG input plugin

The ULOG input plugin of ulogd2 was not working. This patch fixes this
and cleans the code via introduction of an enum.

Eric Leblond <eric@inl.fr>

17 years ago[PATCH]: Ulogd2: code cleaning
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Fri, 4 Jan 2008 14:13:48 +0000 (14:13 +0000)] 
[PATCH]: Ulogd2: code cleaning

This patch adds an enum to get rid of access to array via numerical
index in NFLOG input plugin.

This replaces code like:
ret[0].flags |= ULOGD_RETF_VALID;
ret[11].u.value.ui16 = ntohs(hw->hw_addrlen);

with:
ret[NFLOG_KEY_RAW_MAC].flags |= ULOGD_RETF_VALID;
ret[NFLOG_KEY_RAW_MAC_LEN].u.value.ui16 = ntohs(hw->hw_addrlen);

which is more readable.

Eric Leblond <eric@inl.fr>

17 years agoEric Leblond <eric@inl.fr>
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Thu, 3 Jan 2008 17:40:32 +0000 (17:40 +0000)] 
Eric Leblond <eric@inl.fr>
- add a call to autoheader which is needed to compile ulogd2 from subversion.
- add a warning message to ulogd2 when it exits on error. It simply tell to look at the configuration file.
- add an empty section which is needed to have NFCT logging
working.

18 years agoulogd large file support (Andreas Lundin <lunde@dreamhosted.se>)
/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net [Tue, 19 Jun 2007 14:40:59 +0000 (14:40 +0000)] 
ulogd large file support (Andreas Lundin <lunde@dreamhosted.se>)

18 years agoAdd IPv6 support, fix a few incorrect key assignments and make sure this doesn't
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org [Tue, 6 Mar 2007 13:29:39 +0000 (13:29 +0000)] 
Add IPv6 support, fix a few incorrect key assignments and make sure this doesn't
repeat by using symbolic names to make sure the assignment matches the array
index.

18 years ago[PATCH]: fix a trivial typo in ULOG plugin code (Eric Leblond)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org [Wed, 11 Oct 2006 06:39:01 +0000 (06:39 +0000)] 
[PATCH]: fix a trivial typo in ULOG plugin code (Eric Leblond)

18 years ago[PATCH]: fix crash in ULOG input plugin due to a free on invalid value (Eric Leblond)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org [Wed, 11 Oct 2006 06:38:30 +0000 (06:38 +0000)] 
[PATCH]: fix crash in ULOG input plugin due to a free on invalid value (Eric Leblond)

18 years ago[PATCH]: synchronize ULOG input plugin with current ulogd2 API (Eric Leblond)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org [Wed, 11 Oct 2006 06:37:58 +0000 (06:37 +0000)] 
[PATCH]: synchronize ULOG input plugin with current ulogd2 API (Eric Leblond)

19 years agoAdd a printflow plugin is similar to the PRINTPKT plugin, but for flows. It's
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 09:00:01 +0000 (09:00 +0000)] 
Add a printflow plugin is similar to the PRINTPKT plugin, but for flows.  It's
output is compatible with the SYSLOG and LOGEMU plugins. (Philip Craig)

19 years agoMove the printpkt functionality out of SYSLOG and LOGEMU, and into
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:57:18 +0000 (08:57 +0000)] 
Move the printpkt functionality out of SYSLOG and LOGEMU, and into
a separate PRINTPKT plugin.  This reduces code duplication, and also
makes the SYSLOG and LOGEMU plugins more general. (Philip Craig)

19 years agoIf an optional key is not found, then leave source set to NULL. (Philip Craig)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:46:18 +0000 (08:46 +0000)] 
If an optional key is not found, then leave source set to NULL. (Philip Craig)

19 years agoFix a minor memory leak for stack config statements (Philip Craig)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:45:25 +0000 (08:45 +0000)] 
Fix a minor memory leak for stack config statements (Philip Craig)

19 years agoReplace the libdir variable in ulogd.conf using the method
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:43:31 +0000 (08:43 +0000)] 
Replace the libdir variable in ulogd.conf using the method
recommended by the autoconf manual.  (Philip Craig)

19 years agomove definition of ULOGD_LOGFILE_DEFAULT and ULOGD_CONFIGFILE to Makefile.am,
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:41:28 +0000 (08:41 +0000)] 
move definition of ULOGD_LOGFILE_DEFAULT and ULOGD_CONFIGFILE to Makefile.am,
Set default config and log files based on configure.
Note that these defines cannot be placed in config.h, since they
depend on the prefix, which must be expanded by make. (Philip Craig)

19 years agouse correct libipulog.la libtool name (Philip Craig)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:40:06 +0000 (08:40 +0000)] 
use correct libipulog.la libtool name (Philip Craig)

19 years agofix number of config entries in inppkt_ULOG plugin (Philip Craig)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:39:28 +0000 (08:39 +0000)] 
fix number of config entries in inppkt_ULOG plugin (Philip Craig)

19 years agoconfigure --without-pgsql" or "configure --with-pgsql=no" should
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:38:32 +0000 (08:38 +0000)] 
configure --without-pgsql" or "configure --with-pgsql=no" should
force the pgsql plugin to be disabled.  Same for mysql, pcap and sqlite3.
(Philip Craig)

19 years agoupdate aclocal
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 23 May 2006 08:37:17 +0000 (08:37 +0000)] 
update aclocal

19 years agocommit some more ipfix work
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Mon, 22 May 2006 20:07:22 +0000 (20:07 +0000)] 
commit some more ipfix work

19 years agofix pgsql port parsing
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 31 Jan 2006 10:34:03 +0000 (10:34 +0000)] 
fix pgsql port parsing

19 years ago- add IPFIX netfilter vendor specific fields for seq global/local
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 26 Jan 2006 17:34:27 +0000 (17:34 +0000)] 
- add IPFIX netfilter vendor specific fields for seq global/local
- use real value for netfilter ipfix vendor id

19 years agoadd support for new 'seq_local' and 'seq_global' arguments
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 26 Jan 2006 17:31:57 +0000 (17:31 +0000)] 
add support for new 'seq_local' and 'seq_global' arguments

19 years agofix some hahstable related bugs:
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 26 Jan 2006 09:12:19 +0000 (09:12 +0000)] 
fix some hahstable related bugs:
1) correctly name flow.end.usec
2) initialize 'idle' list_head
3) don't allocate hash table in case hash_use=0
4) fix invalid pointer arithmetic

19 years agoadd include makefile
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 25 Jan 2006 17:01:02 +0000 (17:01 +0000)] 
add include makefile

19 years agoforward-port PROTO=0 fix from ulogd-1.24
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 25 Jan 2006 11:38:14 +0000 (11:38 +0000)] 
forward-port PROTO=0 fix from ulogd-1.24

19 years agoport is an integer value
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 20 Jan 2006 10:12:06 +0000 (10:12 +0000)] 
port is an integer value

19 years agofix output key initialization (Christian Hentschel)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 13 Jan 2006 20:54:52 +0000 (20:54 +0000)] 
fix output key initialization (Christian Hentschel)

19 years agouse correct vallue for db_ce (Christian Hentschel)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 13 Jan 2006 20:53:58 +0000 (20:53 +0000)] 
use correct vallue for db_ce (Christian Hentschel)

19 years agoforward-port PgSQL memory leak fix from ulogd-1.x
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 13:57:12 +0000 (13:57 +0000)] 
forward-port PgSQL memory leak fix from ulogd-1.x

19 years agofix mysql output typo (Christian Hentschel)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 12:23:52 +0000 (12:23 +0000)] 
fix mysql output typo (Christian Hentschel)

19 years agofix compiler warning (void/char) (Christian Hentschel)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 12:22:05 +0000 (12:22 +0000)] 
fix compiler warning (void/char) (Christian Hentschel)

19 years agotimer.c: llist_del() fixup (Christian Hentschel);
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 12:20:49 +0000 (12:20 +0000)] 
timer.c: llist_del() fixup (Christian Hentschel);

19 years agortnl.c warning fix (Christian Hentschel)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 12:19:50 +0000 (12:19 +0000)] 
rtnl.c warning fix (Christian Hentschel)

19 years agodb.c warning fix
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 12:19:03 +0000 (12:19 +0000)] 
db.c warning fix

Signed-off-by: Christian Hentschel <chentschel@people.netfilter.org>
19 years agointroduce NFCT input plugin hash table for start/end timestamps. Based on an
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 12:18:21 +0000 (12:18 +0000)] 
introduce NFCT input plugin hash table for start/end timestamps. Based on an
original patch by Christian Hentschel, amended like:

1) the hash table has to be per-instance, since [at least in the future]
   we can have nfnetlink messages routed from other machines over the
   network, thus every NFCT instance has to have it's own hash table.
2) Whether or not to use a preallocated table is now a configuration
   value, as is the number of buckets and max_entries
3) configure_nfct was not used in the struct ulogd_plugin.configure
4) don't put the hashtable buckets in BSS, but rather allocate them
   dynamically
5) allocate all ct_timestamps (in the preallocated case) at once, rather
   than malloc()ing each on its own.
6) use official IPFIX fields for flow start and flow end instead of
   private numbers
7) use llist instead of list (linuxlist.h adds an additional 'l')
8) add lots of TODO items
9) add IPFIX_NF_conntrack_id to header file

19 years ago- Cosmetic changes (tab indent struct initializers)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 12 Jan 2006 10:36:20 +0000 (10:36 +0000)] 
- Cosmetic changes (tab indent struct initializers)
- Rename "tcp.[sd]port" into "l4.[sd]port" (Christian Hentschel)

19 years agoclean up printpkt situation (now we no longer include .c files)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 8 Jan 2006 23:37:51 +0000 (23:37 +0000)] 
clean up printpkt situation (now we no longer include .c files)

19 years agoadd some missing file to EXTRA_DIST
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 8 Jan 2006 23:37:32 +0000 (23:37 +0000)] 
add some missing file to EXTRA_DIST

19 years agoadd debian package building support
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 8 Jan 2006 23:25:14 +0000 (23:25 +0000)] 
add debian package building support

19 years agonow 'make dist-bzip2' finally works
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 8 Jan 2006 23:06:26 +0000 (23:06 +0000)] 
now 'make dist-bzip2' finally works

19 years agofurther 'make dist' fixes
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 8 Jan 2006 22:55:39 +0000 (22:55 +0000)] 
further 'make dist' fixes

19 years agofix doc building
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 8 Jan 2006 22:38:37 +0000 (22:38 +0000)] 
fix doc building

19 years agoadd conditional compilation of mysql, pgsql, sqlite3 and pcap
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:45:54 +0000 (22:45 +0000)] 
add conditional compilation of mysql, pgsql, sqlite3 and pcap

19 years agoadd SCTP / DCCP todo
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:42:35 +0000 (22:42 +0000)] 
add SCTP / DCCP todo

19 years agodisabel SCTP for now :(
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:11:12 +0000 (22:11 +0000)] 
disabel SCTP for now :(

19 years agomove error handling in plugin
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:06:10 +0000 (22:06 +0000)] 
move error handling in plugin

19 years agoremove strerror function of db helpers and move error printing
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:05:44 +0000 (22:05 +0000)] 
remove strerror function of db helpers and move error printing
directly into db plugins

19 years agoadd support for get-counter-and-zero polling
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:04:36 +0000 (22:04 +0000)] 
add support for get-counter-and-zero polling

19 years agofurther work on IPFIX output
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:01:35 +0000 (22:01 +0000)] 
further work on IPFIX output

19 years agointroduce core timer handling
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 22:00:51 +0000 (22:00 +0000)] 
introduce core timer handling

19 years agointroduce subpackages for plugins
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 21:59:49 +0000 (21:59 +0000)] 
introduce subpackages for plugins

19 years agointroduce acinclude.m4 with macros for mysql,pgsql,sqlite3 and pcap detection.
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 7 Jan 2006 21:58:42 +0000 (21:58 +0000)] 
introduce acinclude.m4 with macros for mysql,pgsql,sqlite3 and pcap detection.

19 years agouse driver's open_db routine
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 15 Dec 2005 17:32:30 +0000 (17:32 +0000)] 
use driver's open_db routine

19 years agomake ipfix output plugin compile (not yet functional)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 15 Dec 2005 14:07:53 +0000 (14:07 +0000)] 
make ipfix output plugin compile (not yet functional)

19 years agomove plugin wildcard input key generation into core
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 15 Dec 2005 14:07:15 +0000 (14:07 +0000)] 
move plugin wildcard input key generation into core

19 years agoadd new 'ulogd_key_size()' function
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 15 Dec 2005 13:15:26 +0000 (13:15 +0000)] 
add new 'ulogd_key_size()' function

19 years agoforgot to rename some function calls with last commit
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 15 Dec 2005 12:41:20 +0000 (12:41 +0000)] 
forgot to rename some function calls with last commit

19 years agodon't "#include" a .c file but rather compile db.c on it's own
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 15 Dec 2005 12:37:58 +0000 (12:37 +0000)] 
don't "#include" a .c file but rather compile db.c on it's own

19 years agoadd some more yet unfinished IPFIX output code
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 14 Dec 2005 21:35:27 +0000 (21:35 +0000)] 
add some more yet unfinished IPFIX output code

19 years agouse 'const char' in parser function
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 14 Dec 2005 15:30:03 +0000 (15:30 +0000)] 
use 'const char' in parser function

19 years agoadd cleanup of dynamically allocated memory at end of plugin stack traversal
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 14 Dec 2005 15:29:42 +0000 (15:29 +0000)] 
add cleanup of dynamically allocated memory at end of plugin stack traversal

19 years agowe don't need RETF_FREE for stuf that isn't dynamically allocated
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 14 Dec 2005 15:29:21 +0000 (15:29 +0000)] 
we don't need RETF_FREE for stuf that isn't dynamically allocated

19 years agoclose_db() is a member function and not a global symbol
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 14 Dec 2005 15:12:20 +0000 (15:12 +0000)] 
close_db() is a member function and not a global symbol

19 years agoPGSQL_LIB not LIBS
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 14 Dec 2005 15:09:50 +0000 (15:09 +0000)] 
PGSQL_LIB not LIBS