summaryrefslogtreecommitdiff
path: root/proto
AgeCommit message (Collapse)Author
2009-10-12Rename as_path_get_last/as_path_get_first to be consistent.Ondrej Zajicek
2009-10-11Workaround for stupid callback scheduler.Ondrej Zajicek
There is no reak callback scheduler and previous behavior causes bad things during hard congestion (like BGP hold timeouts). Smart callback scheduler is still missing, but main loop was changed such that it first processes all tx callbacks (which are fast enough) (but max 4* per socket) + rx callbacks for CLI, and in the second phase it processes one rx callback per socket up to four sockets (as rx callback can be slow when there are too many protocols, because route redistribution is done synchronously inside rx callback). If there is event callback ready, second phase is skipped in 90% of iterations (to speed up CLI during congestion).
2009-09-24Show bad peer AS number in log in decimal.Ondrej Zajicek
2009-09-24Passive option.Ondrej Zajicek
2009-09-18Fixes setting of IP addresses to route attributes (NEXT_HOP).Ondrej Zajicek
2009-09-17Fixes headers for uintptr_t (and build on NetBSD).Ondrej Zajicek
2009-09-17Fixes preference in transparent pipes.Ondrej Zajicek
2009-08-27Some cleanups.Ondrej Zajicek
2009-08-25Fixes bug related to AS2->AS4 conversion.Ondrej Zajicek
2009-08-16Bugfix - each protocol can be compiled separately.Ondrej Filip
2009-08-10Merge branch 'master' into devOndrej Zajicek
2009-07-30Symbols PASSWORDS and BROADCAST not declared for OSPFOndrej Filip
2009-07-23Use %R in OSPF when appropriate.Ondrej Zajicek
2009-07-09Fixed bug related to reconfiguration of BGP with MD5 passwords.Ondrej Zajicek
2009-07-05Another pile of ipa_from_u32() calls.Ondrej Zajicek
2009-07-05Fixes OSPF on big-endians.Ondrej Zajicek
Hmm, #ifdef is not very typo-safe.
2009-07-05Fixes type mismatch in OSPF printf statements.Ondrej Zajicek
Mixing ip_addr and u32 does bad things on Ultrasparc. Although both have the same size. Fascinating. It was not catched by compiler because of varargs.
2009-06-23Replace 'bind' option with 'listen' option.Ondrej Zajicek
To be consistent with other daemons.
2009-06-23Fixes bug in ORIGIN check.Ondrej Zajicek
2009-06-23Changes handling of AS_PATH_CONFED_* segments in AS_PATH.Ondrej Zajicek
Although standard says that if we receive AS_PATH_CONFED_* (and we are not a part of a confederation) segment, we should drop session, nobody does that and it is unwise to do that. Now we drop session just in case that peer ASN is in AS_PATH_CONFED_* segment (to detect peer that considers BIRD as a part of its confederation).
2009-06-18Implements option that changes BGP listening socket parametres.Ondrej Zajicek
2009-06-18Minor bugfixes.Ondrej Zajicek
2009-06-11Implements an option that allows to change a set of stub networks.Ondrej Zajicek
2009-06-10Changes OSPF to generate stub networks for non-primary addresses.Ondrej Zajicek
Also does some reorganization in RT LSA announcement.
2009-06-07Minor BGP changes related to error wait time.Ondrej Zajicek
2009-06-06Fixes bug related to startup delay change.Ondrej Zajicek
2009-06-06Differentiate between error delay and connect/reconnect delay.Ondrej Zajicek
The difference is here to reject incoming connections in the first case.
2009-06-04Implements import route limits.Ondrej Zajicek
2009-06-01The pipe cleanup.Ondrej Zajicek
2009-06-01Adds opaque/transparent pipe mode selection.Ondrej Zajicek
2009-05-31Changes pipes to transfer all routes between routing table, not just optimal ↵Ondrej Zajicek
routes.
2009-05-24Hello packets on PTP networks should have zero netmask.Ondrej Zajicek
This also ensures that misconfigured routers (one side ptp and one side broadcast) do not make adjacency.
2009-05-24Ignore Hello packets from different IP network (than primary).Ondrej Zajicek
2009-05-06A change in OSPF and RIP interface patterns.Ondrej Zajicek
Allows to add more interface patterns to one common 'options' section like: interface "eth3", "eth4" { options common to eth3 and eth4 }; Also removes undocumented and unnecessary ability to specify more interface patterns with different 'options' sections: interface "eth3" { options ... }, "eth4" { options ... };
2009-05-06Fixes one recently introduced IPv6 BGP compatibility problem.Ondrej Zajicek
2009-04-29Allow 'third party' BGP updates for originated routes.Ondrej Zajicek
2009-04-29Fixes BGP IPv6 link local next hop handling.Ondrej Zajicek
When sending 'third party' BGP update, Bird used bogus link local addresses instead of addresses it received before.
2009-04-28Fixes handling of 'next hop self' and 'source address' configurationOndrej Zajicek
options.
2009-04-23Fixes BGPv6 bug - missing endianity conversion.Ondrej Zajicek
Also removes code skipping SNPAs (obsoleted by newer RFCs, should be ignored).
2009-04-23Fixes BGPv6 bug - mandatory attributes weren't validated;Ondrej Zajicek
2009-04-23Fixe bug in BGPv6 that causes to send invalid network withdraws.Ondrej Zajicek
2009-04-23Fixes bug in BGPv6 causing crash by checking missing attributes.Ondrej Zajicek
2009-04-08Fixes broken cryptographic authentication in OSPFOndrej Zajicek
Cryptographic authentication in OSPF is defective by design - there might be several packets independently sent to the network (for example HELLO, LSUPD and LSACK) where they might be reordered and that causes crypt. sequence number error. That can be workarounded by not incresing sequence number too often. Now we update it only when last packet was sent before at least one second. This can constitute a risk of replay attacks, but RFC supposes something similar (like time in seconds used as CSN).
2009-04-06Fixes bug in OSPF packet retransmission.Ondrej Zajicek
If a DBDES packet from a master to a slave is lost, then the old code does not retransmit it and instead send a next one with the same sequence number. That leads to silent desynchronization of LSA databases.
2009-04-06Better OSPF packet tracing log messages.Ondrej Zajicek
Replaces old OSPF packet tracing messages with uniform messages with packet dumps.
2009-03-18Better handling of AS4 optional attribute errorsOndrej Zajicek
AS4 optional attribute errors were handled by session drop (according to BGP RFC). This patch implements error handling according to new BGP AS4 draft (*) - ignoring invalid AS4 optional attributes. (*) http://www.ietf.org/internet-drafts/draft-chen-rfc4893bis-02.txt
2009-03-13Update capability handshake optionsOndrej Zajicek
Add 'capabilities' option, change default behavior to advertise ipv4, add some checks and ignore incoming capabilities when capabilities are disabled.
2009-03-05Added Cisco and Quagga capability workaround option.Ondrej Zajicek
2009-02-27Better handling of too long attributesOndrej Zajicek
This patch extends the length for attributes from 1024 to 2048 (because both AS_PATH and AS4_PATH attributes take 2+4 B per AS). If there is not enough space for attributes, Bird skips that route group. Old behavior (skipping remaining attributes) leads to skipping required attributes and session drop.
2009-02-26Rate limit for most abundant log messagesOndrej Zajicek