summaryrefslogtreecommitdiffstats
path: root/plugins/imuxsock
Commit message (Collapse)AuthorAgeFilesLines
...
| * changed imuxsock to have a somewhat better representation of listenersRainer Gerhards2010-09-271-61/+95
| | | | | | | | | | still not great, but far better readable (and extendable) than what we had before.
| * fixed nitRainer Gerhards2010-09-261-1/+1
| |
| * patching SCM_CREDENTIALS pid into TAG of imuxsock read messagesRainer Gerhards2010-09-261-38/+141
| |
| * first shot at SCM_CREDENTIALSRainer Gerhards2010-09-261-3/+64
| |
| * improved statistics-gathering subsystemRainer Gerhards2010-09-131-0/+18
| | | | | | | | | | | | | | | | ... well, actually this is a first real implementation of this subsystem. I have added a counter registry, a way to access the countres (as readable string) and a way to define and maintem them. Also, module impstats has been updated to utilize the new system. Finally, I added some counters. I hope that this sets the baseline for useful future enhancements.
* | Merge branch 'v5-devel'Rainer Gerhards2010-09-082-7/+47
|\| | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * moved systemd interface to rsyslog convenience libRainer Gerhards2010-09-081-3/+3
| | | | | | | | | | | | | | Mostly a refresh of sd-daemon.[ch] from its source plus some make file changes. We now have systemd interfaces inside rsyslog, so that all plugins interested can call the interfaces. Seems not to be totally necessary right now, but will help in the long term.
| * acquire /dev/log socket optionally from systemdLennart Poettering2010-09-072-7/+47
| |
* | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-10/+10
|/ | | | first step: adding object-type specifier to config statement table
* Merge branch 'beta' into masterRainer Gerhards2010-04-091-2/+11
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac plugins/imudp/imudp.c runtime/stream.h tests/Makefile.am tests/diag.sh tools/omfile.c
| * Merge branch 'v4-stable-solaris' into betaRainer Gerhards2010-04-091-2/+11
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/rsyslog.c tests/nettester.c tools/syslogd.c
| | * bugfix: local unix system log socket was deleted even when it was not configuredRainer Gerhards2010-03-261-2/+11
| | | | | | | | | | | | | | | | | | Also made sure that /dev/log will not be processed by imuxsock when running under Solaris -- otherwise, the module may had accidently deleted the log socket and cause problems.
* | | Merge branch 'beta' into masterRainer Gerhards2010-02-101-1/+1
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog tests/parsertest.sh
| * | Merge branch 'v4-beta' into betaRainer Gerhards2010-02-101-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c template.c tests/Makefile.am tests/parsertest.sh
| | * bugfix: imuxsock incorrectly stated inputname "imudp"Rainer Gerhards2010-02-061-2/+2
| | | | | | | | | | | | Thanks to Ryan Lynch for reporting this.
* | | Merge branch 'v4-devel'Rainer Gerhards2009-11-171-6/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+14
| |\ \
| | * | added option to use unlimited-size select() callsvarmojfekoj2009-11-171-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to varmjofekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | added new config option $InputUnixListenSocketCreatePathRainer Gerhards2009-09-041-2/+12
| | |/ | |/| | | | | | | backport from v5-devel
* | | enhanced test environment (including testbench)Rainer Gerhards2009-10-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* | | improved input thread termination for imtcp and imuxsockRainer Gerhards2009-10-161-0/+3
| | |
* | | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-131-2/+0
| | |
* | | changed imuxsock to no longer use deprecated submitAndParseMsg() interfaceRainer Gerhards2009-10-121-16/+64
| | |
* | | added new config option $InputUnixListenSocketCreatePathRainer Gerhards2009-09-041-2/+12
| | | | | | | | | | | | | | | | | | | | | to permit the auto-creation of pathes to additional log sockets. This turns out to be useful if they reside on temporary file systems and rsyslogd starts up before the daemons that create these sockets (rsyslogd always creates the socket itself if it does not exist).
* | | internal: added ability to terminate input modules not via pthread_cancel...Rainer Gerhards2009-07-201-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | ... 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).
* | | Merge branch 'master' into v5-develRainer Gerhards2009-07-011-2/+16
|\| |
| * | finished transition to using inputName propertyRainer Gerhards2009-06-301-2/+16
| |/ | | | | | | | | ... plus some celanup and adding minor missing functionality (the rule debug info again tell the property name, not just number).
* / minor cleanupRainer Gerhards2009-05-201-5/+2
|/
* Merge branch 'beta'Rainer Gerhards2009-02-241-1/+1
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html
| * make all cflags and libs variables uppercaseMichael Biebl2009-02-241-1/+1
| | | | | | | | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.
* | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-091-1/+3
| | | | | | | | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
* | "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-071-1/+1
| | | | | | | | | | | | | | This enhances performance and, as some have pointed out, is probably also more consistent with what users expect how the various output-timestamp related function should work. This commit needs some more testing.
* | added $UDPServerTimeRequery optionRainer Gerhards2008-10-061-1/+1
|/ | | | | | | ...which enables to work with less acurate timestamps in favor of performance. This enables querying of the time only every n-th time if imudp is running in the tight receive loop (aka receiving messsages at a high rate)
* performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-161-3/+3
| | | | | | removed thanks to David Lang for his excellent performance analysis
* added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-101-1/+1
| | | | | | | | - added message property "inputname", which contains the name of the input (module) that generated it. Presence is depending on suport in each input module (else it is blank). - added system property "$myhostname", which contains the name of the local host as it knows itself.
* removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-021-3/+24
| | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* added ability to specify flow control mode for imuxsockRainer Gerhards2008-08-081-3/+21
|
* added $InputUnixListenSocketHostName config directiveRainer Gerhards2008-08-011-11/+30
| | | | | | It permits to override the hostname being used on a local unix socket. This is useful for differentiating "hosts" running in several jails. Feature was suggested by David Darville, thanks for the suggestion.
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-3/+3
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* Remove .cvsignore files, add .gitignore.Michael Biebl2008-06-111-6/+0
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-1/+2
| | | | | | | | | | - bugfix: TCP input modules did incorrectly set fromhost property (always blank) - bugfix: imklog did not set fromhost property - added "fromhost-ip" property - added "RSYSLOG_DebugFormat" canned template - bugfix: hostname and fromhost were swapped when a persisted message (in queued mode) was read in
* some cleanup (gotten rid of some more plain chars)Rainer Gerhards2008-05-061-2/+2
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-4/+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.
* moved host/domain-name related variables to global data poolRainer Gerhards2008-04-171-3/+7
|
* some more cleanupRainer Gerhards2008-04-161-1/+2
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* made everything compile with the new runtime subdirectoryRainer Gerhards2008-04-161-1/+1
|
* some cleanupRainer Gerhards2008-04-111-1/+1
|
* added flow control options to other input sourcesRainer Gerhards2008-03-191-1/+1
|
* some cleanupRainer Gerhards2008-03-071-1/+0
|
* added capability to ignore client-provided timestamp on unix sockets andRainer Gerhards2008-03-061-3/+30
| | | | | | | | | | | made this mode the default; this was needed, as some programs (e.g. sshd) log with inconsistent timezone information, what messes up the local logs (which by default don't even contain time zone information). This seems to be consistent with what sysklogd did for the past four years. Alternate behaviour may be desirable if gateway-like processes send messages via the local log slot - in this case, it can be enabled via the $InputUnixListenSocketIgnoreMsgTimestamp and $SystemLogSocketIgnoreMsgTimestamp config directives