34 Commits

Author SHA1 Message Date
Rainer Gerhards
ec01259427 add "processInternalMessages" global config parameter 2014-01-21 11:50:06 +01:00
Rainer Gerhards
22ad2d2f0a re-enable legacy $WorkDir for queue spool directory use 2013-12-09 15:51:46 +01:00
Rainer Gerhards
8aad93c582 imuxsock: add capability to ignore messages from ourselfes
This helps prevent message routing loops, and is vital to have
if omjournal is used together with traditional syslog.
2013-02-26 09:58:17 +01: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
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
9ce9fbb28f milestone: new output plugin interface call added 2011-07-21 11:14:52 +02:00
Rainer Gerhards
74c2e98c13 milestone: glbl obj parameters settable via new conf interface 2011-07-19 17:53:23 +02:00
Rainer Gerhards
4eadfb6481 first shot at scoping (for actions only)
parser now supports $Begin action, $End action, $StrictScoping,
but not yet the actual semantics.
2010-07-23 15:22:47 +02:00
Rainer Gerhards
0957820a10 Merge branch 'v4-devel'
Conflicts:
	doc/rsyslog_conf_modules.html
	gss-misc.c
	plugins/imgssapi/imgssapi.c
	plugins/imudp/imudp.c
	plugins/imuxsock/imuxsock.c
	runtime/glbl.c
	runtime/glbl.h
	runtime/net.c
2009-11-17 10:38:46 +01:00
Rainer Gerhards
9e28d47aaa worked a bit on "unlimited select()" patch
- potential segfault in gss-misc.c
- glbl interface needed different version ID
- some compile time warning cleanup
2009-11-17 10:14:02 +01:00
Rainer Gerhards
f94a3034b6 integrating varmojfekoj's "unlimited select()" patch into v4-devel 2009-11-17 09:10:24 +01:00
varmojfekoj
30c2e42ec3 added option to use unlimited-size select() calls
Thanks to varmjofekoj for the patch

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-11-17 09:00:01 +01:00
Rainer Gerhards
6f511cecfa more cleanup and working towards a parser module calling interface
I cleaned up a lot of config variable access along the way. This
version compiles and runs, but does not yet offer any enhanced
functionality. pmrfc5424 is just a dummy that is not yet being used.
2009-11-03 12:39:48 +01:00
Rainer Gerhards
7d92de155c internal: added ability to terminate input modules not via pthread_cancel...
... but an alternate approach via pthread_kill. This is somewhat safer as we
do not need to think about the cancel-safeness of all libraries we use.
However, not all inputs can easily supported, so this now is a feature
that can be requested by the input module (the most important ones
request it).
2009-07-20 18:36:30 +02:00
Rainer Gerhards
60a7a0d4d0 $HUPisRestart removed
... but the rest of the code is not yet cleaned-up. Will do that
slowly over time... (huge potential, but must be done carefully)
2009-07-15 12:59:28 +02:00
Rainer Gerhards
aaffc4281e introduced a new way of handling the RcvFrom property
... 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.
2009-06-30 18:45:41 +02:00
Rainer Gerhards
31344728fe bufgix: $PreserveFQDN was not properly handled for locally emitted messages 2008-12-20 12:56:41 +01:00
Rainer Gerhards
60b8ce14bf added $PreserveFQDN config file directive
Enables to use FQDNs in sender names where the legacy default
2008-12-08 15:42:47 +01:00
Rainer Gerhards
6334d335d8 added configuration directive "HUPisRestart"
...which enables to configure HUP to be either a full restart
or "just" a leightweight way to close open files
2008-10-23 14:46:47 +02:00
Rainer Gerhards
cf38fc8175 added a setting "$OptimizeForUniprocessor"
...to enable users to turn off pthread_yield calls which are
counter-productive on multiprocessor machines (but have been
shown to be useful on uniprocessors)
2008-10-22 13:54:40 +02:00
Rainer Gerhards
1a9ac0ced7 removed compile time fixed message size limit (was 2K)
The limit can now be set via $MaxMessageSize global config
directive (finally gotten rid of MAXLINE ;))
2008-09-02 11:38:31 +02:00
Rainer Gerhards
d451808236 reduced number of compile warnings in -pedantic gcc mode 2008-06-27 10:10:47 +02:00
Rainer Gerhards
74ab20fa5c made default certificate file locations configurable
- added $DefaultNetstreamDriverCAFile config directive
- added $DefaultNetstreamDriverCertFile config directive
- added $DefaultNetstreamDriverKeyFile config directive
2008-05-05 12:59:06 +02:00
Rainer Gerhards
1daf8d492f converted netstrm into generic netstrm and the nsd_pctp driver 2008-04-18 11:40:15 +02:00
Rainer Gerhards
e5130affc0 moved "glblModPath" variable inside global data pool
(but still as a variable, not part of glbl object)
2008-04-17 11:17:15 +02:00
Rainer Gerhards
43a282dd96 declared glbl class to be abstract (saves some housekeeping) 2008-04-17 11:00:51 +02:00
Rainer Gerhards
e1791996b8 moved host/domain-name related variables to global data pool 2008-04-17 10:58:30 +02:00
Rainer Gerhards
4824e56aed moved "DisableDNS" variable to global data pool 2008-04-17 10:11:29 +02:00
Rainer Gerhards
911101ed26 moved "option_DisallowWarning" variable to global data pool 2008-04-17 09:54:10 +02:00
Rainer Gerhards
e16a207726 moved "bDropMalPTRMsgs" variable to global data pool 2008-04-17 09:40:41 +02:00
Rainer Gerhards
8c65706d22 moved "family" variable to global data pool 2008-04-17 09:25:03 +02:00
Rainer Gerhards
87c936ab65 modularization work
cleanup + created an abstract class for global data
items and moved glblGetWorkDir to it
2008-04-17 09:07:12 +02:00
Rainer Gerhards
bf3e0d4f22 prevented segfault during runtime library init phase 2008-04-16 18:01:26 +02:00
Rainer Gerhards
d071de5784 removed no longer needed things
... and some more cleanup. Also moved a file that I forgot
(thanks to Michael Biebl for pointing that out).
2008-04-16 15:45:13 +02:00