20 Aug
2015
20 Aug
'15
11:08 p.m.
On Thu, Aug 20, 2015 at 05:57:15PM -0500, Jonathan Stewart wrote:
I want to ask a question: do any of these rules define an overall prefix length accepted? A statement like "accept a /8 to a /48"? How would i write this type of rule?
You could match on it with something along the lines of: function avoid_too_long_or_too_short() prefix set boundry; { boundry = [ ::/0{8,48} ]; if net ~ boundry then return true; return false } And later on use: if !(avoid_too_long_or_too_short()) then reject; Kind regards, Job