summaryrefslogtreecommitdiff
path: root/usr.bin/nc
AgeCommit message (Expand)Author
2024-08-05Remove bogus connect(s, NULL, 0) callTheo Buehler
2024-08-02nc(1): remove useless function pointer dereferencingJan Klemkow
2024-04-01Mention that port can be specified as 0 in some situations, so that theTheo de Raadt
2023-08-14netcat: avoid issuing syscalls on fd -1Theo Buehler
2023-01-04ugly white spaceTheo de Raadt
2022-12-18nc: skip connection info on failed or skipped udptest()Theo Buehler
2022-12-18nc: do not test the connection in non-interactive modeTheo Buehler
2022-12-18nc: clean up and simplify connection_infO()Theo Buehler
2022-12-18nc: pass protocol name to connection_info()Theo Buehler
2022-12-18nc: factor printing of connection info into a functionTheo Buehler
2022-09-11Replace archaic \*(Lt and \*(Gt by plain < and >, respectively,Ingo Schwarze
2022-06-08do not refuse valid IPv6 addresses in -X connect (HTTP CONNECT proxy)Damien Miller
2022-06-08KNF, mostly whitespace - no binary change on amd64Theo Buehler
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