From c8a6b9a3d199444fd45879dd5cc5ececd9624822 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 17 Apr 2009 01:48:36 +0200 Subject: Rewrite of buggy AS path matching. Old AS path maching supposes thath AS number appears only once in AS path, but that is not true. It also contains some bugs related to AS path sets. New code does not use any assumptions about semantic structure of AS path. It is asymptotically slower than the old code, but on real paths it is not significant. It also allows '?' for matching one arbitrary AS number. --- doc/bird.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/bird.sgml b/doc/bird.sgml index 1cb3fc4..70d970f 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -549,7 +549,8 @@ incompatible with each other (that is to prevent you from shooting in the foot). (using path ˜ [= 2 3 5 * =] syntax). The masks resemble wildcard patterns as used by UNIX shells. Autonomous system numbers match themselves, bgp_path is 4 3 2 1, then: + sequence of arbitrary AS numbers and bgp_path is 4 3 2 1, then: bgp_path ˜ [= * 4 3 * =] is true, but bgp_path ˜ [= * 4 5 * =] is false. There is also old syntax that uses / .. / instead of [= .. =] and ? instead of *. -- cgit v1.2.3