summaryrefslogtreecommitdiffstats
path: root/tcpsrv.h
Commit message (Collapse)AuthorAgeFilesLines
* introduced the idea of detached propertiesRainer Gerhards2009-06-291-2/+2
| | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
* Merge branch 'master' into omfileRainer Gerhards2009-06-161-0/+1
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.h tcps_sess.c tcpsrv.c tools/syslogd.c
| * some performance optimizationsRainer Gerhards2009-06-161-0/+1
| | | | | | | | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
* | completed multi-ruleset core supportRainer Gerhards2009-06-121-0/+3
|/ | | | ... as well as added multi-ruleset support for imtcp
* added new testing module imdiagRainer Gerhards2009-05-251-1/+4
| | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-3/+13
| | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* Merge branch 'beta'Rainer Gerhards2009-04-091-1/+4
|\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog tcpsrv.c tcpsrv.h Note: we have a slight inconsistency, as interface version v4 was already used for tcpsrv in this branch. We accept this inconsistency.
| * bugfix: $InputTCPMaxSessions config directive was accepted, but not honoredRainer Gerhards2009-04-091-1/+3
| | | | | | | | This resulted in a fixed upper limit of 200 connections.
* | enhanced imtcp, among others to handel invalid NetScreen framingRainer Gerhards2008-12-101-1/+18
|/ | | | | | | | | | | | - 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.
* changed Rcv-Interface in tcpsrv subsystemRainer Gerhards2008-06-231-2/+2
| | | | | | 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)
* first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-1/+5
| | | | | | | 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 $InputTCPServerStreamDriverMode config directiveRainer Gerhards2008-04-301-0/+2
|
* added new netstrms classRainer Gerhards2008-04-231-6/+7
| | | | netstrms is at the top layer of the socket abstraction
* objects for receive-side socket abstraction specifiedRainer Gerhards2008-04-231-6/+7
| | | | | | | 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.
* bugfix: imgssapi segfaulted under some conditions; this fix is actually notRainer Gerhards2008-03-131-2/+2
| | | | | | 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.
* renamed library module file names to lm*, so that they match the overallRainer Gerhards2008-03-071-0/+2
| | | | scheme (like im* and om*)
* made imgssapi compileRainer Gerhards2008-03-031-10/+24
|
* - added class tcpsRainer Gerhards2008-03-021-0/+68
- added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken