summaryrefslogtreecommitdiffstats
path: root/plugins/imuxsock/imuxsock.c
Commit message (Collapse)AuthorAgeFilesLines
* imuxsock: add some clarifiying commentsRainer Gerhards2013-10-241-2/+4
|
* imuxsock: When syssock.use set to off, additional listeners cannot be createdPavel Levshin2013-10-241-2/+0
|
* imuxsock: handle unlimited number of additional listen socketsRainer Gerhards2013-09-181-60/+63
| | | | | At the same time, (very) slightly remove memory footprint when few listeners are monitored.
* experimental: make impstats return delta values where possibleRainer Gerhards2013-09-071-3/+3
|
* imuxsock: don't report an error message for $OmitLocalLoggingTomas Heinrich2013-06-101-0/+4
|
* bugfix: set correct default valueTomas Heinrich2013-04-131-1/+1
|
* bugfix: prevent a segfault if ratelimit condition is not metTomas Heinrich2013-04-131-4/+5
| | | | | | Move the severity-check logic inside the ratelimiter and add a new function ratelimitSetSeverity() to manipulate the treshold. Currently only utilized by the imuxsock module.
* bugfix: imuxsock aborted under some conditionsRainer Gerhards2013-03-271-0/+4
| | | | regression from ratelimiting enhancements
* imuxsock: add ability to NOT create/delete sockets during startup and shutdownRainer Gerhards2013-03-201-3/+20
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=259
* Merge branch 'v7-stable'Rainer Gerhards2013-03-201-0/+3
|\
| * bugfix: imuxsock rate-limiting could not be configured via legacy confMilan Bartos2013-03-201-0/+3
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * bugfix: imuxsock was missing SysSock.ParseTrusted module parameterRainer Gerhards2013-03-151-0/+3
| | | | | | | | | | | | To use that functionality, legacy rsyslog.conf syntax had to be used. Also, the doc was missing information on the "ParseTrusted" set of config directives.
* | bugfix: imuxsock was missing SysSock.ParseTrusted module parameterRainer Gerhards2013-03-121-0/+3
| | | | | | | | | | | | use that functionality, legacy rsyslog.conf syntax had to be used. Also, the doc was missing information on the "ParseTrusted" set of config directives.
* | bugfix: imuxsock segfault when system log socket was usedRainer Gerhards2013-02-271-4/+10
| |
* | imuxsock: made config settings for IgnoreOwnMsgs actually working ;)Rainer Gerhards2013-02-261-5/+9
| |
* | imuxsock: add capability to ignore messages from ourselfesRainer Gerhards2013-02-261-1/+17
| | | | | | | | | | This helps prevent message routing loops, and is vital to have if omjournal is used together with traditional syslog.
* | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-061-3/+7
|\| | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * permit RFC3339 timestamp in local log socket messagesSebastien Ponce2012-12-031-3/+7
| | | | | | | | Released under ASL 2.0, permission given via email.
* | bugfix: segfault on imuxsock startup if system log socket is used and no ↵Rainer Gerhards2012-11-291-0/+4
| | | | | | | | | | | | | | ratelimiting supported. Happens only during initial config read phase, once this is over, everything works stable.
* | Merge branch 'v7-stable'Rainer Gerhards2012-11-131-1/+1
|\|
| * Merge branch 'v6-stable' into v7-stableRainer Gerhards2012-11-131-1/+1
| |\
| | * Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-11-131-1/+1
| | |\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | * imuxsock: do not log EAGAIN in nonblocking recvfromMarius Tomaschewski2012-11-131-1/+1
| | | |
| | * | Merge branch 'v6-stable' into v6-betaRainer Gerhards2012-10-191-5/+0
| | |\ \
| | * \ \ Merge branch 'v6-stable' into v6-betaRainer Gerhards2012-10-161-8/+2
| | |\ \ \
* | | | | | imuxsock: use a default ratelimiter if none else appliesRainer Gerhards2012-10-231-1/+9
| | | | | |
* | | | | | Merge branch 'master' into master-ratelimitRainer Gerhards2012-10-191-5/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | | Merge branch 'v6-stable' into betaRainer Gerhards2012-10-191-5/+0
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | bugfix: imuxsock did not properly honor $LocalHostIPIFRainer Gerhards2012-10-191-5/+0
| | | |/ / | | |/| |
* | | | | Merge branch 'beta' into master-ratelimitRainer Gerhards2012-10-161-7/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | Merge branch 'v6-stable' into betaRainer Gerhards2012-10-161-8/+2
| |\| | |
| | * | | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-10-161-8/+2
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c
| | | * | bugfix: imuxsock truncated head of received messageRainer Gerhards2012-10-161-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happened only under some circumstances. Thanks to Marius Tomaschwesky, Florian Piekert and Milan Bartos for their help in solving this issue. Note that Milan sent a patch, which solved the problem under some conditions (can be found somewhat earlier in git history). However, it did not handle the original root cause, and so did not fix the problem always. The main reason was that the date parser modifies the provided lenghts. That part of the API was not properly used by the caller (who decremented the length once more).
| | | * | fix problem with cutting first 16 characters from message with bAnnotate on ↵Milan Bartos2012-10-101-1/+5
| | | | | | | | | | | | | | | | | | | | modified: plugins/imuxsock/imuxsock.c
* | | | | ratelimit: added linux-like ratelimiter typeRainer Gerhards2012-10-151-90/+16
| | | | |
* | | | | milestone: convert imuxsock to ratelimitAddMsg() interfaceRainer Gerhards2012-10-151-30/+1
| | | | |
* | | | | ratelimiter: enable thread-safe mode & (related) API changesRainer Gerhards2012-10-151-7/+5
| | | | |
* | | | | interface cleanup (probably not final)Rainer Gerhards2012-10-151-2/+2
| | | | |
* | | | | milestone: ratelimiter used in imptcpRainer Gerhards2012-10-151-0/+5
| | | | |
* | | | | milestone: experimental rate limiter used in imuxsockRainer Gerhards2012-10-121-1/+13
|/ / / /
* | | | Merge branch 'v6-devel'Rainer Gerhards2012-09-271-10/+119
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c grammar/grammar.y runtime/modules.h runtime/rsconf.c
| * | | Implement input() support in imuxsockRainer Gerhards2012-09-261-10/+119
| | | |
* | | | Merge branch 'v6-devel'Rainer Gerhards2012-09-121-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: grammar/grammar.y grammar/lexer.l
| * | | Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-121-8/+6
| |\| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-09-121-5/+5
| | |\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | | * remove unused variables (if SCM_CREDENTIALS is not available)Cristian Ionescu-Idbohrn2012-09-121-1/+5
| | | |
| | | * imuxsock: remove incorrect socket option callCristian Ionescu-Idbohrn2012-09-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SCM_CREDENTIALS is not a socket option; its value is usually 0x2 which on most archs corresponds to socket option SO_REUSEADDR, but on mips-arch there is no socket option with value 0x2 and SO_REUSEADDR = 0x4, so the call will fail with ENOPROTOOPT 'Protocol not available'; skip it. There does not seem any other special setsockopt call is needed anyway, besides the above. In addition Jonny Törnbom commented: SCM_CREDENTIALS is a control message type, not a socket option, so using setsockopt(...SCM_CREDENTIALS...) is potentially dangerous and wrong and should be deleted from the code. (SCM_CREDENTIALS is used in conjuction with SO_PASSCRED which is the socket option to use.)
* | | | Merge branch 'v6-stable'Rainer Gerhards2012-09-111-3/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-09-111-3/+1
| |\ \ \ | | | |/ | | |/|
| | * | fix compile problem on FreeBSDBrad Davis2012-09-111-3/+1
| | | |