summaryrefslogtreecommitdiffstats
path: root/runtime/glbl.c
Commit message (Collapse)AuthorAgeFilesLines
* milestone: module() config statement basically worksRainer Gerhards2012-06-211-0/+2
| | | | some nits to iron out, only omfile actually support module params
* Merge branch 'v5-beta'Rainer Gerhards2012-04-121-30/+58
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c tools/syslogd.c
| * Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-04-121-30/+58
| |\ | | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c runtime/glbl.c
| | * Free also LocalDomain in glbl class destructorMarius Tomaschewski2012-04-111-0/+1
| | | | | | | | | | | | Signed-off-by: Marius Tomaschewski <mt@suse.com>
| | * bugfix: hostname was not requeried on HUPRainer Gerhards2012-04-111-44/+63
| | | | | | | | | | | | Thanks to Marius Tomaschewski for reporting this bug.
* | | Merge branch 'v5-stable-newstats'Rainer Gerhards2012-04-071-30/+96
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | unified use of $LocalHostIPIF among all locally-emitting inputsRainer Gerhards2012-03-221-1/+1
| | | | | | | | | | | | | | | with the exception of imdiag, which I humbly do not think needs this capabilit (even counter-productive for testbench use).
| * | milestone: added capability to use a local interface IP address as fromhost-ipRainer Gerhards2012-03-211-31/+97
| |/ | | | | | | | | ... for locally originating messages. New directive $LocalHostIPIF. Note that not all modules yet support this new directive - next step...
* | Merge branch 'v6-stable-noscoping' into masterRainer Gerhards2012-01-191-11/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/immark/immark.c plugins/imptcp/imptcp.c plugins/imrelp/imrelp.c plugins/imtcp/imtcp.c plugins/imtemplate/imtemplate.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c plugins/omtemplate/omtemplate.c runtime/glbl.c runtime/parser.c tools/omfile.c tools/syslogd.c
| * | undoing v6.1 config scoping interface, part IRainer Gerhards2012-01-181-10/+10
| | | | | | | | | | | | The most common files are now changed, more needs to be done.
* | | milestone: new output plugin interface call addedRainer Gerhards2011-07-211-1/+1
| | |
* | | milestone: added module config namesRainer Gerhards2011-07-201-0/+4
| | |
* | | milestone: size syntax implementedRainer Gerhards2011-07-191-1/+7
| | |
* | | milestone: glbl obj parameters settable via new conf interfaceRainer Gerhards2011-07-191-0/+54
| | |
* | | milestone: two syntaxes for get conf param implementedRainer Gerhards2011-07-191-0/+2
| | |
* | | milestone: first steps at global() conf obj implementationRainer Gerhards2011-07-191-2/+38
|/ / | | | | | | | | also, the foundation for accessing conf file params has been laid. Still more work to do...
* | Merge branch 'v5-stable' into betaRainer Gerhards2011-06-211-1/+22
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/diag.sh tests/sndrcv_drvr.sh
| * bugfix/improvement:$WorkDirectory now gracefully handles trailing slashesRainer Gerhards2011-06-151-1/+22
| |
* | Merge branch 'v5-stable' into betaRainer Gerhards2011-05-091-0/+6
|\| | | | | | | | | Conflicts: tools/omfwd.c
| * bugfix: $LocalHostName was not honored under all circumstancesRainer Gerhards2011-05-091-0/+6
| | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=258
* | Merge branch 'v5-beta'Rainer Gerhards2011-02-181-1/+36
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/glbl.c tools/omdiscard.c
| * improved error reporting for $WorkDirectoryRainer Gerhards2011-02-151-1/+36
| | | | | | | | | | non-existance and other detectable problems are now reported, and the work directory is NOT set in this case
* | Merge branch 'v5-devel'Rainer Gerhards2010-12-171-7/+19
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c runtime/glbl.c
| * Merge branch 'v4-devel' into v5-develRainer Gerhards2010-12-171-7/+19
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html doc/manual.html plugins/imudp/imudp.c runtime/msg.h tools/syslogd.c
| | * added $IMUDPSchedulingPolicy and $IMUDPSchedulingPriority config settingsRainer Gerhards2010-12-171-0/+1
| | |
| | * added $LocalHostName config directive & some bugfixingRainer Gerhards2010-12-161-8/+19
| | | | | | | | | | | | | | | | | | - added $LocalHostName config directive - bugfix: local hostname was pulled too-early, so that some config directives (namely FQDN settings) did not have any effect
* | | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-9/+9
|/ / | | | | | | first step: adding object-type specifier to config statement table
* | adapted new atomic instruction emulation to v5 engineRainer Gerhards2010-04-271-1/+3
| | | | | | | | code did not compile after merge from v4
* | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-271-1/+5
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/atomic.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h runtime/wtp.c runtime/wtp.h
* | Merge branch 'v4-devel'Rainer Gerhards2009-11-171-0/+12
|\| | | | | | | | | | | | | | | | | | | | | | | 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
| * integrating varmojfekoj's "unlimited select()" patch into v4-develRainer Gerhards2009-11-171-0/+12
| |\
| | * added option to use unlimited-size select() callsvarmojfekoj2009-11-171-0/+12
| | | | | | | | | | | | | | | | | | Thanks to varmjofekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-031-0/+4
| | | | | | | | | | | | | | | | | | 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.
* | | internal: added ability to terminate input modules not via pthread_cancel...Rainer Gerhards2009-07-201-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | ... 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).
* | | $HUPisRestart removedRainer Gerhards2009-07-151-5/+0
|/ / | | | | | | | | ... but the rest of the code is not yet cleaned-up. Will do that slowly over time... (huge potential, but must be done carefully)
* | CONFIG CHANGE: $HUPisRestart default is now "off".Rainer Gerhards2009-07-151-2/+2
| | | | | | | | | | We are doing this to support removal of restart-type HUP in v5. Elaborate doc added to explain reasoning and actions to be taken.
* | introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-301-0/+46
|/ | | | | | | | | | | ... 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.
* bufgix: $PreserveFQDN was not properly handled for locally emitted messagesRainer Gerhards2008-12-201-1/+26
|
* added $PreserveFQDN config file directiveRainer Gerhards2008-12-081-0/+5
| | | | Enables to use FQDNs in sender names where the legacy default
* added configuration directive "HUPisRestart"Rainer Gerhards2008-10-231-0/+5
| | | | | ...which enables to configure HUP to be either a full restart or "just" a leightweight way to close open files
* added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-221-0/+5
| | | | | | ...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)
* removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-021-0/+3
| | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* bugfix: machine certificate was required for client even in TLS anon modeRainer Gerhards2008-07-021-12/+3
| | | | | | Reference: http://bugzilla.adiscon.com/show_bug.cgi?id=85 The fix also slightly improves performance by not storing certificates in client sessions when there is no need to do so.
* reduced number of compile warnings in -pedantic gcc modeRainer Gerhards2008-06-271-4/+4
|
* made default certificate file locations configurableRainer Gerhards2008-05-051-0/+63
| | | | | | - added $DefaultNetstreamDriverCAFile config directive - added $DefaultNetstreamDriverCertFile config directive - added $DefaultNetstreamDriverKeyFile config directive
* ability to load proper select netstrm driverRainer Gerhards2008-04-291-1/+1
|
* added $DefaultNetstreamDriver config directiveRainer Gerhards2008-04-281-4/+3
|
* set stage for TLS client implementationRainer Gerhards2008-04-181-1/+3
|
* converted netstrm into generic netstrm and the nsd_pctp driverRainer Gerhards2008-04-181-2/+23
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-0/+1
| | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.