--> |
"RQ_FILE (int)" | The file descriptor associated with the request. |
"RQ_CLIENT_NAME (char *)" | The client host name. |
"RQ_CLIENT_ADDR (char *)" | A printable representation of the client network address. |
"RQ_CLIENT_SIN (struct sockaddr_in *)" | An internal representation of the client network address and port. The contents of the structure are not copied. |
"RQ_SERVER_NAME (char *)" | The hostname associated with the server endpoint address. |
"RQ_SERVER_ADDR (char *)" | A printable representation of the server endpoint address. |
"RQ_SERVER_SIN (struct sockaddr_in *)" | An internal representation of the server endpoint address and port. The contents of the structure are not copied. |
"RQ_DAEMON (char *)" | The name of the daemon process running on the server host. |
"RQ_USER (char *)" | The name of the user on whose behalf the client host makes the request. |
|
hosts_access() consults the access control tables described in the hosts_ctl() is a wrapper around the request_init() and hosts_access() routines with a perhaps more convenient interface (though it does not pass on enough information to support automated client username lookups). The client host address, client host name and username arguments should contain valid data or STRING_UNKNOWN. hosts_ctl() returns zero if access should be denied.