0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 10:11:53 +00:00
Commit Graph

2552 Commits

Author SHA1 Message Date
Ondrej Zajicek
924868543c Fixes crash with vlinks. 2013-05-28 10:48:14 +02:00
Ondrej Zajicek
9810d05562 Fixes problems with routing table scans on some platforms.
Negative bit shifts are definitely undefined oprations.
2013-05-28 10:44:44 +02:00
Ondrej Zajicek
ab5dbd5bfc Merge commit 'a2017200c71293d0a28a39d1f250ba38d57f6289' into integrated 2013-05-23 00:24:28 +02:00
Ondrej Zajicek
34b8d496d9 Merge commit 'efd6d12b975441c7e1875a59dd9e0f3db7e958cb' into integrated 2013-05-23 00:24:18 +02:00
Ondrej Zajicek
34b735e63c Merge commit 'a5e9f3d26f887deb451a3ea086e52266c117aa0a' into integrated 2013-05-23 00:16:39 +02:00
Ondrej Zajicek
1c91df9480 Merge commit '8df02847e8af29863c325b7297e3a2b2ed5f961c' into integrated
Conflicts:

	proto/ospf/config.Y
	proto/ospf/hello.c
	proto/ospf/iface.c
	proto/ospf/ospf.h
2013-05-23 00:16:19 +02:00
Ondrej Zajicek
6679f15ef3 Merge commit 'cd3b02d198093abbbe671f647e4deb2470eb9cf1' into integrated 2013-05-23 00:05:28 +02:00
Ondrej Zajicek
048146e90c Merge commit '8bd9b930c320f09d3b3792b5f991cf702e9d55be' into integrated 2013-05-23 00:00:26 +02:00
Ondrej Zajicek
bae021db1d Merge commit '48bc232f08141d26691237c3d79db587ce16932b' into integrated 2013-05-23 00:00:14 +02:00
Ondrej Zajicek
c02ed79eb4 Merge commit '9ff5257357d9975654279db17bbc8525583ba1cc' into integrated
Conflicts:

	proto/ospf/config.Y
2013-05-22 23:59:54 +02:00
Ondrej Zajicek
8ad9bb820f Merge commit '568d9c9faeab70951d8e9bfea521e1b38a9a3d1c' into integrated
Conflicts:

	tools/Makefile.in
2013-05-22 15:58:31 +02:00
Ondrej Zajicek
92fd1fc02f Merge commit 'a9fc659b840e13323aa43e92eb8f39ceb19b5ed6' into integrated
Conflicts:

	proto/rip/rip.c
2013-05-22 15:56:00 +02:00
Ondrej Zajicek
a32a4aaa0a Merge commit 'a9c38203bdcad92f7ac0a8a912241d2acb483f2c' into integrated 2013-05-22 15:46:55 +02:00
Ondrej Zajicek
65e13d8ea8 Merge commit '4c2abee74e64f64fba61aad6e2b66e3895820003' into integrated 2013-05-22 15:46:29 +02:00
Ondrej Zajicek
1a114a63a8 Merge commit '36da2857bc911924a250a234f38cf58c3b21f1bc' into integrated 2013-05-22 15:45:23 +02:00
Ondrej Zajicek
9c99d753fd Fixes a problem with BGP neighbors, link-local addresses and locking.
Thanks to Fritz Grimpen for the bugfix.
2013-05-09 11:11:06 +02:00
Ondrej Zajicek
a2017200c7 NEWS and version update. 2013-04-29 22:33:50 +02:00
Ondrej Zajicek
572c644043 Fixes a crash when mrtdump is enabled and interface goes away.
Thanks to Peter Christensen for the bugfix.
2013-04-29 22:08:05 +02:00
Ondrej Zajicek
32622d0ea3 Merge branch 'birdcl' 2013-04-23 02:54:13 +02:00
Ondrej Zajicek
a5e9f3d26f Restructures birdc and birdcl to merge duplicated code.
The BIRD client code is restructured that most of the code (including
main function) is shared in client.c, while birdc.c and birdcl.c contain
just I/O-specific callbacks. This removes all duplicated code from
variant-specific files.
2013-04-23 02:42:35 +02:00
Ondrej Zajicek
d2c392d448 Removes unnecessary client subdirectories and updates buildsystem.
Renames some files:
birdc/client.c -> birdc.c
birdcl/client.c -> birdcl.c
client_common.c -> common.c
2013-04-19 13:59:08 +02:00
Ondrej Zajicek
efd6d12b97 Adds two new default GCC options.
Adds two new default GCC options related to optimizations
(-fno-strict-aliasing and -fno-strict-overflow). This
should fix some hyperaggressive GCC optimizations.

Also updates autoconf option detection.
2013-04-17 15:09:50 +02:00
Ondrej Zajicek
8df02847e8 Fixes a compatibility issue in OSPFv2 PtP links.
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-17 13:06:40 +02:00
Ondrej Zajicek
cd3b02d198 Allows IP of loopback to be used in automatic router ID selection.
Thanks to Alexander V. Chernikov for the patch.
2013-04-16 17:53:22 +02:00
Ondrej Zajicek
8bd9b930c3 Fixes a bug in IPv6 BGP next hop processing.
BGP next hop attributes with empty link-local IPv6 addresses were not
handled properly.

