| Branch: | Revision:

iof-bird-daemon @ 7152e5ef

# Date Author Comment
7152e5ef 05/10/2016 12:07 PM Jan Moskyto Matejka

Build system reworked to one global Makefile with includes and no nesting

Also removed the lib-dir merging with sysdep. Updated #include's

Fixed make doc on recent Debian together with moving generated doc into

Moved into root dir...

4bdf1881 04/07/2016 08:08 AM Jan Moskyto Matejka

Channelize: rt_notify arg conversion table -> channel

0c8c8151 04/07/2016 07:58 AM Jan Moskyto Matejka

Merge branch 'int-new-channels' of into int-new-channels

1a7daab1 03/10/2016 03:07 PM Pavel Tvrdík

cf_error(char *msg, ...) -> cf_error(const char *msg, ...)

43fd8fae 03/10/2016 03:07 PM Pavel Tvrdík

nest/proto fix local_debug mode

062d18fd 03/10/2016 03:07 PM Pavel Tvrdík

Fix typo

a815d62d 02/19/2016 03:33 PM Jan Moskyto Matejka

Hash: typecast error fix

9a74622c 02/10/2016 12:26 PM Jan Moskyto Matejka

Updated RTA hashes to 32-bit values.

... and reworked the hashes a bit. Also added mem_hash function
which just computes a hash of given memory block.

1bb3ecb2 02/08/2016 03:08 PM Pavel Tvrdík

Fix closing flushed channel

Fix reading from freed memory.
Free at: channel_set_state(c, CS_DOWN)
Read at: WALK_LIST2_DELSAFE(c, n, x, tab->channels, table_node)

00:00:00:00.261 24718
00:00:09:31.755 24718 Invalid read of size 8
00:00:09:31.755 24718 at 0x4061BA: rt_prune_table (rt-table.c:1688)...
2a013bb3 02/01/2016 03:01 PM Jan Moskyto Matejka

Fixed sigsegv for missing proto->rt_notify hook

If rt_notify is NULL, the export must always stay DOWN.

ade389b3 02/01/2016 09:28 AM Jan Moskyto Matejka

BSD: compilation error fix

f4a60a9b 02/01/2016 09:28 AM Ondrej Zajicek (work)

Channels - explicit links between protocols and tables

The patch adds support for channels, structures connecting protocols and
tables and handling most interactions between them. The documentation is
missing yet.

9f5782d9 01/28/2016 04:16 PM Pavel Tvrdík

Add 'GENERATE/ACCEPT FROM datetime TO datetime' to password options

966ca614 01/27/2016 11:41 AM Pavel Tvrdík

io.c: fix reads from uninitialized memory

d82987d1 01/27/2016 11:41 AM Pavel Tvrdík

RIP: Fix DBG output

74d94167 01/25/2016 09:29 AM Jan Moskyto Matejka

RIPng: fixed misrejection of host routes

2fad9214 01/21/2016 02:47 PM Jan Moskyto Matejka

BSD: fix no-return warning

3f358161 01/21/2016 01:55 PM Jan Moskyto Matejka

BSD: Explicitly dropping routes with mismatched AF's.

0e965f69 01/21/2016 01:55 PM Jan Moskyto Matejka

All the current pthread implementations are OK and working with us.

No more need to disable pthread for specific BSD's.

7eb9e796 01/21/2016 09:37 AM Pavel Tvrdík

Add condition for max_pxlen by ROA grammar

a4caa1c0 01/21/2016 09:37 AM Pavel Tvrdík

Use net_addr pointer for net_addr_roaX

net_addr_roa6 is bigger than net_addr

Thanks to Ondrej Zajicek for notice

25905219 01/20/2016 03:46 PM Pavel Tvrdík

Add forgotten semicolon

650b4189 01/20/2016 03:46 PM Pavel Tvrdík

Delete old ROA code

0264ccf6 01/20/2016 03:46 PM Pavel Tvrdík

Rewrite roa_check() for integrated BIRD

Thanks to Ondrej Zajicek for his support with writing this code.

cb1bd816 01/20/2016 03:46 PM Pavel Tvrdík

Add ROA_* constants values to grammar of configuration


513ad0a8 01/20/2016 03:46 PM Pavel Tvrdík

