]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
15 years agoDo not remove old static route if it is in new config with different gw.
Ondrej Zajicek [Sun, 16 May 2010 09:03:59 +0000 (11:03 +0200)] 
Do not remove old static route if it is in new config with different gw.

15 years agoDo not originate summary or external LSA if it already here and not changed.
Ondrej Zajicek [Sun, 16 May 2010 08:27:20 +0000 (10:27 +0200)] 
Do not originate summary or external LSA if it already here and not changed.

15 years agoHandle EPIPE as a common connection close event.
Ondrej Zajicek [Fri, 14 May 2010 14:54:39 +0000 (16:54 +0200)] 
Handle EPIPE as a common connection close event.

15 years agoDo not add community if it is already in clist.
Ondrej Zajicek [Fri, 14 May 2010 13:24:53 +0000 (15:24 +0200)] 
Do not add community if it is already in clist.

15 years agoFixes a bug in LSA flooding.
Ondrej Zajicek [Fri, 7 May 2010 13:54:27 +0000 (15:54 +0200)] 
Fixes a bug in LSA flooding.

LSAs are sometimes prematurely removed from LS retransmission lists.

15 years agoA minor bugfix in OSPF ext-LSA processing.
Ondrej Zajicek [Sun, 2 May 2010 22:10:48 +0000 (00:10 +0200)] 
A minor bugfix in OSPF ext-LSA processing.

15 years agoMerge several fixes suggested by Joakim Tjernlund.
Ondrej Zajicek [Sun, 2 May 2010 20:41:40 +0000 (22:41 +0200)] 
Merge several fixes suggested by Joakim Tjernlund.

15 years agoOSPF: most of summary LSA orig./flush logic rewritten.
Ondrej Zajicek [Sun, 2 May 2010 17:58:34 +0000 (19:58 +0200)] 
OSPF: most of summary LSA orig./flush logic rewritten.

Fixes many bugs in the old code and makes it much cleaner.

15 years agoBetter support for /31 networks.
Ondrej Zajicek [Tue, 27 Apr 2010 22:39:57 +0000 (00:39 +0200)] 
Better support for /31 networks.

15 years agoA fix in OSPFv3 next_hop calculation.
Ondrej Zajicek [Tue, 27 Apr 2010 16:29:01 +0000 (18:29 +0200)] 
A fix in OSPFv3 next_hop calculation.

15 years agoMerge branch 'master' of ssh://git.nic.cz/projects/bird/GIT/bird
Ondrej Filip [Tue, 27 Apr 2010 09:28:44 +0000 (11:28 +0200)] 
Merge branch 'master' of ssh://git.nic.cz/projects/bird/GIT/bird

15 years agoAvoid warning if not compiled with pipes.
Ondrej Filip [Tue, 27 Apr 2010 09:27:54 +0000 (11:27 +0200)] 
Avoid warning if not compiled with pipes.

15 years agoNeighbors on OSPF broadcast networks should be identified by IP address, not RID.
Ondrej Zajicek [Mon, 26 Apr 2010 17:08:57 +0000 (19:08 +0200)] 
Neighbors on OSPF broadcast networks should be identified by IP address, not RID.

Allows simple support for multiple interfaces to the same network.

15 years agoSkip LSA host<->network endianity conversions on big endians.
Ondrej Zajicek [Sun, 25 Apr 2010 18:12:34 +0000 (20:12 +0200)] 
Skip LSA host<->network endianity conversions on big endians.

15 years agoImplements changes in checksum alg suggested by Joakim Tjernlund.
Ondrej Zajicek [Sun, 25 Apr 2010 17:13:49 +0000 (19:13 +0200)] 
Implements changes in checksum alg suggested by Joakim Tjernlund.

15 years agoFixes and enhancements in 'show ospf state' command.
Ondrej Zajicek [Sat, 24 Apr 2010 13:18:21 +0000 (15:18 +0200)] 
Fixes and enhancements in 'show ospf state' command.

Now it shows a distance, option to change showing reachable/all network
nodes and better handling of AS-external LSAs in multiple areas. The
command 'show ospf topology' was changed to not show stubnets in both
OSPFv2 and OSPFv3 (previously it displayed stubnets in OSPFv2).

