diff options
author | Martin Mares <mj@ucw.cz> | 1999-04-05 20:15:31 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-04-05 20:15:31 +0000 |
commit | 5056c559c4eb253a4eee10cf35b694faec5265eb (patch) | |
tree | 404a26d748f50a40514f0d0ed448034b7dfa396b /doc | |
parent | 63a381dbf5e37c2740982d07988cea983c699816 (diff) |
Changed syntax of attaching filters to protocols to hopefully the final
version:
EXPORT <filter-spec> for outbound routes (i.e., those announced
by BIRD to the rest of the world).
IMPORT <filter-spec> for inbound routes (i.e., those imported
by BIRD from the rest of the world).
where <filter-spec> is one of:
ALL pass all routes
NONE drop all routes
FILTER <name> use named filter
FILTER { <filter> } use explicitly defined filter
For all protocols, the default is IMPORT ALL, EXPORT NONE. This includes
the kernel protocol, so that you need to add EXPORT ALL to get the previous
configuration of kernel syncer (as usually, see doc/bird.conf.example for
a bird.conf example :)).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bird.conf.example | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/bird.conf.example b/doc/bird.conf.example index f700f2fb..c1bce781 100644 --- a/doc/bird.conf.example +++ b/doc/bird.conf.example @@ -27,8 +27,8 @@ protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds # async off; # Netlink: Disable asynchronous events -# input filter sink; -# output filter okay; +# import none; # Default is import all + export all; # Default is export none } protocol device { |