summaryrefslogtreecommitdiffstats
path: root/plugins/imuxsock
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge branch 'v5-stable' into betaRainer Gerhards2011-09-261-5/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * \ \ \ Merge branch 'v5-stable' into betaRainer Gerhards2011-05-091-2/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tools/omfwd.c
* | \ \ \ \ Merge branch 'v5-devel' into masterRainer Gerhards2012-01-181-5/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html plugins/imptcp/imptcp.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/parser.c template.c tools/omfwd.c tools/syslogd.c
| * | | | | $IMUXSockRateLimitInterval DEFAULT CHANGED, was 5, now 0Rainer Gerhards2012-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new default turns off rate limiting. This was chosen as people experienced problems with rate-limiting activated by default. Now it needs an explicit opt-in by setting this parameter. Thanks to Chris Gaffney for suggesting to make it opt-in; thanks to many unnamed others who already had complained at the time Chris made the suggestion ;-)
| * | | | | regression fix: imuxsock-received messages were malformedRainer Gerhards2012-01-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | probably caused by a recent merge, was not present in 5.9.4
* | | | | | Merge branch 'v5-devel'Rainer Gerhards2011-12-201-9/+9
|\| | | | |
| * | | | | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2011-12-201-9/+9
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c
| | * | | | bugfix: imuxsock did truncate part of received message if it did not contain ↵Rainer Gerhards2011-12-201-2/+5
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a proper date. The truncation occured because we removed that part of the messages that was expected to be the date. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=295
* | | | | Merge branch 'v5-devel'Rainer Gerhards2011-12-161-5/+161
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c runtime/modules.c
| * | | | imuxsock: added capability to "annotate" messages with "trusted information",Rainer Gerhards2011-11-291-6/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which contains some properties obtained from the system and as such sure to not be faked. This is inspired by the similiar idea introduced in systemd.
* | | | | Merge branch 'v5-devel'Rainer Gerhards2011-09-261-4/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/conf.c tools/omfile.c tools/omusrmsg.c
| * | | | Merge branch 'v5-stable' into v5-develRainer Gerhards2011-09-071-4/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c
| | * | | bugfix: imuxsock did no longer ignore message-provided timestamp,Rainer Gerhards2011-09-071-5/+10
| | | |/ | | |/| | | | | | | | | | | | | if so configured (the *default*). Lead to no longer sub-second timestamps. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=281
* | | | milestone: added module config namesRainer Gerhards2011-07-201-0/+1
| | | |
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-06-271-15/+70
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c tools/omfile.c
| * | | added support for obtaining timestamp from system for imuxsockRainer Gerhards2011-06-201-11/+63
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This permits to read the time a message was submitted to the system log socket. Most importantly, this is provided in microsecond resolution. So we are able to obtain high precision timestampis even for messages that were - as is usual - not formatted with them. This also simplifies things in regard to local time calculation in chroot environments. Many thanks to Lennart Poettering for suggesting this feature, providing some guidance on implementing it and coordinating getting the necessary support into the Linux kernel.
* | | step: imuxsock changed to new config systemRainer Gerhards2011-05-121-143/+249
| | | | | | | | | | | | now also properly works with privilege drop
* | | step: imtcp moved to new config interfaceRainer Gerhards2011-05-051-2/+2
| | | | | | | | | | | | as far as we know that new interface right now ;)
* | | step: put plumbing in place for new input module config systemRainer Gerhards2011-05-031-0/+30
| | |
* | | Merge branch 'v5-stable'Rainer Gerhards2011-04-271-2/+7
|\| | | |/ |/| | | | | Conflicts: tools/syslogd.c
| * bugfix: rate-limiting inside imuxsock did not work 100% correctRainer Gerhards2011-04-271-2/+7
| | | | | | | | | | | | | | reason was that a global config variable was invalidly accessed where a listener variable should have been used. Also performance-improved the case when rate limiting is turned off (this is a very unintrusive change, thus done directly to the stable version).
* | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-0/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * Merge branch 'v5-beta-gtls-fix' into v5-betaRainer Gerhards2011-03-061-0/+1
| |\
| | * added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v5-beta'Rainer Gerhards2011-02-251-5/+17
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | fixed compile problems on SolarisRainer Gerhards2011-02-231-0/+4
| |/
| * the last fix introduced another regression, fixed nowRainer Gerhards2011-02-221-5/+8
| | | | | | | | | | The previous fix left variable lenMsg in an inconsistent state when sanitization actually happend. This could lead to message truncation.
| * bugfix: imuxsock does not sanitization at all (regression)Rainer Gerhards2011-02-221-4/+5
| | | | | | | | | | This also causes problems when NUL characters are present inside the message (as is the case with spamd).
| * fixed dumb but important typo in code...Rainer Gerhards2011-02-211-1/+1
| | | | | | | | thanks to Michael Biebl for alterting me
| * bugfix: imuxsock did no longer remove trailing LFRainer Gerhards2011-02-211-0/+4
| | | | | | | | | | | | | | This was a regression from the imuxsock partial rewrite. Happened because the message is no longer run through the standard parsers. Now imuxsock does this sanitization itself. bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=224
* | Merge branch 'v5-beta'Rainer Gerhards2011-02-111-44/+45
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * fixed some compile issues in recent systemd patchRainer Gerhards2011-02-111-2/+2
| |
| * Improved systemd socket activation supportMarius Tomaschewski2011-02-111-44/+45
| | | | | | | | | | | | Support for multiple unix sockets and activation in forking mode Signed-off-by: Marius Tomaschewski <mt@suse.de>
* | Merge branch 'v5-devel'Rainer Gerhards2010-10-151-2/+2
|\| | | | | | | | | Conflicts: ChangeLog
| * removed need for math libraryRainer Gerhards2010-10-111-2/+2
| | | | | | | | | | | | by doing math a little bit more optimal in hash table code. Also reduced memory requirement for imuxsock hash tables (expected number of connections was set too high -- table can be extended dynamically).
* | Merge branch 'v5-devel'Rainer Gerhards2010-10-061-3/+15
|\|
| * previous bugfix was incomplete, resolving thisRainer Gerhards2010-10-061-0/+4
| |
| * bugfix/imuxsock: did not compile on platforms without SCM_CREDENTIALSRainer Gerhards2010-10-061-3/+11
| | | | | | | | | | | | | | | | Note: we do rate-limiting by the pid and we obtain the pid via SCM_CREDENTIALS socket options. So this patch effectively disables the (new) ratelimiting capability. In a later patch, I'll see that I can provide a global ratelimiting capability, which could always be used (an alternative may be using the tag, will check this out as well).
* | Merge branch 'v5-devel'Rainer Gerhards2010-10-052-112/+532
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c runtime/rsyslog.h
| * Merge branch 'v5-devel-hdfs' into v5-develRainer Gerhards2010-10-051-2/+2
| |\
| | * omhdfs: more improvementsRainer Gerhards2010-10-011-2/+2
| | | | | | | | | | | | | | | finally this looks almost production ready for files where no directory path needs to be created
| * | imuxsock: fixed dumb mistake of last commitRainer Gerhards2010-10-041-1/+1
| | | | | | | | | | | | I left a testing setting in, resulting in /dev/log never being deleted...
| * | bugfix/imuxsock: system log socket was deleted in systemd-mode, tooRainer Gerhards2010-10-041-12/+9
| |/ | | | | | | | | | | | | | | related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=200 Note that this may not be the ultimate fix. I could not definitely identify the root cause of the problem and so I did some changes that I *think* (but could not verify) that resolved the issue.
| * imuxsock: indicate when rate limiting begins, include pid in rl messagesRainer Gerhards2010-09-291-3/+10
| | | | | | | | also improved test tool
| * doc/imuxsock: added new options to docRainer Gerhards2010-09-281-1/+1
| |
| * imuxsock: added per-socket hash tables/rate limiters & severity filterRainer Gerhards2010-09-281-55/+104
| | | | | | | | | | rate limiting now applies only to messages with a given severity or above. By default, emergency messages are NOT rate-limited.
| * imuxsock: changed to per-pid ratelimitingRainer Gerhards2010-09-281-6/+77
| |
| * added some generic hashtable code by Christopher ClarkRainer Gerhards2010-09-282-1/+2
| | | | | | | | found at http://www.cl.cam.ac.uk/~cwc22/hashtable/
| * first shot at imuxsock ratelimitingRainer Gerhards2010-09-271-3/+95
| | | | | | | | works, but at a global level, need to go down to pid or cgroup
| * added support for SCM_CREDENTIALS to imuxsock (now fully working)Rainer Gerhards2010-09-271-105/+92
| |