There is a challenge on this page that is making me scratch my head. I have researched it and believe I know the answer, but wouldn't mind some clarification, if at all possible.
The question states the following:
"On R1, configure a distribute list to filter 192.168.20.0/24 and 192.168.25.0/27 from inbound updates on R2. Pay special attention to the subnet masks. Do not filter out 192.168.25.0/24.
Use an extended access list to accomplish this."
The route table on R2 is this:
Gateway of last resort is not set
O 192.168.30.0/24 [110/65] via 172.16.23.3, 00:00:11, Serial1/1
192.168.25.0/24 is variably subnetted, 2 subnets, 2 masks
O E2 192.168.25.0/27 [110/20] via 172.16.23.3, 00:00:05, Serial1/1
O 192.168.25.0/24 [110/65] via 172.16.23.3, 00:00:11, Serial1/1
O 192.168.40.0/24 [110/65] via 172.16.23.3, 00:00:11, Serial1/1
172.16.0.0/24 is subnetted, 5 subnets
C 172.16.23.0 is directly connected, Serial1/1
C 172.16.12.0 is directly connected, Serial1/0
R 172.16.1.0 [120/1] via 172.16.12.1, 00:00:10, Serial1/0
C 172.16.2.0 is directly connected, Loopback0
O 172.16.3.0 [110/65] via 172.16.23.3, 00:00:11, Serial1/1
O 192.168.20.0/24 [110/65] via 172.16.23.3, 00:00:11, Serial1/1
O 192.168.35.0/24 [110/65] via 172.16.23.3, 00:00:11, Serial1/1
According to Internetwork CCIE's Blog: "Extended ACLs work with IGP protocols but
you can not match on the subnet mask portion of the route. Extended ACLs are used with IGP protocols to match the network portion of the route and the IP address of the router that sent the route."
This ACL would work
access-list <ACL #> permit ip <network> <wildcard mask of network> <subnet mask> <wildcard mask of subnet mask>, but alas that appears to be only for BGP filtering.
My thoughts is that you would need to use a prefix-list like this on R1 inbound:
ip prefix-list RIP-IN seq 10 permit 192.168.25.0/24
ip prefix-list RIP-IN seq 20 deny 192.168.25.0/27
ip prefix-list RIP-IN seq 30 deny 192.168.20.0/24
ip prefix-list RIP-IN seq 40 permit 0.0.0.0/0 le 32
Is there something I am missing or is Cisco Press leading me astray...again.

Thanks all!