summaryrefslogtreecommitdiff
path: root/usr.bin/nc
AgeCommit message (Expand)Author
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2021-03-31one of the examples needs an -N (and explanation);Jason McIntyre
2020-02-12Standardize argument naming for "sourceaddr" and unify the wording a bit,Ingo Schwarze
2020-01-26revert previous nc loop refactor from 1.211, breaks bluhm's stuffBob Beck
2020-01-07If the client provides a TLS certificate and the user specifies aAlexander Bluhm
2020-01-06The unveil(2) for nc -U -u -l was wrong. The server cannot unveilAlexander Bluhm
2020-01-06When using UNIX domain sockets, always call report_sock() with theAlexander Bluhm
2019-11-17fail to usage if extra argv are presentTheo de Raadt
2019-11-13refactor the nc pool loop to not shut down the socket early, andBob Beck
2019-11-04Fix an out of bound read/write when using a proxy.Todd C. Miller
2019-10-24Service names are still resolved with -nkn
2019-10-24Print IP address in verbose modejob
2019-10-23Revert previous, which works for -N case but causes regress failuresBob Beck
2019-10-17Fix -N flag to actually shut down the (entire) socket when the inputBob Beck
2019-08-08added /* no filesystem visibility */ above unveil("/", "") since "" is too easyRicardo Mestre
2019-07-29Make proxy auth work with http 1.1 speaking webservers.Sebastian Benoit
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