Thanks to Sergey Popovich for the bugfix.
2013-04-16 17:40:44 +02:00
Ondrej Zajicek
48bc232f08 Implements 'next hop keep' option for BGP.
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-16 17:27:34 +02:00
Ondrej Zajicek
9ff5257357 Better handling of global addresses as configured NBMA neighbors in OSPFv3.
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-04-16 16:22:31 +02:00
Ondrej Zajicek
6667d0c4a1 Temporary OSPF commit. 2013-04-16 01:14:57 +02:00
Tomas Hlavacek
568d9c9fae Fix birdcl async message handling
Fix handling of async messafe in the bird light client. The async message
may occure at the any moment so we need the client to liste for the
message from server when it waits for user input.
2013-04-06 22:07:32 +02:00
Tomas Hlavacek
ce13485374 Fix birdcl questionmark handling
Fix handling of questionmark handling in the bird light client. The
questionmark should display help when it is the last non-blank character on
command line. Otherwise the questionmark does not have any special meaning
and it could be a part of a pattern.
2013-03-19 18:03:49 +01:00
Tomas Hlavacek
8322ecde12 Add lightweight client - birdcl
Restructure client/ subdir. Add two different flavors of client.
The full featured birdc client code is in client/birdc/.
The new light client birtcl is in client/birdcl/.
Common sources of both clients are directly in client/.

Rework on-line auto-completion in client/command.c to conditionally turn off
ncurses-specific code.

Add lightweight client without libreadline and ncurses dependencies - birdcl.
The birdcl lacks support of history, on-line auto-completion and there
are different implementations of "more" functionality and help on '?' press.
New client operates in canonical terminal mode (apart from "more" display)
and therefore all commands have to be executed by a return key including help
commands (called by '?' character in the end of the line).
Apart from these limitations the interaction style should be the same as
for the full client - birdc.
Build of birdcl is always on (independent on --enable-client parameter).
2013-03-19 18:03:49 +01:00
Tomas Hlavacek
e454916149 Pull out independent routines from client_full.c
Pull out routines for interacting with the server and interpreting
internal commands which are not dependent on libreadline and
ncurses libraries.

This is a preparation step for a new lightweight birdc client.
2013-03-19 18:03:49 +01:00
Tomas Hlavacek
5c2c4ea8b1 Rename client/client.c to client_full.c
Rename client/client.c to client-full.c and change the Makefile accordingly.
This is a preparation step for introducing a new lightweight client which
should reuse as much code as possible from the old one but it should not depend
on external libraries.

Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
2013-03-19 18:03:49 +01:00
Ondrej Filip
a9fc659b84 Small typos fixed. 2013-02-26 14:29:53 +01:00
Ondrej Filip
de41dcd13d Redundant lines removed. 2013-02-26 14:13:11 +01:00
Ondrej Filip
e667622a35 Default rounting table for 'show route export/preexport/protocol' is the one related to a respective protocol. 2013-02-25 10:39:46 +01:00
Ondrej Filip
a9c38203bd Allow 1 sec RIP update. 2013-02-24 00:43:08 +01:00
Ondrej Filip
04ddefb357 Use BIRD's ASSERT instead of assert.h 2013-02-22 07:15:27 +01:00
Ondrej Filip
2bf59bf4d3 Hotfix to solve an issue with delaying timers reported by Aleksey Chudov. 2013-02-21 00:44:59 +01:00
Ondrej Filip
9d969be5f2 I still believe that 0 == NULL, however this patch will make Santiago happy. :-) 2013-02-14 23:35:51 +01:00
Ondrej Filip
4c2abee74e Allow submitting BIRD commands from UNIX shell even in restricted mode. 2013-02-12 13:15:01 +01:00
Ondrej Filip
8c4da7e01d Symbol names enclosed by apostrophes can contain DOTs. 2013-02-10 19:17:38 +01:00
Ondrej Filip
0bc3542ab6 Route limits can be disabled - this makes sense for protocol templates 2013-02-10 19:06:56 +01:00
Ondrej Filip
155134f396 A few semicolons added to decrease a number of warnings. 2013-02-10 19:04:08 +01:00
Ondrej Zajicek
c6a2fe64be Fixes handling of iface routes in static proto during reconfiguration.
During reconfiguration, iface routes were installed even when iface was down.
2013-02-09 00:53:04 +01:00
Ondrej Zajicek
36da2857bc Implements router advertisements activated by received routes.
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-02-08 23:58:27 +01:00
Ondrej Zajicek
0596b3dbf9 Merge commit '13d4dd138d5dc6c884ded280f9244fac707c4f32' into integrated 2013-01-13 00:44:39 +01:00
Ondrej Zajicek
c570200d39 Merge commit 'c93c02088a026b83f452fbd260135ba4c8da7ecf' into integrated 2013-01-13 00:36:29 +01:00
Ondrej Zajicek
07a6d8d1a0 Merge commit 'dd4da6f640fb581cbd7d1ca537bf382558492b8e' into integrated 2013-01-13 00:17:49 +01:00
Ondrej Zajicek
debc0e45fd Merge commit '0343d066dab077d1391640c53198199b16bef993' into integrated 2013-01-12 23:40:00 +01:00