I have not had a chance to setup the debugging yet, but as part of this I've
been having problems with getting the senders to use a sane format (either huge
logs that get split, or unescaped unicode)
and I have noticed a correlation between sending the bad formats and imtcp
getting hung at 100% cpu.
I'll try to get the debugging setup in the hope of catching the problem.
David Lang
On Mon, 17 Aug 2020, Andre Lorbach
wrote:
Date: Mon, 17 Aug 2020 15:35:18 +0200
From: Andre Lorbach <[email protected]>
To: rsyslog-users <[email protected]>, David Lang <[email protected]>
Cc: Rainer Gerhards <[email protected]>
Subject: AW: [rsyslog] openssl TLS receivng problems
I know the problem of huge debug logs when you are only interested in a
particular area.
You can use debug whitelist to only collect those data useful, I have done
this in some of the openssl tls tests like this one:
https://github.com/rsyslog/rsyslog/blob/master/tests/imtcp-tls-ossl-basic.sh
Kindly uncomment and edit those lines:
# debug.whitelist="on"
# debug.files=["nsd_ossl.c", "tcpsrv.c", "nsdsel_ossl.c",
"nsdpoll_ptcp.c",
"dnscache.c"]
Best regards,
Andre Lorbach
--
Adiscon GmbH
Mozartstr. 21
97950 Großrinderfeld, Germany
Ph. +49-9349-9298530
Geschäftsführer/President: Rainer Gerhards Reg.-Gericht Mannheim, HRB
560610
Ust.-IDNr.: DE 81 22 04 622
Web: www.adiscon.com - Mail: [email protected]
Informations regarding your data privacy policy can be found here:
https://www.adiscon.com/data-privacy-policy/
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient or have received this e-mail in error please
notify the sender immediately and delete this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is
strictly forbidden.
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese E-Mail. Das unerlaubte Kopieren und die unbefugte
Weitergabe dieser E-Mail sind nicht gestattet.
-----Ursprüngliche Nachricht-----
Von: rsyslog <[email protected]> Im Auftrag von Rainer
Gerhards via rsyslog
Gesendet: Freitag, 14. August 2020 15:50
An: David Lang <[email protected]>
Cc: Rainer Gerhards <[email protected]>; rsyslog-users
<[email protected]>
Betreff: Re: [rsyslog] openssl TLS receivng problems
David,
this may help you limiting down the volume of debug output:
https://github.com/rsyslog/rsyslog/blob/master/tests/imtcp-tls-ossl-basic-
tlscommands.sh#L12
Not sure if it is everything that's needed, but may be helpful.
Rainer
El jue., 13 ago. 2020 a las 19:11, David Lang (<[email protected]>) escribió:
Thanks, I did not see any response (as always, may have been my fault)
I'll check back with him next week.
what I'm trying to do here is figure out how to get debug data from
imtcp while not getting debug info from everything else (in the hope
that the debug data is small enough that I can run in debug mode for
an extended time to try and catch the problem)
David Lang
On Thu, 13 Aug 2020, Rainer Gerhards wrote:
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.