Implements wildcard matching in config file include.
Also fixes some minor bugs in include.
Thanks Kelly Cochran for suggestion and draft patch.
Route Origin Authorization basics.
- 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.
Fixes name for unnamed filters.
Thanks to Alexander V. Chernikov for the suggestion.
Configuration can include other files.
... and in the filter.
Line numbers for runtime errors (what's wrong with cvs? I could notcommit this from home)
Create syntax sugar for add/delete/prepend, so xyzzy.prepend(123) ispossible. That means that milestone 3 was reached.
Cleaned up mess with types in e,a and e,S. Dynamic attributes shouldnow work.
f_new_dynamic_attr gets third argument, type as filters know it.
Attribute type hack.
Removed lots of superfluous includes.
Use debug() instead of printf().
Added type parameter to f_new_dynamic_attr.
I do not know if it is right since mj ingores talk once started :-(.
Dynamic attributes are now declared in per-protocol grammar files insteadof filter/config.Y. Bird now compiles even if you disable RIP.
Removed RTA and IMPOSSIBLE tokens (unused).
Removed superfluous comment in filter.h.
I've tried to do my best, but Pavel, please check these changes.
Split inst->code into inst->code and inst->aux. Both are only 16 bit,so aux is suitable for storing type but not much more.
Filters upgraded - a bit. Moved code to filter.c because it is whereit belongs. (f-util.c stays there for auxiliary and non-important things.)
Several filter changes. (Pavel, please check if they are OK.)
o Changed parameters of f_run. Changed rtein+rteout pair to rte pointer passed by reference, added ea_list of temporary attrs again passed by reference and finally added a pointer to memory pool for storing...
Please don't commit debugging code which makes BIRD exit before anythingactually starts to happen. Grrr.
Update of filters towards new interface.
A couple of filter tweaks:
o Introduced struct filter which serves as an external reference to filter. Using struct symbol for this is unwise since it doesn't allow extra information attached to the filter and it also forces all filters to be named....
Compilation fix for mj.
accept & reject should now work
Filters are now a tiny bit stronger (if is actually working ;-)
Add interface for running filters (please comment!), avoid bison warnings
filters_init() renamed to filters_postconfig().
Filters, second try. This time they have their own directory.