146 Commits

Author SHA1 Message Date
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
e04e1b5002 enhanced test environment (including testbench)
support for enhancing probability of memory addressing failure by
using non-NULL default value for malloced memory (optional, only if
requested by configure option). This helps to track down some
otherwise undetected issues within the testbench and is expected
to be very useful in the future.
2009-10-22 11:33:38 +02:00
Rainer Gerhards
898a0df8ed added --enable-gui configure switch
... which now permits to enable/disable GUI components. This also
checks if Java is present and, if not, complains during ./configure.
2009-08-27 15:04:23 +02:00
Rainer Gerhards
63988ba095 Merge branch 'master' into java 2009-08-27 14:18:30 +02:00
Rainer Gerhards
ede0dbf1a3 added a (very, very basic) build system for the Java GUI
... so far, this can not be turned off (will do when I have
merged the recent build system changes into this branch - I am
glad that I at least have a working reference point now ;)).
2009-08-27 14:07:54 +02:00
Rainer Gerhards
a34cd19763 Merge branch 'beta' 2009-08-26 12:10:55 +02:00
Rainer Gerhards
8c125325cf features requiring Java are automatically disabled if Java is not present
(thanks to Michael Biebl for his help!)
2009-08-25 12:14:50 +02:00
Rainer Gerhards
33c5bb3c08 first version supporting udp spoofing and non-spoofing at the same time
omudpspoof is now a dedicated output module. It's calling semantics so far
are based on omfwd, plus the need for the template to have the IP address
as a string in the starting position.
2009-07-09 11:27:10 +02:00
Rainer Gerhards
25daa04902 added support for custom modules
... this provides some basic support to integrate extensions that
are not direct parts of rsyslog to be built during its build
process.
2009-06-02 07:44:07 +02:00
Rainer Gerhards
7a7ec37f99 improved testbench / solved imdiag race condition
imdiag/imtcp had a modload race condition (as imdiag is a testing aid,
this has no implications for production deployments). Also, I replaced
netcat by a custom program to talk to imdiag. This, for the first time ever,
is now a Java program. I plan to add some GUI troubleshooting tools and
thought it is a good idea to start doing things in Java that can simply
be done in that language.
2009-05-25 13:02:06 +02:00
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