hello, I am using bird as bgp router and I have found a
possible severe bug, that may not be limited only to
the bgp functionality.
if the router state machine is in state "feed" and the
bgp peer drops the connection (I think that this is the
reason, because it is reproducable) the bird daemon dies
in /lib/io.c at line 976:
if (connect(s->fd, (struct sockaddr *) &sa, sizeof(sa)) >= 0)
sk_tcp_connected(s);
> else if (errno != EINTR && errno != EAGAIN && errno != EINPROGRESS)
s->err_hook(s, errno);
because errno == EBADF.
I am not a skilled C programmer, so I can't fix this issue. I have found it in
1.0.4 but this bug is in 1.0.5 also.
I hope to be helpfull to somebody that knows how to fix it.
Luben
--
_________________________________________________________
Luben Karavelov [phone] +359 2 9877088
Network Administrator [ICQ#] 34741625
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~