summaryrefslogtreecommitdiff
path: root/proto
AgeCommit message (Collapse)Author
2014-02-06Silence this annoying warning.Ondrej Zajicek
2014-02-06Many changes in I/O and OSPF sockets and packet handling.Ondrej Zajicek
I/O: - BSD: specify src addr on IP sockets by IP_HDRINCL - BSD: specify src addr on UDP sockets by IP_SENDSRCADDR - Linux: specify src addr on IP/UDP sockets by IP_PKTINFO - IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO - Alternative SKF_BIND flag for binding to IP address - Allows IP/UDP sockets without tx_hook, on these sockets a packet is discarded when TX queue is full - Use consistently SOL_ for socket layer values. OSPF: - Packet src addr is always explicitly set - Support for secondary addresses in BSD - Dynamic RX/TX buffers - Fixes some minor buffer overruns - Interface option 'tx length' - Names for vlink pseudoifaces (vlinkX) - Vlinks use separate socket for TX - Vlinks do not use fixed associated iface - Fixes TTL for direct unicast packets - Fixes DONTROUTE for OSPF sockets - Use ifa->ifname instead of ifa->iface->name
2013-12-10Merge branch 'add-path'Ondrej Zajicek
2013-12-02Fixes problem with source address selection in BGP and BFD.Ondrej Zajicek
2013-11-25Merge branch 'master' into add-pathOndrej Zajicek
2013-11-25Fixes a reply code.Ondrej Zajicek
2013-11-24OSPF ifaces on loopback should be stub.Ondrej Zajicek
2013-11-24Enables multihop mode for IBGP by default.Ondrej Zajicek
This is more consistent with common usage and also with the behavior of other implementations (Cisco, Juniper). Also changes the default for gw mode to be based solely on direct/multihop.
2013-11-23Merge branch 'master' into add-pathOndrej Zajicek
Conflicts: filter/filter.c nest/proto.c nest/rt-table.c proto/bgp/bgp.h proto/bgp/config.Y
2013-11-22Minor fixes.Ondrej Zajicek
2013-11-22Changes identifiers to avoid use of reserved ones.Ondrej Zajicek
2013-11-22Adds check for buffer size in OSPF LSA flood.Ondrej Zajicek
2013-11-22Merge commit 'origin/bfd'Ondrej Zajicek
2013-11-19BFD protocol, ready for release.Ondrej Zajicek
Supports OSPF and BGP and also statically configured sessions.
2013-10-21Accepts a change of OSPFv3 neighbor's IP address.Ondrej Zajicek
Thanks to Pierre Pfister for the patch.
2013-10-21Implements 'allow local as' option.Ondrej Zajicek
Similar to allowas-in option on other routers.
2013-10-05Fixes some BFD bugs and makes logging thread-safe.Ondrej Zajicek
2013-09-26Fixes build issues without BGP.Ondrej Zajicek
Thanks to Sergey Popovich for the patch.
2013-09-16BFD work in progress.Ondrej Zajicek
Now it compiles and mostly works.
2013-09-13Fixes problem with OSPF neighbor router ID change. Thanx to Alexander V. ↵Ondrej Filip
Chernikov
2013-09-11OSPF state machine fix - thanx to Alexander V. ChernikovOndrej Filip
2013-09-10Initial BFD commit, work in progress.Ondrej Zajicek
2013-08-13Fixes a bug related to mixed up neighbor events in BGP.Ondrej Zajicek
Neighbor events related to received route next hops got mixed up with sticky neighbor node for an IP of the BGP peer. If a neighbor for a next hop disappears, BGP session is shut down.
2013-07-25Implements RFC 6608 Subcodes for BGP FSM Error.Ondrej Zajicek
2013-07-24Fixes socket error hook for radv protocol.Ondrej Zajicek
2013-07-13Fixes stuck connection during BGP session shutdown.Ondrej Zajicek
If TX buffers were full during BGP session shutdown then a protocol waited indefinitely to be able to send notification packet to close the session.
2013-07-11Some fixes for TTL security.Ondrej Zajicek
2013-06-25Implements TTL security for OSPF and RIP.Ondrej Zajicek
Interfaces for OSPF and RIP could be configured to use (and request) TTL 255 for traffic to direct neighbors. Thanks to Simon Dickhoven for the original patch for RIPng.
2013-06-24Better packet priority and traffic class handling.Ondrej Zajicek
Implements support for IPv6 traffic class, sets higher priority for OSPF and RIP outgoing packets by default and allows to configure ToS/DS/TClass IP header field and the local priority of outgoing packets.
2013-06-11Implements OSPF stub router option (RFC 3137).Ondrej Zajicek
Also fixes OSPFv3 routing table calculcation w.r.t. errata 2078 to RFC 5340.
2013-05-28Fixes crash with vlinks.Ondrej Zajicek
2013-05-09Fixes a problem with BGP neighbors, link-local addresses and locking.Ondrej Zajicek
Thanks to Fritz Grimpen for the bugfix.
2013-04-29Fixes a crash when mrtdump is enabled and interface goes away.Ondrej Zajicek
Thanks to Peter Christensen for the bugfix.
2013-04-17Fixes a compatibility issue in OSPFv2 PtP links.Ondrej Zajicek
BIRD used zero netmask in hello packets on all PtP links, not just on unnumbered ones. This patch fixes it and adds option 'ptp netmask' for overriding the default behavior. Thanks to Alexander V. Chernikov for the original patch.
2013-04-16Fixes a bug in IPv6 BGP next hop processing.Ondrej Zajicek
BGP next hop attributes with empty link-local IPv6 addresses were not handled properly. Thanks to Sergey Popovich for the bugfix.
2013-04-16Implements 'next hop keep' option for BGP.Ondrej Zajicek
This option allows to keep the received next hop even in cases when the route is sent to an interface with a different subnet.
2013-04-16Better handling of global addresses as configured NBMA neighbors in OSPFv3.Ondrej Zajicek
Configured NBMA neighbors in OSPFv3 should be link-local addresses, old behavior was to silently ignore global ones. The patch allows BIRD to accept global ones, but adds a warning and a documentation notice. Thanks to Wilco Baan Hofman for the bugreport.
2013-02-26Small typos fixed.Ondrej Filip
2013-02-26Redundant lines removed.Ondrej Filip
2013-02-24Allow 1 sec RIP update.Ondrej Filip
2013-02-22Use BIRD's ASSERT instead of assert.hOndrej Filip
2013-02-21Hotfix to solve an issue with delaying timers reported by Aleksey Chudov.Ondrej Filip
2013-02-10A few semicolons added to decrease a number of warnings.Ondrej Filip
2013-02-09Fixes handling of iface routes in static proto during reconfiguration.Ondrej Zajicek
During reconfiguration, iface routes were installed even when iface was down.
2013-02-08Implements router advertisements activated by received routes.Ondrej Zajicek
The RAdv protocol could be configured to change its behavior based on availability of routes, e.g., do not announce router lifetime when a default route is not available.
2013-01-10Separate import and receive limits.Ondrej Zajicek
They have different behavior w.r.t. filtered routes that are kept.
2012-12-27Implements interface masks for choosing router id.Ondrej Zajicek
Router ID could be automatically determined based of subset of ifaces/addresses specified by 'router id from' option. The patch also does some minor changes related to router ID reconfiguration. Thanks to Alexander V. Chernikov for most of the work.
2012-11-27Changes static route targets drop/reject to blackhole/unreachable.Ondrej Zajicek
To be consistent with rest of BIRD and Linux. Old names are also allowed for compatibility.
2012-11-15Change unnamed ptp link description on OSPFv2.Ondrej Zajicek
Although it is a slight deviation from the standard, it has no ill consequences for OSPFv2 and the change fixes a compatibility issue with some broken implementations.
2012-11-15Changes 'rejected' to 'filtered' in one of the last patches.Ondrej Zajicek