Age | Commit message (Collapse) | Author |
|
supported, and it looks like other emulators/hypervisors do a variety of
different things here. Most return 0, but at least one might return random
garbage. Returning 0 seems safest here, but leave a warning in place for
the logs in case a guest VM does this.
|
|
Previously we were computing the MAC, decrypting the packet and then
checking the MAC. This gave rise to the possibility of creating a
side-channel oracle in the decryption step, though no such oracle has
been identified.
This adds a mac_check() function that computes and checks the MAC in
one pass, and uses it to advance MAC checking for EtM algorithms to
before payload decryption.
Reported by Jean Paul Degabriele, Kenny Paterson, Torben Hansen and
Martin Albrecht. feedback and ok markus@
|
|
The man page already contains the definition of the new neighbor-addr and
neighbor-id, but the examples were outdated. Now we may have an LSR-ID that
is different from its address.
ok renato@
|
|
This fixes a bug where XSLoader could try to load from a subdir
of the cwd when called via eval. OK afresh1@
|
|
|
|
|
|
|
|
|
|
|
|
from Kinichiro Inoguchi
|
|
ok beck@
|
|
it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting
pledge(2) silenciously remove them.
ok beck@ deraadt@
|
|
it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting
pledge(2) silenciously remove them.
ok nicm@ beck@ deraadt@
|
|
|
|
|
|
Adapt ktrace count in syslogd test.
|
|
with a little help from jmc@ for the man page bits
ok jca@ and a reluctant tedu@
|
|
traditional tabs-deliminated fields. This is consistent with what
FreeBSD, NetBSD and Linux do. Adapted from FreeBSD.
|
|
OK beck@ tedu@
|
|
at least one matching cipher suite.
ok doug@
|
|
Various tweaks and fixes:
- nuke util.h, not needed since pidfile(3) went away
- nuke the rrt_same member of struct riprt, "future use" since import
- mark rtdexit as __dead
- nuke progname handling
- fix pid handling: cache the pid *after* calling daemon(3)
- nuke setting rtm_pid. The kernel is responsible for setting this
in routing messages.
- nuke the useless myseq variable
ok florian@ benno@ millert@ deraadt@ renato@
|
|
pledge to match. Also use tls_config_error() to provide friendlier error
messages.
|
|
function is called. This simplifies code and results in a single memory
based code path being used to provide data to libssl. Errors that occur
when accessing the specified file are now detected and propagated
immediately. Since the file access now occurs when the configuration
function is called, we now play nicely with privsep/pledge.
ok beck@ bluhm@ doug@
|
|
it's not enough to assign to an unsigned type because if the arithmetic
overflows the compiler may decide to do anything. so change all the
long long casts to uint64_t so that we start with the right type.
reported by Tim Newsham of NCC.
ok deraadt
|
|
This function will help splitting the IPv6 input path in two, in
order to run the first part without KERNEL_LOCK() held.
Tested by Hrvoje Popovski, ok bluhm@
|
|
|
|
|
|
bug catching and ok millert@
|
|
Reported by Vasily Kolobkov, based on a diff from Marko Kreen.
ok beck@
|
|
from Sevan Janiyan <venture37 at geeklan dot co dot uk>.
|
|
ok mpi@
|
|
|
|
|
|
|
|
Stop using select to avoid the weird workarounds for fd_set size.
Also replace calloc with reallocarray. Prompted by a mail by Miod,
cluebat from guenther@.
ok millert@, prodding deraadt@
|
|
|
|
ok kettenis@ deraadt@ jasper@
|
|
|
|
ok kettenis@ deraadt@ jasper@
|
|
ok kettenis@ deraadt@ jasper@
|
|
|
|
|
|
|
|
addresses set on p2p interfaces.
Found the hardway by naddy@
|
|
different uninitialised one.
ok martijn@
|
|
|
|
|
|
BN_mod_word() can return incorrect results if the supplied modulus is
too big, so we need to fall back to BN_div_word.
Now that BN_mod_word may fail, handle errors properly update the man page.
Thanks to Brian Smith for pointing out these fixes from BoringSSL:
https://boringssl.googlesource.com/boringssl/+/67cb49d045f04973ddba0f92fe8a8ad483c7da89
https://boringssl.googlesource.com/boringssl/+/44bedc348d9491e63c7ed1438db100a4b8a830be
ok beck@
|
|
problem noted by Andrew Ngo (andrew.ngo (at) gmail.com)
|
|
|