summaryrefslogtreecommitdiffstats
path: root/ulogd/pgsql
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete patches and files and move ulogd to repository top-level ↵Patrick McHardy2008-05-182-573/+0
| | | | directory
* Marius Tomaschewski <mt@suse.de>/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2007-08-061-56/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - included inttypes.h and changed to use PRId64/PRIu64 format definitions to use correct number of l's on all platforms (WORDSIZE depending). - added str flag to the struct _field - it is set in the pgsql_get_columns function when the IP-Addr columns in the database are non-numeric/string and used to insert proper converted value in pgsql_output. See also the --with-pgsql-log-ip-as-string configure option and doc dir. - added global stmt_siz variable for the allocated size of the stmt buffer; obsoletes local size variable in pgsql_createstmt - added guard at the beginning of pgsql_output for the case stmt_val == NULL - changed to use snprintf instead of sprintf in pgsql_output to take care about the allocated buffer length - using the STMT_ADD macro when the string has to be appended. - fixed to check in pgsql_output() if the buffer contains enough place for PQescapeString calls -- see pgsql documentation. - Improved PGSQL_GETCOLUMN_TEMPLATE and PGSQL_GETCOLUMN_TEMPLATE_SCHEMA sql queries to return the typename of the column, so we can detect if the IP address columns are strings or integers (str in struct _field). See also doc/pgsql.table. - Fixed to use strncat/strncpy in pgsql_open_db instead of strcpy/strcat - Fixed to free connstr after PQconnectdb. - Fixed to reset dbh handle after failure in pgsql_open_db,pgsql_init - Fixed to check dbh handle before PQfinish call in pgsql_fini and to free the stmt as well.
* Fix memory leak in pgsql output, fix gcc-2.95 compilation (John Hohm)/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-121-1/+3
|
* postgresql schema support (Bob Hockney)laforge2005-02-191-6/+64
|
* Fix endless loop (Jani Averbach)laforge2005-02-171-1/+1
|
* fix log-ip-as-string on x86_64 (Javi Averbach)laforge2005-02-161-1/+5
|
* fix up pgsql module after latest changes (typos, etc.)laforge2005-02-121-4/+6
|
* fix potential buffer overflowlaforge2005-02-121-4/+4
|
* forward-port 'port' config option from mysql pluginlaforge2005-02-091-3/+19
|
* fix buffer overflow in connect string generationlaforge2005-02-091-4/+18
|
* - make hostname optional, not mandatory (Andrejs Dubovskis)laforge2004-04-241-56/+74
| | | | | | - make password optional, not mandatory (Andrejs Dubovskis) - fix two memory leaks (Andrejs Dubovskis) - lots of cosmetic fixes
* - add .init and .fini member to output pluginlaforge2004-04-241-12/+24
| | | | | - defer file opens + other initialization until after setuid() was called - cosmetic cleanup (no _ in static functions, use 'static' whenever possible)
* add 'tmpstr' variable declaration again... it is needed for the ↵laforge2004-01-081-2/+3
| | | | --log-ip-as-string option (which I never liked anyway ;))
* new configuration file syntax (Magnus Boden)laforge2003-09-281-10/+7
|
* remove unused functions/variables, fix wrong printf paramtypes (-Wall)laforge2003-08-231-19/+5
|
* crosscompile-ready makefiles/configure scripts for ulogd (Dan Eble)laforge2003-08-231-5/+5
|
* explicitly link against dynamic libs (Joerg Wendland)laforge2003-08-111-1/+1
|
* Include fix for postgresql on redhat (Magnus Boden).laforge2003-04-241-2/+2
|
* postgresql include files are in /usr/include/postgresqllaforge2003-03-051-2/+2
|
* add cvs versionlaforge2003-03-051-1/+1
|
* fix include paths.laforge2002-12-092-4/+3
|
* add support for string- and inet- logging of ipadresses to postgresqllaforge2008-03-011-29/+14
| | | | (Martin Kähmer)
* Added Jakab Laszlo's support for PostgreSQLlaforge2001-10-022-0/+400