how to check syntax of bird.conf ?
hello, we are going to add automation on top of bird.conf is there some way to check syntax of it ?
yep. thanks for the tip. also, is there a way of splitting the following list into 2 lists filter permit_white { if net ~ [ A.A.A.A/32 ,B.B.B.B/32,C.C.C.C/32 ] then accept; else reject; } where 'A.A.A.A' never changes, i.e. constant and 'B.B.B.B', 'C.C.C.C', ... is dynamic list, which I'd like to keep in separate file вт, 19 июн. 2018 г. в 13:17, Ondrej Filip <feela@network.cz>:
On 19.6.2018 10:08, Илья Шипицин wrote:
hello,
we are going to add automation on top of bird.conf is there some way to check syntax of it ?
Hi! Do you mean 'bird -p'?
Ondrej
On 19.6.2018 10:26, Илья Шипицин wrote:
yep. thanks for the tip.
also, is there a way of splitting the following list into 2 lists
filter permit_white { if net ~ [ A.A.A.A/32 ,B.B.B.B/32,C.C.C.C/32 ] then accept; else reject; }
where 'A.A.A.A' never changes, i.e. constant and 'B.B.B.B', 'C.C.C.C', ... is dynamic list, which I'd like to keep in separate file
Sure, there are many ways. For example you can define a range in a file which you include into main config file. And than you can have two check in this filter. Ondrej
вт, 19 июн. 2018 г. в 13:17, Ondrej Filip <feela@network.cz <mailto:feela@network.cz>>:
On 19.6.2018 10:08, Илья Шипицин wrote: > hello, > > we are going to add automation on top of bird.conf > is there some way to check syntax of it ?
Hi! Do you mean 'bird -p'?
Ondrej
That would be nice, I'll try that way On Tue, Jun 19, 2018, 2:00 PM Ondrej Filip <feela@network.cz> wrote:
On 19.6.2018 10:26, Илья Шипицин wrote:
yep. thanks for the tip.
also, is there a way of splitting the following list into 2 lists
filter permit_white { if net ~ [ A.A.A.A/32 ,B.B.B.B/32,C.C.C.C/32 ] then accept; else reject; }
where 'A.A.A.A' never changes, i.e. constant and 'B.B.B.B', 'C.C.C.C', ... is dynamic list, which I'd like to keep in separate file
Sure, there are many ways. For example you can define a range in a file which you include into main config file. And than you can have two check in this filter.
Ondrej
вт, 19 июн. 2018 г. в 13:17, Ondrej Filip <feela@network.cz <mailto:feela@network.cz>>:
On 19.6.2018 10:08, Илья Шипицин wrote: > hello, > > we are going to add automation on top of bird.conf > is there some way to check syntax of it ?
Hi! Do you mean 'bird -p'?
Ondrej
participants (2)
-
Ondrej Filip -
Илья Шипицин