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
4 hours agoBillye
2 days agoLeandro
7 days agoElfriede
9 days agoMarquetta
10 days agoLeandro
16 days ago