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 <fe...@network.cz > <mailto:fe...@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 >