33 Commits

Author SHA1 Message Date
Rainer Gerhards
889a0a1da8 some cleanup
... mostly removal of compile-time warnings (thanks to Michael
Biebl for suggesting to look after that)
2009-04-17 15:19:57 +02: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
1a9ac0ced7 removed compile time fixed message size limit (was 2K)
The limit can now be set via $MaxMessageSize global config
directive (finally gotten rid of MAXLINE ;))
2008-09-02 11:38:31 +02:00
Rainer Gerhards
4fd9852957 Merge branch 'beta'
Conflicts:

	ChangeLog
	conf.c
	doc/Makefile.am
	doc/manual.html
	omfwd.c
	plugins/omgssapi/omgssapi.c

This was a bit hard to merge; if there are problems, they
may be in the area of the new "comment in action line" code
that came from the beta.
2008-07-01 15:09:07 +02: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
addadb75eb bugfix: comments after actions were not properly treated.
For some actions (e.g. forwarding(, this could also lead
to invalid configuration.
2008-06-25 12:52:18 +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
09a3d4ef12 Merge branch 'v3-stable' into beta 2008-05-16 13:40:53 +02:00
varmojfekoj
aa983c583b 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:39:36 +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
Rainer Gerhards
ea4a3a3cd9 improvements in omfwd and cleanup of omgssapi
- some (small) cleanup of omgssapi
- optimized omfwed, now loads TCP code only if this is actually necessary
2008-04-17 19:03:51 +02:00
Rainer Gerhards
f590c1d52a modified omfwd to work with netstrm (and also did some cleanup) 2008-04-17 18:06:06 +02:00
Rainer Gerhards
8c65706d22 moved "family" variable to global data pool 2008-04-17 09:25:03 +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
d7f33053da made everything compile with the new runtime subdirectory 2008-04-16 08:42:00 +02:00
Rainer Gerhards
a7860f4dab removed dependency on MAXHOSTNAMELEN as much as it made sense.
GNU/Hurd does not define it (because it has no limit), and we have taken
care for cases where it is undefined now. However, some very few places
remain where IMHO it currently is not worth fixing the code. If it is
not defined, we have used a generous value of 1K, which is above IETF
RFC's on hostname length at all. The memory consumption is no issue, as
there are only a handful of this buffers allocated *per run* -- that's
also the main reason why we consider it not worth to be fixed any further.
2008-04-10 09:31:35 +02:00
Rainer Gerhards
52a4bdfa41 - added support for high-precision timestamps when receiving legacy syslog
messages
- added new $ActionForwardDefaultTemplate directive
- added new $ActionGSSForwardDefaultTemplate directive
2008-03-28 10:51:41 +00:00
Rainer Gerhards
cdcc0e6710 removed a now-longer needed callback from the output module interface.
Results in reducing code complexity.
2008-03-22 10:30:40 +00:00
Rainer Gerhards
29b95dc1c1 bugfix: duplicate public symbol in omfwd and omgssapi could lead to
segfault. thanks to varmojfekoj for the patch.
2008-03-14 17:06:55 +00:00
Rainer Gerhards
8ed721578e bugfix: TCP and GSSAPI framing mode variable was uninitialized, leading to
wrong framing (caused, among others, interop problems)
2008-03-14 14:24:06 +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
Rainer Gerhards
28dcc746bd applied patch from Michael Biebl to clean up build system 2008-03-06 07:39:32 +00:00
Rainer Gerhards
24b02dc831 - extracted logerror*() family of functions from syslogd, made them their
own class and converted to new object calling conventions
    (interface-based)
- converted gss-misc into a loadable library module
2008-03-05 14:53:25 +00:00
Rainer Gerhards
89fac41d64 updated omgssapi to use the current interface version definition 2008-03-05 07:26:20 +00:00
Rainer Gerhards
20e9b14e39 tweaked omgssapi a bit to use our regular calling conventions 2008-02-29 09:30:18 +00:00
Rainer Gerhards
d839bc3fa3 applied Michael Biebl's fix for building rsyslog core without gssapi
support
2008-02-26 08:04:34 +00:00
Rainer Gerhards
e27555c468 added --enable-mudflap ./configure option 2008-01-08 16:13:42 +00:00
Rainer Gerhards
0edfa24154 cleanup 2008-01-03 15:52:42 +00:00
Rainer Gerhards
fc761b9fdc applied Michael Biebl's patch to clean up the makefiles 2008-01-03 14:08:58 +00:00
Rainer Gerhards
dd4dedbc38 created omtesting, a debug and development aid output module. This is stage
work for the new queueing engine - we need a way to delay rule
    execution and that's what the module currently does ;)
2007-12-31 12:54:03 +00:00
Rainer Gerhards
f67509d570 omgssapi created 2007-12-28 15:59:24 +00:00