summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2017-12-08Filter: Remove old BGP path mask syntax from testsOndrej Zajicek (work)
2017-12-08Docs: Update to v2.0Jan Maria Matejka
2017-12-07Merge commit '1e8721e2aeccfbc3f533e8b8abc07582cee77e9a' into int-newOndrej Zajicek (work)
2017-11-09Filter test: typo fixJan Maria Matejka
2017-10-04RAdv: Support for more specific routes (RFC 4191)Michal 'vorner' Vaner
The patch implements Default Router Preferences and More-Specific Routes (RFC 4191) for RAdv protocol, allowing to announce router preference and more specific routes in router advertisements. Routes can be exported to RAdv like to regular routing protocols. Some cleanups, bugfixes and other changes done by Ondrej Zajicek.
2017-09-20filter: Allow assigning enums into extended attributesMichal 'vorner' Vaner
They are internally ints, but they got refused as a wrong type. This fixes setting of the BGP origin and is also needed for RA.
2017-08-09Merge branch 'master' into int-newOndrej Zajicek (work)
2017-06-19Filters: Do not clamp EC set values to 16 bit for EC_GENERICsOndrej Zajicek (work)
Thanks to Lennert Buytenhek <buytenh@wantstofly.org> for the patch.
2017-05-23Change parser to handle numbers as unsignedOndrej Zajicek (work)
Lexer always parsed numbers as unsigned, but parser handled them as signed and grammar contained many unnecessary checks for negativity.
2017-05-16Linpool: default allocation sizeJan Moskyto Matejka
2017-04-26Test: Fix broken test for filtersOndrej Zajicek (work)
2017-04-26Merge branch 'int-new' of gitlab.labs.nic.cz:labs/bird into int-newJan Moskyto Matejka
2017-04-26Test: fixed broken test for VPN RD outputJan Moskyto Matejka
2017-04-18Filter: Fix reconfiguration of roa_check()Ondrej Zajicek (work)
2017-03-22Filter: Check whether IP is 4 or 6Jan Moskyto Matejka
2017-03-14Minor cleanupsOndrej Zajicek (work)
BTW, 'prefices' is hypercorrection, as 'prefix' is from 'praefixum' with plural 'praefixa'.
2017-03-13Filters: VPN Route Distinguishers, Prefix Type, Docs UpdateJan Moskyto Matejka
2017-03-09Filter: ROA check test and mixed prefix testJan Moskyto Matejka
2017-02-22Merge branch 'int-new' into nexthop-mergedJan Moskyto Matejka
2017-02-20Several minor fixesOndrej Zajicek (work)
2017-02-08Merge branch 'master' into int-newOndrej Zajicek (work)
2017-01-24Filter: Fix missing case for !~ operatorOndrej Zajicek (work)
Thanks to Vincent Bernat for the patch.
2016-12-22Removing (struct rta)->cast. Never used.Jan Moskyto Matejka
2016-12-22Merged multipath and single-path data structures.Jan Moskyto Matejka
Dropped struct mpnh and mpnh_*() Now struct nexthop exists, nexthop_*(), and also included struct nexthop into struct rta. Also converted RTD_DEVICE and RTD_ROUTER to RTD_UNICAST. If it is needed to distinguish between these two cases, RTD_DEVICE is equivalent to IPA_ZERO(a->nh.gw), RTD_ROUTER is then IPA_NONZERO(a->nh.gw). From now on, we also explicitely want C99 compatible compiler. We assume that this 20-year norm should be known almost everywhere.
2016-12-07Basic flow specification support (RFC 5575)Ondrej Zajicek (work)
Add flow4/flow6 network and rt-table type and operations, config grammar and static protocol support. Squashed flowspec branch from Pavel Tvrdik.
2016-12-07Merge branch 'int-new-rpki-squashed' (early part) into int-newJan Moskyto Matejka
2016-12-07BGP redesignOndrej Zajicek (work)
Integrated and extensible BGP with generalized AFI handling, support for IPv4+IPv6 AFI and unicast+multicast SAFI.
2016-12-07filter/test.conf: add ROA check and operator testsPavel Tvrdik
2016-12-07Add `.maxlen' operator to all ROA prefixes in filtersPavel Tvrdik
Example: bird> eval (1.2.0.0/16 max 20 as 1234).maxlen 20 Todo: Should be described in user docs
2016-12-07Add `.asn' operator to all ROA prefixes in filtersPavel Tvrdik
Example: bird> eval (1.2.0.0/16 max 20 as 1234).asn 1234 Todo: Should be described in user docs
2016-12-07RPKI protocol with one cache server per protocolPavel TvrdĂ­k
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-11-30filter/test.conf: Minor changes in order of callsPavel Tvrdik
2016-11-30Remove filter/test_bgp_filtering.conf filePavel Tvrdik
It was an example filtering configuration from BIRD's wiki.
2016-11-30Merge test6.conf IPv6 tests into test.confPavel Tvrdik
2016-11-16filter/test.conf: Extend testsPavel Tvrdik
2016-11-16filter/test.conf: Reorder testsPavel Tvrdik
Tests are sorted from trivial tests to more complex tests
2016-11-16filter/test.conf: Replace print func with assert and formatPavel Tvrdik
2016-11-16Birdtest: Add function format in grammar for stringify expressionPavel Tvrdik
2016-11-16Birdtest: Remove bt_assert command from termPavel Tvrdik
The bt_assert function does not return any value, so it was useless to have a option in term definition.
2016-11-11Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0Pavel Tvrdik
2016-11-11birdtest: Fix no-forked mode in trie_testPavel Tvrdik
2016-11-09Filter: Add long community testsOndrej Zajicek (work)
Based on Pavel Tvrdik's int-test-lc branch.
2016-11-09 Unit Testing for BIRDOndrej Zajicek (work)
- 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-08Merge branch 'master' into int-newOndrej Zajicek (work)
2016-11-08Minor code cleanupsOndrej Zajicek (work)
2016-11-08Merge tag 'v1.6.2' into int-newOndrej Zajicek (work)
2016-11-01Build: switch on -Wextra, get rid of most of the warningsJan Moskyto Matejka
There are several unresolved -Wmissing-field-initializers on older versions of GCC than 5.1, all of them false positive.
2016-10-18Filter: Minor formatting changes in test.confOndrej Zajicek (work)
2016-10-13Filter: Expand testing of large community setsPavel Tvrdik
2016-10-11Tree/Trie: Check the end of bufferPavel Tvrdik
We set buffer->pos to buffer->end in function buffer_print() when bvsnprintf() failed, so there would be uninitialized memory between the old buffer->pos and the current buffer->pos.