summaryrefslogtreecommitdiffstats
path: root/tcps_sess.c
Commit message (Collapse)AuthorAgeFilesLines
* enhanced imtcp, among others to handel invalid NetScreen framingRainer Gerhards2008-12-101-5/+7
| | | | | | | | | | | | - added $InputTCPServerAddtlFrameDelimiter config directive, which enabeles to specify an additional, non-standard message delimiter for processing plain tcp syslog. This is primarily a fix for the invalid framing used in Juniper's NetScreen products. Credit to forum user Arv for suggesting this solution. - added $InputTCPServerInputName property, which enables a name to be specified that will be available during message processing in the inputname property. This is considered useful for logic that treats messages differently depending on which input received them.
* moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-091-5/+6
| | | | | | 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-4/+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.
* added $UDPServerTimeRequery optionRainer Gerhards2008-10-061-4/+4
| | | | | | | ...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)
* added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-101-4/+8
| | | | | | | | - 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-15/+26
| | | | | 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-4/+4
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-6/+31
| | | | | | | | | | - 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
* bugfix: TLS server went into an endless loop in some situations.Rainer Gerhards2008-05-151-13/+1
| | | | Thanks to Michael Biebl for reporting the problem.
* some cleanup (gotten rid of some more plain chars)Rainer Gerhards2008-05-061-2/+0
|
* fixed problem with module unload sequenceRainer Gerhards2008-04-291-3/+2
|
* fixed newly introduced memory leaksRainer Gerhards2008-04-241-3/+5
|
* message reception via TCP work againRainer Gerhards2008-04-241-5/+4
| | | | | | ... at least in some cases ;) I assume there are still a couple of bugs inside the code. But at least we have something from where we can continue to work on.
* client functionality works again (with the new socket abstraction)Rainer Gerhards2008-04-231-20/+12
|
* objects for receive-side socket abstraction specifiedRainer Gerhards2008-04-231-1/+1
| | | | | | | The objects for receiver-side socket abstraction have now be specified. The project as whole does not yet compile and definitely not run, but I'd like to commit some milestones along this way.
* 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
* added flow control options to other input sourcesRainer Gerhards2008-03-191-4/+4
|
* oversize message handling in TCP/GSSAPI receiverRainer Gerhards2008-03-141-3/+15
|
* bugfix: TCP (and GSSAPI) octet-counted frame did not work correctly in allRainer Gerhards2008-03-141-111/+82
| | | | | situations. If the header was split across two packet reads, it was invalidly processed, causing loss or modification of messages.
* bugfix: imgssapi segfaulted under some conditions; this fix is actually notRainer Gerhards2008-03-131-2/+9
| | | | | | just a fix but a change in the object model. Thanks to varmojfekoj for providing the bug report, an initial fix and lots of good discussion that lead to where we finally ended up.
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-0/+10
|
* some cleanupRainer Gerhards2008-03-071-6/+0
|
* added capability to ignore client-provided timestamp on unix sockets andRainer Gerhards2008-03-061-5/+4
| | | | | | | | | | | 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
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-5/+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-0/+1
| | | | | | | | | | | - 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)
* fixed newly introduced bugs in imgssapi and imtcp and their helpers nowRainer Gerhards2008-03-031-0/+5
| | | | plain tcp works again
* made imgssapi compileRainer Gerhards2008-03-031-16/+33
|
* - added class tcpsRainer Gerhards2008-03-021-0/+421
- added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken