bird control-socket: connection reset by peer
Oliver Herms
oliver.peter.herms at gmail.com
Tue Nov 14 16:47:06 CET 2017
I've just checked out your code.
I think the big difference is that my code keeps the socket open and uses
it for multiple queries while yours connects, sends one query, fetches the
result and closes the socket.
The issue never happens for the first query.
It takes ~50 queries before bird resets the connection.
2017-11-13 5:54 GMT+01:00 Dmitry S. Nikolaev <dnikolaev at mega-net.ru>:
> Hi.
> I had similar experience when wrote LG for bird.
> I don`t have any problems. You can try my code, it is avail at
> http://bird-lg.subnets.ru/
>
> With best regards, Dmitry S. Nikolaev
>
> Moscow, Russia
> phone: +7 (499) 678 8007 <+7%20499%20678-80-07> [ext. 6003]
> fax: +7 (499) 678 8007 <+7%20499%20678-80-07> [ext. 7777]
> www: http://www.mega-net.ru
> mail: dnikolaev at mega-net.ru
> SIP URI: dnikolaev at sip.mega-net.ru || dn at sip.mega-net.ru
>
> On 12.11.2017 14:47, Oliver Herms wrote:
>
> Hello bird users,
>
> I'm running bird 1.6.3 on ubuntu 16.04 as kind of a route server.
> I wrote a piece of software that connects to the bird control-socket and
> runs queries against it like this: "show route all for x.y.z.a protocol
> xxx".
> The software keeps the socket open and executes the queries in a loop
> persisting of a write() call followed by a read() call.
>
> Now to the problem:
> At some point bird resets the connection and the logs are not showing
> anything related.
>
> Did anyone make similar experiences or can help me to find out what's
> wrong with bird here?
>
> Thanks
> Oliver
> --
> Oliver Herms
> oliver.peter.herms at gmail.com
>
>
>
--
Oliver Herms
oliver.peter.herms at gmail.com
+49 (0) 174 434 155 6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20171114/98539e0d/attachment.html>
More information about the Bird-users
mailing list