summaryrefslogtreecommitdiff
path: root/usr.bin/nc
AgeCommit message (Expand)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.Theo de Raadt
2019-02-26Correctly handle tls_read() and tls_write() failures.Joel Sing
2019-01-10Revert back previous commit and stop including strings.hRicardo Mestre
2019-01-09Include strings.h for bzero in usr.bin/ncKinichiro Inoguchi
2018-12-27too many words in previous;Jason McIntyre
2018-12-27port ranges can be ambiguous with hypenated port-names.Ted Unangst
2018-11-29update for libtls default cert changes.Ted Unangst
2018-11-09In verbose mode netcat reports to stderr when the listen systemAlexander Bluhm
2018-11-06Use TLS_CA_CERT_FILE instead of a separate define.Joel Sing
2018-10-26show what went wrong with a unix domain socket, rather than fail silentlyDavid Gwynne
2018-10-04Plug TLS context leak in nc(1) server and client mode. MoveAlexander Bluhm
2018-09-25-T applies to ip6 too, apparently;Jason McIntyre
2018-09-07Declare strings passed to local_listen() as const. This makes itAlexander Bluhm
2018-09-06Do not close the socket twice in netcat.Alexander Bluhm
2018-08-17spelling;Jason McIntyre
2018-08-17Make the wording more concise, use the imperative throughout, stateIngo Schwarze
2018-08-10In typical swiss-army style, various modes and options causeTheo de Raadt
2018-04-27trailing whitespace, and move arg checking before pledgeBob Beck
2018-03-27Clear password buffers in non-terminating casesTheo de Raadt
2018-03-19Remove the tls_init() call, since it is no longer necessary.Joel Sing
2017-11-28Allow TLS ciphers and protocols to be specified for nc(1).Joel Sing
2017-10-24Use a smaller buffer size too peek the receive data. The contentAlexander Bluhm
2017-07-15grammar was ass backwards;Jason McIntyre
2017-07-15Add a "-T tlscompat" option to nc(1), which enables the use of all TLSJoel Sing
2017-06-11Continue the flattening of the pledge logic started in r1.184 and placeTheo Buehler
2017-06-11Simple style(9) fixes from Juuso Lapinlampi, mostly whitespace andTheo Buehler
2017-06-10If -P and -c were given, a second pledge call tried to add "rpath" to theTheo Buehler
2017-05-26Fix gcc warnings triggered by WARNINGS=yes.Alexander Bluhm
2017-05-10Implement nc -W recvlimit to terminate netcat after receiving aAlexander Bluhm
2017-04-16Move comments into a block and uses {} to unconfuse reading.Theo de Raadt
2017-04-05- -Z before -z in options listJason McIntyre
2017-04-05Allow nc to save the peer certificate and chain in a pem file specifiedBob Beck
2017-03-09The netcat server did not print the correct TLS error message ifAlexander Bluhm
2017-02-09When netcat was started with -Uz, the exit status was always 1. IfAlexander Bluhm
2017-02-09Document that -x can take an ipv6 address enclosed in square brackets.Jeremie Courreges-Anglas
2017-02-09When getaddrinfo fails, print the requested host and port.Jeremie Courreges-Anglas
2017-02-08Avoid a busy loop in netcat's tls_close(). Reuse the tls_handshake()Alexander Bluhm
2017-02-08Avoid double close(2) in netcat. After every call to readwrite()Alexander Bluhm
2017-02-08Due to non-blocking sockets, tls_handshake() could wait in a busyAlexander Bluhm
2017-02-05Support IPv6 proxy addressesJeremie Courreges-Anglas
2017-01-26oscp -> ocsp;Jason McIntyre
2016-11-30Check return value of tls_config_set_protocols(3) and tls_config_set_ciphers(3)Ricardo Mestre
2016-11-06tweak previous;Jason McIntyre
2016-11-06rename tlslegacy to tlsall, and better describe what it does.Bob Beck
2016-11-05zap trailing whitespace, and add -o to usage() and help (-h);Jason McIntyre
2016-11-05Add support for server side OCSP stapling to libtls.Bob Beck
2016-11-04new sentence, new line, and zap trailing whitespace;Jason McIntyre
2016-11-04Add ocsp_require_stapling config option for tls - allows a connectionBob Beck