Projects / bgpd.pl

bgpd.pl

bgpd.pl is a partial implementation of the BGP protocol (RFC1771) in Perl. It was writen as a tool to monitor BGP routing updates. It is not meant to be used as a BGP router in an operational network. In fact, it is unable to propagate routing information because there is no code to send BGP UPDATE messages. bgpd.pl also does not touch the routing table of the host it runs on.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  08 Oct 2002 10:07

    Release Notes: The route selection algorithm that is used to select routes announced by two or more peers was fixed.

    •  15 Aug 2002 16:39

      Release Notes: Some wrong BGP::Neighbor::receive logic was rewritten. The router-id config entry was fixed. A problem where iBGP was missing AS-PATH was fixed. The dump output format was changed. Logging perfomance was improved.

      •  03 Jan 2002 12:05

        Release Notes: A bug in AdjRibIn.pm where `!=' was used to compare packed IP addresses, a bug in Neighbor.pm where UPDATES with unfeasable routes would not have their new routes processed, and a bug in Neighbor.pm where the closure of a BGP session would not undefine the filehandle leading to errors in socket processing were fixed. Logging was redesigned.

        •  28 Jun 2001 22:23

          Release Notes: Logging.pm has been removed, and the logging functions are in the BGP and Neighbor modules. Objects and modules have been created for BGP, BGP::Neighbor, and PathAttribute. %conf has been OOB'd (although it is not an object yet). The elements $conf{adjRIBin} & $conf{localRIB} have been added. Configuration file support has been added. Neighbors need to be defined in this file, or else incoming BGP sessions are not accepted. The routing table dump is now generated after a USR1 signal instead of a HUP signal. An overview of the configured BGP sessions can be generated with SIGUSR2. A bug where route aggregation was going a bit too automagically has been fixed. Prefixes in adj-RIB-in now reference a Path Attribute hash. This hash is referenced by multiple prefixes if these prefixes are send in one BGP UPDATE message. This should significantly reduce memory consumption.

          •  17 Jun 2001 15:19

            Release Notes: This version fixes a bug in handling the local preference attribute, "send", with BGP update messages of iBGP sessions.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.