Rainer Gerhards
28dcc746bd
applied patch from Michael Biebl to clean up build system
2008-03-06 07:39:32 +00:00
Rainer Gerhards
d920eeed14
fixed bug in build process
2008-03-05 17:21:09 +00:00
Rainer Gerhards
3c2ad6ac32
fixed problem in autoconf
2008-03-05 17:15:54 +00:00
Rainer Gerhards
2391063617
moved date/time handling functions to their own object
2008-03-05 16:31:29 +00:00
Rainer Gerhards
24b02dc831
- extracted logerror*() family of functions from syslogd, made them their
...
own class and converted to new object calling conventions
(interface-based)
- converted gss-misc into a loadable library module
2008-03-05 14:53:25 +00:00
Rainer Gerhards
545346e697
- changed modules.c calling conventions to be interface-based
...
- moved module loader from conf.c to module.c, where it belongs
- made the necessary plumbing to auto-load library modules
- upgraded debug system to include iRet in function exit message
- changed module interface so that instances need only to be supported by
output plugins (if we actually need them for input plugins, we can
always add it again...)
- milestone: first implementation of library modules (but do not get
unloaded on exit/hup so far)
2008-03-05 10:30:06 +00:00
Rainer Gerhards
9d8eb28ebd
- added class tcps
...
- added class tcps_sess
- changed imtcp to use new classes; seems to work; imgssapi currently
broken
2008-03-02 10:19:25 +00:00
Rainer Gerhards
b98ca5114e
split off imgssapi from imtcp, but still with a lot of dependency
2008-02-26 11:02:27 +00:00
Rainer Gerhards
d839bc3fa3
applied Michael Biebl's fix for building rsyslog core without gssapi
...
support
2008-02-26 08:04:34 +00:00
Rainer Gerhards
d03bf9c18c
- added sysvar class
...
- added PUSHSYSVAR operation to vm
2008-02-25 14:44:16 +00:00
Rainer Gerhards
c0d0e0643d
begun implementing rsyslog virtual machine (vm class)
2008-02-22 11:43:23 +00:00
Rainer Gerhards
ac69017509
added empty vmstk class
2008-02-21 17:47:55 +00:00
Rainer Gerhards
e5f51c5f97
created initial vmprg class
2008-02-20 16:10:20 +00:00
Rainer Gerhards
897a685311
added vmop class (stage for expression execution)
2008-02-20 15:27:19 +00:00
Rainer Gerhards
33f061484d
created var class out of property_t
2008-02-20 13:54:11 +00:00
Rainer Gerhards
0af8d22ff6
created new class ctok_token
2008-02-20 08:48:20 +00:00
Rainer Gerhards
47aab374d4
- added ctok class (the config tokenizer)
...
- done stage work to begin implement tokenizer
2008-02-19 14:07:10 +00:00
Rainer Gerhards
c5f99dc222
- moved config file code to its own file
...
- finally made CONT_LINES in config the only standard support (the code
contained code for other case, which were never executed by the
preprocessor)
2008-02-19 11:20:18 +00:00
Rainer Gerhards
cd2b24dfc4
- added doc on how expressions will work
...
- cleaned up the stringbuf Construct interface
- did some cleanup on stringbuf calls - we now have much better interfaces
and macros
2008-02-19 10:30:42 +00:00
Rainer Gerhards
a43ff0d7c0
created a bare template for omlibdbi (dbi output action)
2008-02-14 16:24:08 +00:00
Rainer Gerhards
9b1c0e2973
very quickly hacked a rought outline of the file monitor (without any
...
guarantees)
2008-02-01 17:51:07 +00:00
Rainer Gerhards
60cc049f85
added sample config file to distribution tarball
2008-02-01 13:52:10 +00:00
Rainer Gerhards
5eadc4163d
added input-plugin interface specification in form of a (copy) template
...
input module
2008-02-01 13:18:43 +00:00
Rainer Gerhards
5c686c8adc
redesigned queue to utilize helper classes for threading support. This is
...
finally in a running state for regular (non disk-assisted) queues, with
a minor nit at shutdown. So I can finally commit the work again to
CVS...
2008-01-24 17:55:09 +00:00
de0bfbbfef
Module OMSNMP intially added, not completed yet.
2008-01-22 12:50:32 +00:00
Rainer Gerhards
24c125cfc3
made queue file names better readable
2008-01-10 08:00:47 +00:00
Rainer Gerhards
fd8c6452c8
created a generic stream class (for file access)
2008-01-09 13:27:07 +00:00
Rainer Gerhards
e27555c468
added --enable-mudflap ./configure option
2008-01-08 16:13:42 +00:00
Rainer Gerhards
faf8e5a384
- begun some work on Msg Object serializiation
...
- created a kind of general base class
2008-01-04 16:05:42 +00:00
Rainer Gerhards
835a2be7f1
removed reference to rklogd - thanks Michael Biebl for bringing this to my
...
attention
2008-01-03 15:32:13 +00:00
Rainer Gerhards
29d9729292
moved queue code to its own module (finally)
2008-01-03 09:44:54 +00:00
Rainer Gerhards
dd4dedbc38
created omtesting, a debug and development aid output module. This is stage
...
work for the new queueing engine - we need a way to delay rule
execution and that's what the module currently does ;)
2007-12-31 12:54:03 +00:00
Rainer Gerhards
f67509d570
omgssapi created
2007-12-28 15:59:24 +00:00
Rainer Gerhards
599133164d
Merge branch 'beta'
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
doc/property_replacer.html
2008-11-18 12:05:51 +01:00
Rainer Gerhards
e747f766c6
prepared for imudp
2007-12-21 15:51:59 +00:00
Rainer Gerhards
783d2c0368
begun work on imtcp
2007-12-21 14:07:14 +00:00
Rainer Gerhards
8f193966cc
begun moving unix socket code to its own module
2007-12-20 09:49:09 +00:00
Rainer Gerhards
9088ee3389
begun imklog, replacing klogd.c (finally we get rid of it...)
2007-12-17 11:52:10 +00:00
Rainer Gerhards
0c5e8a2f96
moved core threading helpers out of syslogd.c
2007-12-14 11:55:35 +00:00
Rainer Gerhards
119573816d
begin work on on immark, the first input module. In the long term this will
...
lead to a complete rewrite of the input system
2007-12-14 10:42:30 +00:00
Rainer Gerhards
3e95f05457
fixed a potential race condition, see link for details:
...
http://rgerhards.blogspot.com/2007/12/rsyslog-race-condition.html
2007-12-11 16:26:22 +00:00
Rainer Gerhards
4465b4d4ac
added expr.c, which has some thoughts on expression implementation
2007-12-11 11:53:18 +00:00
Rainer Gerhards
05fd4c0e65
applied patch from Michael Biebl for an even cleaner autotools config in
...
regard to -ldl.
2007-12-04 14:16:38 +00:00
Rainer Gerhards
1c3baa7191
added Bartosz Kuzma patches for better compatibility with NetBSD - many
...
thanks for them!
2007-12-03 13:53:05 +00:00
Rainer Gerhards
a078fac841
library defintion was missing in build line - thx to Michael Biebl for fix
2007-12-03 11:54:39 +00:00
Rainer Gerhards
83b91cb894
adding sur5r's postgres module - many thanks for providing it! There are a
...
number of patches necessary to core modules, because we need a new
formatting function (date-pgsql).
2007-12-03 11:06:46 +00:00
Rainer Gerhards
721ca9c56a
added compile-time switches for -pthread
2007-11-30 13:43:12 +00:00
Rainer Gerhards
4ddd2037c8
applied gssapi patch from varmojfekoj - gss-api is now supported
2007-11-19 10:03:32 +00:00
Rainer Gerhards
341af8bcd0
- changed the build system to use a single source tarball again (but
...
different makefiles for the main project and ommysql)
- applied fixes from Michael Biebl:
1.) fix failing compilation of ommysql plugin
(s/ommysql-config.h/config.h/)
2.) fix mysql configure check (although the default is no, we did check for
the mysql devel files)
3.) Create a separate Makefile.am for the doc files. This cleans up the
toplevel Makefile.am considerably and makes it much more readable and
maintainable.
3b) Assign the html doc files to html_DATA. This means, they are installed
to $(hmtdir), which by autoconf standards is
$(prefix)/share/doc/$packagename/.
4.) Reformat the SOURCES line to make it better readable and maintainable.
2007-10-11 12:53:40 +00:00
Rainer Gerhards
d5feea5925
changed the threading to include one extra thread that runs the mainloop.
...
This was done to work around a problem with malloc/free. Note that we
are still running on two threads - the startup thread just waits for
the new one to finish. For a description of the problem I try to
work-around, please see:
http://rgerhards.blogspot.com/2007/10/could-i-really-reproduce-bug.html
Note that this is an experimental change, which will only stay if it
proves to fix the segfault issue we are dealing with.
2007-10-08 10:45:05 +00:00