djm [Mon, 4 Sep 2023 00:01:46 +0000 (00:01 +0000)]
make channel_output_poll() return a flag indicating whether channel
data was enqueued. Will be used to improve keystroke timing
obfuscation. Problem spotted by / tested by naddy@
djm [Sun, 3 Sep 2023 23:59:32 +0000 (23:59 +0000)]
set interactive mode for ControlPersist sessions if they originally
requested a tty; enables keystroke timing obfuscation for most
ControlPersist sessions. Spotted by naddy@
bluhm [Sun, 3 Sep 2023 22:01:00 +0000 (22:01 +0000)]
Allow UDP for built-in inetd(8) services on 127.0.0.1.
This restriction was added in year 2000 due to IPv6 compatible and
mapped addresses. Nowadays our kernel does not support these IPv6
features and blocks localhost addresses on non-loopback interfaces.
Make IPv4 127.0.0.1/8 and IPv6 ::1 behave identically and provide
local services if configured.
OK mvs@ deraadt@
bluhm [Sun, 3 Sep 2023 21:46:52 +0000 (21:46 +0000)]
sync perl syscall emulator header
bluhm [Sun, 3 Sep 2023 21:37:17 +0000 (21:37 +0000)]
Avoid a useless increment and decrement of the tcp syn cache refcount
by unexpanding the SYN_CACHE_TIMER_ARM() macro in the timer callback.
OK mvs@
stsp [Sun, 3 Sep 2023 20:19:13 +0000 (20:19 +0000)]
Document rdomain-related behaviour of dhcpd(8).
ok jmc
espie [Sun, 3 Sep 2023 12:24:16 +0000 (12:24 +0000)]
if UNLOCK_CMD is a user settings, so is LOCK_CMD !
espie [Sun, 3 Sep 2023 12:22:21 +0000 (12:22 +0000)]
gc ancient stuff
point people to pkg_create wrt FULLPKGNAME
job [Sun, 3 Sep 2023 10:48:50 +0000 (10:48 +0000)]
Shuffle the order in which Manifest entries are processed
Previously work items were enqueued in the order the CA intended them
to appear on a Manifest. However, there is no obvious benefit to letting
third parties decide the order in which things are processed.
Instead, randomize: ordering has no meaning anyway, and the number of
concurrent repository synchronization operations is limited & timeboxed.
As they say, a fox is not taken twice in the same snare
OK tb@
mpi [Sun, 3 Sep 2023 10:26:35 +0000 (10:26 +0000)]
Let builtin process names be stored in maps as string.
ok dv@
nicm [Sun, 3 Sep 2023 10:22:03 +0000 (10:22 +0000)]
Use EVBUFFER_DATA instead of reaching into struct evbuffer. ok tb
nicm [Sun, 3 Sep 2023 10:18:18 +0000 (10:18 +0000)]
Use EVBUFFER_DATA instead of reaching into struct evbuffer. ok tb
mlarkin [Sun, 3 Sep 2023 09:30:43 +0000 (09:30 +0000)]
vmm(4): Suppress AMD HwPstate visibility to guests
On newer Ryzen/EPYC, we need to hide the HwPstate CPUID
80000007:EDX
field for HwPstate, or guests will try to access the MSRs associated
with those, and that will fail with #GP.
ok deraadt
afresh1 [Sun, 3 Sep 2023 01:43:09 +0000 (01:43 +0000)]
Replace perl's use of syscall(2) with a dispatcher to libc
This removes the ability to do direct syscalls from perl, instead calling
the appropriate libc functions.
Currently we generate the dispatcher via a perl script duing build.
requested by deraadt@
nits from espie@
education from miod@
infrastructure fixes from sthen@
many improvements and ok gkoehler@
Please commit soon. OK bluhm@
bluhm [Sun, 3 Sep 2023 00:48:54 +0000 (00:48 +0000)]
Zero initialize Perl AV elements after unshift and resize.
https://github.com/Perl/perl5/issues/21235
https://github.com/Perl/perl5/pull/21265
https://github.com/Perl/perl5/commit/
9e298ab597b2c6fc0741749d7e29119e2d6cd628
Bug reported by Anton Borowka. Fix from upstream Perl. OK afresh1@
jca [Sun, 3 Sep 2023 00:23:25 +0000 (00:23 +0000)]
Adapt tlb flush calls following arm64/pmap.c
1. in pmap_enter() no need to call tlb_flush_page() if we don't actually
insert a pted
2. all callers of pmap_pte_remove() already call tlb_flush_page()
This seems to result in some performance improvement (18mn -> 17mn15)
while building libc on a Hifive Unmatched). Also zap whitespace and
useless comments to further reduce the diff with arm64/pmap.c
ok kettenis@
jca [Sun, 3 Sep 2023 00:15:46 +0000 (00:15 +0000)]
Inline PTED_* functions and actually use PTED_WIRED()
As noted by drahn@ the compiler did inline said functions, but it also
provided them as unused symbols.
ok miod@ mlarkin@ kettenis@
jca [Sun, 3 Sep 2023 00:03:30 +0000 (00:03 +0000)]
pmap_page_protect() should not unmap pages after making them readonly.
This brings riscv64/pmap.c in line with arm64/pmap.c, original fix by
drahn@
ok miod@ kettenis@ mlarkin@
nicm [Sat, 2 Sep 2023 20:03:10 +0000 (20:03 +0000)]
Request terminal colours again on SIGWINCH but at most once every 30
seconds, GitHub issue 3582.
dv [Sat, 2 Sep 2023 19:28:46 +0000 (19:28 +0000)]
btrace(8): allow empty statements in probes.
Allows for probes like `BEGIN {}`, in parity with bpftrace.
Also fixes an incorrect syntax error parsing argN builtins in
subsequent probes after an empty BEGIN block.
ok mpi@
tobhe [Sat, 2 Sep 2023 18:36:30 +0000 (18:36 +0000)]
Make sure cert_type is not 0 to prevent leak of certid->id_buf.
Found by David Linder
ok patrick@
tobhe [Sat, 2 Sep 2023 18:16:02 +0000 (18:16 +0000)]
Remove unneccessary id == NULL check after dereferencing it. id can never
be NULL here.
Found by tb@
espie [Sat, 2 Sep 2023 17:19:57 +0000 (17:19 +0000)]
document ALL_DISTFILES and ALL_PATCHFILES
dv [Sat, 2 Sep 2023 15:16:12 +0000 (15:16 +0000)]
btrace(8): fix probe builtin in BEGIN/END.
Resolves segfaults when using probe within BEGIN or END.
ok mpi@
kn [Sat, 2 Sep 2023 10:18:45 +0000 (10:18 +0000)]
Fix comment about skipped interfaces
After r1.44 "Start on DOWN interfaces" this sentence makes no sense
and just repeats the obvious conditions, so zap it.
With/OK stsp
nicm [Sat, 2 Sep 2023 09:17:23 +0000 (09:17 +0000)]
Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub
issue 3627.
kn [Sat, 2 Sep 2023 09:14:47 +0000 (09:14 +0000)]
Use a hardware based number of KDF rounds by default for passphrases
When creating new crypto volumes with a passphrase or updating one, pick a
number of rounds that aims to take around 1s instead of just 16 (on X230 and
T14 machines, 16 rounds unlock pretty much instantly).
New default [-r auto] never decreases rounds, only explicit '-r N' can.
16 is the absolute minimum.
Motivation is to provide a saner and more modern default, especially for
fresh installations utilizing new disk encryption question.
Prodding for new default from and OK jsing on early "-r auto" installer diff
idea to to pick MAX(auto, old-rounds) from Lucas[AT sexy DOT is]
"seems acceptable to me" deraadt
Feedback kettenis sthen
OK op
stsp [Sat, 2 Sep 2023 09:02:18 +0000 (09:02 +0000)]
Avoid trying to remove keys if the station is not active in iwm firmware.
Same fix as applied to iwx(4) in March. Since iwm(4) does not use a task
for key installation and removal the same race might not manifest here.
However, trying to delete a key while the station is not in firmware
is wrong in any case. And this code might get moved into a task later.
stsp [Sat, 2 Sep 2023 08:57:46 +0000 (08:57 +0000)]
Make iwm(4) not crash when aircrack-ng attempts to inject frames via
bpf in monitor mode.
Crash reported by brad and sthen.
I reproduced the issue to verify my fix but I did not check whether
aircrack-ng actually works with this.
nicm [Sat, 2 Sep 2023 08:38:37 +0000 (08:38 +0000)]
Set visited flag on last windows when linking session.
mpi [Sat, 2 Sep 2023 08:24:40 +0000 (08:24 +0000)]
Zap anon pages mappings in uvm_anon_release() instead of in the fault handler.
This makes all code paths deactivating or freeing anons consistent.
No objection from the usual suspects.
tb [Sat, 2 Sep 2023 04:55:18 +0000 (04:55 +0000)]
whitespace
tb [Sat, 2 Sep 2023 04:15:39 +0000 (04:15 +0000)]
Align EVP_PKEY_get1_RSA() with EVP_PKEY_get0_RSA()
kettenis [Fri, 1 Sep 2023 20:35:31 +0000 (20:35 +0000)]
Implement drive strength tweaking for the YT8531. Needed on the v1.3b
variant of the visionfive2 board.
ok jsing@
mvs [Fri, 1 Sep 2023 20:24:29 +0000 (20:24 +0000)]
Call rtm_send() with netlock held to protect dereference of sockaddr
structure data returned by rtable_getsource(). Netlock can't be pushed
within rtm_send() because we have paths where caller already holds it.
tested by jca
ok bluhm jca
dv [Fri, 1 Sep 2023 19:42:26 +0000 (19:42 +0000)]
vmd(8): ignore masks on asserts, use synchronous deasserts.
The i8259 was considering the state of the mask register when a
device requested raising the bit in the interrupt request register.
This caused a race condition where if the virtio device asserted
the irq while it was masked in the i8259 by the vm, we'd miss the
interrupt request. The device and the pic would become out of sync
and users reported virtio block device stalls as the vioblk(4)
driver would starve, waiting for an interrupt that will never arrive.
The mask is now considered only at ack time, when finding possible
interrupts to inject. This bug was never a problem previously as
virtio devices were emulated synchronously.
Deasserts related to the vcpu reading the virtio isr register are
also made now in response to the read request instead of issued
asynchronously. This removes a subsequent race condition.
Testing from mbuhl@, stsp@, and Florian Riehm.
ok mlarkin@
nicm [Fri, 1 Sep 2023 18:43:54 +0000 (18:43 +0000)]
Only compare the actual size of the UTF-8 character, not all of it.
schwarze [Fri, 1 Sep 2023 17:28:21 +0000 (17:28 +0000)]
Many improvements, almost amounting to a partial rewrite:
* more precision what the CIPHER_CTX functions do
* more precision what an NID is
* avoid talking about RC2, use AES-256 for an example instead
* clarify that block sizes are measured in bytes
* mention additional restrictions regarding valid block sizes
* add the missing description of the *_flags(3) functions
* mention the public mask constant EVP_CIPH_MODE
* add three missing modes that can occur as return values
* add the missing entries for *_flags(3) and *_mode(3) below RETURN VALUES
* tweak various wordings for precision and conciseness
tb [Fri, 1 Sep 2023 17:12:19 +0000 (17:12 +0000)]
Fix EVP_PKEY_get0_RSA() for RSA-PSS
It currently returns NULL. This is OpenSSL
4088b926 + De Morgan.
ok jsing
nicm [Fri, 1 Sep 2023 16:40:38 +0000 (16:40 +0000)]
Add missing -T to getopt string.
kettenis [Fri, 1 Sep 2023 16:13:56 +0000 (16:13 +0000)]
Update with pin definitions from Linux 6.4.
ok patrick@
nicm [Fri, 1 Sep 2023 16:01:54 +0000 (16:01 +0000)]
Clear combine flag when a non-UTF-8 set of characters is encountered.
nicm [Fri, 1 Sep 2023 14:29:11 +0000 (14:29 +0000)]
Rewrite combined character handling to be more consistent and to support
newer Unicode combined characters (which we have to "know" are combined
since they are not width zero). GitHub issue 3600.
nicm [Fri, 1 Sep 2023 14:24:46 +0000 (14:24 +0000)]
Expand name before looking for window with -S, GitHub issue 3670.
nicm [Fri, 1 Sep 2023 13:48:54 +0000 (13:48 +0000)]
Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt.
schwarze [Fri, 1 Sep 2023 12:13:13 +0000 (12:13 +0000)]
fix an obvious typo in the OBJ_NAME_add(3) prototype
afresh1 [Thu, 31 Aug 2023 21:29:53 +0000 (21:29 +0000)]
Add spaces for failure status
cheloha [Thu, 31 Aug 2023 19:29:51 +0000 (19:29 +0000)]
sched_cpu_init: remove unnecessary NULL-checks for clockintr pointers
sched_cpu_init() is only run once per cpu_info struct, so we don't
need these NULL-checks.
The NULL-checks are a vestige of clockintr_cpu_init(), which runs more
than once per CPU and uses the checks to avoid leaking clockintr handles.
Thread: https://marc.info/?l=openbsd-tech&m=
169349579804340&w=2
ok claudio@
afresh1 [Thu, 31 Aug 2023 19:00:00 +0000 (19:00 +0000)]
Exit fw_update(8) lock_db subprocess when parent exits
If fw_update exits unexpectedly the package database would never unlock.
select solution from millert@
afresh1 [Thu, 31 Aug 2023 18:19:21 +0000 (18:19 +0000)]
Improve feedback from fw_update(8)
Show status as we go with spinner rather than printing only at the end.
Suggestions from deraadt@
Most of this has been in snapshots for a while
tb [Thu, 31 Aug 2023 17:46:31 +0000 (17:46 +0000)]
sync
schwarze [Thu, 31 Aug 2023 17:27:41 +0000 (17:27 +0000)]
Split three new manual pages EVP_CIPHER_nid(3), EVP_CIPHER_CTX_ctrl(3),
and EVP_CIPHER_CTX_set_flags(3) out of the excessively large and
unwieldy EVP_EncryptInit(3). This causes a number of inaccuracies
and gaps to stand out, but i'm not mixing text changes or content
additions into this split.
Using very useful feedback from tb@ regarding what belongs together
and how important the various functions are. I refrained from bothering
him with the complete patch, but he likes the general direction.
espie [Thu, 31 Aug 2023 06:53:28 +0000 (06:53 +0000)]
reuse the code to exec command for VAR != cmd *and* normal target processing
okay tb@
jsg [Thu, 31 Aug 2023 04:43:23 +0000 (04:43 +0000)]
drm/display/dp: Fix the DP DSC Receiver cap size
From Ankit Nautiyal
3bc9b0364a8c64d1bb1757b620ea3b9104e8054b in linux-6.1.y/6.1.50
5ad1ab30ac0809d2963ddcf39ac34317a24a2f17 in mainline linux
jsg [Thu, 31 Aug 2023 04:40:08 +0000 (04:40 +0000)]
drm/i915/dgfx: Enable d3cold at s2idle
From Anshuman Gupta
3abffee6091c5a2716963c229e192a36a9590a88 in linux-6.1.y/6.1.50
2872144aec04baa7e43ecd2a60f7f0be3aa843fd in mainline linux
jsg [Thu, 31 Aug 2023 04:38:15 +0000 (04:38 +0000)]
drm/i915/gt: Support aux invalidation on all engines
From Andi Shyti
7e862cce34916458bf6af954d198cce103c1e13f in linux-6.1.y/6.1.50
6a35f22d222528e1b157c6978c9424d2f8cbe0a1 in mainline linux
jsg [Thu, 31 Aug 2023 04:36:37 +0000 (04:36 +0000)]
drm/i915/gt: Poll aux invalidation register bit on invalidation
From Jonathan Cavitt
8e3f138b96f64fde58d74f886acbfd4baca907fc in linux-6.1.y/6.1.50
0fde2f23516a00fd90dfb980b66b4665fcbfa659 in mainline linux
jsg [Thu, 31 Aug 2023 04:33:59 +0000 (04:33 +0000)]
drm/i915/gt: Ensure memory quiesced before invalidation
From Jonathan Cavitt
017d4404312ab94a61be218c0221cd0048a37896 in linux-6.1.y/6.1.50
78a6ccd65fa3a7cc697810db079cc4b84dff03d5 in mainline linux
jsg [Thu, 31 Aug 2023 04:32:12 +0000 (04:32 +0000)]
drm/i915: Add the gen12_needs_ccs_aux_inv helper
From Andi Shyti
c23126f2c76a17b97520d306542cee32bb26fad8 in linux-6.1.y/6.1.50
b2f59e9026038a5bbcbc0019fa58f963138211ee in mainline linux
jsg [Thu, 31 Aug 2023 04:28:38 +0000 (04:28 +0000)]
drm/aperture: Remove primary argument
From Daniel Vetter
437e99f2a1e933348c4cedb2c7ce6f0ad81b935e in linux-6.1.y/6.1.50
62aeaeaa1b267c5149abee6b45967a5df3feed58 in mainline linux
kettenis [Wed, 30 Aug 2023 19:08:48 +0000 (19:08 +0000)]
On JH7110, configure the tx clock according to the selected speed if
necessary.
ok jsing@
kettenis [Wed, 30 Aug 2023 19:07:23 +0000 (19:07 +0000)]
Implement a few more clocks related to the GMAC.
ok jsing@
kn [Wed, 30 Aug 2023 17:40:08 +0000 (17:40 +0000)]
cover failure on insecure passfiles
kn [Wed, 30 Aug 2023 17:21:40 +0000 (17:21 +0000)]
exercise [-p passfile] (this is not a keydisk)
kn [Wed, 30 Aug 2023 16:45:57 +0000 (16:45 +0000)]
verify that the number of rounds does not decrease
espie [Wed, 30 Aug 2023 12:04:09 +0000 (12:04 +0000)]
fix signal reporting
job [Wed, 30 Aug 2023 10:13:12 +0000 (10:13 +0000)]
Ensure no memory is leaked after passing NULL to ASN1_TIME_normalize()
OK tb@
job [Wed, 30 Aug 2023 10:02:28 +0000 (10:02 +0000)]
Constify argument to entity_write_repo()
OK tb@
job [Wed, 30 Aug 2023 10:01:52 +0000 (10:01 +0000)]
Fix comments
OK tb@
claudio [Wed, 30 Aug 2023 09:02:38 +0000 (09:02 +0000)]
Preempt a running proc even if there is no other process/thread queued
on that CPU's runqueue. This way mi_switch() is invoked which is necessary
to a) signal srm that the cpu changed context b) runtime stats are updated
c) requests to stop the CPU are checked.
This should fix the issue reported by Eric Wong (e at 80x24 org) that
RLIMIT_CPU is unreliable on idle systems.
OK kettenis@ cheloha@
kettenis [Wed, 30 Aug 2023 09:01:51 +0000 (09:01 +0000)]
Add support for the upstream Linux device tree bindings. Support for the
preliminary bindings will be removed in a couple of weeks.
ok kevlo@, jsing@, jmatthew@
claudio [Wed, 30 Aug 2023 08:16:28 +0000 (08:16 +0000)]
Introduce CTL_RES_OPNOTSUPP as possible error response for bgpctl which
can be used in -portable for features that are not available in the build.
OK tb@
kevlo [Wed, 30 Aug 2023 07:12:25 +0000 (07:12 +0000)]
regen
kevlo [Wed, 30 Aug 2023 07:11:48 +0000 (07:11 +0000)]
Add Phison PS5021 device id
ok miod@, jsg@
tb [Wed, 30 Aug 2023 01:00:28 +0000 (01:00 +0000)]
sync
tb [Wed, 30 Aug 2023 00:58:57 +0000 (00:58 +0000)]
Document EVP_{CIPHER,MD}_do_all{,_sorted}(3)
The function prototypes in the SYNOPSIS don't look great, but schwarze
assures me that this is how it is supposed to be. It is rather strange
that OpenSSL chose to sprinkle OPENSSL_init_crypto() calls into these
four functions rather than two inside OBJ_NAME_do_all{,_sorted}(3).
Surely there was a good reason for that.
With input and fixes from schwarze
tb [Wed, 30 Aug 2023 00:49:32 +0000 (00:49 +0000)]
Fix leaks in copy_issuer()
The stack of subject alternative names from the issuer is parsed using
X509V3_EXT_d2i(), so it must be freed with sk_GENERAL_NAME_pop_free().
It's not worth doing complicated ownership handling when the individual
alternative names can be copied with GENERAL_NAME_dup().
Previously, ialt and its remaining members would be leaked when the call
to sk_GENERAL_NAME_push() failed halfway through.
This is only reachable via the issuer:copy x509v3.cnf(5) directive.
ok jsing
dlg [Tue, 29 Aug 2023 23:28:38 +0000 (23:28 +0000)]
fix handling of unknown error rate in mbim signal state info
from gerhard@:
> According to MBIM spec, table 10-58 (MBIM_SIGNAL_STATE_INFO) a value
> of 99 means the error rate is "Unknown or undetectable".
the code was using -99 before, but properly reports unknown/null now.
dlg [Tue, 29 Aug 2023 23:26:40 +0000 (23:26 +0000)]
export mbim signal stats
tested by mbuhl@ gerhard@
claudio [Tue, 29 Aug 2023 16:19:34 +0000 (16:19 +0000)]
Remove p_rtime from struct proc and replace it by passing the timespec
as argument to the tuagg_locked function.
- Remove incorrect use of p_rtime in other parts of the tree. p_rtime was
almost always 0 so including it in any sum did not alter the result.
- In main() the update of time can be further simplified since at that time
only the primary cpu is running.
- Add missing nanouptime() call in cpu_hatch() for hppa
- Rename tuagg_unlocked to tuagg_locked like it is done in the rest of
the tree.
OK cheloha@ dlg@
kettenis [Tue, 29 Aug 2023 16:04:21 +0000 (16:04 +0000)]
Enable dwiic(4) and axppmic(4).
op [Tue, 29 Aug 2023 14:44:53 +0000 (14:44 +0000)]
acme-client: drop ecdsa.h, fix spacing and a typo in error message
While here drop EC_KEY_set_asn1_flag(OPENSSL_EC_NAMED_CURVE).
EC_KEY_new_by_curve_name() ends up calling EC_GROUP_new() which already
sets the OPENSSL_EC_NAMED_CURVE flag on the group. (suggested by tb@)
ok tb@
kettenis [Tue, 29 Aug 2023 12:11:08 +0000 (12:11 +0000)]
Also support FDT now.
kettenis [Tue, 29 Aug 2023 12:09:40 +0000 (12:09 +0000)]
Add FDT support for dwiic(4)
tb [Tue, 29 Aug 2023 10:07:42 +0000 (10:07 +0000)]
Replace last ecdh.h and ecdsa.h occurrences with ec.h
Except if backward compatibility with older LibreSSL and OpenSSL versions
is explicitly needed, ecdsa.h and ecdh.h should no longer be used. They
are now trivial wrappers of ec.h.
yasuoka [Tue, 29 Aug 2023 07:54:01 +0000 (07:54 +0000)]
Have #include <cstdio> when using fprintf(). This is needed if
wchar.h stops including stdio.h. from asou
ok tb
djm [Tue, 29 Aug 2023 02:50:10 +0000 (02:50 +0000)]
make PerSourceMaxStartups first-match-wins; ok dtucker@
dv [Mon, 28 Aug 2023 21:23:46 +0000 (21:23 +0000)]
btrace(8): prohibit use of argN builtins in BEGIN/END.
The argN builtins are undefined for BEGIN and END special probes.
Similar to bpftrace, produce an error from the parser.
Adds a regress test, as well.
ok mpi@
bluhm [Mon, 28 Aug 2023 14:50:01 +0000 (14:50 +0000)]
Introduce reference counting for TCP syn cache entries.
The syn_cache_reaper() is a hack to serialize timeouts. Unfortunately
it has a race and panics sometimes with pool_do_get: syncache free
list modified. Add a reference counter for timeout and list of syn
cache entries. Currently list refcout is not strictly necessary
due to exclusive netlock, but will be needed when we continue
unlocking.
Checking timeout_initialized() is not MP friendly, better do proper
initialization during object allocation. Refcount in btrace helps
to find leaks.
bug reported and fix tested by Peter J. Philipp
OK claudio@
djm [Mon, 28 Aug 2023 09:52:09 +0000 (09:52 +0000)]
descriptive text shouldn't be under .Cm
djm [Mon, 28 Aug 2023 09:48:11 +0000 (09:48 +0000)]
limit artificial login delay to a reasonable maximum (5s) and don't
delay at all for the "none" authentication mechanism. Patch by
Dmitry Belyavskiy in bz3602 with polish/ok dtucker@
tb [Mon, 28 Aug 2023 06:07:10 +0000 (06:07 +0000)]
sync
jmc [Mon, 28 Aug 2023 05:32:28 +0000 (05:32 +0000)]
add spacing for punctuation when macro args;
deraadt [Mon, 28 Aug 2023 04:09:16 +0000 (04:09 +0000)]
sync
djm [Mon, 28 Aug 2023 04:06:52 +0000 (04:06 +0000)]
explicit long long type in timing calculations (doesn't matter, since
the range is pre-clamped)
djm [Mon, 28 Aug 2023 03:31:16 +0000 (03:31 +0000)]
Add keystroke timing obfuscation to the client.
This attempts to hide inter-keystroke timings by sending interactive
traffic at fixed intervals (default: every 20ms) when there is only a
small amount of data being sent. It also sends fake "chaff" keystrokes
for a random interval after the last real keystroke. These are
controlled by a new ssh_config ObscureKeystrokeTiming keyword/
feedback/ok markus@
djm [Mon, 28 Aug 2023 03:28:43 +0000 (03:28 +0000)]
Introduce a transport-level ping facility
This adds a pair of SSH transport protocol messages SSH2_MSG_PING/PONG
to implement a ping capability. These messages use numbers in the "local
extensions" number space and are advertised using a "ping@openssh.com"
ext-info message with a string version number of "0".
ok markus@
tb [Sun, 27 Aug 2023 16:09:41 +0000 (16:09 +0000)]
sync
schwarze [Sun, 27 Aug 2023 15:33:08 +0000 (15:33 +0000)]
Move the weak SHA-1 and MD5 hashes out of EVP_DigestInit(3)
into a new EVP_sha1(3) manual page, and also mention EVP_md4(3) there.
Using input from tb@ and jsing@, who like the general direction.
schwarze [Sun, 27 Aug 2023 13:23:12 +0000 (13:23 +0000)]
document the return value of EVP_PKEY_asn1_find(3) and
the "len" argument and the return value of EVP_PKEY_asn1_find_str(3)