erlug
[Top] [All Lists]

Re: [Erlug] IP remoto.. ppp0

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] IP remoto.. ppp0
From: Maurizio Lemmo - Tannoiser <tann@xxxxxxxxx>
Date: Sat, 21 Dec 2002 12:41:14 +0100
* sabato 21 dicembre 2002, alle 04:07, Francesco -Checco- Gigli scrive:
> uhmm.. altri modi per leggere un file da un filesystem remodo?
> ftp, http.. alla fine uno vale l'altro no?
> ..mumble..
> e se uso "host spaghetti.twilightparadox.com" tagliuzzando con il sed?
> meglio?

soluzione che piace al negro:

ti fai uno shell tipo quello che ti ho postato nell'altra mail. l'ultima
parte dello script e`:

echo $VARIABILE

metti in inetd.conf e in services un apposito servizio, per fare un
esempio, uso la porta del finger (non ho un demone fingerd attivo):

finger  stream  tcp     nowait  nobody.tty      /home/mizio/pippo.sh

(per xinetd parti da qualcosa di esistente).

Riavvi inetd.

ora, puoi usare telnet, nc, o quello che ti pare:

mizio@mood:~$ finger @localhost
[localhost]
pippo
mizio@mood:~$ nc localhost 79
pippo
mizio@mood:~$ telnet localhost 79
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
pippo
Connection closed by foreign host.

soluzione che _non_ piace al negro:

usa un dns dinamico.

-- 
                          Maurizio - Tannoiser - Lemmo
                 Founder Member of ERLUG http://erlug.linux.it
-------------------------------------------------------------------------------
Xander: "For I am Xander, King of Cretins. May all lesser cretins bow before
me."
        --Buffy the Vampire Slayer: The Witch

<Prev in Thread] Current Thread [Next in Thread>