Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-11 | Conf: Show the line:char position where the syntax error happens | Jan Maria Matejka | |
2017-05-30 | Workaround for older bisons | Ondrej Zajicek (work) | |
2017-05-25 | Conf: Replace keyword and symbol hash table with generic hash table. | Ondrej Zajicek (work) | |
The old hash table had fixed size, which makes it slow for config files with large number of symbols and symbol lookups. The new one is growing according to needs. | |||
2016-11-08 | Minor code cleanups | Ondrej Zajicek (work) | |
2016-09-21 | Add !~ operator to filter grammar | Pavel Tvrdik | |
2016-08-16 | Include <stdint.h> in cf-lex.l to avoid UINTx_MAX redefinition | Ondřej Surý | |
2016-05-12 | Prog Doc: Complete several missing parameters | Pavel Tvrdik | |
2015-11-09 | Conf: Fixes bug in symbol lookup during reconfiguration | Ondrej Zajicek (work) | |
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 during reconfiguration. The patch separates lookup-only cf_find_symbol() and config-modifying cf_get_symbol(), while the later is called only during parsing. Also new_config and cfg_mem global variables are NULLed outside of parsing. | |||
2015-02-21 | Bump max symbol length to 64. | Ondrej Zajicek | |
And move the constant to conf.h header. Thanks to Alexander Chernikov for the patch. | |||
2014-10-24 | Integrated IP functions. | Ondrej Zajicek | |
2014-10-02 | Allows more constants in set literals. | Ondrej Zajicek | |
Thanks to Michael Fincham for the bugreport. | |||
2014-03-25 | Fixes file descriptor leak when parser ends with error. | Ondrej Zajicek | |
Thanks to MrBr for the bugreport. | |||
2013-08-15 | Symbol names enclosed by apostrophes can contain colons. | Ondrej Filip | |
2013-07-25 | Allows to define constants of all filter types. | Ondrej Zajicek | |
2013-02-10 | Symbol names enclosed by apostrophes can contain DOTs. | Ondrej Filip | |
2012-07-18 | Implements wildcard matching in config file include. | Ondrej Zajicek | |
Also fixes some minor bugs in include. Thanks Kelly Cochran for suggestion and draft patch. | |||
2012-03-18 | Route Origin Authorization basics. | Ondrej Zajicek | |
- ROA tables, which are used as a basic part for RPKI. - Commands for examining and modifying ROA tables. - Filter operators based on ROA tables consistent with RFC 6483. | |||
2011-12-22 | Fixes parsing larger numbers on 64bit platforms. | Ondrej Zajicek | |
2011-11-10 | Fixes missing header. | Ondrej Zajicek | |
2011-11-07 | Implements protocol templates. | Ondrej Zajicek | |
Based on the patch from Alexander V. Chernikov. Extended to support almost all protocols. Uses 'protocol bgp NAME from TEMPLATE { ... }' syntax. | |||
2011-10-10 | Fixes for include. | Ondrej Zajicek | |
2011-09-11 | Configuration can include other files. | Ondrej Filip | |
2011-05-06 | Fixes several problems in filter syntax. | Ondrej Zajicek | |
- Fixes several conflicts in the grammar. - Fixes a bug in (a..b, c) pair patterns. - Makes pair patterns orthogonal. - Allows term expressions in pair patterns without additional ( ). - Allows several comma separated values in switch cases. | |||
2011-03-23 | A hack to distinguish if..else from else: in case. | Ondrej Zajicek | |
The old BIRD grammar needs two lookaheads to distinguish if..else from else: in case, which caused the parser to fail on some combinations of both expressions. This patch replaces two tokens 'else' ':' by one token 'else:' to fix that. | |||
2011-03-13 | Implements Router Advertisement protocol. | Ondrej Zajicek | |
2010-05-02 | Merge several fixes suggested by Joakim Tjernlund. | Ondrej Zajicek | |
2010-02-20 | Implements pattern match for 'show protocols' command. | Ondrej Zajicek | |
And generally consolidates protocol commands. | |||
2010-02-10 | Define symbols as text between ''. | Ondrej Filip | |
2009-03-14 | New syntax for bgp_path | Ondrej Zajicek | |
2009-01-27 | New syntax for bgp_path | Ondrej Zajicek | |
2000-06-08 | Fixes for the programmer's manual. | Martin Mares | |
2000-06-07 | Fixes to the progdoc. | Martin Mares | |
2000-06-07 | Spelling fixes to progdoc. | Martin Mares | |
2000-06-04 | Nested scopes could never have worked. My fault I wrote such a buggy code, | Martin Mares | |
Pavel's fault that he's never tested shadowing of declarations in the filters. cf_define_symbol() has been modified to check the scope of the symbol it's given and it if it's an already defined symbol, but in a different scope, a copy is created in the current scope and redefined to the new meaning, the consequence being that it cf_define_symbol() now returns the new symbol you need to use when assigning aux and aux2. | |||
2000-06-04 | Moved parser docs to cf-lex.l, so that the parser compiles. | Martin Mares | |
2000-06-03 | Documentation. | Martin Mares | |
2000-06-03 | cf_symbol_class_name now recognizes SYM_IPA. | Martin Mares | |
2000-06-01 | Added && and ||. | Pavel Machek | |
2000-05-30 | Recognize `!'. | Martin Mares | |
2000-05-25 | Use ? in path matching to avoid /* trap. | Pavel Machek | |
2000-04-28 | Include CF_HDR section in keywords.h as well, so that protocol symbols | Martin Mares | |
can be used in definition of ENUM's. | |||
2000-03-31 | Include "lib/string.h" instead of <string.h>. It should give us bzero() | Martin Mares | |
and other non-portable functions on all systems. | |||
2000-03-10 | Fix <=, >=, != | Pavel Machek | |
2000-01-19 | Split off general commands to cmds.c. | Martin Mares | |
Added `show symbols' command which dumps whole symbol table together with symbol types etc. | |||
2000-01-17 | Separated `official protocol names' used in status dumps from name templates | Martin Mares | |
used for automatic generation of instance names. protocol->name is the official name protocol->template is the name template (usually "name%d"), should be all lowercase. Updated all protocols to define the templates, checked that their configuration grammar includes proto_name which generates the name and interns it in the symbol table. | |||
2000-01-16 | When a quoted string is encountered, don't forget to copy it to the | Martin Mares | |
config pool before passing it to the parser. | |||
1999-12-02 | Avoid `default rule can be matched' warning in CLI state. | Martin Mares | |
1999-11-30 | Lexer supports fallback symbol tables and uses them to recognize | Martin Mares | |
symbols from global config when parsing CLI commands. cf_lex_init_tables() is now called automatically inside the lexer. | |||
1999-11-15 | Defined CF_ENUM. | Martin Mares | |
1999-11-04 | Symbols are not scoped. | Martin Mares | |