15 years agoMerge commit 'origin/master' into new
Ondrej Zajicek [Wed, 21 Apr 2010 19:52:10 +0000 (21:52 +0200)] 
Merge commit 'origin/master' into new

15 years agoFixes several problems in OSPF vlink implementation.
Ondrej Zajicek [Wed, 21 Apr 2010 19:50:38 +0000 (21:50 +0200)] 
Fixes several problems in OSPF vlink implementation.

15 years agoIt seems that prefixes /31 and /127 are valid and used in this strange world.
Ondrej Filip [Mon, 19 Apr 2010 14:10:20 +0000 (16:10 +0200)] 
It seems that prefixes /31 and /127 are valid and used in this strange world.

15 years agoFixes build on newer Linux systems.
Ondrej Zajicek [Wed, 14 Apr 2010 13:35:08 +0000 (15:35 +0200)] 
Fixes build on newer Linux systems.

15 years agoFixes IPv6 build on older systems.
Ondrej Zajicek [Wed, 14 Apr 2010 12:46:21 +0000 (14:46 +0200)] 
Fixes IPv6 build on older systems.

15 years agoFixes next hop calculation on NBMA and parallel PTP links.
Ondrej Zajicek [Sun, 11 Apr 2010 10:22:47 +0000 (12:22 +0200)] 
Fixes next hop calculation on NBMA and parallel PTP links.

15 years agoFixes a bug in OSPF on NBMA interfaces.
Ondrej Zajicek [Sun, 11 Apr 2010 08:19:54 +0000 (10:19 +0200)] 
Fixes a bug in OSPF on NBMA interfaces.

A very tricky bug. OSPF on NBMA interfaces probably never really worked.
When a packet was sent to multiple destinations, the checksum was
calculated multiple times from a packet with already filled checksum
field (from previous calculation). Therefore, many packets were sent
with an invalid checksum.

15 years agoNEWS and version update. v1.2.2
Ondrej Zajicek [Fri, 9 Apr 2010 15:42:39 +0000 (17:42 +0200)] 
NEWS and version update.

15 years agoIgnore routes with next-hop 127.0.0.1 on BSD.
Ondrej Zajicek [Thu, 8 Apr 2010 22:56:47 +0000 (00:56 +0200)] 
Ignore routes with next-hop 127.0.0.1 on BSD.

15 years agoOn BSD, consider unmarked non-device routes as alien.
Ondrej Zajicek [Thu, 8 Apr 2010 16:41:17 +0000 (18:41 +0200)] 
On BSD, consider unmarked non-device routes as alien.

15 years agoDo not export empty community list attribute in BGP.
Ondrej Zajicek [Thu, 8 Apr 2010 15:56:56 +0000 (17:56 +0200)] 
Do not export empty community list attribute in BGP.

15 years agoRevert "Fixes behavior of defined() on bgp_community attribute."
Ondrej Zajicek [Thu, 8 Apr 2010 15:47:14 +0000 (17:47 +0200)] 
Revert "Fixes behavior of defined() on bgp_community attribute."

This reverts commit 74e9331fe0892c4c96b4c4d7db3f14bb7e9d928e.

15 years agoMinor changes.
Ondrej Zajicek [Wed, 7 Apr 2010 21:15:56 +0000 (23:15 +0200)] 
Minor changes.

15 years agoConfigurable syslog name.
Ondrej Zajicek [Wed, 7 Apr 2010 09:00:36 +0000 (11:00 +0200)] 
Configurable syslog name.

Also fixes a bug in syslog initialization.

15 years agoImplements BGP 'show protocols' info details.
Ondrej Zajicek [Tue, 6 Apr 2010 22:19:23 +0000 (00:19 +0200)] 
Implements BGP 'show protocols' info details.

15 years agoRestrict export of device routes to the kernel protocol.
Ondrej Zajicek [Sun, 4 Apr 2010 13:41:31 +0000 (15:41 +0200)] 
Restrict export of device routes to the kernel protocol.

In usual configuration, such export is already restricted
with the aid of the direct protocol but there are some
races that can circumvent it. This makes it harder to
break kernel device routes. Also adds an option to
disable this restriction.

15 years agoIgnore some kernel messages.
Ondrej Zajicek [Sat, 3 Apr 2010 10:03:52 +0000 (12:03 +0200)] 
Ignore some kernel messages.

