version 1.62, 2023/07/03 08:03:56 |
version 1.63, 2023/12/29 12:06:48 |
|
|
char *npn_in; |
char *npn_in; |
unsigned int off; |
unsigned int off; |
char *passarg; |
char *passarg; |
int pause; |
|
int peekaboo; |
int peekaboo; |
char *port; |
char *port; |
int prexit; |
int prexit; |
|
|
}, |
}, |
{ |
{ |
.name = "pause", |
.name = "pause", |
.desc = "Pause 1 second between each read and write call", |
.type = OPTION_DISCARD, |
.type = OPTION_FLAG, |
|
.opt.flag = &cfg.pause, |
|
}, |
}, |
{ |
{ |
.name = "peekaboo", |
.name = "peekaboo", |
|
|
" [-keymatexport label] [-keymatexportlen len] [-legacy_server_connect]\n" |
" [-keymatexport label] [-keymatexportlen len] [-legacy_server_connect]\n" |
" [-msg] [-mtu mtu] [-nbio] [-nbio_test] [-no_comp] [-no_ign_eof]\n" |
" [-msg] [-mtu mtu] [-nbio] [-nbio_test] [-no_comp] [-no_ign_eof]\n" |
" [-no_legacy_server_connect] [-no_ticket] \n" |
" [-no_legacy_server_connect] [-no_ticket] \n" |
" [-no_tls1_2] [-no_tls1_3] [-pass arg] [-pause] [-policy_check]\n" |
" [-no_tls1_2] [-no_tls1_3] [-pass arg] [-policy_check]\n" |
" [-port port] [-prexit] [-proxy host:port] [-quiet] [-reconnect]\n" |
" [-port port] [-prexit] [-proxy host:port] [-quiet] [-reconnect]\n" |
" [-servername name] [-serverpref] [-sess_in file] [-sess_out file]\n" |
" [-servername name] [-serverpref] [-sess_in file] [-sess_out file]\n" |
" [-showcerts] [-starttls protocol] [-state] [-status] [-timeout]\n" |
" [-showcerts] [-starttls protocol] [-state] [-status] [-timeout]\n" |
|
|
goto end; |
goto end; |
} |
} |
} |
} |
if (cfg.pause & 0x01) |
|
SSL_set_debug(con, 1); |
|
|
|
if (SSL_is_dtls(con)) { |
if (SSL_is_dtls(con)) { |
sbio = BIO_new_dgram(s, BIO_NOCLOSE); |
sbio = BIO_new_dgram(s, BIO_NOCLOSE); |