help-bash
[Top][All Lists]
Advanced

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

Re: /dev/tcp and ssl


From: Peng Yu
Subject: Re: /dev/tcp and ssl
Date: Thu, 1 Apr 2021 22:50:26 -0500

On Tue, Mar 30, 2021 at 7:05 PM Seth David Schoen <schoen@loyalty.org>
wrote:

> Peng Yu writes:
>
> >
> https://stackoverflow.com/questions/37251384/using-ssl-with-bashs-dev-tcp
> >
> > I haven't seen an answer to the above question.
> >
> > Is it very difficult to use SSL on /dev/tcp so that it is better just
> > use `openssl s_client host:port` if SSL over the TCP protocol is
> > needed?
>
> I think bash itself would need to be patched to create an additional
> virtual device (like /dev/tls or something), and would then need to be
> linked against OpenSSL or GnuTLS libraries.


Who added/dev/tcp? Will /dev/tls be added by the contributor of /dev/tcp?

The s_client approach is
> definitely simpler.
>
> --
> Seth David Schoen <schoen@loyalty.org>      |  Qué empresa fácil no pensar
>      http://www.loyalty.org/~schoen/        |  en un tigre, reflexioné.
>                                             |        -- Borges, "El Zahir"
>
-- 
Regards,
Peng


reply via email to

[Prev in Thread] Current Thread [Next in Thread]