(R)e: [Pluto-help] Problemi con TELNET

tonibern a tin.it tonibern a tin.it
Mer 23 Ott 2002 20:20:49 CEST


Vi ringrazio,
ma mancava solo l'attivazione del servizio inet
Grazie
Antonio
>-- Messaggio originale --
>From: "(R)ex Sanna" <rexsanna a tiscali.it>
>To: pluto-help a lists.pluto.linux.it
>Subject: (R)e: [Pluto-help] Problemi con TELNET
>Reply-To: pluto-help a lists.pluto.linux.it
>Date: Wed, 23 Oct 2002 15:33:15 +0200
>
>
>About 'Re: [Pluto-help] Problemi con TELNET'
>
># Scusa parto con la domanda piu' semplice visto che non sembra un problema
># della rete .... ma sulla macchina A hai il un demone telnet attivo ?
>#
># > Gli indirizzi sono 192.192.200.100 e 192.192.100.100 le subnet mask
sono
># > 255.255.0.0 su entrambi.
>#
># Questa è una lista pubblica, e meglio se eviti di rendere noti i tuoi
># indirizzi ... non si sa mai ;o)
>Questa volta non ho caziato nessuno.. ;o)
>
>#
># > C'e' bisogno di scrivere da qualche parte su A che B puo' fare telnet?
>si, e questo e' il file : /etc/xinet.d/telnet 
>
>----------------------------------------------------------------------------------------------------
>(R)oot [neo][root] >cat /etc/xinetd.d/telnet
>
># ### (R)ex Hacked File
># How to configure telnet server.. 
>
>service telnet
>{
>        disable = no
>        flags           = REUSE
>        socket_type     = stream
>        wait            = no
>        user            = root
>        server          = /usr/sbin/in.telnetd
>
>        log_on_failure  += USERID
>	only_from 	=  192.192.200.100  192.192.100.100 etc.. ;o)
>}
>----------------------------------------------------------------------------------------------------
>Questo file DEVE stare sulla macchina B [quella, per intenderci, che RICEVE
>la connessione]
>Se no hai anche 'telnet-server' installato non ti serve a nulla questo
file..
>
>Una volta che hai settato questo file :
>
>(R)oot [neo][root] > /etc/init.d/xinetd restart
>
>E tutto va su..
>Adesso prova ad aprire una sessione di telnet direttamente da localhost,
>e divertiti..
>PS: in 'only_from' se non inserisci 127.0.0.1 ti attacchi.. 
>non puoi connetterti a te stesso...
>
>
>C'e' ancora qualcosa da aggiungere, che spero possa capire direttamente
leggendo
>qua sotto..
>----------------------------------------------------------------------------------------------------
>(R)oot [neo][root] >cat /etc/hosts.allow
>
># ### (R)ex Hacked File
>#
># How to allow connections from :
>ALL : 127.0.0.1         # localhost
>
>
>ALL : 192.168.0.1       # Zero
>ALL : 192.168.0.2       # neo
>
>ALL : .mio_dominio.com
>----------------------------------------------------------------------------------------------------
>(R)oot [neo][root] >cat /etc/hosts.deny
>
># ### (R)ex Hacked File
># Who have to suck..
>ALL : ALL
>----------------------------------------------------------------------------------------------------
>
>Buon viaggio.. ;o)
>
>-- 
># ------------------------------------------------------------
># Take it. Use it.. Human knowledge belongs to the world..
># ------------------------------------------------------------
>
>_______________________________________________
>pluto-help mailing list
>pluto-help a lists.pluto.linux.it
>http://lists.pluto.linux.it/mailman/listinfo/pluto-help





More information about the pluto-help mailing list