summaryrefslogtreecommitdiffstats
path: root/plugins/imtcp
Commit message (Collapse)AuthorAgeFilesLines
* implemented freeCnf() module interface & fixed some mem leaksRainer Gerhards2012-06-251-0/+9
| | | | | | | | The interface was actually not present in older versions, even though some modules already used it. The implementation was now done, and not in 6.3/6.4 because the resulting memory leak was ultra-slim and the new interface handling has some potential to seriously break things. Not the kind of thing you want to add in late beta state, if avoidable.
* Merge branch 'v5-stable-newstats'Rainer Gerhards2012-04-071-1/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+5
| | | | | | | | ... for imtcp, directive is $InputTCPServerSupportOctetCountedFraming
* | Merge branch 'v6-stable-noscoping' into masterRainer Gerhards2012-01-191-14/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/immark/immark.c plugins/imptcp/imptcp.c plugins/imrelp/imrelp.c plugins/imtcp/imtcp.c plugins/imtemplate/imtemplate.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c plugins/omtemplate/omtemplate.c runtime/glbl.c runtime/parser.c tools/omfile.c tools/syslogd.c
| * | undoing v6.1 config scoping interface, part IRainer Gerhards2012-01-181-13/+13
| | | | | | | | | | | | The most common files are now changed, more needs to be done.
| * | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-01-141-16/+16
| |\| | | | | | | | | | | | | Conflicts: plugins/imtcp/imtcp.c
* | | Merge branch 'v5-stable' into masterRainer Gerhards2012-01-181-16/+16
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-16/+16
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/omtesting/omtesting.c tcpsrv.c threads.c
| | * | more files moved to ASL 2.0Rainer Gerhards2012-01-121-16/+16
| | | |
* | | | - imudp&imtcp now report error if no listener at all was definedRainer Gerhards2011-08-051-0/+5
| | | | | | | | | | | | | | | | Thanks to Marcin for suggesting this error message
* | | | milestone: added module config namesRainer Gerhards2011-07-201-0/+1
| | | |
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-06-271-3/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | at the socket layer. reference: http://kb.monitorware.com/post20791.html
* | | | | step: imtcp did not properly handle privilege dropRainer Gerhards2011-05-061-5/+1
| | | | |
* | | | | step: conf interface now natively supports priv dropRainer Gerhards2011-05-061-2/+10
| | | | |
* | | | | step: generalized new config interface for all module typesRainer Gerhards2011-05-061-0/+1
| | | | |
* | | | | step: imtcp moved to new config interfaceRainer Gerhards2011-05-051-79/+163
| | | | | | | | | | | | | | | | | | | | as far as we know that new interface right now ;)
* | | | | step: put plumbing in place for new input module config systemRainer Gerhards2011-05-031-0/+30
| | | | |
* | | | | milestone: ruleset now supports rsconf_tRainer Gerhards2011-04-191-1/+1
| |_|_|/ |/| | |
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-04-121-1/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html plugins/imtcp/imtcp.c
| * | | added new config directive $InputTCPFlowControl...Rainer Gerhards2011-04-011-1/+6
| |/ / | | | | | | | | | | | | ... to select if tcp received messages shall be flagged as light delayable or not.
* | | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * | added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-12/+12
|/ / | | | | | | first step: adding object-type specifier to config statement table
* | added capability to turn off standard LF delimiter in TCP serverRainer Gerhards2010-03-011-0/+5
| | | | | | | | via new directive "$InputTCPServerDisableLFDelimiter on"
* | minor: moved all code to new isAllowedSender2() interfaceRainer Gerhards2009-11-171-1/+1
| |
* | added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-021-1/+1
| | | | | | | | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* | Merge branch 'v4-devel' into tmpRainer Gerhards2009-10-021-0/+5
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/rsyslog.h tcpsrv.c
| * added $InputTCPServerNotifyOnConnectionClose config directiveRainer Gerhards2009-10-011-0/+5
| |
* | Merge branch 'beta'Rainer Gerhards2009-08-181-0/+5
|\|
| * added $InputTCPMaxListeners directiveRainer Gerhards2009-08-171-0/+5
| | | | | | | | permits to specify how many TCP servers shall be possible (default is 20).
* | internal: added ability to terminate input modules not via pthread_cancel...Rainer Gerhards2009-07-201-0/+8
|/ | | | | | | | ... but an alternate approach via pthread_kill. This is somewhat safer as we do not need to think about the cancel-safeness of all libraries we use. However, not all inputs can easily supported, so this now is a feature that can be requested by the input module (the most important ones request it).
* 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>