mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 19:39:07 +00:00
Add DTLS and ALPN support to Ncat. Closes #446
This commit is contained in:
@@ -248,6 +248,13 @@ void nsock_pool_set_device(nsock_pool nsp, const char *device);
|
||||
#define NSOCK_SSL_MAX_SPEED (1 << 0)
|
||||
nsock_ssl_ctx nsock_pool_ssl_init(nsock_pool ms_pool, int flags);
|
||||
|
||||
/* Initializes an Nsock pool to create a DTLS connect. This sets and internal
|
||||
* SSL_CTX, which is like a template that sets options for all connections that
|
||||
* are made from it. Returns the SSL_CTX so tyou can set your own options.
|
||||
*
|
||||
* Functionally similar to nsock_pool_ssl_init, just for the DTLS */
|
||||
nsock_ssl_ctx nsock_pool_dtls_init(nsock_pool ms_pool, int flags);
|
||||
|
||||
/* Enforce use of a given IO engine.
|
||||
* The engine parameter is a zero-terminated string that will be
|
||||
* strup()'ed by the library. No validity check is performed by this function,
|
||||
|
||||
Reference in New Issue
Block a user