Re: hosts.allow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>What do I need to put in hosts.allow to allow pop3 on the local interface
and ssh on the external interface.

read "man hosts.allow" and "man hosts_options"
hosts.allows works with a wrapper, like tcp-env
xinetd has an option to activate wrapping (flags LIBWRAP or something)

as an exemple here's my pop3 xinetd file for qmail

service pop3
                         
{
                         
        id              = qmail-pop3
                         
        socket_type     = stream
                         
        protocol        = tcp
                         
        wait            = no
                         
        user            = root
                         
        server          = /var/qmail/bin/qmail-popup
                         
        server_args     = myserver /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir
        log_type        = FILE /var/log/mail/pop3.log
                         
        log_on_success  = HOST
                         
        log_on_failure  = HOST RECORD
                         
}
                         

access is granted only to certain addresses only by hosts.allow

qmail-popup:    172.18.0.0/255.255.0.0			\
                192.168.1.0/255.255.255.0


hth

>
>Ken
>
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>
			- * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
	Thierry ITTY
eMail : Thierry.Itty@xxxxxxxxxxxx		FRANCE


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux