TCP wrappers add a measure of security for service daemons by standing between the daemon and incoming service requests. TCP wrappers log successful and unsuccessful connection attempts. Additionally, TCP wrappers can provide access control by allowing or denying the connection depending on the origin of the request. Use TCP wrappers to protect daemons such as Telnet and the File Transfer Protocol (FTP). For information about TCP wrapper support for sendmail, see Support for TCP Wrappers in Version 8.12 of sendmail in Managing sendmail Services in Oracle Solaris 11.4.
Before You Begin
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
$ inetadm -M tcp_wrappers=TRUE
See the hosts_access (3) man page located in the /usr/sfw/man directory.
Before You Begin
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
Since the module is dynamic, you must load it to use TCP wrappers with FTP.
<IfModule mod_dso.c> LoadModule mod_wrap.c </IfModule>
$ svcadm restart svc:/network/ftp