[syslog-ng] Syslog-ng 3.0.1 seg fault with TLS support

Hahusseau, Thomas thomas.hahusseau at eads.com
Thu Mar 5 17:48:57 CET 2009


Hi,

Ok sorry I forgot to modify the .c source file. I don't have segmentation
fault anymore. Just an issue with "unknown ca" in server logs, when client
and server negotiate the tls transaction. I'll investigate it tomorrow.

Thanks for your help; I suppose that you'll correct the typo in later builds
of syslog-ng?

Regards
Thomas

-----Message d'origine-----
De : Hahusseau, Thomas 
Envoyé : jeudi 5 mars 2009 13:42
À : 'Syslog-ng users' and developers' mailing list'
Objet : RE: [syslog-ng] Syslog-ng 3.0.1 seg fault with TLS support

I changed it in the source and now the compilation crashed for cfg-grammar.y
:( :(

-----Message d'origine-----
De : syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] De la part de Xavier Lapie
Envoyé : jeudi 5 mars 2009 12:12
À : Syslog-ng users' and developers' mailing list
Objet : Re: [syslog-ng] Syslog-ng 3.0.1 seg fault with TLS support

On Thu, Mar 05, 2009 at 10:50:29AM +0100, Xavier Lapie wrote:
> On Thu, Mar 05, 2009 at 10:44:03AM +0100, Hahusseau, Thomas wrote:
> > Yeah I enable the debug mode and open the core file with gdb. I can see
a
> > huge backtrace with a lot of "index out of range" error inside. If you I
can
> > attach the backtrace on this mailing list.

I found something which could solve your problem.
The tls context is not initialized when used in client mode,
there is a typo in the cfg-grammar.y file.
Just go to the line 899 and replace ENABLE_TLS by ENABLE_SSL.

-- 
Xavier
____________________________________________________________________________
__
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation:
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html



More information about the syslog-ng mailing list