15 years agoFixes related to routes with link-local gw on BSD.
Ondrej Zajicek [Sat, 3 Apr 2010 09:42:18 +0000 (11:42 +0200)] 
Fixes related to routes with link-local gw on BSD.

15 years agoFixes missing header.
Ondrej Zajicek [Sat, 3 Apr 2010 08:45:21 +0000 (10:45 +0200)] 
Fixes missing header.

15 years agoFixes OSPFv3 route generation for local stub networks.
Ondrej Zajicek [Fri, 2 Apr 2010 17:03:18 +0000 (19:03 +0200)] 
Fixes OSPFv3 route generation for local stub networks.

15 years agoUse SO_BINDTODEVICE also in Linux/IPv6.
Ondrej Zajicek [Fri, 2 Apr 2010 14:11:46 +0000 (16:11 +0200)] 
Use SO_BINDTODEVICE also in Linux/IPv6.

15 years agoFixes link-local addresses on BSD.
Ondrej Zajicek [Fri, 2 Apr 2010 09:36:38 +0000 (11:36 +0200)] 
Fixes link-local addresses on BSD.

15 years agoMinor fixes to previous patches.
Ondrej Zajicek [Fri, 2 Apr 2010 09:31:20 +0000 (11:31 +0200)] 
Minor fixes to previous patches.

15 years agoFilter language updates; new route attributes and datatype.
Ondrej Zajicek [Mon, 29 Mar 2010 17:29:03 +0000 (19:29 +0200)] 
Filter language updates; new route attributes and datatype.

 - Adds bgp_originator_id and bgp_cluster_list route attributes.
 - Adds dotted quad filter datatype (for router IDs, used by
   bgp_originator_id and ospf_router_id route attributes).
 - Fixes pair ~ pair set matching.
 - Documentation updates.

15 years agoMerge branch 'socket2' into new
Ondrej Zajicek [Fri, 26 Mar 2010 17:53:31 +0000 (18:53 +0100)] 
Merge branch 'socket2' into new

15 years agoAdded some comments.
Ondrej Zajicek [Fri, 26 Mar 2010 15:21:29 +0000 (16:21 +0100)] 
Added some comments.

15 years agoDisable multiple OSPF pseudointerfaces on BSD.
Ondrej Zajicek [Fri, 26 Mar 2010 13:48:01 +0000 (14:48 +0100)] 
Disable multiple OSPF pseudointerfaces on BSD.

15 years agoAdds autoconf test for -Wno-pointer-sign compliler option.
Ondrej Zajicek [Wed, 24 Mar 2010 15:39:18 +0000 (16:39 +0100)] 
Adds autoconf test for -Wno-pointer-sign compliler option.

15 years agoUpdate lastmod in 'ignored' case only for RIP routes.
Ondrej Zajicek [Wed, 24 Mar 2010 09:39:14 +0000 (10:39 +0100)] 
Update lastmod in 'ignored' case only for RIP routes.

15 years agoFixes LLS compatibility.
Ondrej Zajicek [Fri, 19 Mar 2010 18:23:34 +0000 (19:23 +0100)] 
Fixes LLS compatibility.

15 years agoAllow iface pattern matching code to match peer address on ptp links.
Ondrej Zajicek [Fri, 19 Mar 2010 17:46:56 +0000 (18:46 +0100)] 
Allow iface pattern matching code to match peer address on ptp links.

15 years agoClear local variables in filters and functions.
Ondrej Zajicek [Fri, 19 Mar 2010 08:41:18 +0000 (09:41 +0100)] 
Clear local variables in filters and functions.

Fixes crash when used uninitialized variables.
This problem was surprisingly tricky to fix.

15 years agoFixes behavior of defined() on bgp_community attribute.
Ondrej Zajicek [Wed, 17 Mar 2010 23:10:35 +0000 (00:10 +0100)] 
Fixes behavior of defined() on bgp_community attribute.

15 years agoFixes unterminated string for atomic_aggr attribute formatting.
Ondrej Zajicek [Wed, 17 Mar 2010 22:17:55 +0000 (23:17 +0100)] 
Fixes unterminated string for atomic_aggr attribute formatting.

15 years agoAdds check for no protocol and some minor CLI fixes.
Ondrej Zajicek [Wed, 17 Mar 2010 11:19:22 +0000 (12:19 +0100)] 
Adds check for no protocol and some minor CLI fixes.

