|
Navigate to the Firewall level in the configuration
hierarchy.
|
In the configuration editor hierarchy, select Firewall.
|
From the top of the configuration hierarchy, enter edit firewall.
|
|
Define fragment-RE and small-offset-term, and define
the fragment offset match condition.
The fragment offset can be from 1 through 8191.
|
- Next to Filter, click Add new entry.
- In the Filter name box, type fragment-RE.
- Next to Term, click Add New Entry.
- In the Rule name box, type small-offset-term.
- Next to From, click Configure.
- In the Fragment offset choice list, select Fragment
offset.
- Next to Fragment offset, select Add New
Entry.
- In the Range box, type 1-5.
- Click OK twice.
|
Set the term name and define the fragment offset match condition:
set family inet filter fragment-RE term small-offset-term
from fragment-offset 1-5
|
|
Define the action for small-offset-term.
|
- On the Term small-offset-term page, next to
Then, click Configure.
- Next to Syslog, select the check box.
- In the Designation list, select Discard.
- Click OK twice.
|
Set the action:
set family inet filter fragment-RE term small-offset-term
then syslog discard
|
|
Define not-fragmented-term, and define the fragment, protocol,
destination port, and source address match conditions.
|
- On the Filter fragment-RE page, next to Term,
click Add New Entry.
- In the Term name box, type not-fragmented-term.
- Next to From, click Configure.
- In the Fragment flags box, type 0x0.
- In the Fragment offset choice list, select Fragment
offset.
- Next to Fragment offset, select Add New
Entry.
- In the Range box, type 0.
- Click OK.
- In the Protocol choice list, select Protocol.
- Next to Protocol, click Add new entry.
- In the Value keyword list, select tcp.
- Click OK.
- In the Destination port choice list, select Destination port.
- Next to Destination port, click Add new
entry.
- In the Value keyword list, select bgp.
- Click OK.
- Next to Source address, click Add
new entry.
- In the Address box, type 10.2.1.0/24.
- Click OK twice.
|
Set the term name and define match conditions:
set family inet filter fragment-RE term not-fragmented-term
from fragment-flags 0x0 fragment-offset 0 protocol tcp destination-port bgp
source-address 10.2.1.0/24
|
|
Define the action for not-fragmented-term.
|
- On the Term not-fragmented-term page, next
to Then, click Configure.
- In the Designation list, select Accept.
- Click OK twice.
|
Set the action:
set family inet filter fragment-RE term not-fragmented-term
then accept
|
|
Define first-fragment-term, and define the fragment, protocol,
destination port, and source address match conditions.
|
- On the Filter fragment-RE page, next to Term,
click Add New Entry.
- In the Rule name box, type first-fragment-term.
- Next to From, click Configure.
- Next to First fragment, select the check box.
- In the Protocol choice list, select Protocol.
- Next to Protocol, click Add new entry.
- In the Value keyword list, select tcp.
- Click OK.
- In the Destination port choice list, select Destination port.
- Next to Destination port, click Add new
entry.
- In the Value keyword list, select bgp.
- Click OK.
- Next to Source address, click Add
new entry.
- In the Address box, type 10.2.1.0/24.
- Click OK twice.
|
Set the term name and define match conditions:
set family inet filter fragment-RE term first-fragment-term
from first-fragment protocol tcp destination-port bgp source-address 10.2.1.0/24
|
|
Define the action for first-fragment-term.
|
- On the Term first-fragment-term page, next
to Then, click Configure.
- In the Designation list, select Accept.
- Click OK twice.
|
Set the action:
set family inet filter fragment-RE term first-fragment-term
then accept
|
|
Define fragment-term and define the fragment match condition.
|
- On the Filter fragment-RE page, next to Term, click Add New Entry.
- In the Rule name box, type fragment-term.
- Next to From, click Configure.
- In the Fragment offset choice list, select Fragment
offset.
- Next to Fragment offset, select Add New
Entry.
- In the Range box, type 6-8191.
- Click OK twice.
|
Set the term name and define match conditions:
set family inet filter fragment-RE term fragment-term
from fragment-offset 6–8191
|
|
Define the action for fragment-term.
|
- On the Term fragment-term page, next to Then,
click Configure.
- In the Designation list, select Accept.
- Click OK four times.
|
Set the action:
set family inet filter fragment-RE term fragment-term
then accept
|