Hi.

It’s not related to Quagga.
It’s a bug in all mighty systemd specifically in nsswitch, related to hostname 
resolving when many routes are present and might be exploitable too, but noone 
cares. Bug reports were submitted 4 months ago to CentOS and RHEL bug trackers.
In order to get around it either disable DNS resolution in sshd, but then other 
programs like ping will still crash, so far better workaround it by removing 
myhostname from config directive hosts, like so:

hosts:      files dns

But please note, that upgrading software like systemd will put the myhostname 
back without informing you and it will start to crash again. So also do the 
sshd_config.

You’re welcome.
Regards,
F.


On 19 May 2016, at 17:45, Jafar Al-Gharaibeh <[email protected]> wrote:

> Pepe,
> 
>    It is unclear if this is directly related to Quagga but the Quagga version 
> (0.99.22) is a bit old. Can you try a newer release and see if you get a 
> different outcome? Quagga 1.0.20150315 was release in March of this year.
> 
> Regards,
> Jafar
> 
> 
> On 5/19/2016 1:28 AM, Pepe Charli wrote:
>> Hi,
>> 
>> CentOS Linux release 7.2.1511
>> quagga-0.99.22.4-4.el7.x86_64
>> 
>> When I start bgpd and have many routes in the server, I can not connect via 
>> ssh
>> 
>> In /var/log/messages I see:
>> 
>> sshd[21096]: segfault at 7ffefb51eff8 ip 00007f244a690969 sp
>> 00007ffefb51f000 error 6 in libc-2.17.so[7f244a614000+1b7000]
>> 
>> If I stop bgpd service, routes disappear and I can connect via ssh
>> without problems.
>> 
>> Can anybody help me?
>> 
>> Thanks
>> 
>> _______________________________________________
>> Quagga-users mailing list
>> [email protected]
>> https://lists.quagga.net/mailman/listinfo/quagga-users
>> 
> 
> 
> _______________________________________________
> Quagga-users mailing list
> [email protected]
> https://lists.quagga.net/mailman/listinfo/quagga-users


_______________________________________________
Quagga-users mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users

Reply via email to