Maria Matejka
4a23ede2b0
Protocols have their own explicit init routines
2022-04-06 18:14:08 +02:00
Ondrej Zajicek (work)
a40ddf5c61
Build: Fix tags generation
2021-01-12 15:43:54 +01:00
Maria Matejka
a08853a269
Static scanner and expensive debugging setup fix
2020-05-01 15:19:12 +02:00
Maria Matejka
b748220906
Static check: Don't report dead code
2020-05-01 15:19:12 +02:00
Maria Matejka
59a86cbc7c
Makefile rule for static analyzer
2020-04-28 16:21:06 +02:00
Maria Matejka
8d65add626
Merge branch 'master' into HEAD
2019-03-18 12:54:40 +01:00
Maria Matejka
5d511948cd
Build: Automatic dependency tracking for generated files
2019-03-18 12:32:11 +01:00
Maria Matejka
75206f266f
Conf: Fixed makefiles
2019-02-20 22:30:54 +01:00
Ondrej Zajicek (work)
d0b4597842
Configure: Use standard --runstatedir option
...
Newer Autoconf defines --runstatedir option for setting directory for
run-time variable data. Use it instead our old --with-runtimedir.
2018-11-18 01:22:09 +01:00
Ondrej Zajicek (work)
01dd78f9e9
Fix installation with --disable-client
...
The old check assumed that @CLIENT@ does not contain
birdc, which is not true in 2.0 branc.
Thanks to Thomas Petazzoni for the bugreport and original patch.
2018-10-11 15:03:09 +02:00
Jan Maria Matejka
7ffc0a6534
Bison: A bit more verbose error messages in config.
2018-08-14 14:36:44 +02:00
Jan Maria Matejka
78ca6ea8f0
Make: Add option to force colors in compiler output
2018-08-14 14:01:39 +02:00
Jan Maria Matejka
86b9e8e39a
M4: generate synchronization lines
...
This also includes Bison version check. Versions before 3.0 don't
support them in a reliable way and we don't promise to work with
versions older than 2.4.
2018-08-14 14:01:39 +02:00
Jan Maria Matejka
906092534b
Macro: Added a bunch of dirty C preprocessor tricks
...
Included are Makefile implicit rules to show the preprocessed source.
When debugging something around this, it may be handy.
2018-05-29 11:53:51 +02:00
Jan Maria Matejka
29958745c8
Makefile: Only set git version if BIRD is build from its repository.
...
Thanks to Toke Høiland-Jørgensen <toke@toke.dk> for reporting this bug.
2018-05-03 11:14:49 +02:00
Ondrej Zajicek (work)
d5144ea9bf
Add cscope Makefile target
...
For those who prefer cscope to etags
Thanks to Toke Hoiland-Jorgensen for the patch.
2018-02-13 17:00:24 +01:00
Ondrej Zajicek (work)
c36a298c21
Use git describe for BIRD version
...
Based on patch from Pavel Tvrdik
2017-12-13 19:18:30 +01:00
Ondrej Zajicek (work)
7d5e61a66a
Fix of the previous fix
...
Avoid empty macro argument to avoid default behavior.
2017-05-18 13:29:38 +02:00
Jan Moskyto Matejka
a2fd34f81f
Debug: Add a Makefile rule for assembler intermediates.
...
The main Makefile rules directly compile to object files;
this target is only for debug purposes.
2017-04-26 10:53:48 +02:00
Jan Moskyto Matejka
ad88b94bca
Merge branch 'int-new-rpki-squashed' (early part) into int-new
2016-12-07 15:30:46 +01:00
Pavel Tvrdík
65d2a88dd2
RPKI protocol with one cache server per protocol
...
The RPKI protocol (RFC 6810) using the RTRLib
(http://rpki.realmv6.org/ ) that is integrated inside
the BIRD's code.
Implemeted transports are:
- unprotected transport over TCP
- secure transport over SSHv2
Example configuration of bird.conf:
...
roa4 table r4;
roa6 table r6;
protocol rpki {
debug all;
# Import both IPv4 and IPv6 ROAs
roa4 { table r4; };
roa6 { table r6; };
# Set cache server (validator) address,
# overwrite default port 323
remote "rpki-validator.realmv6.org" port 8282;
# Overwrite default time intervals
retry 10; # Default 600 seconds
refresh 60; # Default 3600 seconds
expire 600; # Default 7200 seconds
}
protocol rpki {
debug all;
# Import only IPv4 routes
roa4 { table r4; };
# Set cache server address to localhost,
# use default ports tcp => 323 or ssh => 22
remote 127.0.0.1;
# Use SSH transport instead of unprotected transport over TCP
ssh encryption {
bird private key "/home/birdgeek/.ssh/id_rsa";
remote public key "/home/birdgeek/.ssh/known_hosts";
user "birdgeek";
};
}
...
2016-12-07 09:35:24 +01:00
Ondrej Zajicek (work)
9b0a0ba9e6
Unit Testing for BIRD
...
- Unit Testing Framework (BirdTest)
- Integration of BirdTest into the BIRD build system
- Tests for several BIRD modules
Based on squashed Pavel Tvrdik's int-test branch, updated for
current int-new branch.
2016-11-09 16:36:34 +01:00
Ondrej Zajicek (work)
d6f027ef34
Make: Silence echo in verbose mode
2016-05-17 17:59:38 +02:00
Jan Moskyto Matejka
7152e5efbb
Build system reworked to one global Makefile with includes and no nesting
...
Also removed the lib-dir merging with sysdep. Updated #include's
accordingly.
Fixed make doc on recent Debian together with moving generated doc into
objdir.
Moved Makefile.in into root dir
Retired all.o and birdlib.a
Linking the final binaries directly from all the .o files.
2016-05-10 14:07:34 +02:00