summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
Commit message (Collapse)AuthorAgeFilesLines
* some performance optimizationsRainer Gerhards2009-06-161-0/+2
| | | | | | - saved gettimeofday() calls in imtcp (and increased reception buffer) - somewhat optimized stringbuf.c - some other optimizations
* backported some of the v5 testbenchRainer Gerhards2009-06-041-1/+4
| | | | | | | | this permits us to keep a persistent test environment between v4 and v5, most importantly using the same tools. As far as the actual tests are concerned, some had issues. I had no time to check if that was an issue with the test or an actual issue with the v3/4 engine. Will do that at some later stage.
* added a generic network stream serverRainer Gerhards2009-06-021-0/+3
| | | | (in addition to rather specific syslog tcp server)
* Merge branch 'beta'Rainer Gerhards2009-05-291-0/+1
|\ | | | | | | | | Conflicts: runtime/rsyslog.h
| * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-291-0/+1
| |\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * fixed a regression of yesterday's patchRainer Gerhards2009-05-291-0/+1
| | | | | | | | | | | | | | | ... I know I should not have done this to a stable branch... Thankfully nothing was yet released.
* | | added new testing module imdiagRainer Gerhards2009-05-251-0/+1
| | | | | | | | | | | | | | | 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-0/+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.
* | | added capability to draw configuration graphsRainer Gerhards2009-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | - added $GenerateConfigGraph configuration command which can be used to generate nice-looking (and very informative) rsyslog configuration graphs. - added $ActionName configuration directive (currently only used for graph generation, but may find other uses)
* | | Merge branch 'nextmaster' into oracleRainer Gerhards2009-04-161-0/+4
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * \ \ Merge branch 'omprog' into nextmasterRainer Gerhards2009-04-141-0/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| | * | | improved omprog, now ready for first practical testingRainer Gerhards2009-04-011-0/+1
| | | | |
| | * | | initial work on omprog, an output module to send messages to another programRainer Gerhards2009-04-011-0/+2
| | | | |
| * | | | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | | | | added a new error code for too-old rsyslog coreRainer Gerhards2009-04-161-0/+1
|/ / / / | | | | | | | | | | | | | | | | which can be emittend when plugin can not load due to missing core functionality.
* | / / improved internal handling of RainerScript functionsRainer Gerhards2009-04-061-0/+4
| |/ / |/| | | | | | | | | | | | | | | | | - building the necessary plumbing to support more functions with decent runtime performance. This is also necessary towards the long-term goal of loadable library modules. - added new RainerScript function "tolower"
* | | clean compile on solarisRainer Gerhards2009-04-021-0/+5
|/ /
* | initial implementation of RainerScript functions & strlen()Rainer Gerhards2009-03-101-0/+4
| | | | | | | | | | | | | | | | | | | | - implemented function support in RainerScript. That means the engine parses and compile functions, as well as executes a few build-in ones. Dynamic loading and registration of functions is not yet supported - but we now have a good foundation to do that later on. NOTE: nested function calls are not yet supported due to a design issue with the function call VM instruction set design. - implemented the strlen() RainerScript function
* | Merge branch 'beta'Rainer Gerhards2008-12-041-0/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html plugins/imudp/imudp.c runtime/rsyslog.h
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-11-291-0/+1
| |\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-291-0/+1
| | | | | | | | | | | | ...all senders were permitted instead
* | | reordered imudp processing.Rainer Gerhards2008-10-081-0/+1
|/ / | | | | | | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
* | performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-161-0/+1
| | | | | | | | | | | | removed thanks to David Lang for his excellent performance analysis
* | Merge branch 'beta'Rainer Gerhards2008-09-121-2/+2
|\| | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tools/syslogd.c
| * fixed duplicate error numberRainer Gerhards2008-09-121-1/+1
| | | | | | | | | | This probably happened during a branch merge and was not detected. Fixed now, should not haved any harm.
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-121-1/+1
| | | | | | | | | | | | | | Conflicts: runtime/datetime.h runtime/rsyslog.h
* | added testbed for config errors and fixed a bugRainer Gerhards2008-07-291-0/+1
| | | | | | | | | | | | - bugfix: no error was reported if the target of a $IncludeConfig could not be accessed. - added testbed for common config errors
* | enhanced configuration file error reporting and verificationRainer Gerhards2008-07-291-0/+2
|/ | | | | | | | | | | | - enhanced config file checking - no active actions are detected - added -N rsyslogd command line option for a config validation run (which does not execute actual syslogd code and does not interfere with a running instance) - somewhat improved emergency configuration. It is now also selected if the config contains no active actions - rsyslogd error messages are now reported to stderr by default. can be turned off by the new "$ErrorMessagesToStderr off" directive Thanks to HKS for suggesting these new features.
* bugfix: machine certificate was required for client even in TLS anon modeRainer Gerhards2008-07-021-0/+1
| | | | | | Reference: http://bugzilla.adiscon.com/show_bug.cgi?id=85 The fix also slightly improves performance by not storing certificates in client sessions when there is no need to do so.
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-3/+9
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* changed Rcv-Interface in tcpsrv subsystemRainer Gerhards2008-06-231-0/+3
| | | | | | 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)
* implemented wildcards inside certificate name check authenticationRainer Gerhards2008-05-271-0/+2
|
* client now provides cert even if it is not signed by one of the server's ↵Rainer Gerhards2008-05-271-0/+2
| | | | trusted CAs (gtls)
* added certificate validity date check (gtls)Rainer Gerhards2008-05-261-0/+3
|
* added gtls name authentication based on common name (inside DN)Rainer Gerhards2008-05-261-0/+1
| | | | also changed fingerprint gtls auth mode to new format fingerprint
* implemented x509/certvalid "authentication"Rainer Gerhards2008-05-211-0/+1
|
* first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-0/+2
| | | | | | | 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
* improved error messages and corrected fingerprint formatRainer Gerhards2008-05-191-1/+1
|
* added first rough ability to authenticate the server against its certificateRainer Gerhards2008-05-161-0/+3
| | | | | | | | | | 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
* server's X509 cert fingerprint is obtained by client on connectRainer Gerhards2008-05-081-0/+1
|
* added a bit of doc (at least something...)Rainer Gerhards2008-05-081-0/+1
|
* server handshake now works with nonblocking socketsRainer Gerhards2008-04-301-0/+1
|
* ability to load proper select netstrm driverRainer Gerhards2008-04-291-1/+2
|
* added $ActionSendStreamDriverMode config directiveRainer Gerhards2008-04-281-0/+1
|
* added select() driver for GnuTlsRainer Gerhards2008-04-241-0/+1
|
* made this compile with the new abstracted socket server callsRainer Gerhards2008-04-241-3/+0
| | | | | undid some invalid changes during merge plus did a few wrappers. Compiles, but does not yet work.
* Merge branch 'sock-abstract' into tlsRainer Gerhards2008-04-241-0/+11
|\ | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/netstrm.c runtime/nsd.h runtime/nsd_ptcp.c runtime/rsyslog.h
| * removed listener array from inidividual netstrm (mostly finished)Rainer Gerhards2008-04-231-0/+1
| |
| * added new netstrms classRainer Gerhards2008-04-231-0/+2
| | | | | | | | netstrms is at the top layer of the socket abstraction
| * objects for receive-side socket abstraction specifiedRainer Gerhards2008-04-231-0/+5
| | | | | | | | | | | | | | 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.