summaryrefslogtreecommitdiffstats
path: root/plugins/imudp
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: parser did not correctly parse fields in UDP-received messagesRainer Gerhards2009-03-101-1/+1
|
* 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.
* | added $PreserveFQDN config file directiveRainer Gerhards2008-12-081-0/+1
| | | | | | | | Enables to use FQDNs in sender names where the legacy default
* | bugfix: imudp went into an endless loop under some circumstancesRainer Gerhards2008-12-081-3/+3
| | | | | | | | | | (but could also leave it under some other circumstances...) Thanks to David Lang and speedfox for reporting this issue.
* | Merge branch 'beta'Rainer Gerhards2008-12-051-4/+14
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imudp/imudp.c
| * Merge branch 'v3-stable' into betav3.21.9Rainer Gerhards2008-12-041-2/+13
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imudp/imudp.c
| | * security fix: imudp emitted a message when a non-permitted sender...v3.20.2Rainer Gerhards2008-12-041-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | ...tried to send a message to it. This behaviour is operator-configurable. If enabled, a message was emitted each time. That way an attacker could effectively fill the disk via this facility. The message is now emitted only once in a minute (this currently is a hard-coded limit, if someone comes up with a good reason to make it configurable, we will probably do that).
* | | Merge branch 'beta'Rainer Gerhards2008-12-041-5/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html plugins/imudp/imudp.c runtime/rsyslog.h
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-291-5/+2
| |\| | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-291-5/+2
| | | | | | | | | | | | ...all senders were permitted instead
* | | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-091-3/+1
| | | | | | | | | | | | | | | | | | 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.
* | | restoring msg parsing for imudpRainer Gerhards2008-10-091-0/+1
| | | | | | | | | | | | | | | | | | I tried to work too quick this morning. A side-effect of an earlier change was that no UDP messages were parsed, which lead to their loss, because no PRI was set in this case.
* | | reordered imudp processing.Rainer Gerhards2008-10-081-6/+21
| | | | | | | | | | | | | | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
* | | restructured imudp receive loopRainer Gerhards2008-10-081-60/+85
| | | | | | | | | | | | | | | | | | | | | | | | cleaned up previous code and redid it in a way that makes it much easier to extend it also added a new macro DBGPRINTF which is a performance-optimzed version of dbgprintf
* | | "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-071-2/+4
| | | | | | | | | | | | | | | | | | | | | 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.
* | | simple (yet efficient) name caching added to imudpRainer Gerhards2008-10-071-2/+18
| | |
* | | added $UDPServerTimeRequery optionRainer Gerhards2008-10-061-3/+17
| | | | | | | | | | | | | | | | | | | | | ...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-optimized imudpRainer Gerhards2008-10-021-32/+44
| | |
* | | some code cleanupRainer Gerhards2008-10-021-50/+48
|/ / | | | | | | removed code not actually needed in imupd
* | Merge branch 'beta'Rainer Gerhards2008-09-221-2/+6
|\|
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-221-2/+6
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * bugfix: imudp input module could cause segfault on HUPRainer Gerhards2008-09-221-2/+6
| | | | | | | | | | | | | | | It did not properly de-init a variable acting as a linked list head. That resulted in trying to access freed memory blocks after the HUP.
* | | 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-2/+5
|/ / | | | | | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* | added (internal) error codes to error messagesRainer Gerhards2008-06-271-2/+2
| | | | | | | | | | 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-2/+3
| | | | | | | | | | | | | | | | | | | | - 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-1/+1
| |
* | moved "option_DisallowWarning" variable to global data poolRainer Gerhards2008-04-171-1/+5
| |
* | some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | | | | | | 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
|/
* added flow control options to other input sourcesRainer Gerhards2008-03-191-1/+1
|
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-1/+4
|
* renamed library module file names to lm*, so that they match the overallRainer Gerhards2008-03-071-1/+1
| | | | scheme (like im* and om*)
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-10/+13
| | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin
* added capability to ignore client-provided timestamp on unix sockets andRainer Gerhards2008-03-061-1/+2
| | | | | | | | | | | 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
* applied patch from Michael Biebl to clean up build systemRainer Gerhards2008-03-061-2/+2
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-2/+6
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-13/+0
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-1/+1
| | | | - changed module interface version, as the interface change is quite large
* bugfix: default port was not used on $UDPServerRun when none was specifiedRainer Gerhards2008-02-181-1/+1
| | | | - http://bugzilla.adiscon.com/show_bug.cgi?id=6
* - changed interface "printchopped()" so that it looks more like a genericRainer Gerhards2008-02-181-1/+1
| | | | | | | message submission interface. Part of the ongoing modularization effort. - bugfix: invalid kernel log format -- see bug http://bugzilla.adiscon.com/show_bug.cgi?id=1
* - fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-1/+2
| | | | | varmojfekoj provided the patch - many thanks! - adopted varmojfekoj's patch to v3, some more sterror_r's ;)
* - improved debug support a bit (assertions)Rainer Gerhards2008-01-291-1/+1
| | | | | - restructured code, moved some part out of syslogd.c to action.c, where they belong (still some more to do in that regard ;))
* - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1aRainer Gerhards2008-01-101-1/+0
| | | | | | was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool
* added --enable-mudflap ./configure optionRainer Gerhards2008-01-081-2/+2
|
* fixed some memory leaks in new code -- thanks to varmojfekoj for the patchRainer Gerhards2008-01-081-4/+6
|
* applied Michael Biebl's patch to clean up the makefilesRainer Gerhards2008-01-031-4/+2
|
* some cleanupRainer Gerhards2007-12-271-4/+12
|