summaryrefslogtreecommitdiffstats
path: root/plugins/imdiag
Commit message (Collapse)AuthorAgeFilesLines
* relicense parts under ASL 2.0Rainer Gerhards2012-01-111-15/+14
| | | | after carful check for copyright holder
* RcvFromIP now also a propertyRainer Gerhards2009-07-011-1/+8
| | | | | | This sets stage to enable use of the property-interface to speed up things (mildly), the next step to be done. I have also fixed one regression of yesterday's changes.
* introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-301-1/+8
| | | | | | | | | | | ... plus a fix for a long-time bug in obj-types.h. That lead to the object pointer only then to become NULL when the object was actually destructed, I discovered this issue during introduction of the pRcvFrom property in msg_t, but it potentially had other effects, too. I am not sure if some experienced instability resulted from this bug OR if its fix will cause harm to so-far "correctly" running code. The later may very well be. Thus I will change it only for the current branch and also the beta, but not in all old builds. Let's see how things evolve.
* finished transition to using inputName propertyRainer Gerhards2009-06-301-2/+12
| | | | | ... plus some celanup and adding minor missing functionality (the rule debug info again tell the property name, not just number).
* introduced the idea of detached propertiesRainer Gerhards2009-06-291-1/+1
| | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
* cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-181-2/+1
|
* some performance optimizationsRainer Gerhards2009-06-161-1/+1
| | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
* fix: import from beta accidently disable imdiagRainer Gerhards2009-05-291-3/+0
|
* Merge branch 'beta'Rainer Gerhards2009-05-291-0/+3
|\
| * fixed problem in syslog-protocol (now RFC5424) parserRainer Gerhards2009-05-291-0/+3
| | | | | | | | ... as well as some other minor issues.
* | greatly enhanced testbenchRainer Gerhards2009-05-271-13/+132
| | | | | | | | | | | | | | | | | | The imdiag module now can very effectively inject messages, which also frees us from uncertainties of tcp reception and processing. All shell script based tests have been modularized, what makes it far easier to create new tests. Also, the test bench now executes more reliable and much faster, because we can now rely on actual engine information where we previously did just a dumb sleep.
* | added new testing module imdiagRainer Gerhards2009-05-251-52/+195
| | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* | made imdiag *just* compile & some cleanupRainer Gerhards2009-05-201-16/+20
|/ | | | | | imdiag was never finished (not even really begun), but now I need it. I made the few things that are available compile, but more serious work is required.
* make all cflags and libs variables uppercaseMichael Biebl2009-02-241-1/+1
| | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.
* begun implementing a diagnostic plugin (not yet completed)Rainer Gerhards2008-07-282-0/+203