Haha, I bet the person who wrote option B thought they were being clever by using IP::local_addr instead of IP::remote_addr. Nice try, but that's not going to work.
The correct answer is A. It uses the IP::addr command to get the network address of the remote IP address and checks if it's in the 10.0.0.0/8 network before rejecting the connection.
Trinidad
9 days agoBillye
11 days agoLeandro
16 days agoElfriede
18 days agoAvery
4 days agoMarquetta
19 days agoLeandro
25 days ago