Rainer Gerhards
b61e5fffc4
strmsrv now supports KEEPALIVE socket option
2009-06-02 13:11:18 +02:00
Rainer Gerhards
97b89435aa
bugfix: $AllowedSender handled invalidly for plain TCP transport
2008-11-29 09:47:04 +01:00
varmojfekoj
73d52a447c
bugfix: double-free in pctp netstream driver
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-10-28 14:55:27 +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
55e01da2ec
somewhat improved plain tcp syslog reliability
...
...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
2008-06-09 12:40:54 +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
Rainer Gerhards
48684ceac5
improved error messages and corrected fingerprint format
2008-05-19 09:43:37 +02:00
Rainer Gerhards
edf41396ef
regained netstream driver genericity; improved drivers
...
- made action logic pass optional auth params only if they are
actually configured
- added new authMode and Fingerprint methods to ptcp netstream
driver (keeping them once again generic)
- added diagnostics messages when invalid auth modes were
configured
2008-05-17 11:19:12 +02:00
Rainer Gerhards
da88900143
added $InputTCPServerStreamDriverMode config directive
2008-04-30 18:53:21 +02:00
Rainer Gerhards
1c2268faa8
restructured netstrm driver layer
...
the new structure prevents repetitive loads and unloads of
driver files; it also has less overhead
The "select" and regular driver are now contained in a single
file.
2008-04-30 17:41:17 +02:00
Rainer Gerhards
c370fc6305
server handshake now works with nonblocking sockets
2008-04-30 16:35:35 +02:00
Rainer Gerhards
b0d63ea8f2
made plain tcp syslog via TLS work on the server
...
... but so far only in blocking mode
2008-04-30 14:51:45 +02:00
Rainer Gerhards
055d4ffc2a
fixed problem with module unload sequence
2008-04-29 15:36:22 +02:00
Rainer Gerhards
a3ff7eaf85
added $ActionSendStreamDriverMode config directive
2008-04-28 14:21:58 +02:00
Rainer Gerhards
75cf92117c
made gtls server driver work in plain tcp mode
2008-04-25 12:54:59 +02:00
Rainer Gerhards
af50a76c3f
made this compile with the new abstracted socket server calls
...
undid some invalid changes during merge plus did a few wrappers.
Compiles, but does not yet work.
2008-04-24 17:59:43 +02:00
Rainer Gerhards
4b05bef636
Merge branch 'sock-abstract' into tls
...
Conflicts:
runtime/Makefile.am
runtime/netstrm.c
runtime/nsd.h
runtime/nsd_ptcp.c
runtime/rsyslog.h
2008-04-24 17:43:45 +02:00
Rainer Gerhards
a7040a9623
some cleanup
2008-04-24 11:03:34 +02:00
Rainer Gerhards
0e19d501bb
fixed newly introduced memory leaks
2008-04-24 10:54:51 +02:00
Rainer Gerhards
bf3d2c1b39
message reception via TCP work again
...
... 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.
2008-04-24 09:57:43 +02:00
Rainer Gerhards
50fe2ec2ea
removed listener array from inidividual netstrm (mostly finished)
2008-04-23 16:31:35 +02:00
Rainer Gerhards
2be459c4d7
objects for receive-side socket abstraction specified
...
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.
2008-04-23 09:59:01 +02:00
Rainer Gerhards
2069ab114e
first working TLS-enabled plain TCP sender
...
implemented a first working version of a TLS-enabled plain TCP
sender (but, of course, the implementation is insecure as it is)
2008-04-18 18:29:02 +02:00
Rainer Gerhards
22ad77a627
fixed abort on rsyslogd termination
2008-04-18 12:20:02 +02:00
Rainer Gerhards
1daf8d492f
converted netstrm into generic netstrm and the nsd_pctp driver
2008-04-18 11:40:15 +02:00