- Adds check to deny config file with no specified protocol to prevent
  loading of empty config file.
- Moves CLI init before config parse to receive immediate error message
  when cannot open control socket.
- Fixes socket name path check and other error handling in CLI init.

15 years agoMerge commit 'origin/master' into new
Ondrej Zajicek [Sun, 14 Mar 2010 23:39:45 +0000 (00:39 +0100)] 
Merge commit 'origin/master' into new

15 years agoFixes missing cases in filters.
Ondrej Zajicek [Sun, 14 Mar 2010 23:34:44 +0000 (00:34 +0100)] 
Fixes missing cases in filters.

15 years agoTemporary OSPF commit - sockets.
Ondrej Zajicek [Sun, 14 Mar 2010 15:36:59 +0000 (16:36 +0100)] 
Temporary OSPF commit - sockets.

15 years agoMerge branch 'new' into socket2
Ondrej Zajicek [Thu, 11 Mar 2010 17:55:59 +0000 (18:55 +0100)] 
Merge branch 'new' into socket2

15 years agoTemoporary OSPF commit - socket changes.
Ondrej Zajicek [Thu, 11 Mar 2010 17:07:24 +0000 (18:07 +0100)] 
Temoporary OSPF commit - socket changes.

15 years agoAdds support for PTP links on BSD.
Ondrej Zajicek [Wed, 10 Mar 2010 00:04:09 +0000 (01:04 +0100)] 
Adds support for PTP links on BSD.

15 years agoArnold from DE-CIX suggested to have this formulation more precise.
Ondrej Filip [Sun, 7 Mar 2010 23:05:37 +0000 (00:05 +0100)] 
Arnold from DE-CIX suggested to have this formulation more precise.

15 years agoBetter flushing of interfaces.
Ondrej Zajicek [Sat, 27 Feb 2010 15:00:07 +0000 (16:00 +0100)] 
Better flushing of interfaces.

When device protocol goes down, interfaces should be flushed
asynchronously (in the same way like routes from protocols are flushed),
when protocol goes to DOWN/HUNGRY.

This fixes the problem with static routes staying in kernel routing
table after BIRD shutdown.

15 years agoComparing cluster list length should be later in bgp_rte_better().
Ondrej Zajicek [Fri, 26 Feb 2010 13:09:24 +0000 (14:09 +0100)] 
Comparing cluster list length should be later in bgp_rte_better().

15 years agoFixes signedness in format route attributes.
Ondrej Zajicek [Fri, 26 Feb 2010 12:55:22 +0000 (13:55 +0100)] 
Fixes signedness in format route attributes.

15 years agoMany changes in (mainly) kernel syncers.
Ondrej Zajicek [Fri, 26 Feb 2010 09:55:58 +0000 (10:55 +0100)] 
Many changes in (mainly) kernel syncers.

- BSD kernel syncer is now self-conscious and can learn alien routes
- important bugfix in BSD kernel syncer (crash after protocol restart)
- many minor changes and bugfixes in kernel syncers and neighbor cache
- direct protocol does not generate host and link local routes
- min_scope check is removed, all routes have SCOPE_UNIVERSE by default
- also fixes some remaining compiler warnings

15 years agoFix configure to enable warnings and fix most of them.
Ondrej Zajicek [Sun, 21 Feb 2010 13:34:53 +0000 (14:34 +0100)] 
Fix configure to enable warnings and fix most of them.

15 years agoMerge commit 'origin/master' into new
Ondrej Zajicek [Sun, 21 Feb 2010 09:15:49 +0000 (10:15 +0100)] 
Merge commit 'origin/master' into new

15 years agoFixes installation (missing /usr/local/var/run).
Ondrej Zajicek [Sun, 21 Feb 2010 09:14:41 +0000 (10:14 +0100)] 
Fixes installation (missing /usr/local/var/run).

15 years agoRestricted read-only CLI.
Ondrej Zajicek [Sun, 21 Feb 2010 08:57:26 +0000 (09:57 +0100)] 
Restricted read-only CLI.

Also adds support for executing commands using birdc <cmd>.

15 years ago'rr client id' is not expression but ID (like router id).
Ondrej Filip [Sat, 20 Feb 2010 20:14:02 +0000 (21:14 +0100)] 
'rr client id' is not expression but ID (like router id).

