[Bgpd-users] Announcement: bgpd.pl-0.05 released
Status: Alpha
Brought to you by:
stevenh
|
From: Steven H. <st...@xs...> - 2002-06-20 19:44:12
|
Hi all, I received a patch yesterday from Andrew <an...@su...>. I've integrated this patch into the 0.04 code and released bgpd.pl-0.05. It's available at http://sourceforge.net/projects/bgpd/ Here's the excerpt from the changelog: RELEASE bgpd.pl-0.05 released on June 20th 2002 - Fixes provided Andrew of Supernews <an...@su...> His coments included below: -------------------- - (critical) the logic of BGP::Neighbor::receive was completely wrong, leading to failure of the session (and many perl warnings) any time that the data returned from sysread() was shorter than expected, which is something that TCP-based applications must _always_ expect and handle. - (annoying) router-id in the config file didn't work at all - (serious) updates where the AS-PATH was present but empty (which is normal for local routes from iBGP peers) were treated as though the AS-PATH were missing (killing the session) - (trivial) changed the dump output format to eliminate whitespace in the prefix output for prefixes smaller than /10 - (performance) most of the time taken to take in a full routing table was being eaten by BGP::Neighbor::log due to doing significant processing before checking the log level. The change I did results in about a 2x speedup with most logging turned off I also changed the logfile open to use append mode, not really a bug but probably more useful in most cases. Stuff I didn't fix: your daemonize function uses a method that would have been archaic 10 years ago, and closing stdin/out/err without reopening them again is a dangerous practice. Check out POSIX::setsid. (I'm not currently using daemon mode for various reasons) ------------------- |