A network security administrator must configure an IPv4 Access Control List (ACL) on a router to enforce access policies for the internal host network () communicating with a database server (). The policy requires that host is allowed HTTP access to the server, while all other hosts in are denied HTTP access. However, all hosts in must be allowed all other IP traffic to the server, and all remaining traffic from any other network must be dropped. Place the ACL statements in the correct top-to-bottom execution order to enforce this security policy without rule shadowing.
- 1access-list 105 permit tcp host 10.1.1.15 host 172.16.10.5 eq 80
- 2access-list 105 deny tcp 10.1.1.0 0.0.0.255 host 172.16.10.5 eq 80
- 3access-list 105 permit ip 10.1.1.0 0.0.0.255 host 172.16.10.5
- 4access-list 105 deny ip any any
Cevap
The correct sequential order of ACL statements from top to bottom is: 1) permit tcp host 10.1.1.15 host 172.16.10.5 eq 80, 2) deny tcp 10.1.1.0 0.0.0.255 host 172.16.10.5 eq 80, 3) permit ip 10.1.1.0 0.0.0.255 host 172.16.10.5, and 4) deny ip any any.
Router Access Control Lists (ACLs) process incoming packets strictly top-to-bottom against each line item until a match is found. Once a match occurs, the action (permit or deny) is taken immediately and no further rules are evaluated. Therefore, more specific rules (such as host-specific permits or protocol-specific denies) must precede general rules (such as full subnet permits or catch-all denies). Placing host 10.1.1.15's HTTP permit first ensures it is processed before the 10.1.1.0/24 HTTP deny rule. Placing the 10.1.1.0/24 HTTP deny rule second ensures HTTP traffic from remaining subnet hosts is blocked before matching the third rule, which permits all other IP traffic from 10.1.1.0/24. Finally, the catch-all deny statement must be at the very bottom.
Adım Adım Çözüm
Anahtar Kavram
ACL Sequential Processing & Rule Shadowing Avoidance