15 years agoMinor typos in configuration example.
Ondrej Filip [Sat, 20 Feb 2010 20:09:40 +0000 (21:09 +0100)] 
Minor typos in configuration example.

15 years agoImplements pattern match for 'show protocols' command.
Ondrej Zajicek [Fri, 19 Feb 2010 23:03:31 +0000 (00:03 +0100)] 
Implements pattern match for 'show protocols' command.

And generally consolidates protocol commands.

15 years agoReplaces the algorithm for building balanced trees.
Ondrej Zajicek [Wed, 17 Feb 2010 20:53:07 +0000 (21:53 +0100)] 
Replaces the algorithm for building balanced trees.

Changes the time complexity of the algorithm from O(n^2) to O(n*log(n)).
This speeds up loading of huge DEC-IX config from 128 s to 15 s. It also
makes the code significantly simpler.

15 years agoChanges right recursion to left in the grammar of the case expression.
Ondrej Zajicek [Wed, 17 Feb 2010 10:29:48 +0000 (11:29 +0100)] 
Changes right recursion to left in the grammar of the case expression.

15 years agoRemoves phantom protocol from the pipe design.
Ondrej Zajicek [Sat, 13 Feb 2010 11:26:26 +0000 (12:26 +0100)] 
Removes phantom protocol from the pipe design.

It seems that by adding one pipe-specific exception to route
announcement code and by adding one argument to rt_notify() callback i
could completely eliminate the need for the phantom protocol instance
and therefore make the code more straightforward. It will also fix some
minor bugs (like ignoring debug flag changes from the command line).

15 years agoFixes protocol statistics for pipes.
Ondrej Zajicek [Sat, 13 Feb 2010 09:44:46 +0000 (10:44 +0100)] 
Fixes protocol statistics for pipes.

15 years agoFixes a tricky bug in the pipe protocol.
Ondrej Zajicek [Thu, 11 Feb 2010 21:27:06 +0000 (22:27 +0100)] 
Fixes a tricky bug in the pipe protocol.

When uncofiguring the pipe and the peer table, the peer table was
unlocked when pipe protocol state changed to down/flushing and not to
down/hungry. This leads to the removal of the peer table before
the routes from the pipe were flushed.

The fix leads to adding some pipe-specific hacks to the nest,
but this seems inevitable.

15 years agoMoves errno.h include.
Ondrej Zajicek [Thu, 11 Feb 2010 20:19:20 +0000 (21:19 +0100)] 
Moves errno.h include.

15 years agoFixes a crash caused by missing error hook on BGP listening socket.
Ondrej Zajicek [Thu, 11 Feb 2010 10:12:58 +0000 (11:12 +0100)] 
Fixes a crash caused by missing error hook on BGP listening socket.

Error happened when too many BGP connections arrived in one moment
(ECONNABORTED).

15 years agoTemporary OSPF commit - socket changes.
Ondrej Zajicek [Thu, 11 Feb 2010 09:23:35 +0000 (10:23 +0100)] 
Temporary OSPF commit - socket changes.

15 years agoNEWS version update. v1.2.1
Ondrej Filip [Wed, 10 Feb 2010 22:09:23 +0000 (23:09 +0100)] 
NEWS version update.

15 years agoNEWS and version update.
Ondrej Zajicek [Wed, 10 Feb 2010 15:18:17 +0000 (16:18 +0100)] 
NEWS and version update.

15 years agoMerge commit 'origin/master' into new
Ondrej Zajicek [Wed, 10 Feb 2010 13:59:26 +0000 (14:59 +0100)] 
Merge commit 'origin/master' into new

15 years agoRTF_CLONING is removed in FreeBSD 8.
Ondrej Zajicek [Wed, 10 Feb 2010 13:57:16 +0000 (14:57 +0100)] 
RTF_CLONING is removed in FreeBSD 8.

15 years agoDefine symbols as text between ''.
Ondrej Filip [Wed, 10 Feb 2010 11:30:14 +0000 (12:30 +0100)] 
Define symbols as text between ''.

15 years agoShows source (Router ID) for OSPF routes and adds such attribute.
Ondrej Zajicek [Mon, 8 Feb 2010 15:01:03 +0000 (16:01 +0100)] 
Shows source (Router ID) for OSPF routes and adds such attribute.

