2021 Commits

Author SHA1 Message Date
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
Rainer Gerhards
c01daffb94 fixed invalid state checking inside gtls retry handler 2008-06-25 08:30:01 +02:00
Rainer Gerhards
8ffbe7ba86 updated sample rsyslog.conf to new capabilities 2008-06-25 08:18:56 +02:00
Rainer Gerhards
3f55816a77 gnu error status must be set after retry operation
... otherwise, we check an invalid error state.
2008-06-24 18:54:04 +02:00
Rainer Gerhards
9479bedcc2 added helpful web references to sample rsyslog.conf
thanks to Thomas Bergfeld for suggesting this
2008-06-24 18:31:59 +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
dd3e2cae9d improved gtls error reporting 2008-06-24 17:44:16 +02:00
Rainer Gerhards
b5d8f5d96a added support for EGAIN while trying to receive data on gTLS session
This maps to bugzilla bug 83: http://bugzilla.adiscon.com/show_bug.cgi?id=83
This is the first test version, posted to user for repro of the problem.

It contains code to handle the case, HOWEVER, I have not been able to test it
in a scenario where a retry actually happens while receiving (I dont't get this
in my environment). So I assume it is buggy and will probably not work.
2008-06-24 15:12:22 +02:00
Rainer Gerhards
b711a34a07 disabled compile warnings caused by third-party libraries 2008-06-23 11:29:47 +02:00
Rainer Gerhards
7b1a570d54 changed Rcv-Interface in tcpsrv subsystem
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)
2008-06-23 10:29:15 +02:00
Rainer Gerhards
716ab25446 disabled in-depth GnuTLS debugging aid
This is a debug aid, only. Note that it may reveal sensitive
information, so it should never be active in production code.
Currently, this is a compile-time switch and requires code changes
to (de)activate.
2008-06-23 09:04:00 +02:00
Rainer Gerhards
009c6b89ad added some develop environmet files to .gitignore 2008-06-23 08:54:54 +02:00
Rainer Gerhards
39e87e0e7d added tls server doc 2008-06-23 08:38:02 +02:00
Rainer Gerhards
064574425b improved TLS doc
also changed samples to 2048 bit keys, because 1024 will
soon no longer be considered secure.
2008-06-20 11:53:05 +02:00
Rainer Gerhards
083d52c861 bugfix: some error states were swapped
... in gnutls code, resulting in some hard too
understand error messages. Also genereally improved certificate
error messages a bit.

Also, added GnuTLS debugging support.
2008-06-20 08:53:58 +02:00
Rainer Gerhards
8bd173f723 added doc on how to generate certficates
with gnutls for both the CA and individual machines
2008-06-19 13:04:46 +02:00
Rainer Gerhards
abc7034f0d begun step-by-step guide for TLS protected syslog 2008-06-18 14:40:08 +02:00
Rainer Gerhards
dc88ff7234 updated status to reflect 3.17.4 release 2008-06-16 12:41:14 +02:00
Rainer Gerhards
d1c7f2c69a Merge branch 'beta'
Conflicts:

	ChangeLog
	configure.ac
	doc/manual.html
2008-06-16 12:01:40 +02:00
Rainer Gerhards
d040868f97 bumped version number 2008-06-16 11:57:52 +02:00
Rainer Gerhards
48d6bc540b prepared for 3.17.4 v3.17.4 2008-06-16 11:50:32 +02:00
Rainer Gerhards
33e2d80632 added .gitignore for tests 2008-06-16 10:42:44 +02:00
Rainer Gerhards
4f32b62990 begun building a testbench 2008-06-13 17:21:03 +02:00
Rainer Gerhards
fa3451aaa4 bugfix: restored accidently deleted version line 2008-06-13 09:16:25 +02:00
Rainer Gerhards
aafe631cec added a few more .gitignore rules to serve my environment 2008-06-13 07:58:29 +02:00
Rainer Gerhards
b003f85091 Merge branch 'beta'
Conflicts:

	ChangeLog
	configure.ac
	doc/manual.html
	plugins/imklog/linux.c
