Juniper Networks Certified Associate Junos Exam: Firewall Filter Actions

Packet Evaluation and Action in Firewall Filters

Prev Question Next Question

Question

A packet is evaluated against three user-defined terms within a firewall filter and no match is found.

What correctly describes the action the firewall filter will take for this packet?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

In this scenario, the packet is evaluated against three user-defined terms within a firewall filter and no match is found. The correct action that the firewall filter will take for this packet depends on the final "default" action specified in the firewall filter.

By default, a firewall filter will either permit or reject a packet that does not match any of the filter terms. This final default action is specified by the "then" statement at the end of the filter.

For example, a firewall filter might have three terms that check for certain packet characteristics and permit or reject packets that match those characteristics. If a packet does not match any of those three terms, the final "then" statement will determine what action the filter takes for that packet.

Here are the possible default actions and what they mean:

A. Permit the packet and take no additional action: This means that if a packet does not match any of the filter terms, the firewall filter will allow the packet to pass through as if there were no filter at all.

B. Reject the packet and send an ICMP message back to the sender: This means that if a packet does not match any of the filter terms, the firewall filter will drop the packet and send an ICMP message back to the source IP address indicating that the packet was rejected.

C. Discard the packet and take no additional action: This means that if a packet does not match any of the filter terms, the firewall filter will simply drop the packet with no notification or response.

D. Permit the packet and write a log entry to the firewall log: This means that if a packet does not match any of the filter terms, the firewall filter will allow the packet to pass through and will also generate a log entry indicating that the packet was allowed.

So, the correct answer to this question depends on the final "then" statement specified in the firewall filter. If the default action is to permit the packet and take no additional action, then option A is correct. If the default action is to reject the packet and send an ICMP message back to the sender, then option B is correct. If the default action is to discard the packet and take no additional action, then option C is correct. If the default action is to permit the packet and write a log entry to the firewall log, then option D is correct.