ARRAY NTB XML
  • ARRAY NTB XML
    • Element <run>
    • Element <filter>
      • Element <find>
    • Element <output>
    • Element <chain>
    • Element <script>
    • Element <action>
    • Element <input>
    • Schema
  • Case Study
    • Mirror
    • Inline & Bypass
    • Load Balance
    • Packet Stripping
    • Packet Editing
    • Packet Tagging
    • Packet Reply
    • Packet > File
    • Tunnel
    • Bandwidth Control
    • Snort Rule > ARRAY NTB XML
    • Offload
    • Service Chain
    • Block Gmail
    • Block Specific Country
    • Block/Detect black list
    • Mobile Edge Computing Breakout
    • L2 GRE Breakout
    • VXLAN Breakout
    • VXLAN Encapsulation
    • L2 Switch Like
    • L3 Switch NAT Breakout
  • Reference
    • TW IP
Powered by GitBook
On this page
  1. Case Study

Block Gmail

Block Gmail by block dns query mail.google.com and block tcp dest port 53

        WAN
         |
         |P7 
  --------------- 
 |               |
 |   Array NTB   |
 |               |
  --------------- 
         |P6
         |
        LAN
<run>
    <filter id="1" sessionBase="no">
        <or>
            <find name="dns.qry.name" relation="==" content="mail.google.com"/>
        </or>
    </filter>
     <filter id="2" sessionBase="no">
        <or>
            <find name="tcp.dstport" relation="==" content="53"/>
        </or>
    </filter>
    <chain>
        <in>P6</in>
        <fid type="or">F1,F2</fid>
        <out>0</out>
        <next type="notmatch">
            <out>P7</out>
        </next>
    </chain>
    <chain>
        <in>P7</in>
        <out>P6</out>
    </chain>
</run>
PreviousService ChainNextBlock Specific Country

Last updated 1 year ago