16.03.2014 Views

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9: Firewall Filter <strong>Configuration</strong><br />

count strict-source-route;<br />

log;<br />

accept;<br />

}<br />

}<br />

term match-loose-source {<br />

from {<br />

ip-options loose-source-route;<br />

}<br />

then {<br />

count loose-source-route;<br />

log;<br />

accept;<br />

}<br />

}<br />

term match-record {<br />

from {<br />

ip-options record-route;<br />

}<br />

then {<br />

count record-route;<br />

accept;<br />

}<br />

}<br />

term match-timestamp {<br />

from {<br />

ip-options timestamp;<br />

}<br />

then {<br />

count timestamp;<br />

accept;<br />

}<br />

}<br />

term match-router-alert {<br />

from {<br />

ip-options router-alert;<br />

}<br />

then {<br />

count router-alert;<br />

accept;<br />

}<br />

}<br />

term match-all {<br />

then accept;<br />

}<br />

}<br />

}<br />

}<br />

Example: Counting and Discarding IP Options Packets<br />

Count packets that include any IP options header fields and discard the packets. Accept<br />

all other packets.<br />

[edit firewall]<br />

Copyright © 2010, <strong>Juniper</strong> <strong>Networks</strong>, Inc.<br />

247

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!