summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-31Document SSL_use_certificate_chain_file(3)Theo Buehler
ok bcook inoguchi jsing
2021-03-31Expose SSL_use_certificate_chain_file(3)Theo Buehler
ok bcook inoguchi jsing
2021-03-31Provide missing prototype for d2i_DSAPrivateKey_fp(3)Theo Buehler
ok bcook inoguchi jsing
2021-03-31Document EVP_PKEY_new_CMAC_key(3)Theo Buehler
ok bcook inoguchi jsing
2021-03-31Provide EVP_PKEY_new_CMAC_key(3)Theo Buehler
ok bcook inoguchi jsing
2021-03-31Set the process title for the rpki-client subprocesses so they can beClaudio Jeker
identified more easily. OK deraadt@
2021-03-31Fix some debug output when running in foreground.Kenneth R Westerback
Call tick_msg() at startup so it knows if the link is up. Don't emit 'link timeout expired' messages after the link has been up.
2021-03-31Make ddb's dependency on libz explicit.Visa Hankala
OK deraadt@ mpi@
2021-03-31syncStuart Henderson
2021-03-31Remove redundant "HUAWEI Mobile" in usbdevs strings, mention radioStuart Henderson
technology where known. ok deraadt
2021-03-31Introduce UAO_USES_SWHASH() and use tabs instead of spaces in #defines.Martin Pieuchot
No functionnal change, reduce the difference with NetBSD. ok jmatthew@
2021-03-31Do not exit if cannot write to normal log file, GitHub issue 2630.Nicholas Marriott
2021-03-31document trusted_snapshotMarc Espie
2021-03-30fix typos in commentsStuart Henderson
2021-03-30In HTML output, correctly render .Bd -unfilled in proportionally-spacedIngo Schwarze
font, rather than with the monospace font appropriate for .Bd -literal. This fixes a minibug reported by anton@. Implemented by no longer relying on the typical browser default of "pre { font-family: monospace }" but instead letting <pre> elements inherit the font family from their parent, then adding an explicit CSS .Li class only for those displays where the manual page author requested it by using the -literal option on the .Bd macro.
2021-03-30Handle systems, such as the Dell Precision 3640, that accessMark Kettenis
GenericSerialBus operating regions witout checking whether they're really available. This needs to work on RAMDISK kernels as well. Since we don't want to pull in the i2c subsystem on those, provide a separate and much simpler dummy implementation of the GenericSerialBus access code when SMALL_KERNEL is defined. ok tb@
2021-03-30Register the PCI variant of dwiic(4) with acpi(4).Mark Kettenis
ok tb@
2021-03-30Make http_new() take care of all the error handling. By closing theClaudio Jeker
outfd and sending back the failure report via http_fail(). This was partially done in the failure case of http_resolv() and resulted in double failure reports in that case. With and OK tb@, previous version OK deraadt@
2021-03-30Some cards announce support for the NTB16 format, but that support does notPatrick Wildt
work. Hence, add support for NTB32 in the transmit path. We already have support for NTB32 in the receive path. We detect the supported format on boot and can then decide on transmit which format to use. From ehrhardt@ with gerhard@ Tested by jan@ ok sthen@
2021-03-30Some umb(4) devices require the NDP pointer behind the NDP datagram.Patrick Wildt
From gerhard@ "broadly OK" sthen@
2021-03-30[ICMP] IP options lead to malformed replyAlexandr Nedvedicky
icmp_send() must update IP header length if IP optaions are appended. Such packet also has to be dispatched with IP_RAWOUTPUT flags. Bug reported and fix co-designed by Dominik Schreilechner _at_ siemens _dot_ com OK bluhm@
2021-03-30Move tx/rx descriptors into their own structs.Kevin Lo
This is a first step toward making rge work with multiple queues and interrupts. Only one queue is currently used. While here, update the RTL8125B microcode. ok jmatthew@
2021-03-29Propagate host-side tap(4) lladdr to guest vm process to allow unicast dhcpdv
and bootp renewals with vmd(8)'s built-in dhcp server. Previous behavior ignored did not intercept these packets and instead transmitted them. This should make vmd(8)'s dhcp behave more as a true dhcp server should and allows it to work properly with the new dhcpleased(8) attempting a renewal. OK mlarkin@
2021-03-29Install apm(8) and and apmd(8) under MI MANPATHkn
powerpc64 was lacking manual pages; instead of shipping yet another identical MD manual, merge them under MI MANPATH as usual. Input OK deraadt
2021-03-29whitespace nitsTheo Buehler
2021-03-29Prepare documenting EVP_PKEY_new_CMAC_key(3)Theo Buehler
Based on some text in OpenSSL 1.1.1's EVP_PKEY_new.pod.
2021-03-29Turns out the PCIe DARTs support a full 32-bit device virtual address space.Mark Kettenis
Adjust the region managed by the extend accordingly but avoid the first and last page. The last page collides with the MSI address used by the PCIe controller and not using the first page helps finding bugs. ok patrick@
2021-03-29Remove pointless assignment in SSL_get0_alpn_selected().Joel Sing
ok tb@
2021-03-29Avoid transcript initialisation when sending a TLS HelloRequest.Joel Sing
When server side renegotiation is triggered, the TLSv1.2 state machine sends a HelloRequest before going to ST_SW_FLUSH and ST_OK. In this case we do not need the transcript and currently hit the sanity check in ST_OK that ensures the transcript has been freed, breaking server initiated renegotiation. We do however need the transcript in the DTLS case. ok tb@
2021-03-29Move finished and peer finished to the handshake struct.Joel Sing
This moves the finish_md and peer_finish_md from the 'tmp' struct to the handshake struct, renaming to finished and peer_finished in the process. This also allows the remaining S3I(s) references to be removed from the TLSv1.3 client and server. ok inoguchi@ tb@
2021-03-29Add regress coverage for TLSv1.2 record number increment.Joel Sing
2021-03-29Move the TLSv1.2 record number increment into the new record layer.Joel Sing
This adds checks (based on the TLSv1.3 implementation) to ensure that the TLS/DTLS sequence numbers do not wrap, as required by the respective RFCs. ok inoguchi@ tb@
2021-03-29Prepare to provide EVP_PKEY_new_CMAC_key()Theo Buehler
sebastia ran into this when attempting to update security/hcxtools. This will be tested via wycheproof.go once the symbol is public. ok jsing, tested by sebastia
2021-03-29Add a pretty_key_id() which reinserts colons into the hex string.Claudio Jeker
This way the AKI and SKI printed in the tests tools look the same as before. Requested by job@, OK job@ tb@
2021-03-29Fix my email address in copyright lineClaudio Jeker
2021-03-29-B option not updated about bird1v4 & bird1v6 files; ok jobTheo de Raadt
2021-03-29combine umb_products and umb_fccauth_devs into one umb_quirks tableStuart Henderson
ok gerhard@
2021-03-29Cleanly teardown and restore emulated device state on vm send/receive.dv
This cleans up events on a pause or resume, but also fixes an issue where the vm_pipe event channels are not properly reinitialized on a received guest leading to broken serial console. OK pd@, mlarkin@
2021-03-29Introduce hex_encode() to transform the aki/ski values to a string.Claudio Jeker
OK tb@
2021-03-29Fix IA32_EPT_VPID_CAP_XO_TRANSLATIONS specificationdv
Per Intel SDM (Vol 3D, App. A.10) bit 0 should be read as a 1 if enabled. From Adam Steen. ok mlarkin@
2021-03-29Inline x509_get_extensions() and remove itTheo Buehler
Since aia, aki and ski are all represented by char *, this is an error-prone interface - as found by job. The function doesn't do much anyway. ok claudio
2021-03-29Pull up freeing cms in gbr_parse() after its last use to avoid a leakTheo Buehler
on x509_get_extensions() failure. Fix suggested by claudio
2021-03-29Check all inet_ntop() calls, in case we screw up the parameters somehow weTheo de Raadt
prefer a failure rather than some sort of weird truncation ok claudio
2021-03-29sort includesTheo Buehler
2021-03-29Remove accidental but justified annotationTheo Buehler
2021-03-29spellingsYASUOKA Masahiko
suggested by jsg
2021-03-29minor KNF and consistancyTheo de Raadt
(rpki-client is pretty good code, couple hours of audit and I can only find a few minor things)
2021-03-29improve the naming of some intermediate buffersTheo de Raadt
2021-03-293 additional snprintf() range checks (inconceivable these would everTheo de Raadt
truncate, but if they do, we prefer to know) ok job claudio
2021-03-29in unsafe_char(), handle %NN with array-index inspection rather than weirdTheo de Raadt
ptr++ ok claudio