| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Otherwise a TLS error (for example the remote end sent a fatal alert) is
silently ignored.
ok bluhm@ tb@
|
|
|
|
|
|
|
| |
Use memset(3) instead of bzero(3) since POSIX recommends using the former and
because it's also more portable (conforms to ANSI C standard)
OK tedu@ tb@
|
|
|
|
|
|
| |
bzero is defined in strings.h.
ok deraadt@
|
| |
|
|
|
|
|
|
| |
specify that ranges must be numeric, and only check for range if
first argument is a digit.
identified by danj, fix suggest by sthen
|
|
|
|
| |
bonus: this exposed a few missing const qualifiers.
|
|
|
|
|
|
| |
call has finished. This allows to write race free scripts as they
can check that the server is up and running.
OK sthen@ tb@
|
|
|
|
| |
ok beck@ bluhm@ tb@
|
|
|
|
|
|
| |
handy if you type the path wrong or don't have permission...
ok deraadt@
|
|
|
|
|
| |
tls_free(3) directly after close(2) to catch all cases.
based on a patch from Nan Xiao; OK tb@ deraadt@
|
|
|
|
| |
from nan xiao
|
|
|
|
|
| |
consistent to remote_connect() and getaddrinfo(3).
from Nan Xiao
|
|
|
|
| |
from Nan Xiao; OK tb@
|
| |
|
|
|
|
|
|
|
| |
more precisely which options require which other options, add many
missing incompatibilities, mention the default for -e, and some
macro cleanup.
OK jmc@ tb@
|
|
|
|
|
| |
different unveils. Joint work with beck and florian.
Let us know if you hit any corner cases.
|
|
|
|
|
| |
in preparation for pledgepath
ok deraadt@
|
|
|
|
| |
ok tobias
|
|
|
|
| |
ok bcook@ beck@ inoguchi@
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the "tlscompat" and "tlsall" options with "cipher" and "protocol"
options that are key/value pairs. This allows the user to specify ciphers
and protocols in a form that are accepted by tls_config_set_ciphers() and
tls_config_set_protocols() respectively.
ok beck@
(also ok jmc@ for a previous revision of the man page).
|
|
|
|
|
|
| |
is discarded anyway, the plen variable is a leftover from the -j
jumbo option.
reported by Nan Xiao; OK deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
protocols and "compat" ciphers. This allows for TLS connections to TLS
servers that are using less than ideal cipher suites, without having to
resort to "-T tlsall" which enables all known cipher suites.
Diff from Kyle J. McKay <mackyle at gmail dot com>
ok beck@
|
|
|
|
|
|
| |
a blank space somewhere else.
suggested by and ok jsing
|
|
|
|
|
|
|
| |
omitting parentheses in return statements. Binary change because of
return instead of exit(3) from main and because help() is now __dead.
ok awolk
|
|
|
|
|
|
|
|
|
|
|
|
| |
first pledge promises, so nc exited with EPERM. To fix this, merge the
pledge of the Pflag && usetls case into the first pledge block. This
allows us to get rid of the second pledge block and thus to simplify the
logic a bit. While there, add a missing blank to an error string.
Joint effort by the #openbsd-daily code reading group, problem found and
initial patch by <rain1 openmailbox org>.
ok awolk
|
|
|
|
| |
OK florian@
|
|
|
|
|
|
| |
number of packets. This allows to send a UDP request, receive a
reply and check the result on the command line.
input jmc@; OK millert@
|
| |
|
|
|
|
| |
- add -Z to help and usage()
|
|
|
|
|
| |
with -Z
ok jsing@
|
|
|
|
|
|
| |
the handshake after accept had failed. Use the context of the
accepted TLS connection.
OK beck@
|
|
|
|
|
|
| |
the unix connect is successful, let nc -z close the socket and exit
with 0.
OK jca@
|
| |
|
|
|
|
| |
Should make debugging easier, especially when using -x literal_ipv6_address
|
|
|
|
|
| |
wrapper that calls poll(2) and handles the -w timeout.
OK beck@
|
|
|
|
|
| |
there is already a close(2), so do not do it in readwrite().
OK beck@
|
|
|
|
|
|
| |
loop. Use an additional poll(2) during the handshake and also
respect the -w timeout option there.
From Shuo Chen; OK beck@
|
|
|
|
| |
ok beck@
|
|
|
|
| |
from holger mikolon, plus one more in nc;
|
|
|
|
|
|
| |
and bail out in case of failure
Feedback and OK jsing@
|
| |
|
|
|
|
| |
ok jsing@
|
| |
|
|
|
|
| |
Add support for server side OCSP stapling to netcat.
|
| |
|
|
|
|
|
|
| |
to indicate that it requires the peer to provide a stapled OCSP response
with the handshake. Provide a "-T muststaple" for nc that uses it.
ok jsing@, guenther@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Provide access to certificate OCSP URL
- Provide ability to check a raw OCSP reply against an
established TLS ctx
- Check and validate OCSP stapling info in the TLS handshake
if a stapled OCSP response is provided.`
Add example code to show OCSP URL and stapled info
into netcat.
ok jsing@
|