summaryrefslogtreecommitdiffstats
path: root/tcpsrv.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-devel'Rainer Gerhards2012-04-071-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c
| * Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-03-191-2/+4
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog plugins/imtcp/imtcp.c tcpsrv.h
| * \ Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-01-161-15/+14
| |\ \ | | | | | | | | | | | | | | | | Conflicts: plugins/imtcp/imtcp.c
* | \ \ Merge branch 'v5-stable-newstats'Rainer Gerhards2012-04-071-2/+4
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: action.c configure.ac doc/imuxsock.html plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c runtime/ruleset.c tcpsrv.h tools/syslogd.c
| * | | added configuration directive to disable octet-counted framingRainer Gerhards2012-03-191-2/+4
| | |/ | |/| | | | | | | ... for imtcp, directive is $InputTCPServerSupportOctetCountedFraming
| * | Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-01-161-15/+14
| |\ \ | | | | | | | | | | | | | | | | Conflicts: plugins/impstats/impstats.c
* | \ \ Merge branch 'v5-stable' into masterRainer Gerhards2012-01-181-15/+14
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.h configure.ac doc/manual.html plugins/immark/immark.c plugins/impstats/impstats.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c runtime/cfsysline.c runtime/cfsysline.h runtime/conf.c runtime/ctok.c runtime/ctok.h runtime/ctok_token.c runtime/ctok_token.h runtime/dnscache.h runtime/expr.c runtime/expr.h runtime/rule.c runtime/rule.h runtime/ruleset.h runtime/sysvar.c runtime/vm.h runtime/vmop.c runtime/vmop.h runtime/vmprg.c runtime/vmprg.h runtime/vmstk.c runtime/vmstk.h tools/omusrmsg.c
| * | | Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-01-141-15/+14
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/omtesting/omtesting.c tcpsrv.c threads.c
| | * | | some more files to ASL 2.0Rainer Gerhards2012-01-111-15/+14
| | | | |
* | | | | Merge branch 'v5-devel'Rainer Gerhards2011-12-201-0/+3
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2011-12-201-0/+3
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c
| | * | | imtcp: added stats countersRainer Gerhards2011-12-201-0/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | also adds counters to other users of tcpsrv.c method, but these do not work if default submit method is overwritten (currently only the case for imdiag, what we don't consider a problem)
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-06-271-1/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c tools/omfile.c
| * | | added capability for imtcp to activate keep-alive packetsRainer Gerhards2011-05-091-1/+4
| | | | | | | | | | | | | | | | | | | | at the socket layer. reference: http://kb.monitorware.com/post20791.html
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-04-121-1/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html plugins/imtcp/imtcp.c
| * | | added new config directive $InputTCPFlowControl...Rainer Gerhards2011-04-011-1/+4
| |/ / | | | | | | | | | | | | ... to select if tcp received messages shall be flagged as light delayable or not.
* / / interim commit: refactored epoll processingRainer Gerhards2011-01-261-0/+12
|/ / | | | | | | this is a perquisite for multi-threading the input handler
* | added capability to turn off standard LF delimiter in TCP serverRainer Gerhards2010-03-011-2/+5
| | | | | | | | via new directive "$InputTCPServerDisableLFDelimiter on"
* | replaced data type "bool" by "sbool" because this created some portability ↵Rainer Gerhards2010-02-021-2/+2
| | | | | | | | issues
* | milestone commit: first working version with epoll/tcpRainer Gerhards2009-11-231-0/+1
|/ | | | ... but not well-tested, so there may be many hidden bugs.
* added $InputTCPServerNotifyOnConnectionClose config directiveRainer Gerhards2009-10-011-1/+4
|
* added $InputTCPMaxListeners directiveRainer Gerhards2009-08-171-2/+5
| | | | permits to specify how many TCP servers shall be possible (default is 20).
* 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