Add ROA net_addr to grammar

protocol static {
route max 16 as 1000 blackhole;
route max 24 as 1000 blackhole;
route max 24 as 2000 blackhole;
route max 24 as 3000 blackhole;...

8109eb76 01/20/2016 11:05 AM Jan Moskyto Matejka

BSD integration fixes

f9d729ab 01/14/2016 01:31 PM Pavel Tvrdík

NET ROAx: add max_pxlen, fix format

9a883adf 01/13/2016 12:21 PM Jan Moskyto Matejka

Net address format: Do not print the -4 or -6 suffix in %I4 and %I6

a820ae10 01/12/2016 10:41 AM Pavel Tvrdík

NET ROAx more small changes

- Remove `u8 src` from net_add_roaX
- Add `u8 max_pxlen` to net_add_roaX
- Add some missing macro and functions for ROA
- Remove ASN from hash function for ROA

Thanks to Ondrej Santiago Zajicek

93e80729 01/12/2016 10:40 AM Pavel Tvrdík

ROA change printf 'ASN: xxx' to 'ASxxx'

6ffa8f53 01/11/2016 08:29 AM Jan Moskyto Matejka

Hidden AF_INET* inside sysdep/

5b218c3d 01/11/2016 08:29 AM Jan Moskyto Matejka

BFD: split of v4/v6 sockets

b9f56921 01/07/2016 05:24 PM Pavel Tvrdík

Fix check in net_route() in debug mode

de9b87f5 01/07/2016 05:21 PM Pavel Tvrdík

Add NET ROA4/6 structures

e691d16a 12/29/2015 04:12 PM Ondrej Zajicek (work)

Explicit ip4_addr / ip6_addr printf support

74c838a8 12/29/2015 02:42 PM Ondrej Zajicek (work)

Move ID allocator to a separate file and use it also in OSPF

9a70c8d6 12/29/2015 12:02 PM Jan Moskyto Matejka

Netlink: Removed forgotten if-stub (caused strange errors)

04632fd7 12/24/2015 02:56 PM Ondrej Zajicek (work)

Follow-up work on integration

70b90dde 12/22/2015 08:45 AM Jan Moskyto Matejka

Better fix of missing AF_INET6? definition in lib/socket.h

Moved the code to sysdep.

600998fc 12/21/2015 07:28 PM Ondrej Zajicek (work)

Modify FIB_WALK() and FIB_ITERATE() to work with new FIB code

Returned user data pointers have offset relative to fib_node.

67aa8833 12/21/2015 05:23 PM Jan Moskyto Matejka

BSD wants to include sys/socket.h in lib/socket.h (AF_INET6? definitions)

0bf95f99 12/21/2015 04:17 PM Ondrej Zajicek (work)

Follow-up work on integration

Contains some patches from Jan Moskyto Matejka

23c212e7 12/21/2015 02:33 AM Ondrej Zajicek (work)

Follow-up work on integration

e92a4b85 12/20/2015 08:43 PM Ondrej Zajicek (work)

Filter: Fix some changes in IP<->Quad implicit conversion

d549b83f 12/20/2015 06:47 PM Ondrej Zajicek (work)

Delete ipv6 option from configure

0f7d5b1a 12/20/2015 05:16 PM Ondrej Zajicek (work)

Nest: Reimplement fib_route() and add some consts

29a64162 12/20/2015 03:58 PM Ondrej Zajicek (work)

KRT: Integration of IPv4/IPv6 in sysdep/linux

7fd4143e 12/20/2015 12:47 PM Jan Moskyto Matejka

Integrated address print lengths

Minor changes by Ondrej Santiago Zajicek

9656dce7 12/20/2015 12:04 PM Jan Moskyto Matejka

ROA code switchoff

aedd3a6b 12/20/2015 11:53 AM Jan Moskyto Matejka

Implemented missing prefix manipulation functions

5e173e9f 12/19/2015 10:49 PM Jan Moskyto Matejka

Stop perusing f_prefix for non-prefix-set uses

Multiple changes by Ondrej Santiago Zajicek

d7661fbe 12/19/2015 02:57 PM Jan Moskyto Matejka


Explicit setting of AF_INET(6|) in IP socket creation. BFD set to listen
on v6, without setting the V6ONLY flag to catch both v4 and v6 traffic.

Squashing and minor changes by Ondrej Santiago Zajicek

9b136840 12/18/2015 07:03 PM Jan Moskyto Matejka

Netlink and BSD: Integrating IPv4 and IPv6

Squashing and minor changes by Ondrej Santiago Zajicek

04ae8dda 11/25/2015 01:24 PM Ondrej Zajicek (work)

Merge branch 'master' into int-new

33b4f40a 11/24/2015 03:01 PM Pavel Tvrdík

MD5: Mormalize naming style

90f78507 11/24/2015 02:21 PM Ondrej Zajicek (work)

Merge branch 'master' into rip-new

ad276157 11/24/2015 01:30 PM Jan Moskyto Matejka

Netlink: attribute validation before parsing

Wanted netlink attributes are defined in a table, specifying
their size and neediness. Removing the long conditions that did the
validation before.

Also parsing IPv4 and IPv6 versions regardless on the IPV6 macro.

e422ca0f 11/24/2015 12:52 PM Ondrej Zajicek (work)

Some consts for function arguments

Patch from Pavel Tvrdik

5126380b 11/24/2015 12:47 PM Ondrej Zajicek (work)

Minor changes to SHA hash functions

12d752ef 11/23/2015 10:32 AM Ondrej Zajicek (work)

Merge commit 'origin/crypto-hash^'

1e4891e4 11/23/2015 10:13 AM Ondrej Zajicek (work)

Nest: Fix bug in device proto

If an interface address notification is received during device protocol
shutdown/restart, BIRD crashed.

Thanks to Wei Huang for the bugreport.

f312a837 11/13/2015 06:34 PM Pavel Tvrdík

Add SHA-384/512 and HMAC-SHA-384/512 crypto hash

4035e0e7 11/13/2015 06:34 PM Pavel Tvrdík

Add SHA-224/256 and HMAC-SHA-224/256 crypto hash

5d0c36f1 11/13/2015 06:33 PM Pavel Tvrdík

Add SHA1 and SHA1-HMAC crypto hash

75ff0802 11/13/2015 06:31 PM Pavel Tvrdík

Add get_u64() and put_u64() into lib/unaligned.h

d44e686e 11/12/2015 01:03 AM Ondrej Zajicek (work)

Follow-up commit on integrated BIRD

Use net_addr for interface address prefixes, support net_addr in
configuration parser.

fce764f9 11/11/2015 10:46 AM Pavel Tvrdík

Fix compiling with --enable-debug option

9ddbfbdd 11/11/2015 10:40 AM Jan Moskyto Matejka

Netlink: Allow more than 256 routing tables.

Since 2.6.19, the netlink API defines RTA_TABLE routing attribute to
allow 32-bit routing table IDs. Using this attribute to index routing
tables at Linux, instead of 8-bit rtm_table field.

86b4e170 11/09/2015 12:01 AM Ondrej Zajicek (work)

Nest: Fixes bug in missing cleanup during table removal

When a table is removed during reconfiguration, a reference was not
cleared in the old configuration, which breaks undo.

9b9a7143 11/08/2015 11:42 PM Ondrej Zajicek (work)

Conf: Fixes bug in symbol lookup during reconfiguration

Symbol lookup by cf_find_symbol() not only did the lookup but also added
new void symbols allocated from cfg_mem linpool, which gets broken when
lookups are done outside of config parsing, which may lead to crashes...

fe9f1a6d 11/05/2015 11:48 AM Ondrej Zajicek (work)

Initial commit on integrated BIRD

New data types net_addr and variants (in lib/net.h) describing
network addresses (prefix/pxlen). Modifications of FIB structures
to handle these data types and changing everything to use these
data types instead of prefix/pxlen pairs where possible....

3aed0a6f 11/03/2015 10:27 AM Ondrej Zajicek (work)

IO: Fix the previous bugfix

I should check it after making some trivial changes. The original patch
from Alexander has it right.

338f85ca 11/03/2015 10:08 AM Ondrej Zajicek (work)

IO: Handle fd values too big for select()

If the number of sockets is too much for select(), we should at least
handle it with proper error messages and reject new sockets instead of
breaking the event loop.

Thanks to Alexander V. Chernikov for the patch.

8eb8e546 10/17/2015 12:44 PM Ondrej Zajicek (work)

Merge branch 'master' into rip-new

acb04cfd 10/17/2015 12:43 PM Ondrej Zajicek (work)

Minor changes

8465dccb 10/05/2015 11:18 AM Ondrej Zajicek (work)

Major RIP redesign

The new RIP implementation fixes plenty of old bugs and also adds support
for many new features: ECMP support, link state support, BFD support,
configurable split horizon and more. Most options are now per-interface.

b5e76398 08/19/2015 09:16 AM Ondrej Zajicek

OSPF: Fixes some issues with link detection

Thanks to Bernardo Figueiredo and Israel G. Lugo for the bugreport.

c7b99a93 07/28/2015 01:08 PM Ondrej Zajicek

Nest: Fixes one of previous commit

dbf4c0cb 07/28/2015 10:56 AM Ondrej Zajicek

Minor update to test commits

641172c6 07/28/2015 10:36 AM Ondrej Zajicek

Netlink: Fixes uninitialized variable

Thanks to Pavel Tvrdik for the bugfix

538264cf 07/24/2015 04:02 PM Ondrej Zajicek

Static: Support for BFD controlled static routes

1321e12a 07/20/2015 03:11 PM Ondrej Zajicek

Static: Allows to specify attributes for static routes

The patch adds suport for specifying route attributes together with
static routes, e.g.:

route via { krt_advmss = 1200; ospf_metric1 = 100; };
ffa398b8 07/19/2015 09:39 AM Ondrej Zajicek

BFD: Fixes crash after socket error

Thanks to Thomas King for the bugreport.

a8ad8fd6 07/18/2015 09:15 PM Ondrej Zajicek

Simplify build messages

Thanks to Christian Tacke for the original patch.

17661ff9 07/18/2015 05:30 PM Ondrej Zajicek

Nest: Fixes symbols in router id

Thanks to Peter Hudec for noticing the problem.

6683d42d 07/18/2015 05:05 PM Ondrej Zajicek

Documentation update

06e0d1b6 07/18/2015 11:38 AM Ondrej Zajicek

BGP: Extended messages support

Implements draft-ietf-idr-bgp-extended-messages-10, for now
undocumented and with temporary private capability number.

ab4da342 07/18/2015 11:05 AM Ondrej Zajicek

Direct: Fixes behavior for the same routes on different interfaces

Thanks to Andrew ( for the bug report.

8d9eef17 06/08/2015 12:24 AM Ondrej Zajicek

BGP multipath support

Kernel option 'merge paths' allows to merge routes exported to kernel
protocol (currently BGP and static routes) to multipath routes.

db027a41 06/08/2015 12:24 AM Ondrej Zajicek

Fixes subtle bug in temporary attribute handling

In some cases, export filter accessed attributes of a different route.

78a2cc28 06/08/2015 12:24 AM Ondrej Zajicek

KRT: Fixes some minor bugs in kernel protocol

d217ba51 06/08/2015 12:24 AM Ondrej Zajicek

Moving of mulipath merging code from OSPF to nest

ca34698c 06/08/2015 12:24 AM Ondrej Zajicek

Fixes bug in pipe feeding when filtered routes are kept in table

ae80a2de 06/08/2015 12:24 AM Pavel Tvrdík

unsigned [int] -> uint

e348ef01 06/08/2015 12:24 AM Pavel Tvrdík

unsgined char -> byte

398f9225 06/01/2015 08:41 AM Ondrej Filip

Typo fix by Hans van Kranenburg

9fe1d3ca 05/22/2015 09:12 AM Ondrej Zajicek

Fixes unnamed protocols from templates

d0e23d42 05/16/2015 10:56 PM Ondrej Zajicek

Simplify flushing process

Related to changes from previous patch.

86f567e1 05/16/2015 06:17 PM Ondrej Zajicek

Fix minor issue in pipe route propagation

In some circumstances during reconfiguration, routes propagated by pipes
to other tables may hang there even after the primary routes are removed.

There is already a workaround for this issue in the code which removes...