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

Re: /dev/(tcp|udp)/host/port



Am 2005-04-08 20:09:38, schrieb Peter Wiersig:
> On Fri, Apr 08, 2005 at 07:07:09PM +0200, Michelle Konzack wrote:
> > 
> > Vor allem, wie man die anlegen muß ?
> 
> Gar nicht, einfach benutzen tippe ich. "special filenames"
> 
> Auf meiner SUSE geht's:
> friese@dhcp247:~> cat < /dev/tcp/petebull/22
> SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4

Sowas hatte ich auch versucht...

> Allerdings vorher die Bash neu uebersetzen, da in bash-2.05b-24
> /usr/share/doc/bash/README.Debian.gz:
> 
> 9. Why is bash configured with --disable-net-redirections?
> 
>     It can produce completely unexpected results. This kind of
>     feature should not be part of a shell but a special. tool. And
>     that tool has existed for years already, it's called netcat.

Grrrr

> Als ich heute durch's README gepfluegt bin, habe ich mir darauf
> noch keinen Reim machen koennen. Durch deine Frage weiss ich, was
> wohl nicht gehen wird.

Aber 'netcat' funktionierte nicht wie ich wollte.

Was meintest Du mit "was wohl nicht gehen wird" ?

Denn wenn ich /dev/tcp verwende spare ich mir auch netcat,
was nicht alle system installiert haben...

Aber wenn Debian "--disable-net-redirections" verwendet...

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: