The TCP wrappers provides a classical Unix mechanism which has been designed to checc if the remote client is able to connect from the guiven IP address.