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

Re: [gulliver] pas de telnet en localhost :-(


From Nicolas Lochet <nicolas dot lochet at laposte dot net>
Subject Re: [gulliver] pas de telnet en localhost :-(
Date Fri, 23 Apr 2004 11:23:37 +0200

alan a écrit :
Bonjour,
J'ai un soucis avec ma Mandrake 9.0, je ne réussis pas à me connecter en localhost avec telnet ou ftp (c'est pour faire des essais).


J'ai beau avoir mis ceci dans mes fichiers de conf :

[alan at carremanchot emblin]$ cat /etc/hosts.allow ; cat /etc/hosts.deny
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
telnetd:LOCAL

Essaye avec in.telnetd, ça devrait mieux marcher.


ftpd:LOCAL

là aussi in.ftpd si ton serveur ftp passe par inetd.


#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!
ALL:PARANOID
[alan at carremanchot emblin]$

Relancé xinetd : (est-ce bien ce qu'il faut relancer ? ...)
[root at carremanchot init.d]# ./xinetd restart all
Stopping xinetd:                                                [  OK  ]
Starting xinetd:                                                [  OK  ]
[root at carremanchot init.d]#

et essayé telnet :
[alan at carremanchot emblin]$ telnet localhost
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[alan at carremanchot emblin]$

SNIF :'-(

Help me please


Sous debian tu as 'man hosts_access' qui explique le fonctionnement des deux fichiers hosts.* .


A+
--
Nicolas Lochet