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 Networking
Licenses GPL
Operating Systems POSIX
Implementation Perl

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  08 Oct 2002 06:07
  • Rrelease-after

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

  • Rrelease-mid
  •  15 Aug 2002 12:39
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  03 Jan 2002 07:05
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  28 Jun 2001 18:23
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  17 Jun 2001 11:19
  • Rrelease-after

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

33503f860553e926820a7c3e424d4bc7_thumb

Project Spotlight

Bugzero

A Web-based bug tracking, defect tracking, and help desk customer support system

5041094de5d489a2d2061a06f885db4f_thumb

Project Spotlight

INSERT

A credit card Linux rescue system with NTFS write support and virus scanning.