except a few with 'case' control
On Thu, Sep 29, 2016 at 07:01:00AM +, Войнович Андрей Александрович wrote:
> Construction with single IP addresses passes syntax check, but filter does
> not work as expected - it passes all routes and does not filter anything.
H
1) Case expr
Title: Re[2]: filter all prefixes except a few with 'case' control
Doesn't use case construct at all, so there is something special, I think.
In OSPF, maybe, you can better use something like:
if net ~ [ 1.1.1.1/32, 2.2.2.2/32 ] then accept;
reject;
Вы писали 29
On Thu, Sep 29, 2016 at 07:01:00AM +, Войнович Андрей Александрович wrote:
> Construction with single IP addresses passes syntax check, but filter does
> not work as expected - it passes all routes and does not filter anything.
H
1) Case expression works for most types with exception of pref
kbkontur.ru<mailto:dc-...@skbkontur.ru>
https://www.kontur.ru<https://www.kontur.ru/>
From: Василий Олейников [mailto:oleyniko...@ufanet.ru]
Sent: Thursday, September 29, 2016 11:45 AM
To: Войнович Андрей Александрович
Cc: bird-users@network.cz
Subject: Re: filter all prefixes except a few wit
Title: Re: filter all prefixes except a few with 'case' control
It seems, that case doesn't work with prefix, only with single ip
As I see, this construct:
case net {
1.1.1.1:accept;
2.2.2.2:accept;
else: reject;
}
works fine.
Maybe, ROA
Hi all!
I try to implement simple filter which rejects all prefixes except a few with
'case' control this way:
filter permit_white {
case net {
1.1.1.1/32: accept;
2.2.2.2/32: accept;
else: reject;
}
}
But syntax check fails on lin