<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="RU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I try to implement simple filter which rejects all prefixes except a few with 'case' control this way:<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">filter permit_white {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">        case net {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">                1.1.1.1/32: accept;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">                2.2.2.2/32: accept;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">                else: reject;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">        }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New"">}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">But syntax check fails on line ‘1.1.1.1/32: accept;’. <span lang="EN-US">
I read everything on Internet what was found, but cannot understand what is wrong.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU">------------------------------------------</span><span lang="EN-US" style="mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:RU">Служба</span><span style="color:#1F497D;mso-fareast-language:RU">
</span><span style="color:#1F497D;mso-fareast-language:RU">поддержки</span><span style="color:#1F497D;mso-fareast-language:RU">
</span><span style="color:#1F497D;mso-fareast-language:RU">серверов</span><span lang="EN-US" style="mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:RU">Группа сетевого администрирования</span><span style="mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:RU">ДПП.УТП.СПС</span><span style="mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:RU">ЗАО ПФ «СКБ-Контур»,</span><span style="mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:RU">Тел. +7 (343) 344-11-50 доб. 75352</span><span style="mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU">e</span><span style="color:#1F497D;mso-fareast-language:RU">-</span><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU">mail</span><span style="color:#1F497D;mso-fareast-language:RU">:
</span><span style="mso-fareast-language:RU"><a href="mailto:dc-noc@skbkontur.ru"><span lang="EN-US" style="color:#0563C1">dc</span><span style="color:#0563C1">-</span><span lang="EN-US" style="color:#0563C1">noc</span><span style="color:#0563C1">@</span><span lang="EN-US" style="color:#0563C1">skbkontur</span><span style="color:#0563C1">.</span><span lang="EN-US" style="color:#0563C1">ru</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:RU"><a href="https://www.kontur.ru/"><i><span lang="EN-US" style="color:#0563C1">https</span></i><i><span style="color:#0563C1">://</span></i><i><span lang="EN-US" style="color:#0563C1">www</span></i><i><span style="color:#0563C1">.</span></i><i><span lang="EN-US" style="color:#0563C1">kontur</span></i><i><span style="color:#0563C1">.</span></i><i><span lang="EN-US" style="color:#0563C1">ru</span></i></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>