463 Commits

Author SHA1 Message Date
Rainer Gerhards
34a88a7e9a ratelimit: added linux-like ratelimiter type 2012-10-15 16:39:36 +02:00
Rainer Gerhards
3806643baa ratelimiter: enable thread-safe mode & (related) API changes 2012-10-15 11:19:22 +02:00
Rainer Gerhards
2a6ff7d53d interface cleanup (probably not final) 2012-10-15 08:55:12 +02:00
Rainer Gerhards
49fb431e0c milestone: ratelimiter used in imptcp 2012-10-15 08:41:04 +02:00
Rainer Gerhards
4269e45781 new ratelimit: interface plumbing added
no actual implementation yet done
2012-10-09 18:54:25 +02:00
Rainer Gerhards
83b9b63e46 Merge branch 'v6-devel' 2012-09-20 09:44:53 +02:00
Rainer Gerhards
762c1a81d5 bugfix: config validation run did not always return correct return state 2012-09-20 08:41:32 +02:00
Rainer Gerhards
c0e35e864a bugfix: config validation run did not always return correct return state 2012-09-20 08:31:03 +02:00
Rainer Gerhards
200e08ac42 new ruleengine: some cleanup 2012-09-06 11:09:16 +02:00
Rainer Gerhards
2f7586bbe4 cleanup: remove left-over commented-out code 2012-08-25 12:35:09 +02:00
Rainer Gerhards
de71589ca3 Merge branch 'v6-stable'
Conflicts:
	ChangeLog
	configure.ac
	runtime/ruleset.c
	tools/syslogd.c
2012-08-25 12:19:56 +02:00
Rainer Gerhards
8939ccfffd Merge branch 'v5-stable' into v6-stable
Conflicts:
	ChangeLog
	action.c
	configure.ac
	doc/manual.html
	runtime/ruleset.c
	template.h
	threads.c
	tools/syslogd.c
2012-08-25 11:55:41 +02:00
Rainer Gerhards
01fe0fd2ab Merge branch 'v5-stable' into v5-beta
Conflicts:
	runtime/ruleset.c
2012-08-22 15:32:05 +02:00
Rainer Gerhards
d92ad440da bugfix: multiple main queues with same queue file name were not detected
This lead to queue file corruption. While the root cause is a config
error, it is a bug that this important and hard to find config error
was not detected by rsyslog.
2012-08-22 14:30:12 +02:00
Rainer Gerhards
4ce8111ea6 Merge branch 'v5-stable' into beta 2012-08-20 12:37:39 +02:00
Rainer Gerhards
4d01df57c2 bugfix: potential abort if output plugin logged message during shutdown
note that none of the rsyslog-provided plugins does this
Thanks to bodik and Rohit Prasad for alerting us on this bug and
analyzing it.
fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=347
2012-08-01 10:14:37 +02:00
Rainer Gerhards
bf85d81790 implemented freeCnf() module interface & fixed some mem leaks
The interface was actually not present in older versions, even though some modules
already used it. The implementation was now done, and not in 6.3/6.4
because the resulting memory leak was ultra-slim and the new interface
handling has some potential to seriously break things. Not the kind of
 thing you want to add in late beta state, if avoidable.
2012-06-25 12:35:46 +02:00
Rainer Gerhards
8985d50fea Merge branch 'v5-stable' into v5-beta 2012-06-15 16:10:32 +02:00
Rainer Gerhards
c8324b3460 milestone: regex is compiled from script based filter 2012-06-12 18:52:32 +02:00
Rainer Gerhards
dec9bcfe2a bugfix "$PreserveFQDN on" was not honored in some modules
Thanks to bodik for reporting this bug.
  ---------------------------------------------
2012-06-12 13:58:13 +02:00
Rainer Gerhards
d5585524b7 Merge branch 'beta' 2012-06-06 18:49:42 +02:00
Rainer Gerhards
27360bb33f Merge branch 'v5-beta' into beta
Conflicts:
	runtime/modules.c
2012-06-06 18:49:32 +02:00
Rainer Gerhards
29cd813960 Merge branch 'v5-stable' into v5-beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	runtime/modules.c
2012-06-06 15:12:51 +02:00
Rainer Gerhards
55659b96a3 add small delay (50ms) after sending shutdown message
There seem to be cases where the shutdown message is otherwise not
processed, not even on an idle system. Thanks to Marcin for
bringing this problem up.
2012-06-04 12:01:24 +02:00
Rainer Gerhards
4cd16cbb28 Merge branch 'beta' 2012-06-01 16:51:25 +02:00
Rainer Gerhards
4a37e5daba Merge branch 'v5-beta' into beta 2012-06-01 16:51:03 +02:00
Rainer Gerhards
1b6d14f8ab Merge branch 'v5-stable' into v5-beta
Conflicts:
	runtime/queue.c
