firewall filters Flashcards

1
Q

whats a firewall filter?

A

its an ACL.

Stateless filter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

whats the default action in a firewall filter?

A

discard.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

whats the filtering gotcha?

A

its not sm0rt.

If you check for an ack field alone it will derp. You should filter it first for TCP, then the TCP ack field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how does it handle fragmented traffic?

A

badly. the first packet will have the l4 header, the rest wont but it’ll check anyway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are the 3 match condition categories?

A

Numeric Range
address
bit-field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the action categories?

A

same as route policies;

terminating actions
flow control
action modifiers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are terminating actions?

A

ends the lookup.

accept = allows forwarding.
discard = quietly drop
reject = ICMP destination unreachable – you can do TCP reset of alternative ICMP message type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are flow control actions?

A

next term - allows you to do something, like set a QoS marking or policer, but still continue through the filter.

There is no next filter. No chaining.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are action modifiers?

A

specifity other things to do…

count, log, syslog
forwarding-class and loss-priority – for carrying out CoS marking
policer

  • all of these trigger an implicit accept unless you specify next-term.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

where are firewall filters created?

A

edit firewall

you create your firewall policy within the address family your traffic will be in…

edit firewall family inet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how do you filter traffic destined to the system?

A

apply them to lo0

if you do this for management purposes you also need to add policy for routing protocols(!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

how do you apply a filter to an interface

A

inside the family, specify filter.

eg;

interface ge-0/0/1
unit 0
family inet
filter
input X
output Y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

how do you verify firewall filters?

A

show firewall counter filter <filtername></filtername>

show firewall log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly