help-bash
[Top][All Lists]
Advanced

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

Re: /dev/tcp and ssl


From: Seth David Schoen
Subject: Re: /dev/tcp and ssl
Date: Tue, 30 Mar 2021 17:05:31 -0700

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.  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"



reply via email to

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