tcpwrap_checkPerforms a tcpwrap check Description
bool tcpwrap_check(
string $daemon,string $address,string $user = ?,bool $nodns = false)
This function consults the /etc/hosts.allow and
/etc/hosts.deny files to check if access to service
Parameters
Return Values
This function returns ExamplesExample #1 Deny all connections from localhost If your /etc/hosts.deny file contains: php: 127.0.0.1 And your code looks like: See AlsoFor more details please consult hosts_access(3) man page. |