linux user group brescia

immagine del castello

Archivio della mailing list

Xinetd e tcpd

Mav mcbain a tiscalinet.it
Dom 25 Mar 2001 10:10:01 UTC
On Sat, Mar 24, 2001 at 03:45:24PM -0000, Alfredo Quartini wrote:
> 
> Ciao a tutti
> 
> sto iniziando a guardare RedHat-7
> Uno dei "cambiamenti importanti" rispetto alle versioni precenti e'
> sicuramente l'uso di xinetd invece di inetd. Mi sembra di capire che con
> xinetd non sia piu' necessario usare il demone intermendio tcpd ed i suoi
> file di configurazione hosts.allow ed hosts.deny (anche se questi sono
> installati lo stesso :-)...
> Qualcuno mi puo' dare conferma ?
> 
Q. Does xinetd support libwrap (tcpwrappers)?
A. Yes. xinetd can be compiled with libwrap support by passing --with-libwrap
as an option to the configure script.
When xinetd is compiled with libwrap support, all services can use the
/etc/host.allow and /etc/host.deny access
control. xinetd can also be configured to use tcpd in the traditional inetd
style. This requires the use of the NAMEINARGS flag,
and the name of the real daemon be passed in as server_args. Here is an
example for using telnet with tcpd: 
service telnet
{
        flags       = REUSE NAMEINARGS
	        protocol    = tcp
		        socket_type = stream
			        wait        = no
				        user        = telnetd
					        server      = /usr/sbin/tcpd
						        server_args =
							/usr/sbin/in.telnetd
							}
ciao
	carlo
> 
> Alfredo Quartini
> mailto:quarto a numerica.it
> 



Maggiori informazioni sulla lista Lug