33 Commits

Author SHA1 Message Date
Rainer Gerhards
d071de5784 removed no longer needed things
... and some more cleanup. Also moved a file that I forgot
(thanks to Michael Biebl for pointing that out).
2008-04-16 15:45:13 +02:00
Rainer Gerhards
d9b0c77d3e some more cleanup
reduced dependencies, moved non-runtime files to its own directory except
for some whom's status is unclear
2008-04-16 15:27:53 +02:00
Rainer Gerhards
8f8f65abb6 moved files to the runtime
there are still some files left which could go into the
runtime, but I think we will delete most of them once we
are done with the full modularization.
2008-04-16 10:26:54 +02:00
Rainer Gerhards
5e279ea0f7 properties are now case-insensitive everywhere (script, filters, templates) 2008-04-03 09:31:55 +00:00
Rainer Gerhards
11461ad9c6 bugfix: memory leaks in script engine 2008-04-03 08:47:35 +00:00
Rainer Gerhards
24c5e87b82 added more meaningful error messages to rsyslogd (when some errors happens
during startup)
2008-04-02 12:34:20 +00:00
Rainer Gerhards
f2fcb03211 - changed default file output format to include high-precision timestamps
- added a buid-in template for previous syslogd file format
- added new $ActionFileDefaultTemplate directive
2008-03-28 10:02:22 +00:00
Rainer Gerhards
04d6e9cc01 bugfix: some slightly invalid memory accesses 2008-03-20 13:34:50 +00:00
Rainer Gerhards
b1555cd681 bugfix: not properly initialized data could cause several segfaults if
there were errors in the config file - thanks to varmojfekoj for the
    patch
2008-03-12 07:11:09 +00:00
Rainer Gerhards
e946e122d0 implemented module unload handling (required a number of interface changes) 2008-03-11 16:43:13 +00:00
Rainer Gerhards
d5e7ec7a83 fixed forgotten library file name change 2008-03-10 10:13:33 +00:00
Rainer Gerhards
dbfc032913 some cleanup 2008-03-07 17:36:57 +00:00
Rainer Gerhards
fa67273c16 - added RSYSLOGD_MODDIR environment variable
- added -M rsyslogd option (allows to specify module directory location)
- converted net.c into a loadable library plugin
2008-03-07 08:06:16 +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
80e69562be did some portability changes to make rsyslog compile on HP UX 2008-03-05 07:01:35 +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
b494d54b98 converted conf.c to an abstract class 2008-02-29 17:13:21 +00:00
Rainer Gerhards
5f8b43e12a corrected invalid function definition 2008-02-29 16:08:23 +00:00
Rainer Gerhards
a7eb97b930 - added "debug" command to debug environment settings
- changed the object/interface system to use a new way of calling, giving
    up the numerical object ID. This was necessary as we needed more
    extensibility for third-party modules (which don't play at all with the
    previous fixed object ID). This is stage work for the object loader.
    Please note that I needed to change the object (de)serializer, I can't
    outrule that I have introduced bugs there.
2008-02-29 16:02:07 +00:00
Rainer Gerhards
ad0f35124a bugfix: removed debugging code that I forgot to remove before releasing
3.12.0 (does not cause harm and happened only during startup)
2008-02-28 16:01:36 +00:00
Rainer Gerhards
5ebc0db1a6 - added PUSHMSGVAR operation
- included expression support in filter module (and it works ;))
2008-02-25 13:27:10 +00:00
Rainer Gerhards
a24cee11b7 - added some temporary testing aids to conf.c, so that we can debug
expression support as it is implemented
- fixed a couple of bugs in expression system
- added more operations to virtual machine - now works well with constants
2008-02-25 10:28:23 +00:00
Rainer Gerhards
32723ecf1e fixed bug in duplicate module load detection 2008-02-22 08:19:54 +00:00
Rainer Gerhards
51bb02e3cd applied patch by varmojfekoj to allow gssapi functionality to be build as a
separate plugin (so that gssapi and plain tcp functionality can be
    individually distributed). Also inclulded some other enhancements, most
    importantly initial compatibility mode system
2008-02-22 07:24:15 +00:00
Rainer Gerhards
45136c6656 some more interface changes 2008-02-21 14:31:56 +00:00
Rainer Gerhards
04622f7d22 first steps in implementing object interfaces (stage work for later dynamic
class loading)
2008-02-21 13:27:51 +00:00
Rainer Gerhards
013073f1a6 changed rsCStrObj name to cstr_t, which is more inline with the rest of
rsyslog (now) and also much easier to type
2008-02-21 07:00:29 +00:00
Rainer Gerhards
c6bebca3c7 changed rsCStrDestruct() to use the new interface conventions 2008-02-20 14:02:33 +00:00
Rainer Gerhards
f02d615052 - basic implementation of expression parser parsing done
- improved ABNF a bit
2008-02-20 09:54:58 +00:00
Rainer Gerhards
7a146af86f - begun implementation of expression parsing logic
- implemented, simpstr, var, number in tokenizer
2008-02-19 17:38:37 +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