2012-06-01 16:09:59 +02:00
Rainer Gerhards
21fc2ac977 cosmetic: slightly improved debug output 2012-05-31 13:01:07 +02:00
Rainer Gerhards
04399f5ebe added --enable-debugless configure option for very high demanding environments
This actually at compile time disables a lot of debug code, resulting
in some speedup (but serious loss of debugging capabilities)
2012-05-29 12:01:07 +02:00
Rainer Gerhards
6bc629021e Merge branch 'v5-beta' into beta
Conflicts:
	ChangeLog
2012-05-29 11:36:13 +02:00
Rainer Gerhards
f4ec11fa77 Merge branch 'v5-stable' into v5-beta 2012-05-29 11:23:04 +02:00
Tomas Heinrich
a4980cbde2 bugfix: if debug message could end up in log file when forking
if rsyslog was set to auto-background (thus fork, the default) and debug
mode to stdout was enabled, debug messages ended up in the first log file
opened. Currently, stdout logging is completely disabled in forking mode
(but writing to the debug log file is still possible). This is a change
in behaviour, which is under review. If it causes problems to you,
please let us know.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2012-05-29 11:21:50 +02:00
Rainer Gerhards
af968e6ef9 cleanup: removing no longer needed macros 2012-05-04 09:30:47 +02:00
Rainer Gerhards
8ce2e39177 cleanup no longer used variable 2012-05-03 18:40:31 +02:00
Rainer Gerhards
fdcaca6b85 Merge branch 'v5-stable' into v5-beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
2012-05-03 18:25:27 +02:00
Rainer Gerhards
8597affe15 debug: slightly improved debug info for input module startup 2012-05-03 08:49:05 +02:00
Rainer Gerhards
7177afe484 Merge branch 'v5-beta'
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	plugins/imuxsock/imuxsock.c
	tools/syslogd.c
2012-04-12 15:11:50 +02:00
Rainer Gerhards
0b8f3d5463 Merge branch 'v5-stable-newstats' into v5-devel 2012-04-12 14:10:36 +02:00
Rainer Gerhards
e4d87aac95 Merge branch 'v5-stable' into v5-stable-newstats
Conflicts:
	plugins/imuxsock/imuxsock.c
	runtime/glbl.c
2012-04-12 14:10:09 +02:00
Rainer Gerhards
d749dadcc3 imuxsock: do not cache hostname 2012-04-12 10:14:32 +02:00
Marius Tomaschewski
a3a0acadb4 Allocate LocalDomain as new string
LocalDomain points to "" or the domain in LocalHostName,
allocate as new string before passing to SetLocalDomain
or free will fail later.

Signed-off-by: Marius Tomaschewski <mt@suse.com>
2012-04-11 14:53:09 +02:00
Rainer Gerhards
d0a73d3449 bugfix: hostname was not requeried on HUP
Thanks to Marius Tomaschewski for reporting this bug.
2012-04-11 11:18:41 +02:00
Rainer Gerhards
d6da57ae03 Merge branch 'v5-stable-newstats'
Conflicts:
	action.c
	configure.ac
	doc/imuxsock.html
	plugins/imklog/imklog.c
	plugins/imptcp/imptcp.c
	plugins/imtcp/imtcp.c
	plugins/imudp/imudp.c
	plugins/imuxsock/imuxsock.c
	runtime/glbl.c
	runtime/glbl.h
	runtime/net.c
	runtime/ruleset.c
	tcpsrv.h
	tools/syslogd.c
2012-04-07 15:42:46 +02:00
Rainer Gerhards
d53016962d Merge branch 'v5-stable-newstats' into v5-devel
Conflicts:
	configure.ac
	doc/manual.html
2012-04-07 14:44:12 +02:00
Rainer Gerhards
49ec54d369 milestone: added capability to use a local interface IP address as fromhost-ip
... for locally originating messages. New directive $LocalHostIPIF.
Note that not all modules yet support this new directive - next step...
2012-03-21 11:43:45 +01:00
Rainer Gerhards
2c7604f45b cosmetic: removed stray definition 2012-03-12 17:01:44 +01:00
Rainer Gerhards
f90675f33f Merge branch 'v5-stable-newstats' into v5-devel
Conflicts:
	ChangeLog
	action.c
	configure.ac
	doc/imuxsock.html
	doc/manual.html
	runtime/queue.c
2012-03-12 17:00:21 +01:00
Rainer Gerhards
9601b181cf added capability to use a local interface IP address as fromhost-ip for imuxsock
new config directives: $IMUXSockLocalIPIF
2012-03-06 17:26:04 +01:00
Rainer Gerhards
5c09faee34 queue: lightdelay config: keep default of 70% until mark is explicitely set 2012-02-22 09:43:25 +01:00
Rainer Gerhards
f9b6b94b80 added configuration directives to customize queue light delay marks
$MainMsgQueueLightDelayMark, $ActionQueueLightDelayMark; both
specify number of messages starting at which a delay happens.
2012-02-21 16:52:36 +01:00