summaryrefslogtreecommitdiffstats
path: root/plugins/imtcp
Commit message (Collapse)AuthorAgeFilesLines
* added $InputTCPServerNotifyOnConnectionClose config directiveRainer Gerhards2009-10-011-0/+5
|
* added $InputTCPMaxListeners directiveRainer Gerhards2009-08-171-0/+5
| | | | permits to specify how many TCP servers shall be possible (default is 20).
* completed multi-ruleset core supportRainer Gerhards2009-06-121-9/+34
| | | | ... as well as added multi-ruleset support for imtcp
* 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 capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-15/+20
| | | | | | | | | | | 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-0/+1
|\ | | | | | | | | | | | | | | | | | | 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.
| * Merge branch 'v3-stable' into betaRainer Gerhards2009-04-091-0/+1
| |\ | | | | | | | | | | | | Conflicts: ChangeLog
| | * bugfix: $InputTCPMaxSessions config directive was accepted, but not honoredRainer Gerhards2009-04-091-0/+1
| | | | | | | | | | | | This resulted in a fixed upper limit of 200 connections.
* | | Merge branch 'beta'Rainer Gerhards2009-02-241-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html
| * | make all cflags and libs variables uppercaseMichael Biebl2009-02-241-1/+1
| |/ | | | | | | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.
* / enhanced imtcp, among others to handel invalid NetScreen framingRainer Gerhards2008-12-101-0/+17
|/ | | | | | | | | | | | - 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.
* minor cleanupRainer Gerhards2008-11-291-1/+1
|
* security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-291-5/+2
| | | | ...all senders were permitted instead
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-1/+1
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* bugfix: gtls und ptcp netstream driver communicated invalid iRetRainer Gerhards2008-06-241-1/+1
| | | | This was introduced due to recent interface change.
* changed Rcv-Interface in tcpsrv subsystemRainer Gerhards2008-06-231-8/+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)
* Remove .cvsignore files, add .gitignore.Michael Biebl2008-06-111-6/+0
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* bugfix: removed some memory leaks in TLS codeRainer Gerhards2008-06-041-0/+1
|
* first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-0/+48
| | | | | | | 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
* fixed potential segfault due to invalid call to cfsyslinevarmojfekoj2008-05-141-2/+2
| | | | | | thanks to varmojfekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* added $InputTCPServerStreamDriverMode config directiveRainer Gerhards2008-04-301-0/+5
|
* made plain tcp syslog via TLS work on the serverRainer Gerhards2008-04-301-0/+9
| | | | ... but so far only in blocking mode
* fixed problem with module unload sequenceRainer Gerhards2008-04-291-2/+2
|
* client functionality works again (with the new socket abstraction)Rainer Gerhards2008-04-231-2/+8
|
* added new netstrms classRainer Gerhards2008-04-231-1/+1
| | | | netstrms is at the top layer of the socket abstraction
* 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
* made everything compile with the new runtime subdirectoryRainer Gerhards2008-04-161-1/+1
|
* bugfix: imgssapi segfaulted under some conditions; this fix is actually notRainer Gerhards2008-03-131-10/+0
| | | | | | 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-2/+0
| | | | | 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-1/+6
|
* renamed library module file names to lm*, so that they match the overallRainer Gerhards2008-03-071-3/+3
| | | | scheme (like im* and om*)
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-5/+7
| | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin
* cleanup by Michael BieblRainer Gerhards2008-03-061-1/+1
|
* applied patch from Michael Biebl to clean up build systemRainer Gerhards2008-03-061-2/+3
|
* changed module loader to automatically add ".so" suffix if not specifiedRainer Gerhards2008-03-051-1/+1
| | | | (over time, this shall also ease portability of config files)
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-14/+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)
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-3/+1
| | | | - changed module interface version, as the interface change is quite large
* fixed newly introduced bugs in imgssapi and imtcp and their helpers nowRainer Gerhards2008-03-031-8/+3
| | | | plain tcp works again
* made imgssapi compileRainer Gerhards2008-03-031-6/+14
|
* - added class tcpsRainer Gerhards2008-03-021-868/+90
| | | | | | - added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken
* shuffled some more code, added comments varmojfekoj sent me a while ago toRainer Gerhards2008-02-261-19/+5
| | | | imgssapi
* split off imgssapi from imtcp, but still with a lot of dependencyRainer Gerhards2008-02-262-299/+18
|
* declared some things in imtcp.c static so that they don't conflict ifRainer Gerhards2008-02-261-5/+5
| | | | loaded as imtcp and imgssapi
* applied Michael Biebl's fix for building rsyslog core without gssapiRainer Gerhards2008-02-261-2/+5
| | | | support
* added some doc for imgssapi and imtcp input modulesRainer Gerhards2008-02-221-1/+1
|
* applied patch by varmojfekoj to allow gssapi functionality to be build as aRainer Gerhards2008-02-221-2/+1001
| | | | | | separate plugin (so that gssapi and plain tcp functionality can be individually distributed). Also inclulded some other enhancements, most importantly initial compatibility mode system
* integrated patch from Peter Vrabec to change the build process to produceRainer Gerhards2008-02-222-3/+14
| | | | | imtcp.so and imgssapi.so from imtcp.c (in support of new gassapi input module) - many thanks, Peter!
* - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1aRainer Gerhards2008-01-101-1/+0
| | | | | | was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool
* added --enable-mudflap ./configure optionRainer Gerhards2008-01-081-2/+2
|
* applied Michael Biebl's patch to clean up the makefilesRainer Gerhards2008-01-031-4/+2
|