Re: Bash /dev/tcp and /dev/udp
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/23/06 07:09, Jan C. Nordholz wrote:
> Hi Klaus,
>
>> >from the bash manpage:
>> /dev/tcp/host/port
>> /dev/udp/host/port
>
> This has been discussed several times [1][2], and the outcome was every time
> that this should not be a feature of the shell, but of more specialized
> tools like nc. Use those or recompile your bash.
[snip]
>
> [1] http://lists.debian.org/debian-user/2003/04/msg01591.html
> [2] http://lists.debian.org/debian-user/2006/07/msg00121.html
http://lists.debian.org/debian-user/2006/07/msg00204.html
It can produce completely unexpected results.
C & Perl also can produce completely unexpected results, and C is a
security nightmare, but we don't ban/disable them in Debian.
What's the real problem with /dev/{tcp|udp}?
- --
Ron Johnson, Jr.
Jefferson LA USA
Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFZcF6S9HxQb37XmcRAu75AJ9S5N5WsO3+E55j4tPT/ef26icYCwCZAa1e
bhf8OxMiQisYxeAymSOMpv0=
=ztqT
-----END PGP SIGNATURE-----
Reply to: