Rainer Gerhards
7348da7e02
bugfix: imtcp could abort on exit due to invalid free()
2012-08-28 19:07:58 +02:00
Rainer Gerhards
bf85d81790
implemented freeCnf() module interface & fixed some mem leaks
...
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.
2012-06-25 12:35:46 +02:00
Rainer Gerhards
d6da57ae03
Merge branch 'v5-stable-newstats'
...
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
2012-04-07 15:42:46 +02:00
Rainer Gerhards
4fb7ba113c
added configuration directive to disable octet-counted framing
...
... for imtcp, directive is $InputTCPServerSupportOctetCountedFraming
2012-03-19 15:28:25 +01:00
Rainer Gerhards
6624ad434b
Merge branch 'v6-stable-noscoping' into master
...
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
2012-01-19 13:07:46 +01:00
Rainer Gerhards
9b24152b6a
undoing v6.1 config scoping interface, part I
...
The most common files are now changed, more needs to be done.
2012-01-18 18:21:08 +01:00
Rainer Gerhards
ac9afc4149
Merge branch 'v5-stable' into master
...
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
2012-01-18 14:08:24 +01:00
Rainer Gerhards
fe4cfa6d1f
Merge branch 'v5-stable' into v6-stable
...
Conflicts:
plugins/imtcp/imtcp.c
2012-01-14 18:35:09 +01:00
Rainer Gerhards
0871d0a077
Merge branch 'v4-stable' into v5-stable
...
Conflicts:
plugins/imfile/imfile.c
plugins/omtesting/omtesting.c
tcpsrv.c
threads.c
2012-01-14 18:32:40 +01:00
Rainer Gerhards
ca39d8e60e
more files moved to ASL 2.0
2012-01-12 03:29:19 +01:00
Rainer Gerhards
f8342ced6f
- imudp&imtcp now report error if no listener at all was defined
...
Thanks to Marcin for suggesting this error message
2011-08-05 14:56:20 +02:00
Rainer Gerhards
a7e3afb20b
milestone: added module config names
2011-07-20 10:47:24 +02:00
Rainer Gerhards
8488d8c3c1
Merge branch 'v5-devel'
...
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
2011-06-27 12:33:26 +02:00
Rainer Gerhards
6625a8790d
added capability for imtcp to activate keep-alive packets
...
at the socket layer.
reference: http://kb.monitorware.com/post20791.html
2011-05-09 10:07:23 +02:00
Rainer Gerhards
759904862d
step: imtcp did not properly handle privilege drop
2011-05-06 10:30:10 +02:00
Rainer Gerhards
ff2bb192f2
step: conf interface now natively supports priv drop
2011-05-06 10:06:32 +02:00
Rainer Gerhards
b056c258d7
step: generalized new config interface for all module types
2011-05-06 08:43:15 +02:00
Rainer Gerhards
c0d1334f6e
step: imtcp moved to new config interface
...
as far as we know that new interface right now ;)
2011-05-05 11:36:05 +02:00
Rainer Gerhards
d0d9f823b7
step: put plumbing in place for new input module config system
2011-05-03 18:02:18 +02:00
Rainer Gerhards
b722cd3fe6
milestone: ruleset now supports rsconf_t
2011-04-19 12:18:26 +02:00
Rainer Gerhards
92a782dd2f
Merge branch 'v5-devel'
...
Conflicts:
configure.ac
doc/manual.html
plugins/imtcp/imtcp.c
2011-04-12 11:48:09 +02:00
Rainer Gerhards
0edf73f880
added new config directive $InputTCPFlowControl...
...
... to select if tcp received messages shall be flagged as
light delayable or not.
2011-04-01 16:26:21 +02:00
Rainer Gerhards
6c3ef4dacf
Merge branch 'v5-beta'
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
plugins/omlibdbi/omlibdbi.c
tests/Makefile.am
tests/diag.sh
2011-03-11 10:24:58 +01:00
Bojan Smojver
d1eb6e0edc
added work-around for bug in gtls, which causes fd leak when using TLS
...
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>
2011-02-23 11:25:43 +01:00
Rainer Gerhards
e64cd21243
moving towards scoping inside rsyslog.conf
...
first step: adding object-type specifier to config statement table
2010-07-21 18:08:19 +02:00
Rainer Gerhards
ebf0582261
added capability to turn off standard LF delimiter in TCP server
...
via new directive "$InputTCPServerDisableLFDelimiter on"
2010-03-01 11:33:48 +01:00
Rainer Gerhards
604d782f09
minor: moved all code to new isAllowedSender2() interface
2009-11-17 10:43:36 +01:00
Rainer Gerhards
05d693123b
added omruleset output module, which provides great flexibility in action processing.
...
THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
2009-11-02 11:39:38 +01:00
Rainer Gerhards
189c0284c1
Merge branch 'v4-devel' into tmp
...
Conflicts:
ChangeLog
configure.ac
doc/manual.html
runtime/rsyslog.h
tcpsrv.c
2009-10-02 12:25:22 +02:00
Rainer Gerhards
6a69e47822
added $InputTCPServerNotifyOnConnectionClose config directive
2009-10-01 18:39:21 +02:00
Rainer Gerhards
74042e9602
Merge branch 'beta'
2009-08-18 11:03:32 +02:00
Rainer Gerhards
56b781e5bb
added $InputTCPMaxListeners directive
...
permits to specify how many TCP servers shall be possible (default is 20).
2009-08-17 17:18:19 +02:00
Rainer Gerhards
7d92de155c
internal: added ability to terminate input modules not via pthread_cancel...
...
... 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).
2009-07-20 18:36:30 +02:00
Rainer Gerhards
ca0ddc30a3
completed multi-ruleset core support
...
... as well as added multi-ruleset support for imtcp
2009-06-12 15:31:08 +02:00
Rainer Gerhards
a900a7c34b
greatly enhanced testbench
...
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.
2009-05-27 11:29:47 +02:00
Rainer Gerhards
aba90e8248
added capability to run multiple tcp listeners (on different ports)
...
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.
2009-05-22 17:06:52 +02:00
Rainer Gerhards
a5b4cb1681
Merge branch 'beta'
...
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.
2009-04-09 13:44:52 +02:00
Rainer Gerhards
0cade5118f
Merge branch 'v3-stable' into beta
...
Conflicts:
ChangeLog
2009-04-09 13:41:38 +02:00
Rainer Gerhards
bc471f1d90
bugfix: $InputTCPMaxSessions config directive was accepted, but not honored
...
This resulted in a fixed upper limit of 200 connections.
2009-04-09 13:36:44 +02:00
Rainer Gerhards
924ceb305d
Merge branch 'beta'
...
Conflicts:
ChangeLog
Makefile.am
configure.ac
doc/manual.html
2009-02-24 14:52:49 +01:00
Michael Biebl
1448e2486e
make all cflags and libs variables uppercase
...
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.
2009-02-24 13:09:44 +01:00
Rainer Gerhards
4879952995
minor cleanup
2008-11-29 07:48:24 +01:00
Rainer Gerhards
f0ddbed44c
security bugfix: $AllowedSender was not honored,
...
...all senders were permitted instead
2008-11-29 07:22:48 +01:00
Rainer Gerhards
3f6c73a8b7
added (internal) error codes to error messages
...
Also added redirector to web description of error codes
closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
2008-06-27 12:52:45 +02:00
Rainer Gerhards
75063e54b2
bugfix: gtls und ptcp netstream driver communicated invalid iRet
...
This was introduced due to recent interface change.
2008-06-24 18:27:52 +02:00
Rainer Gerhards
7b1a570d54
changed Rcv-Interface in tcpsrv subsystem
...
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)
2008-06-23 10:29:15 +02:00
Michael Biebl
b6b53972e1
Remove .cvsignore files, add .gitignore.
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-06-11 17:03:47 +02:00
Rainer Gerhards
99e97dadf1
bugfix: removed some memory leaks in TLS code
2008-06-04 09:37:10 +02:00
Rainer Gerhards
85b587f93d
first implementation of TLS server client authentication check
...
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
2008-05-19 18:52:44 +02:00
varmojfekoj
d2b63414ef
fixed potential segfault due to invalid call to cfsysline
...
thanks to varmojfekoj for the patch
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-05-14 08:32:40 +02:00