summaryrefslogtreecommitdiffstats
path: root/runtime/netstrm.c
Commit message (Collapse)AuthorAgeFilesLines
* fixing regression: multi-threading had racesRainer Gerhards2011-01-311-0/+2
|
* strmsrv now supports KEEPALIVE socket optionRainer Gerhards2009-06-021-0/+14
|
* greatly enhanced testbenchRainer Gerhards2009-05-271-1/+0
| | | | | | | | | The imdiag module now can very effectively inject messages, which also frees us from uncertainties of tcp reception and processing. All shell script based tests have been modularized, what makes it far easier to create new tests. Also, the test bench now executes more reliable and much faster, because we can now rely on actual engine information where we previously did just a dumb sleep.
* added new testing module imdiagRainer Gerhards2009-05-251-1/+0
| | | | | 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-1/+3
| | | | | | | | | | | 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.
* bugfix: $AllowedSender handled invalidly for plain TCP transportRainer Gerhards2008-11-291-0/+12
|
* somewhat improved plain tcp syslog reliabilityRainer Gerhards2008-06-091-0/+10
| | | | | | ...by doing a connection check before sending. Credits to Martin Schuette for providing the idea. Details are available at http://blog.gerhards.net/2008/06/reliable-plain-tcp-syslog-once-again.html
* first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-5/+7
| | | | | | | 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 first rough ability to authenticate the server against its certificateRainer Gerhards2008-05-161-0/+32
| | | | | | | | | | This is very experimental and needs some more work. It probably even segfaults - but the base code is there and running. The rest is refinement. While working on this, I did these two bugfixes: - bugfix: small mem leak in omfwd on exit (strmdriver name was not freed) - bugfix: $ActionSendStreamDriver had no effect
* support for different forwarding stream drivers addedRainer Gerhards2008-05-051-1/+1
| | | | they can now be set on an action-by-action basis
* made imgssapi work with new netstrm driver modelRainer Gerhards2008-05-051-0/+17
| | | | | | | | | there were a couple of things where imgssapi was not compatible with the new encapsulation. I did a somewhat dirty fix. The real solution would be to turn gssapi functionality into a netstream driver, which is too much for now (after all, we want to release some time AND we need to have the code mature in practice before we go for the next target...).
* removed loadbale module leakRainer Gerhards2008-04-291-29/+2
| | | | | | - moved netstrms, netstrm and nssel into a single loadble module because they belong together - fixed "loadbale module leak"
* added $ActionSendStreamDriverMode config directiveRainer Gerhards2008-04-281-0/+14
|
* made gtls server driver work in plain tcp modeRainer Gerhards2008-04-251-7/+0
|
* Merge branch 'sock-abstract' into tlsRainer Gerhards2008-04-241-105/+62
|\ | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/netstrm.c runtime/nsd.h runtime/nsd_ptcp.c runtime/rsyslog.h
| * some cleanupRainer Gerhards2008-04-241-1/+0
| |
| * message reception via TCP work againRainer Gerhards2008-04-241-0/+25
| | | | | | | | | | | | ... 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-1/+1
| |
| * removed listener array from inidividual netstrm (mostly finished)Rainer Gerhards2008-04-231-2/+7
| |
| * added new netstrms classRainer Gerhards2008-04-231-74/+14
| | | | | | | | netstrms is at the top layer of the socket abstraction
| * objects for receive-side socket abstraction specifiedRainer Gerhards2008-04-231-45/+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.
* | first working TLS-enabled plain TCP senderRainer Gerhards2008-04-181-12/+23
|/ | | | | implemented a first working version of a TLS-enabled plain TCP sender (but, of course, the implementation is insecure as it is)
* converted netstrm into generic netstrm and the nsd_pctp driverRainer Gerhards2008-04-181-318/+56
|
* brought netstrm to a (hopefully) somewhat usable stateRainer Gerhards2008-04-171-25/+23
|
* imported tcp module from librelp as basis for new stream classRainer Gerhards2008-04-171-113/+437
| | | | | we got permission to include the tcp module from librelp copyright holders
* added new "netstrm" class (not yet implemented)Rainer Gerhards2008-04-171-0/+284