summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: memory leak if sender was not permittedRainer Gerhards2008-12-031-6/+10
|
* bugfix: $AllowedSender handled invalidly for plain TCP transportRainer Gerhards2008-11-291-2/+3
|
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-7/+7
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* improved gtls error reportingRainer Gerhards2008-06-241-2/+2
|
* added support for EGAIN while trying to receive data on gTLS sessionRainer Gerhards2008-06-241-10/+14
| | | | | | | | | This maps to bugzilla bug 83: http://bugzilla.adiscon.com/show_bug.cgi?id=83 This is the first test version, posted to user for repro of the problem. It contains code to handle the case, HOWEVER, I have not been able to test it in a scenario where a retry actually happens while receiving (I dont't get this in my environment). So I assume it is buggy and will probably not work.
* disabled compile warnings caused by third-party librariesRainer Gerhards2008-06-231-0/+4
|
* changed Rcv-Interface in tcpsrv subsystemRainer Gerhards2008-06-231-5/+8
| | | | | | It is now iRet based. This enables us to communicate more in-depth information to the upper peers. This is needed to handle the EGAIN case on rcv (not yet implemented)
* re-enabled anon mode (failed if client did not provide cert)Rainer Gerhards2008-05-211-1/+1
|
* first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-3/+50
| | | | | | | The TLS server now checks the client fingerprint. This works, but is highly experimental. Needs to be refined for practice. Also: - implemented permittedPeers helper construct to store names - changed omfwd implementation to use new permittedPeers
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-1/+4
| | | | | | | | | | - 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
* added $InputTCPServerStreamDriverMode config directiveRainer Gerhards2008-04-301-0/+14
|
* made plain tcp syslog via TLS work on the serverRainer Gerhards2008-04-301-13/+15
| | | | ... but so far only in blocking mode
* fixed problem with module unload sequenceRainer Gerhards2008-04-291-5/+5
|
* fixed memory leaksRainer Gerhards2008-04-281-4/+2
|
* made gtls server driver work in plain tcp modeRainer Gerhards2008-04-251-1/+1
|
* fixed newly introduced memory leaksRainer Gerhards2008-04-241-5/+19
|
* message reception via TCP work againRainer Gerhards2008-04-241-15/+10
| | | | | | ... 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.
* removed listener array from inidividual netstrm (mostly finished)Rainer Gerhards2008-04-231-1/+22
|
* added new netstrms classRainer Gerhards2008-04-231-67/+87
| | | | netstrms is at the top layer of the socket abstraction
* objects for receive-side socket abstraction specifiedRainer Gerhards2008-04-231-198/+37
| | | | | | | 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.
* added new "netstrm" class (not yet implemented)Rainer Gerhards2008-04-171-1/+0
|
* moved "option_DisallowWarning" variable to global data poolRainer Gerhards2008-04-171-1/+1
|
* moved "family" variable to global data poolRainer Gerhards2008-04-171-3/+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
* moved net module to runtimeRainer Gerhards2008-04-161-1/+0
| | | | | | | after careful analysis, I concluded that it is OK to place the current net.c/.h code under LGPL. Individual contributor agreement is given and no sysklogd code remains (see net.c for details).
* our BSD define conflicted with a BSD system defineRainer Gerhards2008-04-091-1/+1
| | | | renamed to OS_BSD
* cleanupRainer Gerhards2008-03-311-26/+0
|
* bugfix: tcp receiver could segfault due to uninitialized variableRainer Gerhards2008-03-311-2/+5
|
* bugfix: fixed some minor memory leaksRainer Gerhards2008-03-201-6/+16
|
* bugfix: TCP (and GSSAPI) octet-counted frame did not work correctly in allRainer Gerhards2008-03-141-3/+2
| | | | | situations. If the header was split across two packet reads, it was invalidly processed, causing loss or modification of messages.
* cleanupRainer Gerhards2008-03-141-1/+0
|
* bugfix: imgssapi segfaulted under some conditions; this fix is actually notRainer Gerhards2008-03-131-13/+22
| | | | | | 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.
* changed omgssapi and omfwd to utilize new object calling interface; made aRainer Gerhards2008-03-121-4/+1
| | | | | tcpclt class; (stage work, among others, for more intelligent recovery from TCP session recovery)
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-8/+22
|
* some cleanupRainer Gerhards2008-03-071-4/+0
|
* renamed library module file names to lm*, so that they match the overallRainer Gerhards2008-03-071-1/+1
| | | | scheme (like im* and om*)
* applied patch from varmojfekoj fixing a deinit bugRainer Gerhards2008-03-071-1/+1
|
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-5/+4
| | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-19/+22
| | | | | | 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-2/+26
| | | | | | | | | | | - 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-18/+28
| | | | plain tcp works again
* made imgssapi compileRainer Gerhards2008-03-031-52/+98
|
* - added class tcpsRainer Gerhards2008-03-021-0/+762
- added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken