Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-12 | Filter: Disable debugging | Mikael Magnusson | |
2021-01-12 | Filter: TLV | Mikael Magnusson | |
2020-12-28 | Filter: Fix return on top-level | Ondrej Zajicek (work) | |
Broken detection of top-level case caused crash when return was called from top-of-stack position. It should behave as reject/accept. Thanks to Damian Zaremba for the bugreport. | |||
2020-12-02 | Filter: Add 'weight' route attribute | Ondrej Zajicek (work) | |
Add 'weight' route attribute that allows to get and set ECMP weight of nexthops. Similar to 'gw' attribute, it is limited to the first nexthop, but it is useful for handling BGP multipath, where an ECMP route is merged from multiple regular routes. | |||
2020-11-24 | Minor cleanups with cfg_allocz() | Ondrej Zajicek (work) | |
Also fixes some more failed asserts due to add_tail(). | |||
2020-06-28 | Filter: Improve handling of sets in BGP path masks | Kazuki Yamaguchi | |
Compare the content of PM_ASN_SET in path masks. A reconfiguration was not properly triggering a reload of affected protocols when the members of a set in a path mask change. Also, update the printing code to so that it can display sets in a path mask. | |||
2020-06-28 | Filter: Fix comparison of BGP path mask | Kazuki Yamaguchi | |
Add a missing return statement. Path masks with the same length were all considered the same. Comparing two with different length would cause out-of-bounds memory access. | |||
2020-05-18 | Nest: Implement BGP path mask loop operator | Ondrej Zajicek (work) | |
Implement regex-like '+' operator in BGP path masks to match previous path mask item multiple times. This is useful as ASNs may appear multiple times in paths due to path prepending for traffic engineering purposes. | |||
2020-05-02 | Filter: Remove quitbird command | Ondrej Zajicek (work) | |
No need for this debug filter command and it can be abused from CLI. | |||
2020-05-01 | Filter: Don't alloc varargs array if its length would be zero | Maria Matejka | |
2020-05-01 | Filter: Removed forgotten dead code | Maria Matejka | |
2020-04-28 | Filter: fixed omitted overflow check in EC constructor | Maria Matejka | |
2020-04-09 | Configuration strings are constant. | Maria Matejka | |
This is merely a const propagation. There was no problem in there. | |||
2020-03-26 | Filter: Remove mixed address tests and fix formatting | Ondrej Zajicek (work) | |
2020-03-26 | Filter: Optimize IPv4 prefix sets | Ondrej Zajicek (work) | |
Use separate IPv4 and IPv6 implementation of prefix sets. Just this change makes IPv4 prefix sets 60% smaller and 50% faster. | |||
2020-01-07 | Filter: Fix typecheck for AND/OR. | Ondrej Zajicek (work) | |
Do not apply dynamic type check for second argument of AND/OR, as it is not evaluated immediately like regular argument would be. Thanks to Mikael for the bugreport. | |||
2019-12-17 | Test: Improve filter_test | Ondrej Zajicek (work) | |
Initial parsing of test.conf must be done directly in filter_test main, while reconfiguration is handled as a regular test. Also fix several minor issues in test code. | |||
2019-12-12 | Filter: fix filter comparison test | Maria Matejka | |
2019-12-10 | Filter: Fix function comparison | Ondrej Zajicek (work) | |
Check the SYM_FLAG_SAME in new symbols. The old code checked that in old symbols (f2). | |||
2019-12-09 | Filter: Add support for src/dst accessors for Flowspec and SADR | Ondrej Zajicek (work) | |
2019-11-05 | Filter: Add type info for more instructions | Ondrej Zajicek (work) | |
2019-11-05 | Filter: Improve typecheck error messages | Ondrej Zajicek (work) | |
2019-11-05 | Filter: Better constant promotion | Ondrej Zajicek (work) | |
We use constant promotion from IPv4 to Router-ID values, as they have same literals. Instead of ad-hoc code in filter instructions, add constant promotion code to parse-time typecheck code. | |||
2019-11-05 | Filter: Improved parse-time typechecks | Ondrej Zajicek (work) | |
2019-11-05 | Filter: Parse-time typechecks | Ondrej Zajicek | |
Most expressions can be type-validated in parse time. It is not strong enough to eliminate runtime checks, but at least one gets errors immediately during reconfigure. | |||
2019-11-03 | Support for address family constants | Ondrej Zajicek (work) | |
We already had them defined on BGP level, but they are more general. | |||
2019-09-24 | Filter: Fix eval command | Ondrej Zajicek (work) | |
2019-09-23 | Filters: Function body comparison result now used. | Maria Matejka | |
Function bodies were compared in post-parse time, yet the result was not used and the functions were incorrectly considered the same as before. Now the result is used to reload affected protocols. | |||
2019-09-10 | Filter: Fix crash with 'where' filters and function calls | Ondrej Zajicek (work) | |
The old 'where' code computed size value incorrectly, which leads to invalid instruction lines and filter errors or crashes. | |||
2019-08-13 | Filter: Fixing empty block and never-executed-statement bug | Maria Matejka | |
2019-08-06 | Filter: Allow to use set constants / expressions in path masks | Ondrej Zajicek (work) | |
Allow to not only use set literals in path masks, but also existing set constants or set expressions. | |||
2019-08-06 | Filter: Allow to use sets in path masks | Ondrej Zajicek (work) | |
2019-07-30 | Conf: Fixed symbol redefinition | Maria Matejka | |
2019-07-15 | Filter: further split of print & die to FI_PRINT, FI_FLUSH and FI_DIE | Maria Matejka | |
2019-07-15 | Filter: Simpler filter context allocation | Maria Matejka | |
2019-07-15 | Filter: FID_MEMBER debug string is a C constant string | Maria Matejka | |
2019-07-15 | Filter: Converted FI_PRINT and FI_PATHMASK_CONSTRUCT to VARARG | Maria Matejka | |
2019-07-15 | Filter: fixed excessive stack allocation in functions with args but no local ↵ | Maria Matejka | |
vars | |||
2019-07-15 | Filter: lots of documentation | Maria Matejka | |
2019-07-15 | Filter: Don't write out when re-evaluating filter for internal purposes. | Maria Matejka | |
2019-07-15 | Filter: Don't fail badly when trying to access non-existent route in config time | Maria Matejka | |
2019-07-10 | Filter: Minor cleanups | Ondrej Zajicek (work) | |
2019-07-03 | Merge branch 'mq-filter-stack' of gitlab.labs.nic.cz:labs/bird into ↵ | Maria Matejka | |
mq-filter-stack | |||
2019-07-03 | Filter: CLI command to dump all the linearized filters | Maria Matejka | |
2019-07-03 | Filter: Split printing and dying | Maria Matejka | |
2019-07-03 | Dynamic attributes definition split whether it is bitmask or not. | Maria Matejka | |
2019-07-02 | Filter: Dropped some more irrelevant whitespace from generated files | Maria Matejka | |
2019-07-02 | Filter: Nicer whitespaces in generated inst-gen.h | Maria Matejka | |
2019-07-02 | Filter: documentation of the M4 preprocessor | Maria Matejka | |
2019-07-02 | Filter: GCC, don't complain about indentation in generated code. | Maria Matejka | |