236 Commits

Author SHA1 Message Date
Rainer Gerhards
eb1615068c added new testing module imdiag
which enables to talk to the rsyslog core at runtime. The current
implementation is only a beginning, but can be expanded over time
2009-05-25 10:47:22 +02:00
Rainer Gerhards
85ccd6e9b7 Merge branch 'omprog' into nextmaster
Conflicts:
	ChangeLog
	runtime/rsyslog.h
2009-04-14 14:49:01 +02:00
Rainer Gerhards
e07b3f380f working some more on "make distcheck"
... this time I think successfully (at least on Fedora...)
2009-04-09 18:51:21 +02:00
Rainer Gerhards
e92a0db46d Merge branch 'master' into oracle
Conflicts:
	Makefile.am
2009-04-02 12:19:44 +02:00
Rainer Gerhards
59d4a52c28 initial work on omprog, an output module to send messages to another program 2009-04-01 16:31:41 +02:00
Luis Fernando Muñoz Mejías
b8f10ad008 Include omoracle in the build system.
Add configure option to build the oracle support, named
--enable-oracle and fix the Makefile.am accordingly.
2009-03-25 18:48:36 +01:00
Rainer Gerhards
bbfa04fbe6 improved testing support
worked on ways to provide a better test suite:
- added -T rsyslogd command line option, enables to specify a directory
  where to chroot() into on startup. This is NOT a security feature but
  introduced to support testing. Thus, -T does not make sure chroot()
  is used in a secure way. (may be removed later)
- added omstdout module for testing purposes. Spits out all messages to
  stdout - no config option, no other features
- modified $ModLoad statement so that for modules whom's name starts with
  a dot, no path is prepended (this enables relative-pathes and should
  not break any valid current config)
2009-03-19 17:50:07 +01:00
Rainer Gerhards
935018ed62 adapted test framework to new script engine 2009-03-19 13:58:39 +01:00
Rainer Gerhards
208f4e107c added output module template
so far, this is mostly some documentation, but I hope that during
the process of creating output modules out of it we will get good
questions and thus can extend the template. In any case, it should
be better than what we had so far...
2009-03-16 17:26:45 +01: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
6685cd0c48 Split the m4 macros into a separate directory 2009-02-24 13:09:45 +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
4b613a4294 fixed some minor nits in preperation for 3.21.1 2008-07-29 15:28:25 +02:00
Rainer Gerhards
b7c91420b0 begun implementing a diagnostic plugin (not yet completed) 2008-07-28 07:46:35 +02:00
Rainer Gerhards
b5faa3c4ce misc small changes: corrected version, removed some debug output,
..., restructured makefile, added some troubleshooting to test case
(program rscript-parse.c has problem due to different structure alignment,
where I do not yet know the reason)
2008-06-27 09:13:11 +02:00
Rainer Gerhards
4f32b62990 begun building a testbench 2008-06-13 17:21:03 +02:00
Rainer Gerhards
7b69ee0ff8 removed references to deleted files 2008-05-16 15:05:07 +02:00
Rainer Gerhards
ce0569ec3e ugfix: lmtcpclt, lmtcpsrv and lmgssutil did all link to the static runtime library,
resulting in a large size increase (and potential "interesting"
effects). Thanks to Michael Biebel for reporting the size issue.
2008-05-14 18:52:53 +02:00
Rainer Gerhards
773ec2bb0a fixed problem with man pages thanks to Michael Biebl's help 2008-05-06 19:21:14 +02:00
Rainer Gerhards
7022e9019e support for different forwarding stream drivers added
they can now be set on an action-by-action basis
2008-05-05 14:19:12 +02:00
Rainer Gerhards
538ec6d401 Merge branch 'rfc3195' 2008-04-16 17:01:55 +02:00
Rainer Gerhards
d9b0c77d3e some more cleanup
reduced dependencies, moved non-runtime files to its own directory except
for some whom's status is unclear
2008-04-16 15:27:53 +02:00
Rainer Gerhards
71dea8c86f cleanup: removed no longer needed files 2008-04-16 11:45:34 +02:00
Rainer Gerhards
75f3cb34e6 moved net module to runtime
after careful analysis, I concluded that it is OK to
place the current net.c/.h code under LGPL. Individual
contributor agreement is given and no sysklogd code
remains (see net.c for details).
2008-04-16 11:36:22 +02:00
Rainer Gerhards
8f8f65abb6 moved files to the runtime
there are still some files left which could go into the
runtime, but I think we will delete most of them once we
are done with the full modularization.
2008-04-16 10:26:54 +02:00
Rainer Gerhards
3af28bbd2d moved runtime files into their own directory 2008-04-16 08:56:48 +02:00
Rainer Gerhards
d7f33053da made everything compile with the new runtime subdirectory 2008-04-16 08:42:00 +02:00
Michael Biebl
3285f43910 made runtime include directory available to rest of rsyslog
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-04-16 08:33:12 +02:00
Rainer Gerhards
dfc9733135 begun re-integrating rfc3195 in rsyslog
set up build system and shuffle some files
2008-04-15 18:49:05 +02:00
Rainer Gerhards
4226f0dd48 begin building runtime convenience library (does not build!) 2008-04-15 16:28:44 +02:00
Rainer Gerhards
e82c6eec6f Merge branch 'bsd-port'
Conflicts:

	ChangeLog
	plugins/imklog/imklog.c
