Hello List,
Are there optimisations that should be done when writing filters in
bgpd.conf for the benefit of the bgpd engine ?
For example :
- Lets say I'm filtering out private AS numbers. Because there is
currently no way to define ranges, I've got a number of lines as
below. The length of the lines is currently limited in order to
ease readability, however would there be a benefit to aggregating
the filter into one large deny block ?
deny from any AS
{64512,64513,64514,64515,64516,64517,64518,64519,64520,64521}
deny from any AS
{64522,64523,64524,64525,64526,64527,64528,64529,64530,64531}
- Is there any benefit (or disadvantage) from splitting out or
aggregating different as-type filters (e.g. keeping
transit/source/peer as filters seperate).
Unfortunatley I don't speak C, so can't read the source myself,
hence my reliance on a kind individual here to share some wisdom.