<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dear Ondrej,<br>
<br>
Thanks for the detailed response. <br>
<br>
We will be very happy if this feature be implemented soon.<br>
<br>
Best~<br>
<br>
On 07/09/2013 12:02 PM, Ondrej Zajicek wrote:<br>
</div>
<blockquote cite="mid:20130709090203.GB1830@localhost" type="cite">
<pre wrap="">On Mon, Jul 08, 2013 at 09:35:02AM +0300, Javor Kliachev wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I'm wondering, is there any way to configure following example to single
rule only.
if bgp_path ~ [= * 100 * =] then return false;
if bgp_path ~ [= * 200 * =] then return false;
if bgp_path ~ [= * 300 * =] then return false;
if bgp_path ~ [= * 400 * =] then return false;
On this way, If we want to filter many ASs, it seems that we should
generate too much rows.
</pre>
</blockquote>
<pre wrap="">
Well, you could replace that with this:
if 10 ~ bgp_path then return false;
which is probably slightly faster, but you still need all the rows.
If you would test just for last (or first) ASN, you could use:
if bgp_path.last ~ [10, 20, 30, 40, ... ] then return false;
Perhaps we should implement this:
if bgp_path ~ [10, 20, 30, 40, ... ] then return false;
(i.e. check every ASN from bgp_path against set of numbers) That would
be simple to implement, consistent with our filtering features for
community lists and works fast for a large sets of ASN.
We don't support full regular expressions for bgp_path matching, just the
shell-like wildcard patterns.
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
---<br>
<a
href="http://cloudware.bg/?utm_source=email&utm_medium=signature&utm_content=link&utm_campaign=newwebsite"
style="font-family:Verdana; color:#00ACE5; font-size:12px;
text-decoration:none;">Find out about our new Cloud service -
Cloudware.bg</a><br>
<div style="font-family:Verdana; color:#A0A0A0;font-size:12px;">Access
anywhere. Manage it yourself. Pay as you go.</div>
<hr color="#103E81" noshade="noshade" size="1" width="400px"
align="left">
<div style="font-family:Verdana; color:#103E81; font-size:12px;">
<strong>Javor Kliachev</strong><br>
IP Engineer<br>
<br>
Neterra Ltd.<br>
Telephone: +359 2 975 16 16<br>
Fax: +359 2 975 34 36<br>
</div>
<a href="http://www.neterra.net" style="font-size:12px;
font-family:Verdana; color:#00ACE5; text-decoration:none;">www.neterra.net</a>
<br>
<br>
<br>
</div>
</body>
</html>