Rainer Gerhards
04d6e9cc01
bugfix: some slightly invalid memory accesses
2008-03-20 13:34:50 +00:00
Rainer Gerhards
06ffec1c3f
bugfix: fixed some minor memory leaks
2008-03-20 09:31:05 +00:00
Rainer Gerhards
52ac1ab34c
worked some more on HP UX - got it to compile and receive UDP messages
2008-03-06 11:20:36 +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
e06557a4cd
implemented environment-settable debug options
2008-02-28 13:25:43 +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
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
52b6b6f221
- added new facility and severity syntaxes to cfsysline handler
...
- implemented $InputFileFacility config directive
- implemented $InputFileSeverity config directive
2008-02-14 15:43:50 +00:00
Rainer Gerhards
41fb70130f
bugfix: having fun with 32/64 bit portability - after 15 years, I finally
...
was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit
platforms
2008-01-31 12:54:10 +00:00
Rainer Gerhards
6cc46b15d9
- implemented simple output rate limiting
...
- addded $ActionQueueDequeueSlowdown config directive
- addded $MainMsgQueueDequeueSlowdown config directive
- bugfix: MsgDup() did not work with new base object data structure
2008-01-30 15:37:23 +00:00
Rainer Gerhards
f547af1f86
finally implemented infinite action retries via -1 retry count
2008-01-30 08:28:33 +00:00
Rainer Gerhards
ad2f1c7e6d
implemented the $ActionResumeRetryCount config directive
2008-01-28 16:05:11 +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
Rainer Gerhards
fbd4ecdce4
- implemented new GetSize() handler for config files
...
- implemented $MainMsgQueueMaxFileSize configuration directive
2008-01-09 08:25:25 +00:00
Rainer Gerhards
b9cd4dd8bb
previous patch was incorrect
2007-12-20 11:32:01 +00:00
Rainer Gerhards
c34e69f9e3
bugfix: memory leak in cfsysline.c/doGetWord() fixed
2007-12-20 11:12:57 +00:00
Rainer Gerhards
004229dda6
changed license to GPLv3 (for what is to become rsyslog v3)
2007-12-14 11:21:57 +00:00
Rainer Gerhards
c67fe91bed
fixed some type conversion warnings that appeared on 64 bit machines -
...
these were in debug statements, so indicated no real problem
2007-12-07 13:27:52 +00:00
Rainer Gerhards
3bb7ad8246
- added an identifier to command handler table - need to identify which
...
command handler entries need to be removed when module is unloaded
- added support so that linkedlist key can be used for owner handle
- enhanced llExecFunc to support deletion of list elements (on behalf of
user function being called, slight interface change)
- enhanced linkedlist class so that list elements can now be deleted based
on the key value they have
- created entry point so that CfSysLine handlers are removed on modExit()
2007-11-21 16:34:48 +00:00
Rainer Gerhards
bb6bfca3df
added support so that linkedlist key can be used for owner handle
2007-11-21 11:33:22 +00:00
Rainer Gerhards
8d606ea26d
added an identifier to command handler table - need to identify which
...
command handler entries need to be removed when module is unloaded
2007-11-21 10:52:19 +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
dee95717d7
cleaned up compiler warnings
2007-09-11 09:10:45 +00:00
Rainer Gerhards
68bf15ba7c
removed debug aid that sneaked in
2007-09-07 09:17:15 +00:00
Rainer Gerhards
5b9f98ee20
- added eCmdHdlrGetWord command handler
...
- added $ModDir config directive
2007-09-07 08:56:43 +00:00
Michael Meckelein
fb13c3a398
applied patches which will be released under 1.19.1, changed doc for 1.19.1
...
release
2007-08-22 10:49:32 +00:00
Rainer Gerhards
2b5dc260a5
fixed a bug that would have manifested when module configuration commands
...
would have been freed. The current code base, however, never does this,
so this is not a real bug fix - it's in preparation of future work
2007-08-09 12:56:33 +00:00
Michael Meckelein
f2511d3c61
changed rsyslog.h include order to solve debian sid zlib inlcude issue
2007-08-08 10:49:38 +00:00
Rainer Gerhards
fed254a29f
changed function name dprintf() to dbgprintf() as it conflicts with the
...
clib
2007-08-08 08:20:06 +00:00
Rainer Gerhards
bec7683ec2
enhanced $Include to allow inclusion of a complete directory
2007-08-01 09:57:02 +00:00
Rainer Gerhards
2b51194f65
- some more code cleanup
...
- enhanced cfsysline interface to disallow chaining of command handlers
2007-08-01 07:46:36 +00:00
Rainer Gerhards
0eab6e11e9
- loading default values as done yesterday *is* clean (I've just reviewed
...
the code again)
- moved omfile-specifc global variables (for cfsysline settings) from
syslogd.c to omfile.c
2007-08-01 07:26:46 +00:00
Rainer Gerhards
af35de6774
- $ResetConfigVariables now also works vir the table-driven sytem. However,
...
I need to fix an issue with loading default settings when syslogd is
started or HUPed
2007-07-31 16:59:39 +00:00
Rainer Gerhards
86afe5b17c
- all cfsysline directives now use new table-driven cfsysline system except
...
for $ResetConfigVariables
2007-07-31 16:29:39 +00:00
Rainer Gerhards
9234c95d74
omfile.c now uses the new table-driven cfsysline system
2007-07-31 16:07:40 +00:00
Rainer Gerhards
074ece90c0
- got the basic code in place to create an in-memory list of cfsysline
...
handlers (omfile.c used as testing case) -- not yet in active code
2007-07-31 15:23:28 +00:00
Rainer Gerhards
7449e8356b
- added interface to register a cfsysline command handler (basic
...
functionality)
2007-07-31 13:30:55 +00:00
Rainer Gerhards
19e94f1959
prepared cfsysline.c for integration into output modules
2007-07-31 12:34:45 +00:00
Rainer Gerhards
cc768428f3
- added doCustomHdlr() to cfsysline.c - this completes implementing
...
functions for canned handlers.
2007-07-31 10:07:03 +00:00
Rainer Gerhards
c0b2b6b1bf
- added macro to abort a function and go to finalizer
...
- added output of config file line number when a parsing error occured
2007-07-31 08:40:32 +00:00
Rainer Gerhards
e123f620d3
- added doGetInt() to cfsysline.c and adapted dynaFileChaceSize handler to
...
use it
2007-07-31 08:12:11 +00:00
Rainer Gerhards
c135ef6de2
- moved the SetCCEscapeCharacter config file directive to cfsysline.c and
...
also generalized it for further use while doing so
2007-07-31 07:51:43 +00:00
Rainer Gerhards
4d162e6a58
- moved umask & file/dir creation mode parsing to cfsysline.c
...
- added macro for easy and consistent check of iRet return value
2007-07-31 07:37:04 +00:00
Rainer Gerhards
1531dbee97
moved doGetGID() to cfsysline.c
2007-07-31 06:59:33 +00:00
Rainer Gerhards
8618cc00b0
moved doBinaryOption() and doGetGUID() to cfsysline.c
2007-07-30 12:19:20 +00:00
Rainer Gerhards
6808a7e2f1
- added cfsysline objects - initial set of functions
...
- fixed bug in OMSRcreate() - always returned SR_RET_OK
2007-07-30 10:12:22 +00:00