2008-04-15 14:37:09 +02:00
Rainer Gerhards
61ba5ff595 Merge branch 'beta'
Conflicts:

	ChangeLog
	configure.ac
	doc/ommail.html
	queue.c
2008-04-15 11:07:59 +02:00
Rainer Gerhards
b7fec51ba7 Merge branch 'v3-stable' into beta
Conflicts:

	ChangeLog
	doc/manual.html
2008-04-15 11:03:07 +02:00
Rainer Gerhards
f4b26f77ab changed some files to grant LGPLv3 extended persmissions on top of GPLv3
this also is the first sign of something that will evolve into a
well-defined "rsyslog runtime library"
2008-04-15 10:42:14 +02:00
Michael Biebl
afb66b5c6d Rename ENABLE_IMKLOGD to ENABLE_IMKLOG
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-04-10 12:13:11 +02:00
Rainer Gerhards
c0c9f44966 begun work on mail output plugin (open questions on TLS, so I see if I can
put this in between) - does not the least yet work ;)
2008-04-04 13:34:47 +00:00
Rainer Gerhards
ff79081051 removed no longer needed file relptuil.c/.h 2008-04-02 08:17:40 +00:00
Rainer Gerhards
e0ca4d182e file relputil.c deleted, not actually neeeded 2008-04-02 08:08:13 +00:00
Rainer Gerhards
7e4785e72b added librelp check via PKG_CHECK thanks to Michael Biebl's patch 2008-04-02 07:58:09 +00:00
Rainer Gerhards
eaad044b56 disabled atomic operations for the time being because they introduce some
cross-platform trouble - need to see how to fix this in the best
    possible way
2008-04-02 06:42:36 +00:00
Rainer Gerhards
9bed1de84a relputil is no longer needed 2008-04-01 16:45:25 +00:00
Rainer Gerhards
2c2f1022b0 - bugfix: rsyslogd was no longer build by default; man pages are only
installed if corresponding option is selected. Thanks to Michael Biebl
    for pointing these problems out.
2008-04-01 07:18:46 +00:00
Rainer Gerhards
ba6a91bc10 - bugfix: rsyslogd was no longer build by default; man pages are only
installed if corresponding option is selected. Thanks to Michael Biebl
    for pointing these problems out.
2008-04-01 07:15:54 +00:00
Rainer Gerhards
5cae1fdfc5 - bugfix: rsyslogd was no longer build by default; man pages are only
installed if corresponding option is selected. Thanks to Michael Biebl
    for pointing these problems out.
2008-04-01 07:13:42 +00:00
Rainer Gerhards
70ad7a25eb added a --enable/disable-rsyslogd configure option so that source-based
packaging systems can build plugins without the need to compile
    rsyslogd
2008-03-31 12:27:33 +00:00
Rainer Gerhards
af1b9c5140 added initial support for atomic operations 2008-03-31 07:26:43 +00:00
Rainer Gerhards
5287b695e6 cleaned up new relp code files to make them suitable for implementation 2008-03-13 14:24:32 +00:00
Rainer Gerhards
5ec8aaa5e1 added initial set of RELP support (i/omrelp) - not working yet, just stage
work
2008-03-13 13:05:26 +00:00
Rainer Gerhards
618a7f6a22 changed omgssapi and omfwd to utilize new object calling interface; made a
tcpclt class; (stage work, among others, for more intelligent recovery
    from TCP session recovery)
2008-03-12 14:08:21 +00:00
Rainer Gerhards
4db62823e7 renamed library module file names to lm*, so that they match the overall
scheme (like im* and om*)
2008-03-07 17:26:58 +00:00