A sad thing is that we does not have a 'router_id' filter type,
so it must be given as decimal number in filters.

15 years agoAdds asterisk to the primary route in 'show route' cmd.
Ondrej Zajicek [Mon, 8 Feb 2010 11:42:09 +0000 (12:42 +0100)] 
Adds asterisk to the primary route in 'show route' cmd.

And also fixes a minor bug.

15 years agoUnnumbered OSPF interfaces should be always in the point-to-point mode.
Ondrej Zajicek [Sun, 7 Feb 2010 08:49:34 +0000 (09:49 +0100)] 
Unnumbered OSPF interfaces should be always in the point-to-point mode.

15 years agoAdds some log messages related to configure.
Ondrej Zajicek [Sat, 6 Feb 2010 21:57:51 +0000 (22:57 +0100)] 
Adds some log messages related to configure.

Also fixes a bug in the previous patch.

15 years agoModifies configure to just reload protocols when filters change.
Ondrej Zajicek [Sat, 6 Feb 2010 18:19:09 +0000 (19:19 +0100)] 
Modifies configure to just reload protocols when filters change.

Before this change, protocols were restarted in that case.

15 years agoMakes date/time formats configurable.
Ondrej Zajicek [Tue, 2 Feb 2010 23:19:24 +0000 (00:19 +0100)] 
Makes date/time formats configurable.

15 years agoWorkaround for some broken BGP implementations that skip initial KEEPALIVE.
Ondrej Zajicek [Tue, 2 Feb 2010 09:14:21 +0000 (10:14 +0100)] 
Workaround for some broken BGP implementations that skip initial KEEPALIVE.

15 years agoChanges right-recursion to left-recursion in a filter grammar.
Ondrej Zajicek [Mon, 1 Feb 2010 23:03:46 +0000 (00:03 +0100)] 
Changes right-recursion to left-recursion in a filter grammar.

Because we don't want to have a limit on a function/filter length.

15 years agoMerge commit 'origin/master' into new
Ondrej Zajicek [Thu, 28 Jan 2010 15:00:16 +0000 (16:00 +0100)] 
Merge commit 'origin/master' into new

15 years agoChanges 'ignore communities' to 'interpret communities'.
Ondrej Zajicek [Thu, 28 Jan 2010 14:59:18 +0000 (15:59 +0100)] 
Changes 'ignore communities' to 'interpret communities'.

15 years agoPriority for '||' and '&&' fixed.
Ondrej Filip [Wed, 27 Jan 2010 22:45:36 +0000 (23:45 +0100)] 
Priority for '||' and '&&' fixed.

15 years agoAllow multiple || and && statements.
Ondrej Filip [Wed, 27 Jan 2010 21:26:45 +0000 (22:26 +0100)] 
Allow multiple || and && statements.

15 years agoBetter handling of well-known communities.
Ondrej Zajicek [Wed, 27 Jan 2010 16:22:57 +0000 (17:22 +0100)] 
Better handling of well-known communities.

Process well-known communities before the export filter (old behavior is
to process these attributes after, which does not allow to send route
with such community) and just for routes received from other BGP
protocols. Also fixes a bug in next_hop check.

15 years agoComment update.
Ondrej Zajicek [Wed, 13 Jan 2010 13:53:33 +0000 (14:53 +0100)] 
Comment update.

15 years agoMerge commit 'origin/master' into new v1.2.0
Ondrej Zajicek [Fri, 8 Jan 2010 21:20:09 +0000 (22:20 +0100)] 
Merge commit 'origin/master' into new

15 years agoA partial vlink fix.
Ondrej Zajicek [Fri, 8 Jan 2010 21:19:41 +0000 (22:19 +0100)] 
A partial vlink fix.

15 years agoMerge branch 'master' of ssh://git.nic.cz/projects/bird/GIT/bird
Ondrej Filip [Fri, 8 Jan 2010 20:19:03 +0000 (21:19 +0100)] 
Merge branch 'master' of ssh://git.nic.cz/projects/bird/GIT/bird

15 years agoTypo in documentation.
Ondrej Filip [Fri, 8 Jan 2010 20:06:06 +0000 (21:06 +0100)] 
Typo in documentation.