2008-06-12 08:25:05 +02:00
Rainer Gerhards
8080d3fef6 bumped version number 2008-06-12 08:21:22 +02:00
Rainer Gerhards
23153f03af changed default for i$KlogSymbolLookup to "off" 2008-06-12 08:13:59 +02:00
Rainer Gerhards
7b93d930f2 bumped version number 2008-06-11 17:30:34 +02:00
Rainer Gerhards
97e7404673 updated status v3.19.7 2008-06-11 17:28:21 +02:00
Rainer Gerhards
25d29f8577 preparing for 3.19.7 release 2008-06-11 17:04:15 +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
Michael Biebl
34054198fe Fix linker flags for librsyslog and rsyslogd
Use $(dl_libs) and $(rt_libs) instead of -ldl and -lrt. This ensures
that rsyslog can be successfully built on *BSD.

Don't like rsyslogd against $(dl_libs) and $(rt_libs) anymore. This
functionality is now in librsyslog.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-06-11 17:02:11 +02:00
Rainer Gerhards
8c0ac28fd9 fixed syntax error (typo in var name) and cleaup 2008-06-10 08:18:10 +02:00
Rainer Gerhards
2658319224 made rsyslog tickless in the (usual and default) case that repeated
message reduction is turned off.

More info: http://blog.gerhards.net/2008/06/coding-to-save-environment.html
2008-06-09 16:38:53 +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
cf51333f76 fixed a bug with the new property replacer option
there was a copy&paste error in the timereported
property - thanks to Elizabeth for reporting it
2008-06-07 11:01:13 +02:00
Rainer Gerhards
2687d0010c added new property replacer option "time-subseconds"
enables to query just the subsecond part of a high-precision timestamp
2008-06-06 17:33:58 +02:00
Rainer Gerhards
6343cf730a added doc on suggested TLS deployment
(rough picture, actual configuration sample still missing).
2008-06-06 15:43:14 +02:00
Rainer Gerhards
43c2f2b1ad bumping version number 2008-06-06 11:37:55 +02:00
Rainer Gerhards
9c7207bb7b preparing 3.19.6 v3.19.6 2008-06-06 11:25:06 +02:00
Rainer Gerhards
eddaca33a8 enhanced property replacer to support multiple regex matches 2008-06-04 11:11:52 +02:00
Rainer Gerhards
99e97dadf1 bugfix: removed some memory leaks in TLS code 2008-06-04 09:37:10 +02:00
Rainer Gerhards
67d4f3c8f3 bugfix: off-by-one bug during certificate check 2008-06-04 08:21:08 +02:00
Rainer Gerhards
57daa3388c bugfix: part of permittedPeer structure was not correctly initialized
thanks to varmojfekoj for spotting this
2008-06-03 18:40:55 +02:00
Rainer Gerhards
ca6e9efdfd bumped version number 2008-05-30 17:16:02 +02:00
Rainer Gerhards
2b5c049ccc finalized 3.19.5 v3.19.5 2008-05-30 17:14:03 +02:00
Rainer Gerhards
6a815063f3 capability for replacement text in no match regex case added
implemented in property replacer: if a regular expression does not match,
it can now either return "**NO MATCH** (default, as before), a blank
property or the full original property text
2008-05-30 15:18:03 +02:00
Rainer Gerhards
99f18190a1 enhanced property replacer's regex to support submatches
- enabled Posix ERE expressions inside the property replacer
  (previously BRE was permitted only)
- provided ability to specify that a regular expression submatch shall
  be used inside the property replacer
2008-05-29 12:48:15 +02:00
Iida, Masanari
1644e9fabc fixed typo
Typo caused confusion, because the database name is
case sensitive, but case was used different in the sample
and the database create script.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-05-28 15:37:22 +02:00