Re: Bash socket /dev/tcp

2006-08-18 Thread Michelle Konzack
Am 2006-07-02 21:02:45, schrieb Andrea Ganduglia: > How can I obtain /dev/tcp (and /dev/udp) onto debian? Bash seems > compiled without socket support. Why? Bash Maintainer meaning, that a shell should not have network access You can download the Debian-Sources and add the switch to it to enable

Re: Bash socket /dev/tcp

2006-07-10 Thread Arthur Marsh
Osamu Aoki wrote: ... We have SSH as best practice. I think there is telnet over ssl too (never used). Why you want shell acces to another machne over tcp? If you are knowingly doing this, I am curious what kind of sitation justify such thing? Some kind of user-mode-linux etc? Still, you can

Re: Bash socket /dev/tcp

2006-07-07 Thread Osamu Aoki
On Tue, Jul 04, 2006 at 12:15:11AM +0200, Andrea Ganduglia wrote: > On 7/3/06, Mumia W. <[EMAIL PROTECTED]> wrote: > >amateur wrote: > >> On Mon, Jul 03, 2006 at 11:01:06AM +0200, Andrea Ganduglia wrote: > > >> [...] > >> > >> And this is from the bash manpage: > >> > >> NOTE: Bash, as packag

Re: Bash socket /dev/tcp

2006-07-03 Thread Mumia W.
Andrea Ganduglia wrote: On 7/3/06, Mumia W. <[EMAIL PROTECTED]> wrote: [...] My bash manpage doesn't say that [/dev/tcp is disabled]. But, do you have /dev/tcp onto your machine? Nope, the feature is disabled, but the manpage says nothing about that. I guess the manpage was fixed for Etch

Re: Bash socket /dev/tcp

2006-07-03 Thread amateur
On Mon, Jul 03, 2006 at 04:59:11AM -0500, Mumia W. wrote: > amateur wrote: > >On Mon, Jul 03, 2006 at 11:01:06AM +0200, Andrea Ganduglia wrote: > >> [...] > > > >And this is from the bash manpage: > > > > NOTE: Bash, as packaged for Debian, does not support using the > > /dev/tcp and /dev/u

Re: Bash socket /dev/tcp

2006-07-03 Thread Andrea Ganduglia
On 7/3/06, Mumia W. <[EMAIL PROTECTED]> wrote: amateur wrote: > On Mon, Jul 03, 2006 at 11:01:06AM +0200, Andrea Ganduglia wrote: >> [...] > > And this is from the bash manpage: > > NOTE: Bash, as packaged for Debian, does not support using the > /dev/tcp and /dev/udp files. > My ba

Re: Bash socket /dev/tcp

2006-07-03 Thread Mumia W.
amateur wrote: On Mon, Jul 03, 2006 at 11:01:06AM +0200, Andrea Ganduglia wrote: >> [...] And this is from the bash manpage: NOTE: Bash, as packaged for Debian, does not support using the /dev/tcp and /dev/udp files. My bash manpage doesn't say that. Anyway, Andrea, grab t

Re: Bash socket /dev/tcp

2006-07-03 Thread Andrea Ganduglia
On 7/3/06, amateur <[EMAIL PROTECTED]> wrote: IMHO, /dev/tcp/localhost/80 is just a virtual device specific to bash. Or you can think it as a abstract name. It doesn't really exist on the filesystem. So you can't use cat to access this file. It can only be read/written by bash. Like this:

Re: Bash socket /dev/tcp

2006-07-03 Thread amateur
On Mon, Jul 03, 2006 at 11:01:06AM +0200, Andrea Ganduglia wrote: > On 7/2/06, Mumia W. <[EMAIL PROTECTED]> wrote: > >He is probably talking about this feature of Bash from "man bash": > > Sure, I'm talking about it. How can I obtain those device onto Debian? > > ~# cat /dev/tcp/localhost/80 > ca

Re: Bash socket /dev/tcp

2006-07-03 Thread Andrea Ganduglia
On 7/2/06, Mumia W. <[EMAIL PROTECTED]> wrote: He is probably talking about this feature of Bash from "man bash": Sure, I'm talking about it. How can I obtain those device onto Debian? ~# cat /dev/tcp/localhost/80 cat: /dev/tcp/localhost/80: No such file or directory -- Openclose.it - Idee pe

Re: Bash socket /dev/tcp

2006-07-02 Thread Mumia W.
Roberto Sanchez wrote: Andrea Ganduglia wrote: How can I obtain /dev/tcp (and /dev/udp) onto debian? Bash seems compiled without socket support. Why? Could you elaborate? I think that you are confusing UNIX domain sockets with network sockets. -Roberto He is probably talking about this

Re: Bash socket /dev/tcp

2006-07-02 Thread Roberto Sanchez
Andrea Ganduglia wrote: How can I obtain /dev/tcp (and /dev/udp) onto debian? Bash seems compiled without socket support. Why? Could you elaborate? I think that you are confusing UNIX domain sockets with network sockets. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto