1*8e28d849SEd Mastecommit 8725dbc5b5fcc3e326fc71189ef8dba4333362cc 2*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 3*8e28d849SEd MasteDate: Wed Apr 9 17:02:17 2025 +1000 4*8e28d849SEd Maste 5*8e28d849SEd Maste update version numbers 6*8e28d849SEd Maste 7*8e28d849SEd Mastecommit cc7feb9458ad3b893b53dc9c7500d1affd208bde 8*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 9*8e28d849SEd MasteDate: Wed Apr 9 07:00:21 2025 +0000 10*8e28d849SEd Maste 11*8e28d849SEd Maste upstream: openssh-10.0 12*8e28d849SEd Maste 13*8e28d849SEd Maste OpenBSD-Commit-ID: db5b4a1f1c9e988f8f166b56dc5643606294b403 14*8e28d849SEd Maste 15*8e28d849SEd Mastecommit fc86875e6acb36401dfc1dfb6b628a9d1460f367 16*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 17*8e28d849SEd MasteDate: Wed Apr 9 07:00:03 2025 +0000 18*8e28d849SEd Maste 19*8e28d849SEd Maste upstream: Fix logic error in DisableForwarding option. This option 20*8e28d849SEd Maste 21*8e28d849SEd Maste was documented as disabling X11 and agent forwarding but it failed to do so. 22*8e28d849SEd Maste Spotted by Tim Rice. 23*8e28d849SEd Maste 24*8e28d849SEd Maste OpenBSD-Commit-ID: fffc89195968f7eedd2fc57f0b1f1ef3193f5ed1 25*8e28d849SEd Maste 26*8e28d849SEd Mastecommit dd73459e351b0a2908aed90910c8ff9b0b381c6d 27*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 28*8e28d849SEd MasteDate: Wed Apr 9 01:24:40 2025 +0000 29*8e28d849SEd Maste 30*8e28d849SEd Maste upstream: oops, I accidentally backed out the typo fix 31*8e28d849SEd Maste 32*8e28d849SEd Maste OpenBSD-Commit-ID: f485f79bf3e9ebbe1de13ac96150cf458956cfd8 33*8e28d849SEd Maste 34*8e28d849SEd Mastecommit 0cb945891944bada5850e85d60afa3c807cf1af6 35*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36*8e28d849SEd MasteDate: Wed Apr 9 01:23:47 2025 +0000 37*8e28d849SEd Maste 38*8e28d849SEd Maste upstream: typo 39*8e28d849SEd Maste 40*8e28d849SEd Maste OpenBSD-Commit-ID: f912725c7d303720706b3ccfb2cb846d46296d13 41*8e28d849SEd Maste 42*8e28d849SEd Mastecommit cd4a6bd50b658d707867caa1f5aa40b35c2b6c19 43*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 44*8e28d849SEd MasteDate: Wed Apr 9 09:49:55 2025 +1000 45*8e28d849SEd Maste 46*8e28d849SEd Maste initialise websafe_allowlist in agent fuzzer 47*8e28d849SEd Maste 48*8e28d849SEd Mastecommit 55b7cb48af96c1102ef8ab5a73bb329cbed30945 49*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 50*8e28d849SEd MasteDate: Tue Apr 8 23:10:46 2025 +0000 51*8e28d849SEd Maste 52*8e28d849SEd Maste upstream: typo 53*8e28d849SEd Maste 54*8e28d849SEd Maste OpenBSD-Regress-ID: 08477b936d1d0c1e8a98aa1c0e1bdde8871894c9 55*8e28d849SEd Maste 56*8e28d849SEd Mastecommit 985d8cbcd3438cc36b4e709476f1783e358ddfb1 57*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 58*8e28d849SEd MasteDate: Tue Apr 8 23:10:08 2025 +0000 59*8e28d849SEd Maste 60*8e28d849SEd Maste upstream: typo 61*8e28d849SEd Maste 62*8e28d849SEd Maste OpenBSD-Commit-ID: 6e683e13e72bf1e43bbd3bbc6a8332d5a98bdc99 63*8e28d849SEd Maste 64*8e28d849SEd Mastecommit 000c3d14e94d8f7597087c457260ea9417045b65 65*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 66*8e28d849SEd MasteDate: Mon Apr 7 08:12:22 2025 +0000 67*8e28d849SEd Maste 68*8e28d849SEd Maste upstream: Include time.h for time(). 69*8e28d849SEd Maste 70*8e28d849SEd Maste Fixes warning on some platforms when building without openssl. 71*8e28d849SEd Maste 72*8e28d849SEd Maste OpenBSD-Commit-ID: 04ca29b8eaae1860c7adde3e770baa1866e30a54 73*8e28d849SEd Maste 74*8e28d849SEd Mastecommit 49b8b9bf829e08af22366530614a5e59ac341ca9 75*8e28d849SEd MasteAuthor: tb@openbsd.org <tb@openbsd.org> 76*8e28d849SEd MasteDate: Wed Apr 2 04:28:03 2025 +0000 77*8e28d849SEd Maste 78*8e28d849SEd Maste upstream: Wrap #include <openssl/dsa.h> in #ifdef WITH_DSA 79*8e28d849SEd Maste 80*8e28d849SEd Maste ok djm 81*8e28d849SEd Maste 82*8e28d849SEd Maste OpenBSD-Commit-ID: ed01a7c102243f84e4a317aefb431916d98aab15 83*8e28d849SEd Maste 84*8e28d849SEd Mastecommit f80fb819e5521e13f167edbcc3eed66e22ad0c2a 85*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 86*8e28d849SEd MasteDate: Thu Apr 3 09:10:19 2025 +1100 87*8e28d849SEd Maste 88*8e28d849SEd Maste remove all instances of -pie from LDFLAGS 89*8e28d849SEd Maste 90*8e28d849SEd Maste Previously only the first instance of this flag was removed. 91*8e28d849SEd Maste Unbreaks build on OpenSUSE Tumbleweed. Patch from Antonio Larrosa 92*8e28d849SEd Maste 93*8e28d849SEd Mastecommit 6c9872faa1c297a84c6d3e3b95a927be99eadbf6 94*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 95*8e28d849SEd MasteDate: Tue Apr 1 23:23:20 2025 +0000 96*8e28d849SEd Maste 97*8e28d849SEd Maste upstream: remove ability to enable DSA support. Actual code will be 98*8e28d849SEd Maste 99*8e28d849SEd Maste g/c'd separately. ok deraadt@ 100*8e28d849SEd Maste 101*8e28d849SEd Maste OpenBSD-Commit-ID: 2a032b75156c4d922e8343fa97ff6bc227f09819 102*8e28d849SEd Maste 103*8e28d849SEd Mastecommit 8460aaa4e1f8680f03cc5334556b9440b401f010 104*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 105*8e28d849SEd MasteDate: Fri Mar 28 21:45:55 2025 +0000 106*8e28d849SEd Maste 107*8e28d849SEd Maste upstream: Add TEST_SSH_SSHD_ENV to sshd lines here too. 108*8e28d849SEd Maste 109*8e28d849SEd Maste OpenBSD-Regress-ID: 045f2c88b42d694b404db51c5de5eca20d748ff1 110*8e28d849SEd Maste 111*8e28d849SEd Mastecommit 5e60f5937b9c33190b9d7614f72d85d4a9b38d3d 112*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 113*8e28d849SEd MasteDate: Fri Mar 28 06:04:07 2025 +0000 114*8e28d849SEd Maste 115*8e28d849SEd Maste upstream: Pass "ControlMaster no" to ssh when invoked by scp & sftp. 116*8e28d849SEd Maste 117*8e28d849SEd Maste If you have ControlMaster auto (or yes) in your config, and the 118*8e28d849SEd Maste first connection you make is via scp or sftp, then you may get a 119*8e28d849SEd Maste few unexpected options applied to it (eg ForwardX11 no), since sftp 120*8e28d849SEd Maste and sftp explicitly disable those for reasons. These effects will 121*8e28d849SEd Maste persist beyond the initial scp or sftp command. 122*8e28d849SEd Maste 123*8e28d849SEd Maste This explicitly disables persistent session *creation* by scp and sftp. 124*8e28d849SEd Maste It will not prevent them from using an existing session if one has 125*8e28d849SEd Maste already been created. 126*8e28d849SEd Maste 127*8e28d849SEd Maste From Github PR#557, ok djm@ kn@ 128*8e28d849SEd Maste 129*8e28d849SEd Maste OpenBSD-Commit-ID: 9dad7c737466837e0150c4318920f46d844770c4 130*8e28d849SEd Maste 131*8e28d849SEd Mastecommit bbd36869dfb4b770cc9e6a345c04a585a0955aec 132*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 133*8e28d849SEd MasteDate: Fri Mar 28 05:41:15 2025 +0000 134*8e28d849SEd Maste 135*8e28d849SEd Maste upstream: Set sshd environment variables during sshd test run too. 136*8e28d849SEd Maste 137*8e28d849SEd Maste OpenBSD-Regress-ID: 50cb325d92c390a2909662c901f6ac5d80b6f74d 138*8e28d849SEd Maste 139*8e28d849SEd Mastecommit 98f05b1484daddef2f56b79e24540523b5016143 140*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 141*8e28d849SEd MasteDate: Fri Mar 28 05:36:24 2025 +0000 142*8e28d849SEd Maste 143*8e28d849SEd Maste upstream: Add TEST_SSH_SSHD_ENV variable which is added to sshd's 144*8e28d849SEd Maste 145*8e28d849SEd Maste environment. Will be used in Portable to tweak behaviour of tcmalloc's 146*8e28d849SEd Maste debugging. 147*8e28d849SEd Maste 148*8e28d849SEd Maste OpenBSD-Regress-ID: 67e38c3c4517ddb72c8a3549a3325a166d7bb6d6 149*8e28d849SEd Maste 150*8e28d849SEd Mastecommit 8cd9ed4df0eccc825eca0c45354a37332e125e38 151*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 152*8e28d849SEd MasteDate: Fri Mar 28 05:33:30 2025 +0000 153*8e28d849SEd Maste 154*8e28d849SEd Maste upstream: chown log directory in addition to log files. 155*8e28d849SEd Maste 156*8e28d849SEd Maste OpenBSD-Regress-ID: b520d54a0bbf2c6554413c798218bda26b385ad9 157*8e28d849SEd Maste 158*8e28d849SEd Mastecommit e32de6bf4f3229d4838beb127de45eed1377ccc5 159*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 160*8e28d849SEd MasteDate: Fri Mar 28 16:47:58 2025 +1100 161*8e28d849SEd Maste 162*8e28d849SEd Maste Be explicit about environment variables for tests. 163*8e28d849SEd Maste 164*8e28d849SEd Maste This will make it easier to reproduce a test failure by cut-and-paste of 165*8e28d849SEd Maste the corresponding line from the github log. 166*8e28d849SEd Maste 167*8e28d849SEd Mastecommit 77a3e6ba47381547b3fe4b29223256f276fbd07e 168*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 169*8e28d849SEd MasteDate: Fri Mar 28 16:46:40 2025 +1100 170*8e28d849SEd Maste 171*8e28d849SEd Maste Add tcmalloc flags to TEST_SSH_SSHD_ENV. 172*8e28d849SEd Maste 173*8e28d849SEd Maste This will get passed to sshd via test-exec.sh. 174*8e28d849SEd Maste 175*8e28d849SEd Mastecommit a73890e340fbd6121251854b658a72d738b86c84 176*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 177*8e28d849SEd MasteDate: Thu Mar 27 23:04:44 2025 +1100 178*8e28d849SEd Maste 179*8e28d849SEd Maste Add PuTTY 0.81, 0.82 and 0.83 to tests. 180*8e28d849SEd Maste 181*8e28d849SEd Mastecommit 90a28de0d49570324d1695c0b4686354ef3bcae0 182*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 183*8e28d849SEd MasteDate: Thu Mar 27 22:30:40 2025 +1100 184*8e28d849SEd Maste 185*8e28d849SEd Maste Include TCMALLOC_STACKTRACE_METHOD in output. 186*8e28d849SEd Maste 187*8e28d849SEd Maste If TCMALLOC_STACKTRACE_METHOD happens to be set, include it in the debug 188*8e28d849SEd Maste output to make reproducing test cases easier. 189*8e28d849SEd Maste 190*8e28d849SEd Mastecommit fd5a6bb6dd7657c4bd8cd0ee11d5c8ddf0d927b2 191*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 192*8e28d849SEd MasteDate: Thu Mar 27 20:15:11 2025 +1100 193*8e28d849SEd Maste 194*8e28d849SEd Maste Test with-linux-memlock-onfault in kitchensink. 195*8e28d849SEd Maste 196*8e28d849SEd Mastecommit 22330711e2459c23d9736ee16e0e2ee0fcc30b9a 197*8e28d849SEd MasteAuthor: Collin Funk <collin.funk1@gmail.com> 198*8e28d849SEd MasteDate: Wed Mar 26 18:24:59 2025 -0700 199*8e28d849SEd Maste 200*8e28d849SEd Maste Include fcntl.h so AT_FDCWD does not get redefined. 201*8e28d849SEd Maste 202*8e28d849SEd Mastecommit 6c49e5f7dcaf886b4a702a6c003cae9dca04d3ea 203*8e28d849SEd MasteAuthor: Daniil Tatianin <d-tatianin@yandex-team.ru> 204*8e28d849SEd MasteDate: Thu Feb 27 11:37:13 2025 +0300 205*8e28d849SEd Maste 206*8e28d849SEd Maste Add support for locking memory on Linux 207*8e28d849SEd Maste 208*8e28d849SEd Maste Linux wakes up kcompactd threads in order to make more contiguous memory 209*8e28d849SEd Maste available on the system, it does this by migrating live movable pages 210*8e28d849SEd Maste (actively modifying live processes' page tables and constantly flooding 211*8e28d849SEd Maste them with page invalidation IPIs, which can be up to millions per 212*8e28d849SEd Maste second), which causes the process to become unresponsive for up to 213*8e28d849SEd Maste seconds or even minutes in some severe cases. In case of sshd, we want 214*8e28d849SEd Maste to always be able to connect to the system, even if it's under heavy 215*8e28d849SEd Maste kcompactd load. 216*8e28d849SEd Maste 217*8e28d849SEd Maste Introduce an option to protect sshd and its children sessions from being 218*8e28d849SEd Maste compacted by kcompactd (this works in cojunction with 219*8e28d849SEd Maste compact_unevictable_allowed = 0). Note that we depend on MCL_ONFAULT 220*8e28d849SEd Maste being available, which was introduced in linux 4.4. MCL_ONFAULT allows 221*8e28d849SEd Maste the system to lock pages lazily, thus drastically reducing memory usage 222*8e28d849SEd Maste of a locked process (without MCL_ONFAULT, every existing mapping in the 223*8e28d849SEd Maste process is instantly write-faulted). 224*8e28d849SEd Maste 225*8e28d849SEd Mastecommit fdc4853c5b1567934d43ab13282f03033cc21325 226*8e28d849SEd MasteAuthor: Daniil Tatianin <d-tatianin@yandex-team.ru> 227*8e28d849SEd MasteDate: Thu Feb 27 11:46:25 2025 +0300 228*8e28d849SEd Maste 229*8e28d849SEd Maste platform: introduce a way to hook new session start 230*8e28d849SEd Maste 231*8e28d849SEd Maste Previously this was possible via post_fork_child, but ever since sshd 232*8e28d849SEd Maste was split into multiple binaries, this is now no longer possible becase 233*8e28d849SEd Maste of execv. 234*8e28d849SEd Maste 235*8e28d849SEd Mastecommit 1b311b6b17be81577514c38e8be4f5740d7df496 236*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 237*8e28d849SEd MasteDate: Wed Mar 19 06:11:15 2025 +0000 238*8e28d849SEd Maste 239*8e28d849SEd Maste upstream: Prevent theoretical NULL deref in throughlocal_sftp. 240*8e28d849SEd Maste 241*8e28d849SEd Maste Coverity CID 405019, although at the moment it's not reachable. ok djm@ 242*8e28d849SEd Maste 243*8e28d849SEd Maste OpenBSD-Commit-ID: 630d46c1021b69fbb470e349976c70e9a48b7644 244*8e28d849SEd Maste 245*8e28d849SEd Mastecommit 96493ebd6ff48bbb802576e208794a26928569b0 246*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 247*8e28d849SEd MasteDate: Wed Mar 19 17:35:10 2025 +1100 248*8e28d849SEd Maste 249*8e28d849SEd Maste Fix workflow syntax again. 250*8e28d849SEd Maste 251*8e28d849SEd Mastecommit 575c43fd4c44d376b1771c0fdaf4941021ba88c9 252*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 253*8e28d849SEd MasteDate: Tue Mar 18 20:54:48 2025 +1100 254*8e28d849SEd Maste 255*8e28d849SEd Maste Differentiate logfiles better. 256*8e28d849SEd Maste 257*8e28d849SEd Mastecommit 8a1294638f3a47d46263ea574fa85c8e115ea893 258*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 259*8e28d849SEd MasteDate: Tue Mar 18 20:27:46 2025 +1100 260*8e28d849SEd Maste 261*8e28d849SEd Maste Fix another typo in workflow. 262*8e28d849SEd Maste 263*8e28d849SEd Mastecommit bd9e6bbcc864b3e10c4e11f5aec1b3a5e3a89b55 264*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 265*8e28d849SEd MasteDate: Tue Mar 18 18:16:12 2025 +1100 266*8e28d849SEd Maste 267*8e28d849SEd Maste Fix syntax error in workflow. 268*8e28d849SEd Maste 269*8e28d849SEd Mastecommit ce88a1bb4a2e6425752094f7a2eb4adfb0ca7971 270*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 271*8e28d849SEd MasteDate: Tue Mar 18 18:13:14 2025 +1100 272*8e28d849SEd Maste 273*8e28d849SEd Maste Identify each logfile while printing them. 274*8e28d849SEd Maste 275*8e28d849SEd Mastecommit b58e429960c4791fc4e30bb7c70d1f77d538b546 276*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 277*8e28d849SEd MasteDate: Tue Mar 18 04:53:14 2025 +0000 278*8e28d849SEd Maste 279*8e28d849SEd Maste upstream: fix NULL dereference for Match conditions missing 280*8e28d849SEd Maste 281*8e28d849SEd Maste arguments, e.g. "Match user". Spotted by Coverity (CID 477813) 282*8e28d849SEd Maste 283*8e28d849SEd Maste OpenBSD-Commit-ID: 13584281cfa23b8ebc41f9d128a6b9464ae960d4 284*8e28d849SEd Maste 285*8e28d849SEd Mastecommit 0ce5281f017c3ad7bdcc2bbd9745119a73e0cbb8 286*8e28d849SEd MasteAuthor: tb@openbsd.org <tb@openbsd.org> 287*8e28d849SEd MasteDate: Fri Mar 14 09:49:49 2025 +0000 288*8e28d849SEd Maste 289*8e28d849SEd Maste upstream: Fix EVP_CIPHER_CTX_ctrl() return checks 290*8e28d849SEd Maste 291*8e28d849SEd Maste While this API tries to translate negative return values (i.e. -1) to 0 292*8e28d849SEd Maste in BoringSSL and LibreSSL, it is still possible for it to return negative 293*8e28d849SEd Maste values in prinicple. We even incorrectly document that -1 can be returned 294*8e28d849SEd Maste while Boring and OpenSSL plead the Fifth. 295*8e28d849SEd Maste 296*8e28d849SEd Maste In OpenSSL 3 there are now code paths that explicitly return -1 and they 297*8e28d849SEd Maste started shifting their return checks to <= 0 - of course they do this in 298*8e28d849SEd Maste inconsistent and sometimes incorrect manner. While these paths aren't 299*8e28d849SEd Maste reachable from ssh right now, who can really tell what happens in the two 300*8e28d849SEd Maste hundred lines of inscrutable bloated mess this has become. 301*8e28d849SEd Maste 302*8e28d849SEd Maste So error check with <= 0 to ensure that we don't accidentally translate an 303*8e28d849SEd Maste error to success. 304*8e28d849SEd Maste 305*8e28d849SEd Maste ok markus schwarze 306*8e28d849SEd Maste 307*8e28d849SEd Maste OpenBSD-Commit-ID: a855c833cf4ecfce43bedc761f26ad924f70483c 308*8e28d849SEd Maste 309*8e28d849SEd Mastecommit 2e81100763d5885e500f065b04c16ed87ce74318 310*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 311*8e28d849SEd MasteDate: Mon Mar 17 21:35:55 2025 +1100 312*8e28d849SEd Maste 313*8e28d849SEd Maste Fix debug log path. 314*8e28d849SEd Maste 315*8e28d849SEd Mastecommit 442a44970179d70ebb62bba792699eaec978a1db 316*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 317*8e28d849SEd MasteDate: Fri Mar 14 16:24:06 2025 +1100 318*8e28d849SEd Maste 319*8e28d849SEd Maste Also lazily unmount workspace in case of straggers. 320*8e28d849SEd Maste 321*8e28d849SEd Mastecommit 20427f6735fe5ddab31911ce5315adc71acf47d8 322*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 323*8e28d849SEd MasteDate: Fri Mar 14 16:17:39 2025 +1100 324*8e28d849SEd Maste 325*8e28d849SEd Maste Make sure upstream tests run on correct hardware. 326*8e28d849SEd Maste 327*8e28d849SEd Mastecommit 91a2f70a56827ae31649baf17227b0914ac5aa36 328*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 329*8e28d849SEd MasteDate: Fri Mar 14 13:47:27 2025 +1100 330*8e28d849SEd Maste 331*8e28d849SEd Maste Add OpenBSD upstream test on obsdsnap-arm64. 332*8e28d849SEd Maste 333*8e28d849SEd Mastecommit c20f7413525602b0ea786d8974d03a81f7ca2a92 334*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 335*8e28d849SEd MasteDate: Thu Mar 13 10:45:53 2025 +1100 336*8e28d849SEd Maste 337*8e28d849SEd Maste rebuild .depend 338*8e28d849SEd Maste 339*8e28d849SEd Mastecommit d47ef958b89c6fa809302d654009d3dfabe11b75 340*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 341*8e28d849SEd MasteDate: Wed Mar 12 22:43:44 2025 +0000 342*8e28d849SEd Maste 343*8e28d849SEd Maste upstream: remove assumption that the sshd_config and any configs 344*8e28d849SEd Maste 345*8e28d849SEd Maste included from it can fit in a (possibly enlarged) socket buffer, by having 346*8e28d849SEd Maste the sshd listener mainloop actively manage sending the configuration to the 347*8e28d849SEd Maste sshd-session subprocess. 348*8e28d849SEd Maste 349*8e28d849SEd Maste work by markus@ w/ a little feedback from me; 350*8e28d849SEd Maste ok me and committing on his behalf 351*8e28d849SEd Maste 352*8e28d849SEd Maste OpenBSD-Commit-ID: 8f54451483f64951853074adb76bc4f838eaf3ae 353*8e28d849SEd Maste 354*8e28d849SEd Mastecommit 9c90b563943c16418d737433ac478974b8761ee5 355*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 356*8e28d849SEd MasteDate: Tue Mar 11 11:46:44 2025 +0000 357*8e28d849SEd Maste 358*8e28d849SEd Maste upstream: Prime caches for DNS names needed for tests. 359*8e28d849SEd Maste 360*8e28d849SEd Maste When running the SSHFP tests, particularly on an ephemeral VM, the first 361*8e28d849SEd Maste query or two can fail for some reason, presumably because something isn't 362*8e28d849SEd Maste fully initialized or something. To work around this, issue queries for the 363*8e28d849SEd Maste names we'll need before we need them. 364*8e28d849SEd Maste 365*8e28d849SEd Maste OpenBSD-Regress-ID: 900841133540e7dead253407db5a874a6ed09eca 366*8e28d849SEd Maste 367*8e28d849SEd Mastecommit 10124eefe875a3e4e1cfb84ebe6a613ed3213b78 368*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 369*8e28d849SEd MasteDate: Tue Mar 11 09:06:50 2025 +0000 370*8e28d849SEd Maste 371*8e28d849SEd Maste upstream: Some dd's don't understand "1m", so handle seperately. 372*8e28d849SEd Maste 373*8e28d849SEd Maste OpenBSD-Regress-ID: 1d983b27c96f28f69d3a288c19e8d8c58e1b2ee3 374*8e28d849SEd Maste 375*8e28d849SEd Mastecommit c21c8fc319376c2f5e0da166e9e89a97a245ae72 376*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 377*8e28d849SEd MasteDate: Tue Mar 11 19:17:46 2025 +1100 378*8e28d849SEd Maste 379*8e28d849SEd Maste Lazily unmount github workspace at end of workflow. 380*8e28d849SEd Maste 381*8e28d849SEd Maste Sometimes when a test times out the workspace is still busy when we try 382*8e28d849SEd Maste to unmount it, which leaves the runner unusable until it's cleaned up 383*8e28d849SEd Maste manually. We try to unmount this in the first step, but that usually 384*8e28d849SEd Maste doesn't work since it fails during setup before it starts our workflow. 385*8e28d849SEd Maste Move it to the end and make it a lazy unmount so it hopefully works 386*8e28d849SEd Maste eventually. 387*8e28d849SEd Maste 388*8e28d849SEd Mastecommit 4bcbac742968f5086cfd4c570a51de25ef77931f 389*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 390*8e28d849SEd MasteDate: Tue Mar 11 07:50:20 2025 +0000 391*8e28d849SEd Maste 392*8e28d849SEd Maste upstream: Add regress test for sftp resume. 393*8e28d849SEd Maste 394*8e28d849SEd Maste OpenBSD-Regress-ID: 37f629b3014338fa23a85df1e1bb320ea12282e1 395*8e28d849SEd Maste 396*8e28d849SEd Mastecommit e2c4f070b43a4fd7d59a9350e2fe78df605830b5 397*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 398*8e28d849SEd MasteDate: Tue Mar 11 07:46:02 2025 +0000 399*8e28d849SEd Maste 400*8e28d849SEd Maste upstream: Use ssh binary instead of the (smaller) script when 401*8e28d849SEd Maste 402*8e28d849SEd Maste preparing test data files since it's faster. 403*8e28d849SEd Maste 404*8e28d849SEd Maste OpenBSD-Regress-ID: 4215e42682fdb73e131e10645d4a1a23a91d64f5 405*8e28d849SEd Maste 406*8e28d849SEd Mastecommit 62f02e95ba5cda4649c482d30f4370e2360eb94d 407*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 408*8e28d849SEd MasteDate: Tue Mar 11 07:43:45 2025 +0000 409*8e28d849SEd Maste 410*8e28d849SEd Maste upstream: Set up dbclient's known_hosts as it expects. 411*8e28d849SEd Maste 412*8e28d849SEd Maste OpenBSD-Regress-ID: 9e0898e8423237ce5023be53787bb4062e0d0418 413*8e28d849SEd Maste 414*8e28d849SEd Mastecommit 395284bd52887dbaf7e78200c857d7f2d9ce398e 415*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 416*8e28d849SEd MasteDate: Tue Mar 11 07:43:03 2025 +0000 417*8e28d849SEd Maste 418*8e28d849SEd Maste upstream: Use $DBCLIENT to access dbclient for consistency. 419*8e28d849SEd Maste 420*8e28d849SEd Maste OpenBSD-Regress-ID: 81e1b41e1ffc49aba1e6fcaeb6242f3b7875ea3c 421*8e28d849SEd Maste 422*8e28d849SEd Mastecommit 97e10c0005a784622c61cb4e8bb7858b410bbcc6 423*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 424*8e28d849SEd MasteDate: Tue Mar 11 07:42:08 2025 +0000 425*8e28d849SEd Maste 426*8e28d849SEd Maste upstream: Check if dbclient supports SHA1 before trying SHA1-based 427*8e28d849SEd Maste 428*8e28d849SEd Maste KEX. 429*8e28d849SEd Maste 430*8e28d849SEd Maste Dropbear 2025.87 removed SHA1 support by default, which means 431*8e28d849SEd Maste diffie-hellman-group14-sha1 is not available. Unfortunately there isn't a 432*8e28d849SEd Maste flag to query supported KEX, so instead check MACs and if it doesn't have 433*8e28d849SEd Maste SHA1 methods, assuming SHA1 based KEXes are likewise not available. Spotted 434*8e28d849SEd Maste by anton@. 435*8e28d849SEd Maste 436*8e28d849SEd Maste OpenBSD-Regress-ID: acfa8e26c001cb18b9fb81a27271c3b51288d304 437*8e28d849SEd Maste 438*8e28d849SEd Mastecommit 29a5127f808d00aa539fd27d83a65c2c56179b0e 439*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 440*8e28d849SEd MasteDate: Tue Mar 11 07:48:51 2025 +0000 441*8e28d849SEd Maste 442*8e28d849SEd Maste upstream: Set highwater when resuming a "put". Prevents bogus "server 443*8e28d849SEd Maste 444*8e28d849SEd Maste reordered acks" debug message. ok djm@ 445*8e28d849SEd Maste 446*8e28d849SEd Maste OpenBSD-Commit-ID: aa7f6d0fc2e893c8c278ea3e6e0974c2eca83f5d 447*8e28d849SEd Maste 448*8e28d849SEd Mastecommit 6575859d7acb110acf408707f98ed9744ca7d692 449*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 450*8e28d849SEd MasteDate: Mon Mar 3 06:54:37 2025 +0000 451*8e28d849SEd Maste 452*8e28d849SEd Maste upstream: Test for %-token and env var expansion in SetEnv. 453*8e28d849SEd Maste 454*8e28d849SEd Maste OpenBSD-Regress-ID: bd6139a6177ac4afb29a0ce4afc23567b22ef9f9 455*8e28d849SEd Maste 456*8e28d849SEd Mastecommit fd7ad8d7bf7dbdeb8f11a8b51aa9d31df1a17e52 457*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 458*8e28d849SEd MasteDate: Sun Mar 2 07:41:06 2025 +0000 459*8e28d849SEd Maste 460*8e28d849SEd Maste upstream: Also test User expansions when supplied via -l option and 461*8e28d849SEd Maste 462*8e28d849SEd Maste user@host. 463*8e28d849SEd Maste 464*8e28d849SEd Maste OpenBSD-Regress-ID: 56415859260b53ef0dd20f71225ba5fdf6320f50 465*8e28d849SEd Maste 466*8e28d849SEd Mastecommit e6cfd783f1491b502db9322aa970822c63f1667d 467*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 468*8e28d849SEd MasteDate: Sat Mar 1 06:12:47 2025 +0000 469*8e28d849SEd Maste 470*8e28d849SEd Maste upstream: Tests for User expansion of %-tokens and environment 471*8e28d849SEd Maste 472*8e28d849SEd Maste variables. 473*8e28d849SEd Maste 474*8e28d849SEd Maste OpenBSD-Regress-ID: 7ed21dd0e09fb1f3537b8b177f171018aa501628 475*8e28d849SEd Maste 476*8e28d849SEd Mastecommit 197e503b8e4b642ce0f405a5d65da4256fa96431 477*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 478*8e28d849SEd MasteDate: Fri Dec 6 16:25:58 2024 +0000 479*8e28d849SEd Maste 480*8e28d849SEd Maste upstream: use glob(3) wildcards in AuthorizedKeys/PrincipalsFile 481*8e28d849SEd Maste 482*8e28d849SEd Maste tests to exercise this feature; ok dtucker 483*8e28d849SEd Maste 484*8e28d849SEd Maste OpenBSD-Regress-ID: 7f7b19c0b05b1862cc6521ce61b2b301a3f9cc3b 485*8e28d849SEd Maste 486*8e28d849SEd Mastecommit 396202180180a4ac16788d469508a348789dafa1 487*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 488*8e28d849SEd MasteDate: Fri Dec 6 10:37:42 2024 +0000 489*8e28d849SEd Maste 490*8e28d849SEd Maste upstream: implement attestation verification for ED25519 keys 491*8e28d849SEd Maste 492*8e28d849SEd Maste OpenBSD-Regress-ID: c44fa5cdb434375a8b5545fdb4fc651061afca1f 493*8e28d849SEd Maste 494*8e28d849SEd Mastecommit b49875428cda9c16c5bd52552100da2b419cda5f 495*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 496*8e28d849SEd MasteDate: Mon Mar 3 06:53:09 2025 +0000 497*8e28d849SEd Maste 498*8e28d849SEd Maste upstream: Add %-token and environment variable expansion to SetEnv. 499*8e28d849SEd Maste 500*8e28d849SEd Maste feedback deraadt@ jmc@, nits and ok djm@ 501*8e28d849SEd Maste 502*8e28d849SEd Maste OpenBSD-Commit-ID: 2f6e5070481cb73e6f35fd1c6608c1eeff88a5c1 503*8e28d849SEd Maste 504*8e28d849SEd Mastecommit b6bba67e6c31d268480773e4fed16d0a32b4218e 505*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 506*8e28d849SEd MasteDate: Sun Mar 2 22:44:00 2025 +0000 507*8e28d849SEd Maste 508*8e28d849SEd Maste upstream: fix PerSourcePenalty incorrectly using "crash" penalty when 509*8e28d849SEd Maste 510*8e28d849SEd Maste LoginGraceTime was exceeded. Reported by irwin AT princeton.edu via bz3797 511*8e28d849SEd Maste 512*8e28d849SEd Maste OpenBSD-Commit-ID: 1ba3e490a5a9451359618c550d995380af454d25 513*8e28d849SEd Maste 514*8e28d849SEd Mastecommit 38d69fee1b06948f160d94abd07b6b297630d30a 515*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 516*8e28d849SEd MasteDate: Sun Mar 2 22:06:53 2025 +1100 517*8e28d849SEd Maste 518*8e28d849SEd Maste include __builtin_popcount replacement function 519*8e28d849SEd Maste 520*8e28d849SEd Maste Some systems/compilers lack __builtin_popcount(), so replace it as 521*8e28d849SEd Maste necessary. Reported by Dennis Clarke; ok dtucker@ 522*8e28d849SEd Maste 523*8e28d849SEd Mastecommit c94138d02a45dda5015f38f5a60b0bdde29019c1 524*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 525*8e28d849SEd MasteDate: Sun Mar 2 11:03:13 2025 +0000 526*8e28d849SEd Maste 527*8e28d849SEd Maste upstream: whitespace 528*8e28d849SEd Maste 529*8e28d849SEd Maste OpenBSD-Commit-ID: 1bd8953a37451ef7e0991f9fceec5e8005fe986a 530*8e28d849SEd Maste 531*8e28d849SEd Mastecommit 65d2c59628e68e166046efa69e76c1d395a8df6e 532*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 533*8e28d849SEd MasteDate: Sun Mar 2 07:02:49 2025 +0000 534*8e28d849SEd Maste 535*8e28d849SEd Maste upstream: Make a copy of the user when handling ssh -l, so that 536*8e28d849SEd Maste 537*8e28d849SEd Maste later during User token expansion we don't end up freeing a member of argv. 538*8e28d849SEd Maste Spotted by anton@'s regress tests. 539*8e28d849SEd Maste 540*8e28d849SEd Maste OpenBSD-Commit-ID: 2f671a4f5726b66d123b88b1fdd1a90581339955 541*8e28d849SEd Maste 542*8e28d849SEd Mastecommit bd30cf784d6e825ef71592fb723c41d4f2fd407b 543*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 544*8e28d849SEd MasteDate: Sat Mar 1 06:11:26 2025 +0000 545*8e28d849SEd Maste 546*8e28d849SEd Maste upstream: Allow %-token and environment variable expansion in User, 547*8e28d849SEd Maste 548*8e28d849SEd Maste with the exception of %r and %C which are self-referential. Requested in 549*8e28d849SEd Maste bz#3477, ok djm@, man page improvements jmc@ 550*8e28d849SEd Maste 551*8e28d849SEd Maste OpenBSD-Commit-ID: caeb46251ee073662f6f5864c6f7b92d8ac80fa8 552*8e28d849SEd Maste 553*8e28d849SEd Mastecommit 94f59dcfc57f95ae044f75c3ce544329c8956c35 554*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 555*8e28d849SEd MasteDate: Sat Mar 1 10:28:59 2025 +1100 556*8e28d849SEd Maste 557*8e28d849SEd Maste Rebuild config files if Makefile changes. 558*8e28d849SEd Maste 559*8e28d849SEd Maste This ensures paths are updated if they are changed by re-running configure. 560*8e28d849SEd Maste Patch from rapier at psc.edu. 561*8e28d849SEd Maste 562*8e28d849SEd Mastecommit dfd9880585db1570656022f9fe1519df673f7b8a 563*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 564*8e28d849SEd MasteDate: Wed Feb 26 18:16:03 2025 +1100 565*8e28d849SEd Maste 566*8e28d849SEd Maste Check for le32toh, le64toh, htole64 individually. 567*8e28d849SEd Maste 568*8e28d849SEd Maste It appears that at least some versions of endian.h in glibc do not have 569*8e28d849SEd Maste the latter two, so check for and replace each one individually. 570*8e28d849SEd Maste bz#3794, ok djm@ 571*8e28d849SEd Maste 572*8e28d849SEd Mastecommit cb99e8eb228df366af33f4fe88d7a9dd0dbf0756 573*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 574*8e28d849SEd MasteDate: Tue Feb 25 06:25:30 2025 +0000 575*8e28d849SEd Maste 576*8e28d849SEd Maste upstream: ressurect fix for "match invalid-user" that got clobbered 577*8e28d849SEd Maste 578*8e28d849SEd Maste by 1.423 579*8e28d849SEd Maste 580*8e28d849SEd Maste OpenBSD-Commit-ID: d18bf0945976e0f3467d710d4bc8bdbe181c0567 581*8e28d849SEd Maste 582*8e28d849SEd Mastecommit 487cf4c18c123b66c1f3f733398cd37e6b2ab6ab 583*8e28d849SEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 584*8e28d849SEd MasteDate: Fri Feb 21 18:22:41 2025 +0000 585*8e28d849SEd Maste 586*8e28d849SEd Maste upstream: Also prohibit , (comma) in hostnames, proposed by David 587*8e28d849SEd Maste 588*8e28d849SEd Maste Leadbeater ok djm millert 589*8e28d849SEd Maste 590*8e28d849SEd Maste OpenBSD-Commit-ID: 2837fa31dc6e81976f510f0a259edaa559b20b07 591*8e28d849SEd Maste 592*8e28d849SEd Mastecommit 3bc6de98c830bd5207f6c371ba69c5874f06305b 593*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 594*8e28d849SEd MasteDate: Mon Feb 24 17:27:50 2025 +1100 595*8e28d849SEd Maste 596*8e28d849SEd Maste Try to fix github tcmalloc target failure 597*8e28d849SEd Maste 598*8e28d849SEd Maste tcmalloc may, depending on the stacktrace generator it uses, create 599*8e28d849SEd Maste pipe(2) fds during shared library initialisation. These will later 600*8e28d849SEd Maste get clobbered by ssh/sshd calling closefrom() and chaos will ensue. 601*8e28d849SEd Maste Tell tcmalloc to use an unwinder that doesn't pull this stuff. 602*8e28d849SEd Maste 603*8e28d849SEd Mastecommit 922e54bbfe8c8479453693ef52350338f0c19124 604*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 605*8e28d849SEd MasteDate: Fri Feb 21 13:44:35 2025 +1100 606*8e28d849SEd Maste 607*8e28d849SEd Maste cleanup last mention of ubuntu-20.04 608*8e28d849SEd Maste 609*8e28d849SEd Mastecommit bc4b3f6dc1738d389e5c9dcca8c56d7e153fee49 610*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 611*8e28d849SEd MasteDate: Fri Feb 21 13:44:13 2025 +1100 612*8e28d849SEd Maste 613*8e28d849SEd Maste prune gcc/clang versions to be tested 614*8e28d849SEd Maste 615*8e28d849SEd Maste Test only the oldest and latest versions of each 616*8e28d849SEd Maste 617*8e28d849SEd Mastecommit 94b73755f931d592a612ef5cb998694643eab5ff 618*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 619*8e28d849SEd MasteDate: Fri Feb 21 11:30:22 2025 +1100 620*8e28d849SEd Maste 621*8e28d849SEd Maste Update AWS-LC version number 622*8e28d849SEd Maste 623*8e28d849SEd Maste Patch from Shubham Mittal bz bz3792 624*8e28d849SEd Maste 625*8e28d849SEd Mastecommit 6887099fae6d9f3482e1075d034e9343dc413200 626*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 627*8e28d849SEd MasteDate: Fri Feb 21 11:22:34 2025 +1100 628*8e28d849SEd Maste 629*8e28d849SEd Maste adjust workflows for ubuntu version transition 630*8e28d849SEd Maste 631*8e28d849SEd Maste remove workflows for unsupported compilers, add a few for additional 632*8e28d849SEd Maste supported compilers, move some workflows to run on ubuntu-latest 633*8e28d849SEd Maste 634*8e28d849SEd Mastecommit 33bb47e6f74f2ca8093946e6f462d655a9ae46d3 635*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 636*8e28d849SEd MasteDate: Thu Feb 20 17:10:32 2025 +1100 637*8e28d849SEd Maste 638*8e28d849SEd Maste Add ubuntu-*-arm test runners 639*8e28d849SEd Maste 640*8e28d849SEd Mastecommit a0c95fbb215b2168fa51b15906e2d6990d7fef6b 641*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 642*8e28d849SEd MasteDate: Thu Feb 20 17:03:28 2025 +1100 643*8e28d849SEd Maste 644*8e28d849SEd Maste remove ubuntu-20.04 Github action runners 645*8e28d849SEd Maste 646*8e28d849SEd Maste ubuntu-20.04 is deprecated now, so migrate all its unique runners 647*8e28d849SEd Maste to ubuntu-22.04. 648*8e28d849SEd Maste 649*8e28d849SEd Maste ok dtucker@ 650*8e28d849SEd Maste 651*8e28d849SEd Mastecommit 0cbeedba81b57c56379e1d202b9ccd3b72af7ddc 6520ae642c7SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6530ae642c7SEd MasteDate: Tue Feb 18 19:03:42 2025 +1100 6540ae642c7SEd Maste 6550ae642c7SEd Maste openssh-9.9p2 6560ae642c7SEd Maste 657*8e28d849SEd Mastecommit 0832aac79517611dd4de93ad0a83577994d9c907 6580ae642c7SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6590ae642c7SEd MasteDate: Tue Feb 18 08:02:48 2025 +0000 6600ae642c7SEd Maste 6610ae642c7SEd Maste upstream: Fix cases where error codes were not correctly set 6620ae642c7SEd Maste 6630ae642c7SEd Maste Reported by the Qualys Security Advisory team. ok markus@ 6640ae642c7SEd Maste 6650ae642c7SEd Maste OpenBSD-Commit-ID: 7bcd4ffe0fa1e27ff98d451fb9c22f5fae6e610d 6660ae642c7SEd Maste 667*8e28d849SEd Mastecommit 6ce00f0c2ecbb9f75023dbe627ee6460bcec78c2 6680ae642c7SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6690ae642c7SEd MasteDate: Tue Feb 18 08:02:12 2025 +0000 6700ae642c7SEd Maste 6710ae642c7SEd Maste upstream: Don't reply to PING in preauth phase or during KEX 6720ae642c7SEd Maste 6730ae642c7SEd Maste Reported by the Qualys Security Advisory team. ok markus@ 6740ae642c7SEd Maste 6750ae642c7SEd Maste OpenBSD-Commit-ID: c656ac4abd1504389d1733d85152044b15830217 6760ae642c7SEd Maste 677*8e28d849SEd Mastecommit 9e5bd74a85192c00a842f63d7ab788713b4284c3 678*8e28d849SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 679*8e28d849SEd MasteDate: Sat Feb 15 06:48:56 2025 +0000 680*8e28d849SEd Maste 681*8e28d849SEd Maste upstream: - use \& when contructs like "e.g." end a line, to avoid 682*8e28d849SEd Maste 683*8e28d849SEd Maste double spacing - macro is Qq not Oq 684*8e28d849SEd Maste 685*8e28d849SEd Maste OpenBSD-Commit-ID: 17e5d2d7f288cc7fc536e3af252224525f9fb43a 686*8e28d849SEd Maste 687*8e28d849SEd Mastecommit f519e71fb7a46314ae16e2a75490649dc0bd01a2 688*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 689*8e28d849SEd MasteDate: Sat Feb 15 13:12:40 2025 +1100 690*8e28d849SEd Maste 691*8e28d849SEd Maste depend 692*8e28d849SEd Maste 693*8e28d849SEd Mastecommit 9131ac64b0ebe66dc1de9d44bf8d1bd64a24c350 694*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 695*8e28d849SEd MasteDate: Sat Feb 15 01:52:07 2025 +0000 696*8e28d849SEd Maste 697*8e28d849SEd Maste upstream: add "Match version" support to ssh_config. Allows 698*8e28d849SEd Maste 699*8e28d849SEd Maste matching on the local version of OpenSSH, e.g. "Match version OpenSSH_10.*" 700*8e28d849SEd Maste 701*8e28d849SEd Maste ok markus@ 702*8e28d849SEd Maste 703*8e28d849SEd Maste OpenBSD-Commit-ID: c0cb504d0b9e43ccf12e68a544a7cd625e89758d 704*8e28d849SEd Maste 705*8e28d849SEd Mastecommit 192a20df00c8a56fe7d92ffa23d959c865d7fb9e 706*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 707*8e28d849SEd MasteDate: Sat Feb 15 01:50:47 2025 +0000 708*8e28d849SEd Maste 709*8e28d849SEd Maste upstream: Add support for "Match sessiontype" to ssh_config. Allows 710*8e28d849SEd Maste 711*8e28d849SEd Maste matching on the type of session requested, either "shell" for interactive 712*8e28d849SEd Maste sessions, "exec" for command execution sessions, "subsystem" for subsystem 713*8e28d849SEd Maste requests, such as sftp, or "none" for transport/forwarding-only sessions. 714*8e28d849SEd Maste 715*8e28d849SEd Maste ok markus@ 716*8e28d849SEd Maste 717*8e28d849SEd Maste OpenBSD-Commit-ID: eff5c001aecb2283d36639cfb28c0935a8bfd468 718*8e28d849SEd Maste 719*8e28d849SEd Mastecommit caa3c0c77082888236b0b0c4feb3e6879731b3ba 720*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 721*8e28d849SEd MasteDate: Sat Feb 15 01:48:30 2025 +0000 722*8e28d849SEd Maste 723*8e28d849SEd Maste upstream: "Match command ..." support for ssh_config to allow 724*8e28d849SEd Maste 725*8e28d849SEd Maste matching on the remote command specified on the commandline. 726*8e28d849SEd Maste 727*8e28d849SEd Maste Also relaxes matching rules for `Match tagged` to allow 728*8e28d849SEd Maste `Match tagged ""` to match an empty tag value. This also works 729*8e28d849SEd Maste for command. 730*8e28d849SEd Maste 731*8e28d849SEd Maste ok markus@ 732*8e28d849SEd Maste 733*8e28d849SEd Maste OpenBSD-Commit-ID: 00dcfea425bf58d824bf5e3464cfc2409121b60d 734*8e28d849SEd Maste 735*8e28d849SEd Mastecommit 38f6000e9851a00e2e4b8e1eb4ea6a243ef7e6a3 736*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 737*8e28d849SEd MasteDate: Tue Feb 11 10:32:26 2025 +1100 738*8e28d849SEd Maste 739*8e28d849SEd Maste depend 740*8e28d849SEd Maste 741*8e28d849SEd Mastecommit aa1409e7a0a5605f0127651a3ba5a348666325bc 742*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 743*8e28d849SEd MasteDate: Mon Feb 10 23:19:26 2025 +0000 744*8e28d849SEd Maste 745*8e28d849SEd Maste upstream: include arguments the command was invoked with, and 746*8e28d849SEd Maste 747*8e28d849SEd Maste operating system name, version and architecture in startup debugging output; 748*8e28d849SEd Maste ok dtucker 749*8e28d849SEd Maste 750*8e28d849SEd Maste OpenBSD-Commit-ID: 2a509d319aaf31a6bf9998e1842832883fbc3edd 751*8e28d849SEd Maste 752*8e28d849SEd Mastecommit 857ac20f5fe19f183defba5dbf4b7d9e6400230c 753*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 754*8e28d849SEd MasteDate: Mon Feb 10 23:16:51 2025 +0000 755*8e28d849SEd Maste 756*8e28d849SEd Maste upstream: include line number in Match debug messages, makes it a 757*8e28d849SEd Maste 758*8e28d849SEd Maste little easier to see what's going on 759*8e28d849SEd Maste 760*8e28d849SEd Maste OpenBSD-Commit-ID: 1fcf4aa2ee667711b9497ded0fa52d757c69b1df 761*8e28d849SEd Maste 762*8e28d849SEd Mastecommit af49d474e481d2d78b2f06b06a06b0b37629358e 7630ae642c7SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7640ae642c7SEd MasteDate: Mon Feb 10 23:00:29 2025 +0000 7650ae642c7SEd Maste 7660ae642c7SEd Maste upstream: fix "Match invalid-user" from incorrectly being activated 7670ae642c7SEd Maste 7680ae642c7SEd Maste in initial configuration pass when no other predicates were present on the 7690ae642c7SEd Maste match line 7700ae642c7SEd Maste 7710ae642c7SEd Maste OpenBSD-Commit-ID: 02703b4bd207fafd03788bc4e7774bf80be6c9a8 7720ae642c7SEd Maste 773*8e28d849SEd Mastecommit 1c67bae3f5834e48ded71c406f2039dea6e536db 774*8e28d849SEd MasteAuthor: schwarze@openbsd.org <schwarze@openbsd.org> 775*8e28d849SEd MasteDate: Sun Feb 9 18:24:08 2025 +0000 776*8e28d849SEd Maste 777*8e28d849SEd Maste upstream: In a section 1 manual, use the plain English words 778*8e28d849SEd Maste 779*8e28d849SEd Maste "standard output" rather than the overly technical abbreviation "stdout" - we 780*8e28d849SEd Maste are not talking about a device file or a FILE * object here. Issue reported 781*8e28d849SEd Maste by <onf at disroot dot org> on the groff mailing list. 782*8e28d849SEd Maste 783*8e28d849SEd Maste OpenBSD-Commit-ID: a0816999f970e6159523bed8484f62c42ec93109 784*8e28d849SEd Maste 785*8e28d849SEd Mastecommit 85b3d68dd931416ede657f371f1d60cdc3a66f34 786*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 787*8e28d849SEd MasteDate: Fri Jan 17 00:09:41 2025 +0000 788*8e28d849SEd Maste 789*8e28d849SEd Maste upstream: Fix debug logging of user specific delay. Patch from 790*8e28d849SEd Maste 791*8e28d849SEd Maste Achim Leitner (fjl5) via github PR#552. 792*8e28d849SEd Maste 793*8e28d849SEd Maste OpenBSD-Commit-ID: 834a869ed9b15058d3c1ef0cd75402ef989255d8 794*8e28d849SEd Maste 795*8e28d849SEd Mastecommit e4e5b06fdf4532705669c0ae944b364022d16b9d 796*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 797*8e28d849SEd MasteDate: Thu Jan 16 06:37:10 2025 +0000 798*8e28d849SEd Maste 799*8e28d849SEd Maste upstream: Call log_init in sshd-auth and sshd-session immediately 800*8e28d849SEd Maste 801*8e28d849SEd Maste after parsing the config file so that any log settings set in the config file 802*8e28d849SEd Maste take effect immediately. Move version banners to immediately after that, and 803*8e28d849SEd Maste make them distinct per binary. ok djm@ 804*8e28d849SEd Maste 805*8e28d849SEd Maste OpenBSD-Commit-ID: acf3d090638edf9b6e6f78eed96b537fe671f0f5 806*8e28d849SEd Maste 807*8e28d849SEd Mastecommit 0643994b20f2cc54bca80842a984b3052ff1a6a9 808*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 809*8e28d849SEd MasteDate: Wed Jan 15 22:23:13 2025 +0000 810*8e28d849SEd Maste 811*8e28d849SEd Maste upstream: Use strprefix helper when processing sshd -C test args 812*8e28d849SEd Maste 813*8e28d849SEd Maste instead of counting bytes by hand. ok djm@ 814*8e28d849SEd Maste 815*8e28d849SEd Maste OpenBSD-Commit-ID: 2866d369d96fe04bf76112260ac37e489f98a9a9 816*8e28d849SEd Maste 817*8e28d849SEd Mastecommit 66efd0fbb6b8b95f8a520f2cdf8ede14e62b30b3 818*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 819*8e28d849SEd MasteDate: Thu Feb 6 09:38:09 2025 +1100 820*8e28d849SEd Maste 821*8e28d849SEd Maste add support for AWS-LC (AWS libcrypto) 822*8e28d849SEd Maste 823*8e28d849SEd Maste Patch from Shubham Mittal via bz3784; ok dtucker 824*8e28d849SEd Maste 825*8e28d849SEd Mastecommit 826483d51a9fee60703298bbf839d9ce37943474 826*8e28d849SEd MasteAuthor: Tim Rice <tim@multitalents.net> 827*8e28d849SEd MasteDate: Mon Dec 16 15:36:54 2024 -0800 828*8e28d849SEd Maste 829*8e28d849SEd Maste fix old typo (s/SYSVINITSTOPT/SYSVINITSTOP/) 830*8e28d849SEd Maste 831*8e28d849SEd Mastecommit 1a8ce460f1d0c3f7304edba0733783b57b430e21 832*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 833*8e28d849SEd MasteDate: Thu Dec 12 09:09:09 2024 +0000 834*8e28d849SEd Maste 835*8e28d849SEd Maste upstream: Plug leak on error path, spotted by Coverity. ok djm@ 836*8e28d849SEd Maste 837*8e28d849SEd Maste OpenBSD-Commit-ID: b1859959374b4709569760cae0866d22a16606d3 838*8e28d849SEd Maste 839*8e28d849SEd Mastecommit 924f996144fc0ae1a659fadcfc2237d1ae935fc4 840*8e28d849SEd MasteAuthor: Xavier Hsinyuan <me@lstlx.com> 841*8e28d849SEd MasteDate: Mon Dec 9 11:21:05 2024 +0800 842*8e28d849SEd Maste 843*8e28d849SEd Maste Add $(srcdir) for standalone sk-libfido2 make target. 844*8e28d849SEd Maste 845*8e28d849SEd Maste Fix out-of-tree build failure due to incorrect path for `sk-usbhid.c`. 846*8e28d849SEd Maste 847*8e28d849SEd Mastecommit bbc9c18e84de29c83fa03e69290979fcca54a2b2 848*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 849*8e28d849SEd MasteDate: Sat Dec 7 10:12:19 2024 +0000 850*8e28d849SEd Maste 851*8e28d849SEd Maste upstream: replace bespoke logging of MaxSessions enforcement with 852*8e28d849SEd Maste 853*8e28d849SEd Maste new ratelimited logging infrastructure. 854*8e28d849SEd Maste 855*8e28d849SEd Maste Add ratelimits to logging of connections dropped by PerSourcePenalties 856*8e28d849SEd Maste 857*8e28d849SEd Maste ok dtucker 858*8e28d849SEd Maste 859*8e28d849SEd Maste OpenBSD-Commit-ID: f22fe7c39607e4361aadf95e33773ffd68c59489 860*8e28d849SEd Maste 861*8e28d849SEd Mastecommit 5a6ddf946cf105189c2c99a04f86ce95edc55fc5 862*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 863*8e28d849SEd MasteDate: Sat Dec 7 10:05:36 2024 +0000 864*8e28d849SEd Maste 865*8e28d849SEd Maste upstream: add infrastructure for ratelimited logging; feedback/ok 866*8e28d849SEd Maste 867*8e28d849SEd Maste dtucker 868*8e28d849SEd Maste 869*8e28d849SEd Maste OpenBSD-Commit-ID: 18a83e5ac09d59aaf1e834fd6b796db89dd842e7 870*8e28d849SEd Maste 871*8e28d849SEd Mastecommit 85f0c1e75e8f6c5d83b8070918ee2f6ab16d403e 872*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 873*8e28d849SEd MasteDate: Fri Dec 6 16:24:27 2024 +0000 874*8e28d849SEd Maste 875*8e28d849SEd Maste upstream: allow glob(3) patterns for sshd_config AuthorizedKeysFile 876*8e28d849SEd Maste 877*8e28d849SEd Maste and AuthorizedPrincipalsFile directives; bz2755 ok dtucker 878*8e28d849SEd Maste 879*8e28d849SEd Maste OpenBSD-Commit-ID: 3e3e05a17fca39bba78b993a07b44664519adf7f 880*8e28d849SEd Maste 881*8e28d849SEd Mastecommit 9a9ffee6e10bcd039f1f9385599577441ebe542a 882*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 883*8e28d849SEd MasteDate: Fri Dec 6 16:21:48 2024 +0000 884*8e28d849SEd Maste 885*8e28d849SEd Maste upstream: support VersionAddendum in the client, mirroring the 886*8e28d849SEd Maste 887*8e28d849SEd Maste option of the same name in the server; bz2745 ok dtucker@ 888*8e28d849SEd Maste 889*8e28d849SEd Maste OpenBSD-Commit-ID: 6ff7905b3f9806649bde750515786553fb89cdf4 890*8e28d849SEd Maste 891*8e28d849SEd Mastecommit 41ab0ccecd68232e196efae5e224b31ca104c423 892*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 893*8e28d849SEd MasteDate: Fri Dec 6 16:02:12 2024 +0000 894*8e28d849SEd Maste 895*8e28d849SEd Maste upstream: clarify encoding of options/extensions; bz2389 896*8e28d849SEd Maste 897*8e28d849SEd Maste OpenBSD-Commit-ID: c4e92356d44dfe6d0a4416deecb33d1d1eba016c 898*8e28d849SEd Maste 899*8e28d849SEd Mastecommit 5488810359f0fd91e2f7b919c70a3798e46376cb 900*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 901*8e28d849SEd MasteDate: Fri Dec 6 15:17:15 2024 +0000 902*8e28d849SEd Maste 903*8e28d849SEd Maste upstream: ignore SIGPIPE here; some downstreams have had this for 904*8e28d849SEd Maste 905*8e28d849SEd Maste years... 906*8e28d849SEd Maste 907*8e28d849SEd Maste OpenBSD-Commit-ID: 73674ee4f8ceb8fc9cb8de71d8ddea0c721eb035 908*8e28d849SEd Maste 909*8e28d849SEd Mastecommit 4389a792d9078212366eba124a3eed36e009d09e 910*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 911*8e28d849SEd MasteDate: Fri Dec 6 15:12:56 2024 +0000 912*8e28d849SEd Maste 913*8e28d849SEd Maste upstream: sync -o option lists with ssh.1; requested jmc@ 914*8e28d849SEd Maste 915*8e28d849SEd Maste OpenBSD-Commit-ID: a7ac295b444da7b2ca7a33a52370594f6897f6bb 916*8e28d849SEd Maste 917*8e28d849SEd Mastecommit 6b9cd095565ddc5402d5096dce248fa0521dbda3 918*8e28d849SEd MasteAuthor: Fabio Pedretti <pedretti.fabio@gmail.com> 919*8e28d849SEd MasteDate: Mon Oct 16 17:12:24 2023 +0200 920*8e28d849SEd Maste 921*8e28d849SEd Maste Remove ancient RHL 6.x config in RPM spec. 922*8e28d849SEd Maste 923*8e28d849SEd Maste It looks like build6x options were intended for RHL 6.x 924*8e28d849SEd Maste (the Red Hat distro predating Fedora, not RHEL), but were 925*8e28d849SEd Maste then applied to RHEL. 926*8e28d849SEd Maste 927*8e28d849SEd Maste Completely remove support for this ancient configuration. 928*8e28d849SEd Maste 929*8e28d849SEd Maste Successfully built, installed and run on RHEL 6. This also 930*8e28d849SEd Maste remove a build warning about deprecation of PreReq. 931*8e28d849SEd Maste 932*8e28d849SEd Mastecommit 5cacfa798f92b707491375fed748d1d1bcb33ec9 933*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 934*8e28d849SEd MasteDate: Fri Dec 6 23:54:45 2024 +1100 935*8e28d849SEd Maste 936*8e28d849SEd Maste Add new hardware-backed signing key for myself. 937*8e28d849SEd Maste 938*8e28d849SEd Maste Retire old non-hardware based signing key. 939*8e28d849SEd Maste 940*8e28d849SEd Mastecommit f129b6ee1d4361799e65307216e3a4d5544356b7 941*8e28d849SEd MasteAuthor: Jonas 'Sortie' Termansen <sortie@maxsi.org> 942*8e28d849SEd MasteDate: Sat Nov 2 22:05:45 2024 +0100 943*8e28d849SEd Maste 944*8e28d849SEd Maste Fix configure implicit declaration and format warnings. 945*8e28d849SEd Maste 946*8e28d849SEd Mastecommit 11a5e5179077f73c2d45bcdf3f60153ae3f17815 947*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 948*8e28d849SEd MasteDate: Fri Dec 6 07:05:54 2024 +0000 949*8e28d849SEd Maste 950*8e28d849SEd Maste upstream: Expand $SSH to absolute path if it's not already. 951*8e28d849SEd Maste 952*8e28d849SEd Maste Prevents problem later in increase_datafile_size if ssh is not in 953*8e28d849SEd Maste the path. Patch from quaresmajose via GHPR#510. 954*8e28d849SEd Maste 955*8e28d849SEd Maste OpenBSD-Regress-ID: 2670a66af8b827410ca7139f0a89f4501cece77b 956*8e28d849SEd Maste 957*8e28d849SEd Mastecommit dc2ef8f0944a4ff7ba19e52fd17b4654e6bd9b93 958*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 959*8e28d849SEd MasteDate: Fri Dec 6 06:55:28 2024 +0000 960*8e28d849SEd Maste 961*8e28d849SEd Maste upstream: Change "login again" to "log in again" 962*8e28d849SEd Maste 963*8e28d849SEd Maste in password change message. From ThinLinc-Zeijlon via github PR#532. 964*8e28d849SEd Maste 965*8e28d849SEd Maste OpenBSD-Commit-ID: fea5e9bc04caf613a118c419f16863733b340cf1 966*8e28d849SEd Maste 967*8e28d849SEd Mastecommit 8252f346eb21cd6b30816f905b7d94f10962373e 968*8e28d849SEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 969*8e28d849SEd MasteDate: Thu Dec 5 22:45:03 2024 +0000 970*8e28d849SEd Maste 971*8e28d849SEd Maste upstream: catch up documentation: AES-GCM is preferred to AES-CTR 972*8e28d849SEd Maste 973*8e28d849SEd Maste OpenBSD-Commit-ID: 63360924b6834507fe70020edb936f5075043a9e 974*8e28d849SEd Maste 975*8e28d849SEd Mastecommit 9a2f4c75081769bd45eba2bf3fab0a32b25f1879 976*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 977*8e28d849SEd MasteDate: Fri Dec 6 17:56:17 2024 +1100 978*8e28d849SEd Maste 979*8e28d849SEd Maste Change text from "login to" to "log in to". 980*8e28d849SEd Maste 981*8e28d849SEd Maste From ThinLinc-Zeijlon via GHPR#532. 982*8e28d849SEd Maste 983*8e28d849SEd Mastecommit 24dcf368d816b06136a02845ebd0c7846bf18927 984*8e28d849SEd MasteAuthor: Xavier Hsinyuan <me@lstlx.com> 985*8e28d849SEd MasteDate: Fri Dec 6 11:56:34 2024 +0800 986*8e28d849SEd Maste 987*8e28d849SEd Maste Fix configure message typo in sk-libfido2 standalone. 988*8e28d849SEd Maste 989*8e28d849SEd Mastecommit 1a0cac2f3411a22d69ae6918eff48456b805e73b 990*8e28d849SEd MasteAuthor: Alexander Kanavin <alex@linutronix.de> 991*8e28d849SEd MasteDate: Thu Dec 5 16:26:46 2024 +0100 992*8e28d849SEd Maste 993*8e28d849SEd Maste Skip 2038 key expiry test on 64 bit time_t systems. 994*8e28d849SEd Maste 995*8e28d849SEd Maste This allows testing Y2038 with system time set to after that (i.e. 2040), 996*8e28d849SEd Maste so that actual Y2038 issues can be exposed, and not masked by key expiry 997*8e28d849SEd Maste errors. 998*8e28d849SEd Maste 999*8e28d849SEd Maste Signed-off-by: Alexander Kanavin <alex@linutronix.de> 1000*8e28d849SEd Maste 1001*8e28d849SEd Mastecommit 6b4611dc1232c5d2c8e43201f580f19aab320c87 1002*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1003*8e28d849SEd MasteDate: Fri Dec 6 01:45:52 2024 +1100 1004*8e28d849SEd Maste 1005*8e28d849SEd Maste Skip 64bit expiry time test on 32bit time_t. 1006*8e28d849SEd Maste 1007*8e28d849SEd Mastecommit c9b7866a7dc5e6c30f5aa9d22dd0bbafda0d496f 1008*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1009*8e28d849SEd MasteDate: Thu Dec 5 14:28:39 2024 +0000 1010*8e28d849SEd Maste 1011*8e28d849SEd Maste upstream: Add key expiry test in the 64bit time_t range for additional 1012*8e28d849SEd Maste 1013*8e28d849SEd Maste coverage. From Alexander Kanavin via bz#3684. 1014*8e28d849SEd Maste 1015*8e28d849SEd Maste OpenBSD-Regress-ID: bdf6eb3c2421f2e1e11483d03b34c7931d1bccf7 1016*8e28d849SEd Maste 1017*8e28d849SEd Mastecommit 790c913b5fc6ee93ae14793443dc85a0f574b7eb 1018*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1019*8e28d849SEd MasteDate: Thu Dec 5 19:24:56 2024 +1100 1020*8e28d849SEd Maste 1021*8e28d849SEd Maste typo 1022*8e28d849SEd Maste 1023*8e28d849SEd Mastecommit d23a23aaeeabc228792e3fd7eb5f2fa6ae13c482 1024*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1025*8e28d849SEd MasteDate: Thu Dec 5 08:47:02 2024 +1100 1026*8e28d849SEd Maste 1027*8e28d849SEd Maste add a Makefile target for ssh-verify-attestation 1028*8e28d849SEd Maste 1029*8e28d849SEd Maste Not built by default, but easier than doing it by hand 1030*8e28d849SEd Maste 1031*8e28d849SEd Mastecommit d0ac63d0f8b5f778d5fd326701ef4489bc27635e 1032*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1033*8e28d849SEd MasteDate: Thu Dec 5 06:49:26 2024 +0000 1034*8e28d849SEd Maste 1035*8e28d849SEd Maste upstream: De-magic the x11 base port number into a define. ok djm@ 1036*8e28d849SEd Maste 1037*8e28d849SEd Maste OpenBSD-Commit-ID: 23b85ca9d222cb739b9c33ee5e4d6ac9fdeecbfa 1038*8e28d849SEd Maste 1039*8e28d849SEd Mastecommit 9998c93d57bf0f1df2bc93e0bc2d8112c6f8c720 1040*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1041*8e28d849SEd MasteDate: Thu Dec 5 06:47:00 2024 +0000 1042*8e28d849SEd Maste 1043*8e28d849SEd Maste upstream: Prevent integer overflow in x11 port handling. These are 1044*8e28d849SEd Maste 1045*8e28d849SEd Maste theoretically possible if the admin misconfigures X11DisplayOffset or the 1046*8e28d849SEd Maste user misconfigures their own $DISPLAY, but don't happen in normal operation. 1047*8e28d849SEd Maste From Suhov Roman via bz#3730, ok djm@ 1048*8e28d849SEd Maste 1049*8e28d849SEd Maste OpenBSD-Commit-ID: e9e3860f1a19b862ccf07dc8ecbe8f1e1034f4ed 1050*8e28d849SEd Maste 1051*8e28d849SEd Mastecommit 8c9ee046d40e4254c6c1711783ea11027b72c3e9 1052*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1053*8e28d849SEd MasteDate: Wed Dec 4 16:42:49 2024 +0000 1054*8e28d849SEd Maste 1055*8e28d849SEd Maste upstream: add a work-in-progress tool to verify FIDO attestation 1056*8e28d849SEd Maste 1057*8e28d849SEd Maste blobs that ssh-keygen can write when enrolling FIDO keys. 1058*8e28d849SEd Maste 1059*8e28d849SEd Maste OpenBSD-Regress-ID: 6c97bf3f46e48866677ad69f54b77683eb92437f 1060*8e28d849SEd Maste 1061*8e28d849SEd Mastecommit 50c640d874d0246dd0a0d949398c3d7f757c716a 1062*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1063*8e28d849SEd MasteDate: Wed Dec 4 10:51:13 2024 +0000 1064*8e28d849SEd Maste 1065*8e28d849SEd Maste upstream: Don't assume existence of SK provider in test. Patch from 1066*8e28d849SEd Maste 1067*8e28d849SEd Maste balu.gajjala at gmail via bz#3402. 1068*8e28d849SEd Maste 1069*8e28d849SEd Maste OpenBSD-Regress-ID: d571932016d07d135b54433d07520b9e1901db43 1070*8e28d849SEd Maste 1071*8e28d849SEd Mastecommit 73d782693144262570d3585b62f16b183170c014 1072*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1073*8e28d849SEd MasteDate: Wed Dec 4 14:37:55 2024 +0000 1074*8e28d849SEd Maste 1075*8e28d849SEd Maste upstream: sync the list of options accepted by -o with ssh_config.5 1076*8e28d849SEd Maste 1077*8e28d849SEd Maste prompted by bz3455 1078*8e28d849SEd Maste 1079*8e28d849SEd Maste OpenBSD-Commit-ID: 0ecbfa70aea6c769bcc259defe07182edf461f57 1080*8e28d849SEd Maste 1081*8e28d849SEd Mastecommit 6993d9f0959534b0b7d52e17b95e9e79fb0b3d0a 1082*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1083*8e28d849SEd MasteDate: Wed Dec 4 14:24:20 2024 +0000 1084*8e28d849SEd Maste 1085*8e28d849SEd Maste upstream: don't screw up ssh-keygen -l output when the file 1086*8e28d849SEd Maste 1087*8e28d849SEd Maste contains CR characters; GHPR236 bz3385, fix from Dmitry Belyavskiy 1088*8e28d849SEd Maste 1089*8e28d849SEd Maste OpenBSD-Commit-ID: e458cf6b0adcea5b69ef4c7ba38e590841d02ef4 1090*8e28d849SEd Maste 1091*8e28d849SEd Mastecommit c0b03c2534946fc114880092177aa4a3683ced2d 1092*8e28d849SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 1093*8e28d849SEd MasteDate: Tue Dec 3 22:30:03 2024 +0000 1094*8e28d849SEd Maste 1095*8e28d849SEd Maste upstream: spelling; ok djm@ 1096*8e28d849SEd Maste 1097*8e28d849SEd Maste OpenBSD-Commit-ID: c8ff3f70020451eef214e598117b7ce1a29853ef 1098*8e28d849SEd Maste 1099*8e28d849SEd Mastecommit 97eb247f40167f44324e88a537d5b4fe771a63b2 1100*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1101*8e28d849SEd MasteDate: Tue Dec 3 16:27:53 2024 +0000 1102*8e28d849SEd Maste 1103*8e28d849SEd Maste upstream: Remove fallback to compiled-in gropup for dhgex when the 1104*8e28d849SEd Maste 1105*8e28d849SEd Maste moduli file exists, but does not contain moduli within the client-requested 1106*8e28d849SEd Maste range. The fallback behaviour remains for the case where the moduli file does 1107*8e28d849SEd Maste not exist (typically, running tests prior to installing). From bz#2793, based 1108*8e28d849SEd Maste in part on patch from Joe Testa, ok djm@ 1109*8e28d849SEd Maste 1110*8e28d849SEd Maste OpenBSD-Commit-ID: b1a8c5dbbedf249b42474679ebaf14db7332b1ab 1111*8e28d849SEd Maste 1112*8e28d849SEd Mastecommit 30c746265ebde29806dba77c92fb1fd3803cbf5c 1113*8e28d849SEd MasteAuthor: tb@openbsd.org <tb@openbsd.org> 1114*8e28d849SEd MasteDate: Tue Dec 3 15:53:51 2024 +0000 1115*8e28d849SEd Maste 1116*8e28d849SEd Maste upstream: Remove redundant field of definition check 1117*8e28d849SEd Maste 1118*8e28d849SEd Maste This will allow us to get rid of EC_GROUP_method_of() in the near future. 1119*8e28d849SEd Maste 1120*8e28d849SEd Maste ok djm 1121*8e28d849SEd Maste 1122*8e28d849SEd Maste OpenBSD-Commit-ID: b4a3d2e00990cf5c2ec6881c21ddca67327c2df8 1123*8e28d849SEd Maste 1124*8e28d849SEd Mastecommit eaa1744f34c30740328fd0a0d84b5f2f9e6918c1 1125*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1126*8e28d849SEd MasteDate: Thu Dec 5 00:59:19 2024 +1100 1127*8e28d849SEd Maste 1128*8e28d849SEd Maste don't ignore changes in regress Makefiles 1129*8e28d849SEd Maste 1130*8e28d849SEd Maste reported by Torben Hansen in bz2880 1131*8e28d849SEd Maste 1132*8e28d849SEd Mastecommit 66e986880b2472fefaad781f10113b138b65ff27 1133*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1134*8e28d849SEd MasteDate: Thu Dec 5 00:01:33 2024 +1100 1135*8e28d849SEd Maste 1136*8e28d849SEd Maste Support systemd-style socket activation in agent 1137*8e28d849SEd Maste 1138*8e28d849SEd Maste Adds support for systemd LISTEN_PID/LISTEN_FDS socket activation to 1139*8e28d849SEd Maste ssh-agent. Activated when these environment variables are set and 1140*8e28d849SEd Maste the agent is started with the -d or -D option and no socket path 1141*8e28d849SEd Maste is set. 1142*8e28d849SEd Maste 1143*8e28d849SEd Maste Based on GHPR502 by Daniel Kahn Gillmor, ok dtucker 1144*8e28d849SEd Maste 1145*8e28d849SEd Mastecommit 9b57c099f57152e6c94f633c114f544087f4bdaa 1146*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1147*8e28d849SEd MasteDate: Wed Dec 4 21:36:01 2024 +1100 1148*8e28d849SEd Maste 1149*8e28d849SEd Maste Update readme files to better reflect reality. 1150*8e28d849SEd Maste 1151*8e28d849SEd Maste Prompted by bz#3738, ok djm@. 1152*8e28d849SEd Maste 1153*8e28d849SEd Mastecommit ffa885db1b960451d426455045d2f51288e48ee8 1154*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1155*8e28d849SEd MasteDate: Tue Dec 3 14:12:47 2024 +0000 1156*8e28d849SEd Maste 1157*8e28d849SEd Maste upstream: Improve description of KbdInteractiveAuthentication. 1158*8e28d849SEd Maste 1159*8e28d849SEd Maste Based on bz#3658, fixes jmc@ ok markus@ djm@. 1160*8e28d849SEd Maste 1161*8e28d849SEd Maste OpenBSD-Commit-ID: 9fadb56b9afed554d501acbba911c685acd6ffc2 1162*8e28d849SEd Maste 1163*8e28d849SEd Mastecommit b460f82a67795bba37c6cc6c78f788e5b435b4cb 1164*8e28d849SEd MasteAuthor: Jonas 'Sortie' Termansen <sortie@maxsi.org> 1165*8e28d849SEd MasteDate: Sat Nov 2 17:53:23 2024 +0100 1166*8e28d849SEd Maste 1167*8e28d849SEd Maste Inherit DESTDIR from the environment. 1168*8e28d849SEd Maste 1169*8e28d849SEd Maste autoconf packages conventionally inherit the DESTDIR variable from the 1170*8e28d849SEd Maste environment. 1171*8e28d849SEd Maste 1172*8e28d849SEd Mastecommit 9da7fa7c7464df241ae5d17da94e4ebed9013719 1173*8e28d849SEd MasteAuthor: Jonas 'Sortie' Termansen <sortie@maxsi.org> 1174*8e28d849SEd MasteDate: Sat Nov 2 22:10:39 2024 +0100 1175*8e28d849SEd Maste 1176*8e28d849SEd Maste Define u_short and u_long if needed. 1177*8e28d849SEd Maste 1178*8e28d849SEd Mastecommit d3a7ff7cecbc23cc37044bdf02e7118d05bf3c35 1179*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1180*8e28d849SEd MasteDate: Tue Dec 3 08:31:49 2024 +0000 1181*8e28d849SEd Maste 1182*8e28d849SEd Maste upstream: support FIDO tokens that return no attestation data, e.g. 1183*8e28d849SEd Maste 1184*8e28d849SEd Maste recent WinHello. From Michael Braun via GHPR542 1185*8e28d849SEd Maste 1186*8e28d849SEd Maste OpenBSD-Commit-ID: a71b0542f2f7819ba0e33a88908e01b6fc49e4ce 1187*8e28d849SEd Maste 1188*8e28d849SEd Mastecommit 96b64056c812620014b65371a9e3ac86bfcd08d5 1189*8e28d849SEd MasteAuthor: Thorsten Kukuk <kukuk@suse.com> 1190*8e28d849SEd MasteDate: Tue Nov 19 10:53:28 2024 +0100 1191*8e28d849SEd Maste 1192*8e28d849SEd Maste Add wtmpdb support as Y2038 safe wtmp replacement 1193*8e28d849SEd Maste 1194*8e28d849SEd Mastecommit 1d9563a56f2ad5b0c0aeef20e19c1a03ad54f88a 1195*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1196*8e28d849SEd MasteDate: Mon Dec 2 14:06:42 2024 +0000 1197*8e28d849SEd Maste 1198*8e28d849SEd Maste upstream: unbreak 1199*8e28d849SEd Maste 1200*8e28d849SEd Maste OpenBSD-Commit-ID: 05b6c31f4a6e385338f43cc0e08776cea75802a1 1201*8e28d849SEd Maste 1202*8e28d849SEd Mastecommit d75837b9f6d0d6cc18ed5078789ea0f3dad08f00 1203*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1204*8e28d849SEd MasteDate: Mon Dec 2 13:37:18 2024 +0000 1205*8e28d849SEd Maste 1206*8e28d849SEd Maste upstream: prefer AES-GCM to AES-CTR; ok deraadt markus 1207*8e28d849SEd Maste 1208*8e28d849SEd Maste OpenBSD-Commit-ID: 8366a72e0f300ee31c5dab2c95025387ec15bbc9 1209*8e28d849SEd Maste 1210*8e28d849SEd Mastecommit e19cd494b567a73dc390e09b47c1e21545e6116b 1211*8e28d849SEd MasteAuthor: Shiva Kaul <shiva.kaul@gmail.com> 1212*8e28d849SEd MasteDate: Mon Dec 2 02:04:20 2024 -0500 1213*8e28d849SEd Maste 1214*8e28d849SEd Maste Fix compilation with DEBUG_SK enabled 1215*8e28d849SEd Maste 1216*8e28d849SEd Maste In `ssh_ecdsa_sk_verify`, the `datalen` variable was renamed to `dlen` -- but not in this debugging block. 1217*8e28d849SEd Maste 1218*8e28d849SEd Mastecommit 67ace92be0718df7e0f52c0a76684fc2ebae4089 1219*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1220*8e28d849SEd MasteDate: Fri Nov 29 00:13:36 2024 +0000 1221*8e28d849SEd Maste 1222*8e28d849SEd Maste upstream: Import regenerated moduli. 1223*8e28d849SEd Maste 1224*8e28d849SEd Maste OpenBSD-Commit-ID: 311d271bf0fab8a119e84f4f696d8cd40731692f 1225*8e28d849SEd Maste 1226*8e28d849SEd Mastecommit ca0697a90e5720ba4d76cb0ae9d5572b5260a16c 1227*8e28d849SEd MasteAuthor: Jeremy Stott <jeremy@stott.co.nz> 1228*8e28d849SEd MasteDate: Sat Oct 19 12:10:52 2024 +1300 1229*8e28d849SEd Maste 1230*8e28d849SEd Maste Add make target for standalone sk-libfido2 1231*8e28d849SEd Maste 1232*8e28d849SEd Maste Add a Makefile target for sk-libfido2, the standalone fido2 security 1233*8e28d849SEd Maste key shared library, suitable for use with the SecurityKeyProvider 1234*8e28d849SEd Maste option. 1235*8e28d849SEd Maste 1236*8e28d849SEd Maste Add a new configure option `--with-security-key-standalone` that 1237*8e28d849SEd Maste optionally sets the shared library target sk-libfido2$(SHLIBEXT), and 1238*8e28d849SEd Maste adds it to $(TARGETS). 1239*8e28d849SEd Maste 1240*8e28d849SEd Maste misc.h is required when SK_STANDALONE is defined, because of the use 1241*8e28d849SEd Maste of `monotime_tv` in `sk_select_by_touch`. 1242*8e28d849SEd Maste 1243*8e28d849SEd Maste Sets the shared library extension for sk-libfido2 is by setting 1244*8e28d849SEd Maste `SHLIBEXT` depending on the platform in configure.ac. 1245*8e28d849SEd Maste 1246*8e28d849SEd Maste Add the shared library to the CI builds in the `sk` target config to 1247*8e28d849SEd Maste make sure it can compile under the same conditions as 1248*8e28d849SEd Maste `--with-security-key-builtin`. 1249*8e28d849SEd Maste 1250*8e28d849SEd Maste Add a libssh-pic.a static library that compiles with `-fPIC` reusing 1251*8e28d849SEd Maste .c.lo method in sk-dummy.so for use in the shared library sk-libfido2. 1252*8e28d849SEd Maste 1253*8e28d849SEd Maste Note, a separate static library libssh-pic.a is needed, since defining 1254*8e28d849SEd Maste -DSK_STANDALONE excludes some symbols needed in sshkey.lo. 1255*8e28d849SEd Maste 1256*8e28d849SEd Mastecommit 74d70841efbf41b9fcc8e6f6f4777d2e9d7e2004 1257*8e28d849SEd MasteAuthor: Arnout Engelen <arnout@bzzt.net> 1258*8e28d849SEd MasteDate: Fri Oct 18 13:42:38 2024 +0200 1259*8e28d849SEd Maste 1260*8e28d849SEd Maste mdoc2man: balance nested square brackets 1261*8e28d849SEd Maste 1262*8e28d849SEd Maste I noticed the square brackets in `destination [command [argument...]` 1263*8e28d849SEd Maste in the synopsis for the `ssh.1` manpage were not balanced, 1264*8e28d849SEd Maste this balances them. 1265*8e28d849SEd Maste 1266*8e28d849SEd Maste Signed-off-by: Arnout Engelen <arnout@bzzt.net> 1267*8e28d849SEd Maste 1268*8e28d849SEd Mastecommit 8eabd2ae2ca1d7756417a1ee5b41f09c5d997634 1269*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1270*8e28d849SEd MasteDate: Wed Nov 27 16:07:08 2024 +0000 1271*8e28d849SEd Maste 1272*8e28d849SEd Maste upstream: fix argument of "Compression" directive in ssh -G config 1273*8e28d849SEd Maste 1274*8e28d849SEd Maste dump, which used to work but broke in 9.8 1275*8e28d849SEd Maste 1276*8e28d849SEd Maste OpenBSD-Commit-ID: c79936242d29c70d01941b28d2d07fd0b85fe46f 1277*8e28d849SEd Maste 1278*8e28d849SEd Mastecommit 53c03961769d8879a81398074ea3cb36253d4f2e 1279*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1280*8e28d849SEd MasteDate: Wed Nov 27 13:27:34 2024 +0000 1281*8e28d849SEd Maste 1282*8e28d849SEd Maste upstream: new name/link for agent I-D 1283*8e28d849SEd Maste 1284*8e28d849SEd Maste OpenBSD-Commit-ID: e3420f3925a297a1b2ab7dfe7c7d274cfc8e1193 1285*8e28d849SEd Maste 1286*8e28d849SEd Mastecommit 785e3c9110df8f2d30e42ce8b45969c49700f35b 1287*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1288*8e28d849SEd MasteDate: Wed Nov 27 13:00:23 2024 +0000 1289*8e28d849SEd Maste 1290*8e28d849SEd Maste upstream: mention that biometrics may be used for FIDO key user 1291*8e28d849SEd Maste 1292*8e28d849SEd Maste verification as well as PIN. Prompted by Zack Newman, ok jmc@ 1293*8e28d849SEd Maste 1294*8e28d849SEd Maste OpenBSD-Commit-ID: b774a4438c9be70012661ee278450790d21277b8 1295*8e28d849SEd Maste 1296*8e28d849SEd Mastecommit fd2e64c9ec9ea3e89e396be0db41aaf982ae1210 1297*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1298*8e28d849SEd MasteDate: Tue Nov 26 22:05:51 2024 +0000 1299*8e28d849SEd Maste 1300*8e28d849SEd Maste upstream: g/c outdated XXX comments 1301*8e28d849SEd Maste 1302*8e28d849SEd Maste OpenBSD-Commit-ID: 74d0c0b74994d9a4343c4d7ea4948cb34f609a6c 1303*8e28d849SEd Maste 1304*8e28d849SEd Mastecommit 0ad34a6193357d286042322ea7347262a6fb0778 1305*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1306*8e28d849SEd MasteDate: Tue Nov 26 22:02:28 2024 +0000 1307*8e28d849SEd Maste 1308*8e28d849SEd Maste upstream: regression test for UpdateHostkeys with multiple keys backed 1309*8e28d849SEd Maste 1310*8e28d849SEd Maste by ssh-agent. Patch from Maxime Rey. 1311*8e28d849SEd Maste 1312*8e28d849SEd Maste OpenBSD-Regress-ID: 1777ab6e639e57c0e20cbcb6df60455b49fd8bb3 1313*8e28d849SEd Maste 1314*8e28d849SEd Mastecommit 84023656d91b78f1ef86c8321ec563f2e90f7227 1315*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1316*8e28d849SEd MasteDate: Tue Nov 26 22:01:37 2024 +0000 1317*8e28d849SEd Maste 1318*8e28d849SEd Maste upstream: Explicitly specify the signature algorithm when signing 1319*8e28d849SEd Maste 1320*8e28d849SEd Maste hostkeys-prove requests. 1321*8e28d849SEd Maste 1322*8e28d849SEd Maste Fixes a corner-case triggered by UpdateHostKeys with one or more unknown 1323*8e28d849SEd Maste host keys stored in ssh-agent where sshd refuses to accept the signature 1324*8e28d849SEd Maste coming back from the agent. 1325*8e28d849SEd Maste 1326*8e28d849SEd Maste Report/fix from Maxime Rey 1327*8e28d849SEd Maste 1328*8e28d849SEd Maste OpenBSD-Commit-ID: 460c7d527a24f92b7e5f68ca1a2fa242ebf0d086 1329*8e28d849SEd Maste 1330*8e28d849SEd Mastecommit d1c1cfc5e4e9b43593d4642810ea8135e4c7db49 1331*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1332*8e28d849SEd MasteDate: Tue Nov 26 21:23:35 2024 +0000 1333*8e28d849SEd Maste 1334*8e28d849SEd Maste upstream: when using RSA keys to sign messages, select the 1335*8e28d849SEd Maste 1336*8e28d849SEd Maste signature algorithm based on the requested hash algorithm ("-Ohashalg=xxx"). 1337*8e28d849SEd Maste 1338*8e28d849SEd Maste This allows using something other than rsa-sha2-512, which may not 1339*8e28d849SEd Maste be supported on all signing backends, e.g. some smartcards only 1340*8e28d849SEd Maste support SHA256. 1341*8e28d849SEd Maste 1342*8e28d849SEd Maste Patch from Morten Linderud; ok markus@ 1343*8e28d849SEd Maste 1344*8e28d849SEd Maste OpenBSD-Commit-ID: 246353fac24e92629263996558c6788348363ad7 1345*8e28d849SEd Maste 1346*8e28d849SEd Mastecommit ac7544654441280071b90a4129a47467d40f2389 1347*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1348*8e28d849SEd MasteDate: Sun Nov 24 23:47:50 2024 +0000 1349*8e28d849SEd Maste 1350*8e28d849SEd Maste upstream: turn off CDIAGFLAGS and turn back on INSTALL_STRIP 1351*8e28d849SEd Maste 1352*8e28d849SEd Maste accidentally changed in last commit 1353*8e28d849SEd Maste 1354*8e28d849SEd Maste OpenBSD-Commit-ID: 6d07e4606997e36b860621a14dd41975f2902f8f 1355*8e28d849SEd Maste 1356*8e28d849SEd Mastecommit 953fa5b59afb04c3c74ed82d7bace65c13cd8baa 1357*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1358*8e28d849SEd MasteDate: Sat Nov 9 11:41:44 2024 +1100 1359*8e28d849SEd Maste 1360*8e28d849SEd Maste Disable security key for bigendian interop. 1361*8e28d849SEd Maste 1362*8e28d849SEd Maste It doesn't currently work. It's not clear why, but I suspect 1363*8e28d849SEd Maste sk-dummy.so ends up being built for the wrong architecture. 1364*8e28d849SEd Maste 1365*8e28d849SEd Mastecommit a80eb71c428c474098087c672398f200be8fabdf 1366*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1367*8e28d849SEd MasteDate: Sat Nov 9 05:14:16 2024 +1100 1368*8e28d849SEd Maste 1369*8e28d849SEd Maste Reshuffle OpenWRT test configs. 1370*8e28d849SEd Maste 1371*8e28d849SEd Maste Move the the flags used by the OpenWRT distro to mipsel target and 1372*8e28d849SEd Maste enable OpenSSL on all targets to improve coverage. 1373*8e28d849SEd Maste 1374*8e28d849SEd Maste Explicitly disable security key and openssl on mips target so that host 1375*8e28d849SEd Maste end of the bigendian interop tests don't attempt them and fail (since 1376*8e28d849SEd Maste they're not enabled on the target side). 1377*8e28d849SEd Maste 1378*8e28d849SEd Mastecommit d2709c461359e4129311cdff81ee05242d6c53cd 1379*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1380*8e28d849SEd MasteDate: Sat Nov 9 03:26:08 2024 +1100 1381*8e28d849SEd Maste 1382*8e28d849SEd Maste Add keytype to bigendian interop test. 1383*8e28d849SEd Maste 1384*8e28d849SEd Mastecommit 50ac0f0e0627d29fd9becf5e15e8ceca5ad18078 1385*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1386*8e28d849SEd MasteDate: Sat Nov 9 03:24:29 2024 +1100 1387*8e28d849SEd Maste 1388*8e28d849SEd Maste Ignore chown failure, eg due to dangling symlinks. 1389*8e28d849SEd Maste 1390*8e28d849SEd Mastecommit 9e528e65a03245cf28e814f09b88c701bec935d1 1391*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1392*8e28d849SEd MasteDate: Sat Nov 2 18:05:41 2024 +1100 1393*8e28d849SEd Maste 1394*8e28d849SEd Maste Test bigendian interop. 1395*8e28d849SEd Maste 1396*8e28d849SEd Maste Where our test target is a bigendian system, do an additional build on 1397*8e28d849SEd Maste the runner host (which is little endian) and test interop between the two. 1398*8e28d849SEd Maste Should hopefully catch obvious endianness bugs. 1399*8e28d849SEd Maste 1400*8e28d849SEd Mastecommit dd416f5bfa96ac1ff44b27a93f7b55ee627c6baf 1401*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1402*8e28d849SEd MasteDate: Fri Nov 1 19:44:29 2024 +1100 1403*8e28d849SEd Maste 1404*8e28d849SEd Maste Allow overridding TEST_SSH_SSHD. 1405*8e28d849SEd Maste 1406*8e28d849SEd Maste This will allow tests to specify an alternative sshd, eg on a remote 1407*8e28d849SEd Maste machine with different endianness. 1408*8e28d849SEd Maste 1409*8e28d849SEd Mastecommit 82662d562cf54829df8a941cdfb2fd307e1d9a90 1410*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1411*8e28d849SEd MasteDate: Wed Nov 6 22:51:26 2024 +0000 1412*8e28d849SEd Maste 1413*8e28d849SEd Maste upstream: ssh-agent implemented an all-or-nothing allow-list of 1414*8e28d849SEd Maste 1415*8e28d849SEd Maste FIDO application IDs for security key-backed keys, to prevent web key handles 1416*8e28d849SEd Maste from being used remotely as this would likely lead to unpleasant surprises. 1417*8e28d849SEd Maste By default, only application IDs that start with "ssh:*" are allowed. 1418*8e28d849SEd Maste 1419*8e28d849SEd Maste This adds a -Owebsafe-allow=... argument that can override the default 1420*8e28d849SEd Maste list with a more or less restrictive one. The default remains unchanged. 1421*8e28d849SEd Maste 1422*8e28d849SEd Maste ok markus@ 1423*8e28d849SEd Maste 1424*8e28d849SEd Maste OpenBSD-Commit-ID: 957c1ed92a8d7c87453b9341f70cb3f4e6b23e8d 1425*8e28d849SEd Maste 1426*8e28d849SEd Mastecommit 593a0b65c55c1e06a8c22b084aefc395aedb0127 1427*8e28d849SEd MasteAuthor: jca@openbsd.org <jca@openbsd.org> 1428*8e28d849SEd MasteDate: Mon Nov 4 21:59:15 2024 +0000 1429*8e28d849SEd Maste 1430*8e28d849SEd Maste upstream: Ignore extra groups that don't fit in the buffer passed 1431*8e28d849SEd Maste 1432*8e28d849SEd Maste to getgrouplist(3) 1433*8e28d849SEd Maste 1434*8e28d849SEd Maste Our kernel supports 16 groups (NGROUPS_MAX), but nothing prevents 1435*8e28d849SEd Maste an admin from adding a user to more groups. With that tweak we'll keep 1436*8e28d849SEd Maste on ignoring them instead of potentially reading past the buffer passed to 1437*8e28d849SEd Maste getgrouplist(3). That behavior is explicitely described in initgroups(3). 1438*8e28d849SEd Maste 1439*8e28d849SEd Maste ok millert@ gilles@ 1440*8e28d849SEd Maste 1441*8e28d849SEd Maste OpenBSD-Commit-ID: a959fc45ea3431b36f52eda04faefc58bcde00db 1442*8e28d849SEd Maste 1443*8e28d849SEd Mastecommit e7adebeff3a9d038d0eaeeb0fcefedf29acb7e90 1444*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1445*8e28d849SEd MasteDate: Mon Nov 4 14:39:27 2024 +1100 1446*8e28d849SEd Maste 1447*8e28d849SEd Maste Add git signing key for Tim Rice 1448*8e28d849SEd Maste 1449*8e28d849SEd Mastecommit da4b84845e874f12af7e0686170fa391c919d1df 1450*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1451*8e28d849SEd MasteDate: Fri Nov 1 18:51:22 2024 +1100 1452*8e28d849SEd Maste 1453*8e28d849SEd Maste Correct path to c-cpp.yml file in workflow config. 1454*8e28d849SEd Maste 1455*8e28d849SEd Mastecommit 28740aa2c75392a9c4191eb9523f9b20853e2932 1456*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1457*8e28d849SEd MasteDate: Fri Nov 1 18:44:42 2024 +1100 1458*8e28d849SEd Maste 1459*8e28d849SEd Maste Test new OpenSSL and LibreSSL releases.` 1460*8e28d849SEd Maste 1461*8e28d849SEd Mastecommit a74809fe06540f16231b354ffe21fcbf39e81f73 1462*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1463*8e28d849SEd MasteDate: Fri Nov 1 18:44:00 2024 +1100 1464*8e28d849SEd Maste 1465*8e28d849SEd Maste Add nbsd10 default test config. 1466*8e28d849SEd Maste 1467*8e28d849SEd Mastecommit 88b35cbdc1500efece65cd6a9a20a72cf7e46eaa 14680ae642c7SEd MasteAuthor: Damien Miller <djm@mindrot.org> 14690ae642c7SEd MasteDate: Wed Oct 30 14:25:14 2024 +1100 14700ae642c7SEd Maste 14710ae642c7SEd Maste fix uint64_t types; reported by Tom G. Christensen 14720ae642c7SEd Maste 1473*8e28d849SEd Mastecommit ef7c26cd2f0f9a8222f851d1e551f6dfd3113f8b 14740ae642c7SEd MasteAuthor: Damien Miller <djm@mindrot.org> 14750ae642c7SEd MasteDate: Sun Oct 27 13:28:11 2024 +1100 14760ae642c7SEd Maste 14770ae642c7SEd Maste htole64() etc for systems without endian.h 14780ae642c7SEd Maste 1479*8e28d849SEd Mastecommit 0c3927c45f8a57b511c874c4d51a8c89414f74ef 14800ae642c7SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 14810ae642c7SEd MasteDate: Sun Oct 27 02:06:59 2024 +0000 14820ae642c7SEd Maste 14830ae642c7SEd Maste upstream: explicitly include endian.h 14840ae642c7SEd Maste 14850ae642c7SEd Maste OpenBSD-Commit-ID: 13511fdef7535bdbc35b644c90090013da43a318 14860ae642c7SEd Maste 1487*8e28d849SEd Mastecommit cf3e48ee8ba1beeccddd2f203b558fa102be67a2 14880ae642c7SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 14890ae642c7SEd MasteDate: Sun Oct 27 02:06:01 2024 +0000 14900ae642c7SEd Maste 14910ae642c7SEd Maste upstream: fix ML-KEM768x25519 KEX on big-endian systems; spotted by 14920ae642c7SEd Maste 14930ae642c7SEd Maste jsg@ feedback/ok deraadt@ 14940ae642c7SEd Maste 14950ae642c7SEd Maste OpenBSD-Commit-ID: 26d81a430811672bc762687166986cad40d28cc0 14960ae642c7SEd Maste 1497*8e28d849SEd Mastecommit ae566d51b64fa3dce7063e7745b9b35f8f47abde 1498*8e28d849SEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 1499*8e28d849SEd MasteDate: Fri Oct 25 21:53:24 2024 +0000 1500*8e28d849SEd Maste 1501*8e28d849SEd Maste upstream: mlkem768x25519-sha256 has been promoted to default key 1502*8e28d849SEd Maste 1503*8e28d849SEd Maste exchange 1504*8e28d849SEd Maste 1505*8e28d849SEd Maste OpenBSD-Commit-ID: 5a3259a193fd42108a869ebf650b95b5f2d08dcf 1506*8e28d849SEd Maste 1507*8e28d849SEd Mastecommit 3af1dba1384ca896df6e973c70398c41d36de1ea 1508*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1509*8e28d849SEd MasteDate: Fri Oct 25 19:04:30 2024 +1100 1510*8e28d849SEd Maste 1511*8e28d849SEd Maste Retire the minix3 test config. 1512*8e28d849SEd Maste 1513*8e28d849SEd Maste It got broken by the sshd-auth change, it's not obvious why, and the 1514*8e28d849SEd Maste platform lacks the debugging tools (eg gdb, strace) to figure it out. 1515*8e28d849SEd Maste The upstream project seems effectively dead (6 years since the last 1516*8e28d849SEd Maste commit, 10 since the last release). It was useful while it lasted 1517*8e28d849SEd Maste (we found a real bug because of it) but its time seems to have passed. 1518*8e28d849SEd Maste 1519*8e28d849SEd Mastecommit 3b240cc44b8de9175280ddbe59331317d427b0e3 1520*8e28d849SEd MasteAuthor: Preetish Amballi <amballip@gmail.com> 1521*8e28d849SEd MasteDate: Mon Oct 21 14:07:02 2024 +0000 1522*8e28d849SEd Maste 1523*8e28d849SEd Maste Updated gitignore to ignore sshd-session and sshd-auth targets 1524*8e28d849SEd Maste 1525*8e28d849SEd Mastecommit 326495744f06a0ab18ee0d16f87b3fe91cac92fb 1526*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1527*8e28d849SEd MasteDate: Fri Oct 25 19:01:02 2024 +1100 1528*8e28d849SEd Maste 1529*8e28d849SEd Maste Simplify pselect shim and remove side effects. 1530*8e28d849SEd Maste 1531*8e28d849SEd Maste Instead of maintaing state (pipe descriptors, signal handlers) across 1532*8e28d849SEd Maste pselect-on-select invocations, set up and restore them each call. 1533*8e28d849SEd Maste This prevents outside factors (eg a closefrom or signal handler 1534*8e28d849SEd Maste installation) from potentially causing problems. This does result in a 1535*8e28d849SEd Maste drop in throughput of a couple of percent on geriatric platforms without 1536*8e28d849SEd Maste a native pselect due to the extra overhead. Tweaks & ok djm@ 1537*8e28d849SEd Maste 1538*8e28d849SEd Mastecommit e53b615f3934ffac1efb3c1e491d126b9b09fd24 1539*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1540*8e28d849SEd MasteDate: Fri Oct 25 01:34:18 2024 +0000 1541*8e28d849SEd Maste 1542*8e28d849SEd Maste upstream: promote mlkem768x25519-sha256 to be the default key exchange; 1543*8e28d849SEd Maste 1544*8e28d849SEd Maste ok markus@ 1545*8e28d849SEd Maste 1546*8e28d849SEd Maste OpenBSD-Commit-ID: fc673065e6505bb06b2e2b9362f78ccb4200a828 1547*8e28d849SEd Maste 1548*8e28d849SEd Mastecommit de644b1831b970f6655f871c051774cc871e8e74 1549*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1550*8e28d849SEd MasteDate: Thu Oct 24 03:28:34 2024 +0000 1551*8e28d849SEd Maste 1552*8e28d849SEd Maste upstream: test SIGUSR1 dropping all keys from ssh-agent 1553*8e28d849SEd Maste 1554*8e28d849SEd Maste OpenBSD-Regress-ID: 8654b9aa8eb695b1499fffc408c25319592bf0e0 1555*8e28d849SEd Maste 1556*8e28d849SEd Mastecommit e86d7a077ce9a2b9ee9d4138c358a17cbdb786f9 1557*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1558*8e28d849SEd MasteDate: Thu Oct 24 03:15:47 2024 +0000 1559*8e28d849SEd Maste 1560*8e28d849SEd Maste upstream: amake ssh-agent drop all keys when it receives SIGUSR1; 1561*8e28d849SEd Maste 1562*8e28d849SEd Maste let's users zap keys without access to $SSH_AUTH_SOCK 1563*8e28d849SEd Maste 1564*8e28d849SEd Maste ok deraadt@ 1565*8e28d849SEd Maste 1566*8e28d849SEd Maste OpenBSD-Commit-ID: dae9db0516b1011e5ba8c655ac702fce42e6c023 1567*8e28d849SEd Maste 1568*8e28d849SEd Mastecommit 94cdfebec852a2429c008cc2a55f8e4183f36972 1569*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1570*8e28d849SEd MasteDate: Thu Oct 24 03:14:37 2024 +0000 1571*8e28d849SEd Maste 1572*8e28d849SEd Maste upstream: relax valid_domain() checks to allow an underscore as the 1573*8e28d849SEd Maste 1574*8e28d849SEd Maste first character. ok deraadt@ 1575*8e28d849SEd Maste 1576*8e28d849SEd Maste OpenBSD-Commit-ID: 3f8be6d32496e5596dd8b14e19cb067ddd7969ef 1577*8e28d849SEd Maste 1578*8e28d849SEd Mastecommit 1b05d5437bf45bee5e3104772dea06ed51764f1b 1579*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1580*8e28d849SEd MasteDate: Tue Oct 22 07:13:28 2024 +0000 1581*8e28d849SEd Maste 1582*8e28d849SEd Maste upstream: Remove sshd logfile in start_sshd 1583*8e28d849SEd Maste 1584*8e28d849SEd Maste ... and ssh and sshd log wrappers before recreating them. Prevents "can't 1585*8e28d849SEd Maste create" errors during tests when running tests without SUDO after having 1586*8e28d849SEd Maste run them with SUDO. 1587*8e28d849SEd Maste 1588*8e28d849SEd Maste OpenBSD-Regress-ID: 2f0a83532e3dccd673a9bf0291090277268c69a6 1589*8e28d849SEd Maste 1590*8e28d849SEd Mastecommit 307ab3c7720f8879b835614b02687358ee4df9b9 1591*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1592*8e28d849SEd MasteDate: Tue Oct 22 06:16:26 2024 +0000 1593*8e28d849SEd Maste 1594*8e28d849SEd Maste upstream: Add a sshd debug wrapper 1595*8e28d849SEd Maste 1596*8e28d849SEd Maste ... to run all of the subprograms from the build directory while 1597*8e28d849SEd Maste developing and debugging. Should help prevent accidentally testing 1598*8e28d849SEd Maste against unchanged installed sshd-auth and sshd-session binaries. ok djm@ 1599*8e28d849SEd Maste 1600*8e28d849SEd Maste OpenBSD-Commit-ID: 61760cdc98c2bc8f1e9f83a6f97cca0f66b52e69 1601*8e28d849SEd Maste 1602*8e28d849SEd Mastecommit 87bd1cb3ccba5e91d2650eb7f753c898ee43858e 1603*8e28d849SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 1604*8e28d849SEd MasteDate: Tue Oct 22 06:13:00 2024 +0000 1605*8e28d849SEd Maste 1606*8e28d849SEd Maste upstream: Make debug call printf("%s", NULL) safe. 1607*8e28d849SEd Maste 1608*8e28d849SEd Maste Prevents problems on platforms where this isn't safe (which it's not 1609*8e28d849SEd Maste required to be). ok djm@ 1610*8e28d849SEd Maste 1611*8e28d849SEd Maste OpenBSD-Commit-ID: 8fa4ce3ad90915c925b81b99a79ab920b0523387 1612*8e28d849SEd Maste 1613*8e28d849SEd Mastecommit c44c349edd157b2c00c42bd5ef5f9dfb37de26f3 1614*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1615*8e28d849SEd MasteDate: Tue Oct 22 17:48:32 2024 +1100 1616*8e28d849SEd Maste 1617*8e28d849SEd Maste Resync cvsid missed in commit 6072e4c9. 1618*8e28d849SEd Maste 1619*8e28d849SEd Mastecommit fe4305c37ffe53540a67586854e25f05cf615849 1620*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1621*8e28d849SEd MasteDate: Fri Oct 18 05:53:26 2024 +0000 1622*8e28d849SEd Maste 1623*8e28d849SEd Maste upstream: mention that LocalForward and RemoteForward can accept Unix 1624*8e28d849SEd Maste 1625*8e28d849SEd Maste domain socket paths; GHPR115 1626*8e28d849SEd Maste 1627*8e28d849SEd Maste OpenBSD-Commit-ID: a8a34d0a0c51a9ddab3dfce615f9878fa76ef842 1628*8e28d849SEd Maste 1629*8e28d849SEd Mastecommit 9c97b6af8e052ab5ffe0f9096fadc8f9a4d0ed0f 1630*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1631*8e28d849SEd MasteDate: Fri Oct 18 05:45:40 2024 +0000 1632*8e28d849SEd Maste 1633*8e28d849SEd Maste upstream: remove duplicate check; GHPR392 from Pedro Martelletto 1634*8e28d849SEd Maste 1635*8e28d849SEd Maste OpenBSD-Commit-ID: 597ab7dd3f0e78939d2659fc1904d0f39ee95487 1636*8e28d849SEd Maste 1637*8e28d849SEd Mastecommit d9cd208e89a471a3ff8adfcec68d6210af9e9fd5 1638*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1639*8e28d849SEd MasteDate: Fri Oct 18 05:37:24 2024 +0000 1640*8e28d849SEd Maste 1641*8e28d849SEd Maste upstream: allow "-" as output file for moduli screening 1642*8e28d849SEd Maste 1643*8e28d849SEd Maste based on GHPR393 1644*8e28d849SEd Maste 1645*8e28d849SEd Maste OpenBSD-Commit-ID: 1517763764eb55d03a6092dd120d2909c6fef0e1 1646*8e28d849SEd Maste 1647*8e28d849SEd Mastecommit 5eb5c4b2820d0636b1eccee646fb32ec946c4a95 1648*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1649*8e28d849SEd MasteDate: Fri Oct 18 05:32:51 2024 +0000 1650*8e28d849SEd Maste 1651*8e28d849SEd Maste upstream: ssh-keyscan doesn't need it's own sshfatal() definition, it 1652*8e28d849SEd Maste 1653*8e28d849SEd Maste can use the shared one from fatal.c 1654*8e28d849SEd Maste 1655*8e28d849SEd Maste based on GHPR401 from lengyijun 1656*8e28d849SEd Maste 1657*8e28d849SEd Maste OpenBSD-Commit-ID: 8ea75ea99f27f464c9223cbc89cb046ccf9cd5c4 1658*8e28d849SEd Maste 1659*8e28d849SEd Mastecommit 0a1e75499e2c6fc258ee903645c878480949f362 1660*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1661*8e28d849SEd MasteDate: Fri Oct 18 05:14:51 2024 +0000 1662*8e28d849SEd Maste 1663*8e28d849SEd Maste upstream: in _ssh_order_hostkeyalgs() consider ECDSA curve type when 1664*8e28d849SEd Maste 1665*8e28d849SEd Maste arranging the hostkey algorithms. AFAIK this code is unused in OpenSSH, but I 1666*8e28d849SEd Maste guess others are using it 1667*8e28d849SEd Maste 1668*8e28d849SEd Maste based on GHPR387 from Pawel Jakub Dawidek 1669*8e28d849SEd Maste 1670*8e28d849SEd Maste OpenBSD-Commit-ID: 4d462495ac0c40f7b7dd66178e0005b9b2128225 1671*8e28d849SEd Maste 1672*8e28d849SEd Mastecommit d01ee7a88c5f4b1aa8c75a7c739f8f3bc1ad8bde 1673*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1674*8e28d849SEd MasteDate: Fri Oct 18 05:03:34 2024 +0000 1675*8e28d849SEd Maste 1676*8e28d849SEd Maste upstream: require control-escape character sequences passed via the '-e 1677*8e28d849SEd Maste 1678*8e28d849SEd Maste ^x' commandline to be exactly two characters long. Avoids one by OOB read if 1679*8e28d849SEd Maste ssh is invoked as "ssh -e^ ..." 1680*8e28d849SEd Maste 1681*8e28d849SEd Maste Spotted by Maciej Domanski in GHPR368 1682*8e28d849SEd Maste 1683*8e28d849SEd Maste OpenBSD-Commit-ID: baa72bc60898fc5639e6c62de7493a202c95823d 1684*8e28d849SEd Maste 1685*8e28d849SEd Mastecommit 74ff6382f5743e09930e6cbd195dac65cd6062c9 1686*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1687*8e28d849SEd MasteDate: Fri Oct 18 04:30:09 2024 +0000 1688*8e28d849SEd Maste 1689*8e28d849SEd Maste upstream: remove addr.[ch] functions that are unused and 1690*8e28d849SEd Maste 1691*8e28d849SEd Maste visbility-restrict ones that are unused outside the implementation itself; 1692*8e28d849SEd Maste based on GHPR#282 by tobias@ 1693*8e28d849SEd Maste 1694*8e28d849SEd Maste OpenBSD-Commit-ID: a0140f2418b4d46cfaa7b33febc0a0931f9b2744 1695*8e28d849SEd Maste 1696*8e28d849SEd Mastecommit a9d6d7d93c533fa729f08b405e786d912553f33e 1697*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1698*8e28d849SEd MasteDate: Fri Oct 18 04:14:59 2024 +0000 1699*8e28d849SEd Maste 1700*8e28d849SEd Maste upstream: unreachable POLLERR case; from ya0guang via GHPR485 1701*8e28d849SEd Maste 1702*8e28d849SEd Maste OpenBSD-Commit-ID: b3c82655190532b01eb817e532742cfaa4687eff 1703*8e28d849SEd Maste 1704*8e28d849SEd Mastecommit d76424bf279ff951383e21213eb3759ea4090674 1705*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1706*8e28d849SEd MasteDate: Fri Oct 18 04:11:54 2024 +0000 1707*8e28d849SEd Maste 1708*8e28d849SEd Maste upstream: s/Sx/Cm/ for external references; from Domen Puncer 1709*8e28d849SEd Maste 1710*8e28d849SEd Maste Kugler via GHPR501 1711*8e28d849SEd Maste 1712*8e28d849SEd Maste OpenBSD-Commit-ID: f864a34feb5d5ff17160cf7c42ad0f7744fe8a3f 1713*8e28d849SEd Maste 1714*8e28d849SEd Mastecommit ca204b994e2981e7bf95627b3105408917105649 1715*8e28d849SEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 1716*8e28d849SEd MasteDate: Mon Oct 14 23:53:34 2024 +0000 1717*8e28d849SEd Maste 1718*8e28d849SEd Maste upstream: mention SshdAuthPath option; ok djm@ 1719*8e28d849SEd Maste 1720*8e28d849SEd Maste OpenBSD-Commit-ID: 9a5d3add25e4e77bd3805bc5583a842ecf34d85c 1721*8e28d849SEd Maste 1722*8e28d849SEd Mastecommit be27770e840c4dd9d9fcad1aa879400c727d7c2f 1723*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1724*8e28d849SEd MasteDate: Fri Oct 18 13:37:55 2024 +1100 1725*8e28d849SEd Maste 1726*8e28d849SEd Maste Remove references to systrace and pledge sandboxes. 1727*8e28d849SEd Maste 1728*8e28d849SEd Maste ok djm@ 1729*8e28d849SEd Maste 1730*8e28d849SEd Mastecommit 49e64bf63fbf2f14961062dafe8ef08cb816bb08 1731*8e28d849SEd MasteAuthor: Pavel Miadzvedzeu <pmiadzvedzeu@gmail.com> 1732*8e28d849SEd MasteDate: Wed Apr 24 10:19:56 2024 +0300 1733*8e28d849SEd Maste 1734*8e28d849SEd Maste Fix "undeclared 'ut'" error by replacing it with 'utx' 1735*8e28d849SEd Maste 1736*8e28d849SEd Mastecommit 67f684733f60f66479854a2867b953de731e71b2 1737*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1738*8e28d849SEd MasteDate: Thu Oct 17 20:50:29 2024 +1100 1739*8e28d849SEd Maste 1740*8e28d849SEd Maste Seed RNG when starting up sshd-auth. 1741*8e28d849SEd Maste 1742*8e28d849SEd Maste Makes builds configured --without-openssl work again since otherwise 1743*8e28d849SEd Maste the first use of the RNG comes after the sandbox init and it can't 1744*8e28d849SEd Maste open /dev/random. 1745*8e28d849SEd Maste 1746*8e28d849SEd Mastecommit c06c681aeebbe8e84e7410095514e7ee91f7e6cb 1747*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1748*8e28d849SEd MasteDate: Thu Oct 17 19:18:23 2024 +1100 1749*8e28d849SEd Maste 1750*8e28d849SEd Maste MacOS 12 runners are deprecated, replace with 15. 1751*8e28d849SEd Maste 1752*8e28d849SEd Mastecommit 39db1f23bafb48a7c0cc9c65c716a0370f4cc677 1753*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1754*8e28d849SEd MasteDate: Thu Oct 17 13:28:47 2024 +1100 1755*8e28d849SEd Maste 1756*8e28d849SEd Maste Fix lookup path for sshd-auth; bz3745 1757*8e28d849SEd Maste 1758*8e28d849SEd Mastecommit c537eeb1ae5f069450053b0027e64efe5bdb37d2 1759*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1760*8e28d849SEd MasteDate: Wed Oct 16 08:28:21 2024 +1100 1761*8e28d849SEd Maste 1762*8e28d849SEd Maste fix breakage; missing saved_argc symbol 1763*8e28d849SEd Maste 1764*8e28d849SEd Mastecommit 98a0883bdef28a06c7e017f27adf21ba57898bf4 1765*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1766*8e28d849SEd MasteDate: Mon Oct 14 17:17:50 2024 +1100 1767*8e28d849SEd Maste 1768*8e28d849SEd Maste fix capsicum sandbox 1769*8e28d849SEd Maste 1770*8e28d849SEd Mastecommit 164ea4380564a2a83713eacf71908e3946e5e4e4 1771*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1772*8e28d849SEd MasteDate: Mon Oct 14 17:16:41 2024 +1100 1773*8e28d849SEd Maste 1774*8e28d849SEd Maste put back some portable bits for sshd-auth.c 1775*8e28d849SEd Maste 1776*8e28d849SEd Mastecommit f8edf08c258ee2918689872c4702302052729726 1777*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1778*8e28d849SEd MasteDate: Mon Oct 14 14:49:25 2024 +1100 1779*8e28d849SEd Maste 1780*8e28d849SEd Maste there's only one sandbox, move to a static global 1781*8e28d849SEd Maste 1782*8e28d849SEd Mastecommit 4482f0042b41d3d63c3845d7ba9fcf47c9252a84 1783*8e28d849SEd MasteAuthor: Damien Miller <djm@mindrot.org> 1784*8e28d849SEd MasteDate: Mon Oct 14 14:49:20 2024 +1100 1785*8e28d849SEd Maste 1786*8e28d849SEd Maste depend 1787*8e28d849SEd Maste 1788*8e28d849SEd Mastecommit 74856204a353a187dc6e7706c6cf84b7f14d775d 1789*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1790*8e28d849SEd MasteDate: Mon Oct 14 03:02:08 2024 +0000 1791*8e28d849SEd Maste 1792*8e28d849SEd Maste upstream: regress support for split sshd-auth binary 1793*8e28d849SEd Maste 1794*8e28d849SEd Maste OpenBSD-Regress-ID: df7d18a87b475f70004770f0f4e404adba5f6ab7 1795*8e28d849SEd Maste 1796*8e28d849SEd Mastecommit 461741083d7254595fecea274e60fe3ebf3ce3f9 1797*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1798*8e28d849SEd MasteDate: Fri Sep 27 01:05:54 2024 +0000 1799*8e28d849SEd Maste 1800*8e28d849SEd Maste upstream: test some more Match syntax, including criteria=arg and 1801*8e28d849SEd Maste 1802*8e28d849SEd Maste negations 1803*8e28d849SEd Maste 1804*8e28d849SEd Maste OpenBSD-Regress-ID: 67476baccc60bf1a255fd4e329ada950047b8b8d 1805*8e28d849SEd Maste 1806*8e28d849SEd Mastecommit 6072e4c9385713e9c166f32cfca6a7e603d4f0b8 1807*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1808*8e28d849SEd MasteDate: Mon Oct 14 01:57:50 2024 +0000 1809*8e28d849SEd Maste 1810*8e28d849SEd Maste upstream: Split per-connection sshd-session binary 1811*8e28d849SEd Maste 1812*8e28d849SEd Maste This splits the user authentication code from the sshd-session 1813*8e28d849SEd Maste binary into a separate sshd-auth binary. This will be executed by 1814*8e28d849SEd Maste sshd-session to complete the user authentication phase of the 1815*8e28d849SEd Maste protocol only. 1816*8e28d849SEd Maste 1817*8e28d849SEd Maste Splitting this code into a separate binary ensures that the crucial 1818*8e28d849SEd Maste pre-authentication attack surface has an entirely disjoint address 1819*8e28d849SEd Maste space from the code used for the rest of the connection. It also 1820*8e28d849SEd Maste yields a small runtime memory saving as the authentication code will 1821*8e28d849SEd Maste be unloaded after thhe authentication phase completes. 1822*8e28d849SEd Maste 1823*8e28d849SEd Maste Joint work with markus@ feedback deraadt@ 1824*8e28d849SEd Maste 1825*8e28d849SEd Maste Tested in snaps since last week 1826*8e28d849SEd Maste 1827*8e28d849SEd Maste OpenBSD-Commit-ID: 9c3b2087ae08626ec31b4177b023db600e986d9c 1828*8e28d849SEd Maste 1829*8e28d849SEd Mastecommit fe6c6330c1a94c7a537efe9069853ce7a275c50a 1830*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1831*8e28d849SEd MasteDate: Sun Oct 13 22:20:06 2024 +0000 1832*8e28d849SEd Maste 1833*8e28d849SEd Maste upstream: don't start the ObscureKeystrokeTiming mitigations if 1834*8e28d849SEd Maste 1835*8e28d849SEd Maste there has been traffic on a X11 forwarding channel recently. 1836*8e28d849SEd Maste 1837*8e28d849SEd Maste Should fix X11 forwarding performance problems when this setting is 1838*8e28d849SEd Maste enabled. Patch from Antonio Larrosa via bz3655 1839*8e28d849SEd Maste 1840*8e28d849SEd Maste OpenBSD-Commit-ID: 820284a92eb4592fcd3d181a62c1b86b08a4a7ab 1841*8e28d849SEd Maste 1842*8e28d849SEd Mastecommit 538cd28598ae942c94b99855b06fdd937e2e7381 1843*8e28d849SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 1844*8e28d849SEd MasteDate: Sat Oct 12 10:50:37 2024 +0000 1845*8e28d849SEd Maste 1846*8e28d849SEd Maste upstream: remove duplicate misc.h include ok dtucker@ 1847*8e28d849SEd Maste 1848*8e28d849SEd Maste OpenBSD-Commit-ID: fdd056e7854294834d54632b4282b877cfe4c12e 1849*8e28d849SEd Maste 1850*8e28d849SEd Mastecommit 0051381a8c33740a77a1eca6859efa1c78887d80 1851*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1852*8e28d849SEd MasteDate: Sun Oct 6 23:37:17 2024 +0000 1853*8e28d849SEd Maste 1854*8e28d849SEd Maste upstream: Turn off finite field (a.k.a modp) Diffie-Hellman key 1855*8e28d849SEd Maste 1856*8e28d849SEd Maste exchange in sshd by default. Specifically, this removes the 1857*8e28d849SEd Maste diffie-hellman-group* and diffie-hellman-group-exchange-* methods. The client 1858*8e28d849SEd Maste is unchanged and continues to support these methods by default. 1859*8e28d849SEd Maste 1860*8e28d849SEd Maste Finite field Diffie Hellman is slow and computationally expensive for 1861*8e28d849SEd Maste the same security level as Elliptic Curve DH or PQ key agreement while 1862*8e28d849SEd Maste offering no redeeming advantages. 1863*8e28d849SEd Maste 1864*8e28d849SEd Maste ECDH has been specified for the SSH protocol for 15 years and some 1865*8e28d849SEd Maste form of ECDH has been the default key exchange in OpenSSH for the last 1866*8e28d849SEd Maste 14 years. 1867*8e28d849SEd Maste 1868*8e28d849SEd Maste ok markus@ 1869*8e28d849SEd Maste 1870*8e28d849SEd Maste OpenBSD-Commit-ID: 4e238ad480a33312667cc10ae0eb6393abaec8da 1871*8e28d849SEd Maste 1872*8e28d849SEd Mastecommit 67a115e7a56dbdc3f5a58c64b29231151f3670f5 18730ae642c7SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 18740ae642c7SEd MasteDate: Thu Sep 26 23:55:08 2024 +0000 18750ae642c7SEd Maste 18760ae642c7SEd Maste upstream: fix previous change to ssh_config Match, which broken on 18770ae642c7SEd Maste 18780ae642c7SEd Maste negated Matches; spotted by phessler@ ok deraadt@ 18790ae642c7SEd Maste 18800ae642c7SEd Maste OpenBSD-Commit-ID: b1c6acec66cd5bd1252feff1d02ad7129ced37c7 18810ae642c7SEd Maste 1882*8e28d849SEd Mastecommit 220b6c1290042acd5180d783dea01efe1365c265 1883*8e28d849SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 1884*8e28d849SEd MasteDate: Wed Sep 25 23:01:39 2024 +0000 1885*8e28d849SEd Maste 1886*8e28d849SEd Maste upstream: remove some unused defines; ok djm@ 1887*8e28d849SEd Maste 1888*8e28d849SEd Maste OpenBSD-Commit-ID: 3a63e4e11d455704f684c28715d61b17f91e0996 1889*8e28d849SEd Maste 1890*8e28d849SEd Mastecommit 3ef4f6e8a4d774f73852391fdccbb95f39fc71bf 1891*8e28d849SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 1892*8e28d849SEd MasteDate: Wed Sep 25 06:13:01 2024 +0000 1893*8e28d849SEd Maste 1894*8e28d849SEd Maste upstream: remove some unneeded Xo/Xc calls; from evan silberman the 1895*8e28d849SEd Maste 1896*8e28d849SEd Maste original diff had a couple of errors, which i've fixed 1897*8e28d849SEd Maste 1898*8e28d849SEd Maste OpenBSD-Commit-ID: f37ad5888adbc0d4e1cd6b6de237841f4b1e650d 1899*8e28d849SEd Maste 1900*8e28d849SEd Mastecommit 3f02368e8e9121847727c46b280efc280e5eb615 19010ae642c7SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 19020ae642c7SEd MasteDate: Wed Sep 25 01:24:04 2024 +0000 19030ae642c7SEd Maste 19040ae642c7SEd Maste upstream: fix regression introduced when I switched the "Match" 19050ae642c7SEd Maste 19060ae642c7SEd Maste criteria tokeniser to a more shell-like one. Apparently the old tokeniser 19070ae642c7SEd Maste (accidentally?) allowed "Match criteria=argument" as well as the "Match 19080ae642c7SEd Maste criteria argument" syntax that we tested for. 19090ae642c7SEd Maste 19100ae642c7SEd Maste People were using this syntax so this adds back support for 19110ae642c7SEd Maste "Match criteria=argument" 19120ae642c7SEd Maste 19130ae642c7SEd Maste bz3739 ok dtucker 19140ae642c7SEd Maste 19150ae642c7SEd Maste OpenBSD-Commit-ID: d1eebedb8c902002b75b75debfe1eeea1801f58a 19160ae642c7SEd Maste 1917*8e28d849SEd Mastecommit 9517cc58577f85a0ba5f8bb46778dff625f0688f 1918*8e28d849SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 1919*8e28d849SEd MasteDate: Tue Sep 24 02:28:17 2024 +0000 1920*8e28d849SEd Maste 1921*8e28d849SEd Maste upstream: some extra paranoia, reminded by jsg@ 1922*8e28d849SEd Maste 1923*8e28d849SEd Maste OpenBSD-Commit-ID: 22072bfa1df1391858ae7768a6c627e08593a91e 1924*8e28d849SEd Maste 1925*8e28d849SEd Mastecommit 815a94e86a68c1000b8310cb47695cea9329516c 19260ae642c7SEd MasteAuthor: Damien Miller <djm@mindrot.org> 19270ae642c7SEd MasteDate: Wed Sep 25 11:15:45 2024 +1000 19280ae642c7SEd Maste 19290ae642c7SEd Maste gss-serv.c needs sys/param.h 19300ae642c7SEd Maste 19310ae642c7SEd Maste From Void Linux 19320ae642c7SEd Maste 1933*8e28d849SEd Mastecommit 76a618d2842c34c16cd21a4efc7230e2f459008d 19340ae642c7SEd MasteAuthor: Damien Miller <djm@mindrot.org> 19350ae642c7SEd MasteDate: Wed Sep 25 11:13:05 2024 +1000 19360ae642c7SEd Maste 19370ae642c7SEd Maste build construct_utmp() when USE_BTMP is set 19380ae642c7SEd Maste 19390ae642c7SEd Maste Fixes compile error on Void Linux/Musl 19400ae642c7SEd Maste 1941*8e28d849SEd Mastecommit d3aee17f6d395202eaa42a0c449b6da41f61527c 1942*8e28d849SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 1943*8e28d849SEd MasteDate: Tue Sep 24 18:41:44 2024 +1000 1944*8e28d849SEd Maste 1945*8e28d849SEd Maste Test the flags from OpenWRT's package. 1946*8e28d849SEd Maste 1947*8e28d849SEd Mastecommit 0f5d19e6fe4b58a89e6dc8c71a2aae30365d193e 19480ae642c7SEd MasteAuthor: Christoph Ostarek <christoph@zededa.com> 19490ae642c7SEd MasteDate: Wed Jul 3 12:46:59 2024 +0200 19500ae642c7SEd Maste 19510ae642c7SEd Maste fix utmpx ifdef 19520ae642c7SEd Maste 19530ae642c7SEd Maste 02e16ad95fb1f56ab004b01a10aab89f7103c55d did a copy-paste for 19540ae642c7SEd Maste utmpx, but forgot to change the ifdef appropriately 19550ae642c7SEd Maste 1956*8e28d849SEd Mastecommit e03239f999acf9dc3da0f2f72bde36abbe678911 1957*8e28d849SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 1958*8e28d849SEd MasteDate: Sun Sep 22 12:56:21 2024 +0000 19590ae642c7SEd Maste 1960*8e28d849SEd Maste upstream: remove some unused defines; ok djm@ 19610ae642c7SEd Maste 1962*8e28d849SEd Maste OpenBSD-Commit-ID: 81869ee6356fdbff19dae6ff757095e6b24de712 1963*8e28d849SEd Maste 1964*8e28d849SEd Mastecommit a35f543d3a6275fef781e515c262d1c687c3bc28 1965*8e28d849SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 1966*8e28d849SEd MasteDate: Fri Sep 20 02:00:46 2024 +0000 1967*8e28d849SEd Maste 1968*8e28d849SEd Maste upstream: remove unneeded semicolons; checked by millert@ 1969*8e28d849SEd Maste 1970*8e28d849SEd Maste OpenBSD-Commit-ID: 3fb621a58e04b759a875ad6a33f35bb57ca80231 1971*8e28d849SEd Maste 1972*8e28d849SEd Mastecommit 1641f2d4d6e05d2147913442864cae546e64f08b 19730ae642c7SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 19740ae642c7SEd MasteDate: Mon Sep 23 20:52:31 2024 +1000 19750ae642c7SEd Maste 19760ae642c7SEd Maste Add 9.9 branch to CI status console. 19770ae642c7SEd Maste 19783d9fd9fcSEd Mastecommit 46d1fb16b20e971b9ac15e86a3d3e350b49c9ad6 19793d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 19803d9fd9fcSEd MasteDate: Fri Sep 20 08:20:13 2024 +1000 19813d9fd9fcSEd Maste 19823d9fd9fcSEd Maste update version numbers 19833d9fd9fcSEd Maste 19843d9fd9fcSEd Mastecommit 0bdca1f218971b38728a0a129f482476baff0968 19853d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 19863d9fd9fcSEd MasteDate: Thu Sep 19 22:17:44 2024 +0000 19873d9fd9fcSEd Maste 19883d9fd9fcSEd Maste upstream: openssh-9.9 19893d9fd9fcSEd Maste 19903d9fd9fcSEd Maste OpenBSD-Commit-ID: 303417285f1a73b9cb7a2ae78d3f493bbbe31f98 19913d9fd9fcSEd Maste 19923d9fd9fcSEd Mastecommit ef2d7f2d3e1b4c9ae71bacf963e76a92ab8be543 19933d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 19943d9fd9fcSEd MasteDate: Wed Sep 18 16:03:23 2024 +1000 19953d9fd9fcSEd Maste 19963d9fd9fcSEd Maste include openbsd-compat/base64.c license in LICENSE 19973d9fd9fcSEd Maste 19983d9fd9fcSEd Mastecommit 7ef362b989c8d1f7596f557f22e5924b9c08f0ea 19993d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 20003d9fd9fcSEd MasteDate: Wed Sep 18 09:01:23 2024 +1000 20013d9fd9fcSEd Maste 20023d9fd9fcSEd Maste conditionally include mman.h in arc4random code 20033d9fd9fcSEd Maste 20043d9fd9fcSEd Mastecommit 5fb2b5ad0e748732a27fd8cc16a7ca3c21770806 20053d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 20063d9fd9fcSEd MasteDate: Tue Sep 17 11:53:24 2024 +1000 20073d9fd9fcSEd Maste 20083d9fd9fcSEd Maste fix bug in recently-added sntrup761 fuzzer 20093d9fd9fcSEd Maste 20103d9fd9fcSEd Maste key values need to be static to persist across invocations; 20113d9fd9fcSEd Maste spotted by the Qualys Security Advisory team. 20123d9fd9fcSEd Maste 20133d9fd9fcSEd Mastecommit 0ca128c9ee894f1b0067abd473bfb33171df67f8 20143d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 20153d9fd9fcSEd MasteDate: Mon Sep 16 05:37:05 2024 +0000 20163d9fd9fcSEd Maste 20173d9fd9fcSEd Maste upstream: use 64 bit math to avoid signed underflow. upstream code 20183d9fd9fcSEd Maste 20193d9fd9fcSEd Maste relies on using -fwrapv to provide defined over/underflow behaviour, but we 20203d9fd9fcSEd Maste use -ftrapv to catch integer errors and abort the program. ok dtucker@ 20213d9fd9fcSEd Maste 20223d9fd9fcSEd Maste OpenBSD-Commit-ID: 8933369b33c17b5f02479503d0a92d87bc3a574b 20233d9fd9fcSEd Maste 20243d9fd9fcSEd Mastecommit f82e5e22cad88c81d8a117de74241328c7b101c3 20253d9fd9fcSEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 20263d9fd9fcSEd MasteDate: Sun Sep 15 08:27:38 2024 +0000 20273d9fd9fcSEd Maste 20283d9fd9fcSEd Maste upstream: minor grammar/sort fixes for refuseconnection; ok djm 20293d9fd9fcSEd Maste 20303d9fd9fcSEd Maste OpenBSD-Commit-ID: 1c81f37b138b8b66abba811fec836388a0f3e6da 20313d9fd9fcSEd Maste 20323d9fd9fcSEd Mastecommit 0c1165fc78e8fe69b5df71f81a8f944554a68b53 20333d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 20343d9fd9fcSEd MasteDate: Sun Sep 15 13:30:13 2024 +1000 20353d9fd9fcSEd Maste 20363d9fd9fcSEd Maste avoid gcc warning in fuzz test 20373d9fd9fcSEd Maste 20383d9fd9fcSEd Mastecommit ce171d0718104b643854b53443ff72f7283d33f2 20393d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 20403d9fd9fcSEd MasteDate: Sun Sep 15 03:09:44 2024 +0000 20413d9fd9fcSEd Maste 20423d9fd9fcSEd Maste upstream: bad whitespace in config dump output 20433d9fd9fcSEd Maste 20443d9fd9fcSEd Maste OpenBSD-Commit-ID: d899c13b0e8061d209298eaf58fe53e3643e967c 20453d9fd9fcSEd Maste 20463d9fd9fcSEd Mastecommit 671c440786a5a66216922f15d0007b60f1e6733f 20473d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 20483d9fd9fcSEd MasteDate: Sun Sep 15 12:53:59 2024 +1000 20493d9fd9fcSEd Maste 20503d9fd9fcSEd Maste use construct_utmp to construct btmp records 20513d9fd9fcSEd Maste 20523d9fd9fcSEd Maste Simpler and removes some code with the old-style BSD license. 20533d9fd9fcSEd Maste 20543d9fd9fcSEd Mastecommit 930cb02b6113df72fbc732b9feb8e4f490952a81 20553d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 20563d9fd9fcSEd MasteDate: Sun Sep 15 02:20:51 2024 +0000 20573d9fd9fcSEd Maste 20583d9fd9fcSEd Maste upstream: update the Streamlined NTRU Prime code from the "ref" 20593d9fd9fcSEd Maste 20603d9fd9fcSEd Maste implementation in SUPERCOP 20201130 to the "compact" implementation in 20613d9fd9fcSEd Maste SUPERCOP 20240808. The new version is substantially faster. Thanks to Daniel 20623d9fd9fcSEd Maste J Bernstein for pointing out the new implementation (and of course for 20633d9fd9fcSEd Maste writing it). 20643d9fd9fcSEd Maste 20653d9fd9fcSEd Maste tested in snaps/ok deraadt@ 20663d9fd9fcSEd Maste 20673d9fd9fcSEd Maste OpenBSD-Commit-ID: bf1a77924c125ecdbf03e2f3df8ad13bd3dafdcb 20683d9fd9fcSEd Maste 20693d9fd9fcSEd Mastecommit 9306d6017e0ce5dea6824c29ca5ba5673c2923ad 20703d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 20713d9fd9fcSEd MasteDate: Sun Sep 15 01:19:56 2024 +0000 20723d9fd9fcSEd Maste 20733d9fd9fcSEd Maste upstream: document Match invalid-user 20743d9fd9fcSEd Maste 20753d9fd9fcSEd Maste OpenBSD-Commit-ID: 2c84a9b517283e9711e2812c1f268081dcb02081 20763d9fd9fcSEd Maste 20773d9fd9fcSEd Mastecommit 0118a4da21147a88a56dc8b90bbc2849fefd5c1e 20783d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 20793d9fd9fcSEd MasteDate: Sun Sep 15 01:18:26 2024 +0000 20803d9fd9fcSEd Maste 20813d9fd9fcSEd Maste upstream: add a "Match invalid-user" predicate to sshd_config Match 20823d9fd9fcSEd Maste 20833d9fd9fcSEd Maste options. 20843d9fd9fcSEd Maste 20853d9fd9fcSEd Maste This allows writing Match conditions that trigger for invalid username. 20863d9fd9fcSEd Maste E.g. 20873d9fd9fcSEd Maste 20883d9fd9fcSEd Maste PerSourcePenalties refuseconnection:90s 20893d9fd9fcSEd Maste Match invalid-user 20903d9fd9fcSEd Maste RefuseConnection yes 20913d9fd9fcSEd Maste 20923d9fd9fcSEd Maste Will effectively penalise bots try to guess passwords for bogus accounts, 20933d9fd9fcSEd Maste at the cost of implicitly revealing which accounts are invalid. 20943d9fd9fcSEd Maste 20953d9fd9fcSEd Maste feedback markus@ 20963d9fd9fcSEd Maste 20973d9fd9fcSEd Maste OpenBSD-Commit-ID: 93d3a46ca04bbd9d84a94d1e1d9d3a21073fbb07 20983d9fd9fcSEd Maste 20993d9fd9fcSEd Mastecommit 7875975136f275619427604900cb0ffd7020e845 21003d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 21013d9fd9fcSEd MasteDate: Sun Sep 15 01:11:26 2024 +0000 21023d9fd9fcSEd Maste 21033d9fd9fcSEd Maste upstream: Add a "refuseconnection" penalty class to sshd_config 21043d9fd9fcSEd Maste 21053d9fd9fcSEd Maste PerSourcePenalties 21063d9fd9fcSEd Maste 21073d9fd9fcSEd Maste This allows penalising connection sources that have had connections 21083d9fd9fcSEd Maste dropped by the RefuseConnection option. ok markus@ 21093d9fd9fcSEd Maste 21103d9fd9fcSEd Maste OpenBSD-Commit-ID: 3c8443c427470bb3eac1880aa075cb4864463cb6 21113d9fd9fcSEd Maste 21123d9fd9fcSEd Mastecommit 8d21713b669b8516ca6d43424a356fccc37212bb 21133d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 21143d9fd9fcSEd MasteDate: Sun Sep 15 01:09:40 2024 +0000 21153d9fd9fcSEd Maste 21163d9fd9fcSEd Maste upstream: Add a sshd_config "RefuseConnection" option 21173d9fd9fcSEd Maste 21183d9fd9fcSEd Maste If set, this will terminate the connection at the first authentication 21193d9fd9fcSEd Maste request (this is the earliest we can evaluate sshd_config Match blocks) 21203d9fd9fcSEd Maste 21213d9fd9fcSEd Maste ok markus@ 21223d9fd9fcSEd Maste 21233d9fd9fcSEd Maste OpenBSD-Commit-ID: 43cc2533984074c44d0d2f92eb93f661e7a0b09c 21243d9fd9fcSEd Maste 21253d9fd9fcSEd Mastecommit acad117e66018fe1fa5caf41b36e6dfbd61f76a1 21263d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 21273d9fd9fcSEd MasteDate: Sun Sep 15 00:58:01 2024 +0000 21283d9fd9fcSEd Maste 21293d9fd9fcSEd Maste upstream: switch sshd_config Match processing to the argv tokeniser 21303d9fd9fcSEd Maste 21313d9fd9fcSEd Maste too; ok markus@ 21323d9fd9fcSEd Maste 21333d9fd9fcSEd Maste OpenBSD-Commit-ID: b74b5b0385f2e0379670e2b869318a65b0bc3923 21343d9fd9fcSEd Maste 21353d9fd9fcSEd Mastecommit baec3f7f4c60cd5aa1bb9adbeb6dfa4a172502a8 21363d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 21373d9fd9fcSEd MasteDate: Sun Sep 15 00:57:36 2024 +0000 21383d9fd9fcSEd Maste 21393d9fd9fcSEd Maste upstream: switch "Match" directive processing over to the argv 21403d9fd9fcSEd Maste 21413d9fd9fcSEd Maste string tokeniser, making it possible to use shell-like quoting in Match 21423d9fd9fcSEd Maste directives, particularly "Match exec". ok markus@ 21433d9fd9fcSEd Maste 21443d9fd9fcSEd Maste OpenBSD-Commit-ID: 0877309650b76f624b2194c35dbacaf065e769a5 21453d9fd9fcSEd Maste 21463d9fd9fcSEd Mastecommit dd424d7c382c2074ab70f1b8ad4f169a10f60ee7 21473d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 21483d9fd9fcSEd MasteDate: Sun Sep 15 00:47:01 2024 +0000 21493d9fd9fcSEd Maste 21503d9fd9fcSEd Maste upstream: include pathname in some of the ssh-keygen passphrase 21513d9fd9fcSEd Maste 21523d9fd9fcSEd Maste prompts. Helps the user know what's going on when ssh-keygen is invoked via 21533d9fd9fcSEd Maste other tools. Requested in GHPR503 21543d9fd9fcSEd Maste 21553d9fd9fcSEd Maste OpenBSD-Commit-ID: 613b0bb6cf845b7e787d69a5b314057ceda6a8b6 21563d9fd9fcSEd Maste 21573d9fd9fcSEd Mastecommit 62bbf8f825cc390ecb0523752ddac1435006f206 21583d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 21593d9fd9fcSEd MasteDate: Sun Sep 15 00:41:18 2024 +0000 21603d9fd9fcSEd Maste 21613d9fd9fcSEd Maste upstream: Do not apply authorized_keys options when signature 21623d9fd9fcSEd Maste 21633d9fd9fcSEd Maste verification fails. Prevents restrictive key options being incorrectly 21643d9fd9fcSEd Maste applied to subsequent keys in authorized_keys. bz3733, ok markus@ 21653d9fd9fcSEd Maste 21663d9fd9fcSEd Maste OpenBSD-Commit-ID: ba3776d9da4642443c19dbc015a1333622eb5a4e 21673d9fd9fcSEd Maste 21683d9fd9fcSEd Mastecommit 49f325fd47af4e53fcd7aafdbcc280e53f5aa5ce 21693d9fd9fcSEd MasteAuthor: Wu Weixin <wuweixin@gmail.com> 21703d9fd9fcSEd MasteDate: Fri Aug 2 22:16:40 2024 +0800 21713d9fd9fcSEd Maste 21723d9fd9fcSEd Maste Fix without_openssl always being set to 1 21733d9fd9fcSEd Maste 21743d9fd9fcSEd Maste In Fedora systems, %{?rhel} is empty. In RHEL systems, %{?fedora} is 21753d9fd9fcSEd Maste empty. Therefore, the original code always sets without_openssl to 1. 21763d9fd9fcSEd Maste 21773d9fd9fcSEd Mastecommit c21c3a2419bbc1c59cb1a16ea356e703e99a90d9 21783d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 21793d9fd9fcSEd MasteDate: Thu Sep 12 00:36:27 2024 +0000 21803d9fd9fcSEd Maste 21813d9fd9fcSEd Maste upstream: Relax absolute path requirement back to what it was prior to 21823d9fd9fcSEd Maste 21833d9fd9fcSEd Maste OpenSSH 9.8, which incorrectly required that sshd was started with an 21843d9fd9fcSEd Maste absolute path in inetd mode. bz3717, patch from Colin Wilson 21853d9fd9fcSEd Maste 21863d9fd9fcSEd Maste OpenBSD-Commit-ID: 25c57f22764897242d942853f8cccc5e991ea058 21873d9fd9fcSEd Maste 21883d9fd9fcSEd Mastecommit 1bc426f51b0a5cfdcfbd205218f0b6839ffe91e9 21893d9fd9fcSEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 21903d9fd9fcSEd MasteDate: Mon Sep 9 14:41:21 2024 +0000 21913d9fd9fcSEd Maste 21923d9fd9fcSEd Maste upstream: document the mlkem768x25519-sha256 key exchange algorithm 21933d9fd9fcSEd Maste 21943d9fd9fcSEd Maste OpenBSD-Commit-ID: fa18dccdd9753dd287e62ecab189b3de45672521 21953d9fd9fcSEd Maste 21963d9fd9fcSEd Mastecommit 0a2db61a5ffc64d2e2961c52964f933879952fc7 21973d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 21983d9fd9fcSEd MasteDate: Tue Sep 10 21:11:14 2024 +1000 21993d9fd9fcSEd Maste 22003d9fd9fcSEd Maste Spell omnios test host correctly. 22013d9fd9fcSEd Maste 22023d9fd9fcSEd Mastecommit 059ed698a47c9af541a49cf754fd09f984ac5a21 22033d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 22043d9fd9fcSEd MasteDate: Tue Sep 10 18:52:02 2024 +1000 22053d9fd9fcSEd Maste 22063d9fd9fcSEd Maste Add omnios test target. 22073d9fd9fcSEd Maste 22083d9fd9fcSEd Mastecommit f4ff91575a448b19176ceaa8fd6843a25f39d572 22093d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 22103d9fd9fcSEd MasteDate: Tue Sep 10 18:45:55 2024 +1000 22113d9fd9fcSEd Maste 22123d9fd9fcSEd Maste Wrap stdint.h in ifdef. 22133d9fd9fcSEd Maste 22143d9fd9fcSEd Mastecommit ff714f001d20a9c843ee1fd9d92a16d40567d264 22153d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 22163d9fd9fcSEd MasteDate: Mon Sep 9 19:31:54 2024 +1000 22173d9fd9fcSEd Maste 22183d9fd9fcSEd Maste Also test PAM on dfly64. 22193d9fd9fcSEd Maste 22203d9fd9fcSEd Mastecommit 509b757c052ea969b3a41fc36818b44801caf1cf 22213d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 22223d9fd9fcSEd MasteDate: Mon Sep 9 21:50:14 2024 +1000 22233d9fd9fcSEd Maste 22243d9fd9fcSEd Maste stubs for ML-KEM KEX functions 22253d9fd9fcSEd Maste 22263d9fd9fcSEd Maste used for C89 compilers 22273d9fd9fcSEd Maste 22283d9fd9fcSEd Mastecommit 273581210c99ce7275b8efdefbb9f89e1c22e341 22293d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 22303d9fd9fcSEd MasteDate: Mon Sep 9 17:30:38 2024 +1000 22313d9fd9fcSEd Maste 22323d9fd9fcSEd Maste declare defeat trying to detect C89 compilers 22333d9fd9fcSEd Maste 22343d9fd9fcSEd Maste I can't find a reliable way to detect the features the ML-KEM code 22353d9fd9fcSEd Maste requires in configure. Give up for now and use VLA support (that we 22363d9fd9fcSEd Maste can detect) as a proxy for "old compiler" and turn off ML-KEM if 22373d9fd9fcSEd Maste it isn't supported. 22383d9fd9fcSEd Maste 22393d9fd9fcSEd Mastecommit e8a0f19b56dfa20f98ea9876d7171ec315fb338a 22403d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 22413d9fd9fcSEd MasteDate: Mon Sep 9 16:46:40 2024 +1000 22423d9fd9fcSEd Maste 22433d9fd9fcSEd Maste fix previous; check for C99 compound literals 22443d9fd9fcSEd Maste 22453d9fd9fcSEd Maste The previous commit was incorrect (or at least insufficient), the 22463d9fd9fcSEd Maste ML-KEM code is actually using compound literals, so test for them. 22473d9fd9fcSEd Maste 22483d9fd9fcSEd Mastecommit 7c07bec1446978bebe0780ed822c8fedfb377ae8 22493d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 22503d9fd9fcSEd MasteDate: Mon Sep 9 16:06:21 2024 +1000 22513d9fd9fcSEd Maste 22523d9fd9fcSEd Maste test for compiler feature needed for ML-KEM 22533d9fd9fcSEd Maste 22543d9fd9fcSEd Maste The ML-KEM implementation we uses need the compiler to support 22553d9fd9fcSEd Maste C99-style named struct initialisers (e.g foo = {.bar = 1}). We 22563d9fd9fcSEd Maste still support (barely) building OpenSSH with older compilers, so 22573d9fd9fcSEd Maste add a configure test for this. 22583d9fd9fcSEd Maste 22593d9fd9fcSEd Mastecommit d469d5f348772058789d35332d1ccb0b109c28ef 22603d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 22613d9fd9fcSEd MasteDate: Mon Sep 9 03:13:39 2024 +0000 22623d9fd9fcSEd Maste 22633d9fd9fcSEd Maste upstream: test mlkem768x25519-sha256 22643d9fd9fcSEd Maste 22653d9fd9fcSEd Maste OpenBSD-Regress-ID: 7baf6bc39ae55648db1a2bfdc55a624954847611 22663d9fd9fcSEd Maste 22673d9fd9fcSEd Mastecommit 62fb2b51bb7f6863c3ab697f397b2068da1c993f 22683d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 22693d9fd9fcSEd MasteDate: Mon Sep 9 02:39:57 2024 +0000 22703d9fd9fcSEd Maste 22713d9fd9fcSEd Maste upstream: pull post-quantum ML-KEM/x25519 key exchange out from 22723d9fd9fcSEd Maste 22733d9fd9fcSEd Maste compile-time flag now than an IANA codepoint has been assigned for the 22743d9fd9fcSEd Maste algorithm. 22753d9fd9fcSEd Maste 22763d9fd9fcSEd Maste Add mlkem768x25519-sha256 in 2nd KexAlgorithms preference slot. 22773d9fd9fcSEd Maste 22783d9fd9fcSEd Maste ok markus@ 22793d9fd9fcSEd Maste 22803d9fd9fcSEd Maste OpenBSD-Commit-ID: 9f50a0fae7d7ae8b27fcca11f8dc6f979207451a 22813d9fd9fcSEd Maste 22823d9fd9fcSEd Mastecommit a8ad7a2952111c6ce32949a775df94286550af6b 22833d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 22843d9fd9fcSEd MasteDate: Fri Sep 6 02:30:44 2024 +0000 22853d9fd9fcSEd Maste 22863d9fd9fcSEd Maste upstream: make parsing user@host consistently look for the last '@' in 22873d9fd9fcSEd Maste 22883d9fd9fcSEd Maste the string rather than the first. This makes it possible to use usernames 22893d9fd9fcSEd Maste that contain '@' characters. 22903d9fd9fcSEd Maste MIME-Version: 1.0 22913d9fd9fcSEd Maste Content-Type: text/plain; charset=UTF-8 22923d9fd9fcSEd Maste Content-Transfer-Encoding: 8bit 22933d9fd9fcSEd Maste 22943d9fd9fcSEd Maste Prompted by Max Zettlmeißl; feedback/ok millert@ 22953d9fd9fcSEd Maste 22963d9fd9fcSEd Maste OpenBSD-Commit-ID: 0b16eec246cda15469ebdcf3b1e2479810e394c5 22973d9fd9fcSEd Maste 22983d9fd9fcSEd Mastecommit 13cc78d016b67a74a67f1c97c7c348084cd9212c 22993d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 23003d9fd9fcSEd MasteDate: Wed Sep 4 05:33:34 2024 +0000 23013d9fd9fcSEd Maste 23023d9fd9fcSEd Maste upstream: be more strict in parsing key type names. Only allow 23033d9fd9fcSEd Maste 23043d9fd9fcSEd Maste shortnames (e.g "rsa") in user-interface code and require full SSH protocol 23053d9fd9fcSEd Maste names (e.g. "ssh-rsa") everywhere else. 23063d9fd9fcSEd Maste 23073d9fd9fcSEd Maste Prompted by bz3725; ok markus@ 23083d9fd9fcSEd Maste 23093d9fd9fcSEd Maste OpenBSD-Commit-ID: b3d8de9dac37992eab78adbf84fab2fe0d84b187 23103d9fd9fcSEd Maste 23113d9fd9fcSEd Mastecommit ef8472309a68e319018def6f8ea47aeb40d806f5 23123d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 23133d9fd9fcSEd MasteDate: Wed Sep 4 05:11:33 2024 +0000 23143d9fd9fcSEd Maste 23153d9fd9fcSEd Maste upstream: fix RCSID in output 23163d9fd9fcSEd Maste 23173d9fd9fcSEd Maste OpenBSD-Commit-ID: 889ae07f2d2193ddc4351711919134664951dd76 23183d9fd9fcSEd Maste 23193d9fd9fcSEd Mastecommit ba2ef20c75c5268d4d1257adfc2ac11c930d31e1 23203d9fd9fcSEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 23213d9fd9fcSEd MasteDate: Tue Sep 3 06:17:48 2024 +0000 23223d9fd9fcSEd Maste 23233d9fd9fcSEd Maste upstream: envrionment -> environment; 23243d9fd9fcSEd Maste 23253d9fd9fcSEd Maste OpenBSD-Commit-ID: b719f39c20e8c671ec6135c832d6cc67a595af9c 23263d9fd9fcSEd Maste 23273d9fd9fcSEd Mastecommit e66c0c5673a4304a3a9fbf8305c6a19f8653740f 23283d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 23293d9fd9fcSEd MasteDate: Wed Sep 4 15:35:29 2024 +1000 23303d9fd9fcSEd Maste 23313d9fd9fcSEd Maste add basic fuzzers for our import of sntrup761 23323d9fd9fcSEd Maste 23333d9fd9fcSEd Mastecommit d19dea6330ecd4eb403fef2423bd7e127f4c9828 23343d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 23353d9fd9fcSEd MasteDate: Tue Sep 3 05:58:56 2024 +0000 23363d9fd9fcSEd Maste 23373d9fd9fcSEd Maste upstream: regression test for Include variable expansion 23383d9fd9fcSEd Maste 23393d9fd9fcSEd Maste OpenBSD-Regress-ID: 35477da3ba1abd9ca64bc49080c50a9c1350c6ca 23403d9fd9fcSEd Maste 23413d9fd9fcSEd Mastecommit 8c4d6a628051e318bae2f283e8dc38b896400862 23423d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 23433d9fd9fcSEd MasteDate: Tue Sep 3 05:29:55 2024 +0000 23443d9fd9fcSEd Maste 23453d9fd9fcSEd Maste upstream: allow the "Include" directive to expand the same set of 23463d9fd9fcSEd Maste 23473d9fd9fcSEd Maste %-tokens that "Match Exec" and environment variables. 23483d9fd9fcSEd Maste 23493d9fd9fcSEd Maste ok dtucker@ 23503d9fd9fcSEd Maste 23513d9fd9fcSEd Maste OpenBSD-Commit-ID: 12ef521eaa966a9241e684258564f52f1f3c5d37 23523d9fd9fcSEd Maste 23533d9fd9fcSEd Mastecommit 51b82648b6827675fc0cde21175fd1ed8e89aab2 23543d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 23553d9fd9fcSEd MasteDate: Mon Sep 2 12:18:35 2024 +0000 23563d9fd9fcSEd Maste 23573d9fd9fcSEd Maste upstream: missing ifdef 23583d9fd9fcSEd Maste 23593d9fd9fcSEd Maste OpenBSD-Commit-ID: 85f09da957dd39fd0abe08fe5ee19393f25c2021 23603d9fd9fcSEd Maste 23613d9fd9fcSEd Mastecommit f68312eb593943127b39ba79a4d7fa438c34c153 23623d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 23633d9fd9fcSEd MasteDate: Mon Sep 2 12:13:56 2024 +0000 23643d9fd9fcSEd Maste 23653d9fd9fcSEd Maste upstream: Add experimental support for hybrid post-quantum key exchange 23663d9fd9fcSEd Maste 23673d9fd9fcSEd Maste ML-KEM768 with ECDH/X25519 from the Internet-draft: 23683d9fd9fcSEd Maste https://datatracker.ietf.org/doc/html/draft-kampanakis-curdle-ssh-pq-ke-03 23693d9fd9fcSEd Maste 23703d9fd9fcSEd Maste This is based on previous patches from markus@ but adapted to use the 23713d9fd9fcSEd Maste final FIPS203 standard ML-KEM using a formally-verified implementation 23723d9fd9fcSEd Maste from libcrux. 23733d9fd9fcSEd Maste 23743d9fd9fcSEd Maste Note this key exchange method is still a draft and thus subject to 23753d9fd9fcSEd Maste change. It is therefore disabled by default; set MLKEM=yes to build it. 23763d9fd9fcSEd Maste We're making it available now to make it easy for other SSH 23773d9fd9fcSEd Maste implementations to test against it. 23783d9fd9fcSEd Maste 23793d9fd9fcSEd Maste ok markus@ deraadt@ 23803d9fd9fcSEd Maste 23813d9fd9fcSEd Maste OpenBSD-Commit-ID: 02a8730a570b63fa8acd9913ec66353735dea42c 23823d9fd9fcSEd Maste 23833d9fd9fcSEd Mastecommit 05f2b141cfcc60c7cdedf9450d2b9d390c19eaad 23843d9fd9fcSEd MasteAuthor: Antonio Larrosa <alarrosa@suse.com> 23853d9fd9fcSEd MasteDate: Fri Aug 23 12:21:06 2024 +0200 23863d9fd9fcSEd Maste 23873d9fd9fcSEd Maste Don't skip audit before exitting cleanup_exit 23883d9fd9fcSEd Maste 23893d9fd9fcSEd Maste This fixes an issue where the SSH_CONNECTION_ABANDON event is not 23903d9fd9fcSEd Maste audited because cleanup_exit overrides the regular _exit too soon and 23913d9fd9fcSEd Maste as a result, failed auth attempts are not logged correctly. 23923d9fd9fcSEd Maste 23933d9fd9fcSEd Maste The problem was introduced in 81c1099d22b81ebfd20a334ce986c4f753b0db29 23943d9fd9fcSEd Maste where the code from upstream was merged before the audit_event call when 23953d9fd9fcSEd Maste it should have been merged right before the _exit call in order to honor 23963d9fd9fcSEd Maste the comment that just mentions an override of the exit value. 23973d9fd9fcSEd Maste 23983d9fd9fcSEd Mastecommit 16eaf9d401e70996f89f3f417738a8db421aa959 23993d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 24003d9fd9fcSEd MasteDate: Wed Aug 28 12:08:26 2024 +0000 24013d9fd9fcSEd Maste 24023d9fd9fcSEd Maste upstream: fix test: -F is the argument to specify a non-default 24033d9fd9fcSEd Maste 24043d9fd9fcSEd Maste ssh_config, not -f (this is sadly not a new bug) 24053d9fd9fcSEd Maste 24063d9fd9fcSEd Maste OpenBSD-Regress-ID: 45a7bda4cf33f2cea218507d8b6a55cddbcfb322 24073d9fd9fcSEd Maste 24083d9fd9fcSEd Mastecommit 10ccf611ab8ecba9ce6b0548c5ccd8c1220baf92 24093d9fd9fcSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 24103d9fd9fcSEd MasteDate: Fri Aug 23 04:51:00 2024 +0000 24113d9fd9fcSEd Maste 24123d9fd9fcSEd Maste upstream: As defined in the RFC, the SSH protocol has negotiable 24133d9fd9fcSEd Maste 24143d9fd9fcSEd Maste compression support (which is requested as the name "zlib"). Compression 24153d9fd9fcSEd Maste starts very early in the session. Relative early in OpenSSH lifetime, privsep 24163d9fd9fcSEd Maste was added to sshd, and this required a shared-memory hack so the two 24173d9fd9fcSEd Maste processes could see what was going on in the dataflow. This shared-memory 24183d9fd9fcSEd Maste hack was soon recognized as a tremendous complexity risk, because it put libz 24193d9fd9fcSEd Maste (which very much trusts it's memory) in a dangerous place, and a new option 24203d9fd9fcSEd Maste ("zlib@openssh.com") was added begins compression after authentication (aka 24213d9fd9fcSEd Maste delayed-compression). That change also permitted removal of the 24223d9fd9fcSEd Maste shared-memory hack. Despite removal from the server, the old "zlib" support 24233d9fd9fcSEd Maste remained in the client, to allow negotiation with non-OpenSSH daemons which 24243d9fd9fcSEd Maste lack the delayed-compression option. This commit deletes support for the 24253d9fd9fcSEd Maste older "zlib" option in the client. It reduces our featureset in a small way, 24263d9fd9fcSEd Maste and encourages other servers to move to a better design. The SSH protocol is 24273d9fd9fcSEd Maste different enough that compressed-key-material attacks like BEAST are 24283d9fd9fcSEd Maste unlikely, but who wants to take the chance? We encourage other ssh servers 24293d9fd9fcSEd Maste who care about optional compression support to add delayed-zlib support. 24303d9fd9fcSEd Maste (Some already do "zlib@openssh.com") ok djm markus 24313d9fd9fcSEd Maste 24323d9fd9fcSEd Maste OpenBSD-Commit-ID: 6df986f38e4ab389f795a6e39e7c6857a763ba72 24333d9fd9fcSEd Maste 24343d9fd9fcSEd Mastecommit aee54878255d71bf93aa6e91bbd4eb1825c0d1b9 24353d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 24363d9fd9fcSEd MasteDate: Thu Aug 22 23:11:30 2024 +0000 24373d9fd9fcSEd Maste 24383d9fd9fcSEd Maste upstream: sntrup761x25519-sha512 now has an IANA codepoint assigned, so 24393d9fd9fcSEd Maste 24403d9fd9fcSEd Maste we can make the algorithm available without the @openssh.com suffix too. ok 24413d9fd9fcSEd Maste markus@ deraadt@ 24423d9fd9fcSEd Maste 24433d9fd9fcSEd Maste OpenBSD-Commit-ID: eeed8fcde688143a737729d3d56d20ab4353770f 24443d9fd9fcSEd Maste 24453d9fd9fcSEd Mastecommit a76a6b85108e3032c8175611ecc5746e7131f876 24463d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 24473d9fd9fcSEd MasteDate: Thu Aug 22 20:36:12 2024 +1000 24483d9fd9fcSEd Maste 24493d9fd9fcSEd Maste Move rekey test into valgrind-2. 24503d9fd9fcSEd Maste 24513d9fd9fcSEd Maste Now that the rekey test has been optimized it's fast enough to not be in 24523d9fd9fcSEd Maste its own valgrind test, so move it into valgrind-2, which is currently 24533d9fd9fcSEd Maste the quickest of the others, bringing all of them to roughly the same 24543d9fd9fcSEd Maste runtime of ~1.1 hours. 24553d9fd9fcSEd Maste 24563d9fd9fcSEd Mastecommit 7e75e3f57c41b9a6e6401e7674d7c2ff5c33975b 24573d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 24583d9fd9fcSEd MasteDate: Thu Aug 22 10:21:02 2024 +0000 24593d9fd9fcSEd Maste 24603d9fd9fcSEd Maste upstream: Use aes128-ctr for MAC tests since default has implicit MAC. 24613d9fd9fcSEd Maste 24623d9fd9fcSEd Maste Also verify that the Cipher or MAC we intended to use is actually the one 24633d9fd9fcSEd Maste selected during the test. 24643d9fd9fcSEd Maste 24653d9fd9fcSEd Maste OpenBSD-Regress-ID: ff43fed30552afe23d1364526fe8cf88cbfafe1d 24663d9fd9fcSEd Maste 24673d9fd9fcSEd Mastecommit ebc890b8b4ba08c84cd1066b7b94b2b11f6c4cb4 24683d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 24693d9fd9fcSEd MasteDate: Thu Aug 22 09:45:49 2024 +1000 24703d9fd9fcSEd Maste 24713d9fd9fcSEd Maste fix incorrect default for PasswordAuthentication 24723d9fd9fcSEd Maste 24733d9fd9fcSEd Maste merge botch spotted by gsgleason 24743d9fd9fcSEd Maste 24753d9fd9fcSEd Mastecommit 15ace435ea1c2fab2a1cc7d9c3157fe20c776b80 24763d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 24773d9fd9fcSEd MasteDate: Wed Aug 21 10:33:27 2024 +0000 24783d9fd9fcSEd Maste 24793d9fd9fcSEd Maste upstream: Some awks won't match on the \r so delete it instead. Fixes 24803d9fd9fcSEd Maste 24813d9fd9fcSEd Maste regress in portable on, eg Solaris. 24823d9fd9fcSEd Maste 24833d9fd9fcSEd Maste OpenBSD-Regress-ID: 44a96d6d2f8341d89b7d5fff777502b92ac9e9ba 24843d9fd9fcSEd Maste 24853d9fd9fcSEd Mastecommit 51c96b6ed627779a04493a8fe25747996a37f3c2 24863d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 24873d9fd9fcSEd MasteDate: Wed Aug 21 07:06:27 2024 +0000 24883d9fd9fcSEd Maste 24893d9fd9fcSEd Maste upstream: Import regenerated moduli. 24903d9fd9fcSEd Maste 24913d9fd9fcSEd Maste OpenBSD-Commit-ID: 5db7049ad5558dee5b2079d3422e8ddab187c1cc 24923d9fd9fcSEd Maste 24933d9fd9fcSEd Mastecommit 25c52f37a82c4da48ec537de37d7c168982b8d6d 24943d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 24953d9fd9fcSEd MasteDate: Wed Aug 21 06:59:08 2024 +0000 24963d9fd9fcSEd Maste 24973d9fd9fcSEd Maste upstream: Use curve25519-sha256 kex where possible. 24983d9fd9fcSEd Maste 24993d9fd9fcSEd Maste Except where we're explicitly testing a different kex, use 25003d9fd9fcSEd Maste curve25519-sha256 since it's faster than the default and supported even 25013d9fd9fcSEd Maste when configured without OpenSSL. Add a check to ensure that the kex we 25023d9fd9fcSEd Maste intended to test is the one we actually tested. Speeds test up by ~5%. 25033d9fd9fcSEd Maste 25043d9fd9fcSEd Maste OpenBSD-Regress-ID: 3b27fcc2ae953cb08fd82a0d3155c498b226d6e0 25053d9fd9fcSEd Maste 25063d9fd9fcSEd Mastecommit 3eb62b7ba49483c309b483eb9002a679014f3887 25073d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 25083d9fd9fcSEd MasteDate: Tue Aug 20 12:36:59 2024 +0000 25093d9fd9fcSEd Maste 25103d9fd9fcSEd Maste upstream: Send only as much data as needed to trigger rekeying. Speeds 25113d9fd9fcSEd Maste 25123d9fd9fcSEd Maste up tests by about 10% in the common case, hopefully more when instrumented 25133d9fd9fcSEd Maste with something like valgrind. 25143d9fd9fcSEd Maste 25153d9fd9fcSEd Maste OpenBSD-Regress-ID: 7bf9292b4803357efcf0baf7cfbdc8521f212da1 25163d9fd9fcSEd Maste 25173d9fd9fcSEd Mastecommit cbd3f034bbf7853618fac99d7d868a2250154ea7 25183d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 25193d9fd9fcSEd MasteDate: Wed Aug 21 09:18:29 2024 +1000 25203d9fd9fcSEd Maste 25213d9fd9fcSEd Maste simplify sshkey_prekey_alloc(); always use mmap 25223d9fd9fcSEd Maste 25233d9fd9fcSEd Mastecommit 4442bbc2fc661277a6dabfedb756a7e15ee8b8b8 25243d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 25253d9fd9fcSEd MasteDate: Tue Aug 20 09:15:49 2024 +0000 25263d9fd9fcSEd Maste 25273d9fd9fcSEd Maste upstream: Merge AEAD test into main test loop. 25283d9fd9fcSEd Maste 25293d9fd9fcSEd Maste Removes 3 duplicate tests and speeds overall test up by about 1%. 25303d9fd9fcSEd Maste 25313d9fd9fcSEd Maste OpenBSD-Regress-ID: 5e5c9ff3f7588091ed369e34ac28520490ad2619 25323d9fd9fcSEd Maste 25333d9fd9fcSEd Mastecommit 829976a63fd1efae3a4c3e7c16fded59d92edb67 25343d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 25353d9fd9fcSEd MasteDate: Tue Aug 20 09:02:45 2024 +0000 25363d9fd9fcSEd Maste 25373d9fd9fcSEd Maste upstream: Set a default RekeyLimit of 256k. 25383d9fd9fcSEd Maste 25393d9fd9fcSEd Maste Used unless overridden by a command-line flag, which simplifies some of 25403d9fd9fcSEd Maste the ssh command lines. 25413d9fd9fcSEd Maste 25423d9fd9fcSEd Maste OpenBSD-Regress-ID: e7cffa57027088e10336e412b34113969f88cb87 25433d9fd9fcSEd Maste 25443d9fd9fcSEd Mastecommit 57d02c9ea36aebad4e7146d46e041b6b2e582f7f 25453d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 25463d9fd9fcSEd MasteDate: Tue Aug 20 07:52:43 2024 +0000 25473d9fd9fcSEd Maste 25483d9fd9fcSEd Maste upstream: Add Compression=no to default ssh_config. 25493d9fd9fcSEd Maste 25503d9fd9fcSEd Maste All of the rekey tests use it (otherwise the encrypted byte counts would 25513d9fd9fcSEd Maste not match) so this lets us simplify the command lines. 25523d9fd9fcSEd Maste 25533d9fd9fcSEd Maste OpenBSD-Regress-ID: dab7ce10f4cf6c68827eb8658141272aab3ea262 25543d9fd9fcSEd Maste 25553d9fd9fcSEd Mastecommit 7254eb26f7c0772c4b47c3b32f6d1b15855cdd8c 25563d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 25573d9fd9fcSEd MasteDate: Tue Aug 20 07:41:35 2024 +0000 25583d9fd9fcSEd Maste 25593d9fd9fcSEd Maste upstream: Remove duplicate curve25519-sha256 kex. 25603d9fd9fcSEd Maste 25613d9fd9fcSEd Maste curve25519-sha256@libssh.org is the pre-standardization name for the same 25623d9fd9fcSEd Maste thing, so remove it as a duplicate. Speeds up test by a tiny amount. 25633d9fd9fcSEd Maste 25643d9fd9fcSEd Maste OpenBSD-Regress-ID: 5a5ee5fa1595a6e140b1cc16040bedf5996a5715 25653d9fd9fcSEd Maste 25663d9fd9fcSEd Mastecommit 749896b874928c2785256cae4d75161dc3bfcc7d 25673d9fd9fcSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 25683d9fd9fcSEd MasteDate: Tue Aug 20 07:27:25 2024 +0000 25693d9fd9fcSEd Maste 25703d9fd9fcSEd Maste upstream: Unnest rekey param parsing test and use ssh not sshd. 25713d9fd9fcSEd Maste 25723d9fd9fcSEd Maste ssh uses the same parsing code, now has "-G" to dump its config and is 25733d9fd9fcSEd Maste slightly faster to start up. This speeds up the test slightly (~5%) in the 25743d9fd9fcSEd Maste common case but should help more during instrumented tests, eg under 25753d9fd9fcSEd Maste valgrind, where startup costs are magnified. 25763d9fd9fcSEd Maste 25773d9fd9fcSEd Maste OpenBSD-Regress-ID: 07c3acaf4c728e641033071f4441afc88141b0d0 25783d9fd9fcSEd Maste 25793d9fd9fcSEd Mastecommit 2b1762115481ff2b7a60fd4db2ae69b725437462 25803d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 25813d9fd9fcSEd MasteDate: Tue Aug 20 11:10:04 2024 +0000 25823d9fd9fcSEd Maste 25833d9fd9fcSEd Maste upstream: actually use the length parameter that was passed in rather 25843d9fd9fcSEd Maste 25853d9fd9fcSEd Maste than a constant (this makes no difference in practice because the length is 25863d9fd9fcSEd Maste always the same); reported by martin AT nmkd.net 25873d9fd9fcSEd Maste 25883d9fd9fcSEd Maste OpenBSD-Commit-ID: 4aecce232c2fe9b16e9217ff6bcb3c848d853e7e 25893d9fd9fcSEd Maste 25903d9fd9fcSEd Mastecommit d922762ca16a7381131b242f49d7376c41fabcb5 25913d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 25923d9fd9fcSEd MasteDate: Tue Aug 20 13:55:30 2024 +1000 25933d9fd9fcSEd Maste 25943d9fd9fcSEd Maste private key coredump protection for Linux/FreeBSD 25953d9fd9fcSEd Maste 25963d9fd9fcSEd Maste platforms not supporting coredump exclusion using mmap/madvise flags 25973d9fd9fcSEd Maste fall back to plain old malloc(3). 25983d9fd9fcSEd Maste 25993d9fd9fcSEd Mastecommit cc048ca536d6bed6f2285b07040b0d57cd559ba5 26003d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 26013d9fd9fcSEd MasteDate: Tue Aug 20 03:48:30 2024 +0000 26023d9fd9fcSEd Maste 26033d9fd9fcSEd Maste upstream: place shielded keys (i.e. keys at rest in RAM) into memory 26043d9fd9fcSEd Maste 26053d9fd9fcSEd Maste allocated using mmap(3) with MAP_CONCEAL set. This prevents exposure of the 26063d9fd9fcSEd Maste key material in coredumps, etc (this is in addition to other measures we take 26073d9fd9fcSEd Maste in this area). 26083d9fd9fcSEd Maste 26093d9fd9fcSEd Maste ok deraadt@ 26103d9fd9fcSEd Maste 26113d9fd9fcSEd Maste OpenBSD-Commit-ID: cbbae59f337a00c9858d6358bc65f74e62261369 26123d9fd9fcSEd Maste 26133d9fd9fcSEd Mastecommit a0b35c791cad1f85481b23ba46373060292e1c80 26143d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 26153d9fd9fcSEd MasteDate: Sat Aug 17 08:35:04 2024 +0000 26163d9fd9fcSEd Maste 26173d9fd9fcSEd Maste upstream: mention that ed25519 is the default key type generated and 26183d9fd9fcSEd Maste 26193d9fd9fcSEd Maste clarify that rsa-sha2-512 is the default signature scheme when RSA is in use. 26203d9fd9fcSEd Maste Based on GHPR505 from SebastianRzk 26213d9fd9fcSEd Maste 26223d9fd9fcSEd Maste OpenBSD-Commit-ID: 1d90df71636a04601685d2a10a8233bcc8d4f4c5 26233d9fd9fcSEd Maste 26243d9fd9fcSEd Mastecommit 127a50f2c80572ed1a021feb11ecf941e92cbbef 26253d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 26263d9fd9fcSEd MasteDate: Sat Aug 17 08:23:04 2024 +0000 26273d9fd9fcSEd Maste 26283d9fd9fcSEd Maste upstream: fix minor memory leak in Subsystem option parsing; from 26293d9fd9fcSEd Maste 26303d9fd9fcSEd Maste Antonio Larrosa via GHPR515 26313d9fd9fcSEd Maste 26323d9fd9fcSEd Maste OpenBSD-Commit-ID: fff3bbefd1b2c45c98cbe45c6b857b15d8a2d364 26333d9fd9fcSEd Maste 26343d9fd9fcSEd Mastecommit 171427261d2079941eb1041079dbae875da37cbc 26353d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 26363d9fd9fcSEd MasteDate: Sat Aug 17 08:09:50 2024 +0000 26373d9fd9fcSEd Maste 26383d9fd9fcSEd Maste upstream: fix swapping of source and destination addresses in some sshd 26393d9fd9fcSEd Maste 26403d9fd9fcSEd Maste log messages 26413d9fd9fcSEd Maste 26423d9fd9fcSEd Maste OpenBSD-Commit-ID: 24d4cbb86325275df1f037545aa3b91456e52d25 26433d9fd9fcSEd Maste 26443d9fd9fcSEd Mastecommit 2a50a8f1fa57857a5e124a2280bcf61cc63c77f7 26453d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 26463d9fd9fcSEd MasteDate: Sat Aug 17 11:10:19 2024 +1000 26473d9fd9fcSEd Maste 26483d9fd9fcSEd Maste Add compat functions for EVP_Digest{Sign,Verify}. 26493d9fd9fcSEd Maste 26503d9fd9fcSEd Maste This should make LibreSSL 3.1.x through 3.3.x work again. Code from 26513d9fd9fcSEd Maste tb@, ok djm@. Restore the test configs covering those. 26523d9fd9fcSEd Maste 26533d9fd9fcSEd Mastecommit 1c3a7145260e03037cc18715b883880836fd122d 26543d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 26553d9fd9fcSEd MasteDate: Thu Aug 8 13:03:51 2024 +0200 26563d9fd9fcSEd Maste 26573d9fd9fcSEd Maste make sure that usage & man page match 26583d9fd9fcSEd Maste 26593d9fd9fcSEd Maste SSH-Copy-ID-Upstream: da5b1abe55b72a16e0430e7598e1573da01779c0 26603d9fd9fcSEd Maste 26613d9fd9fcSEd Mastecommit cd0d681645b9adcf2467e7838bfd9d5142de4c4e 26623d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 26633d9fd9fcSEd MasteDate: Thu Aug 8 13:01:47 2024 +0200 26643d9fd9fcSEd Maste 26653d9fd9fcSEd Maste update copyright notices 26663d9fd9fcSEd Maste 26673d9fd9fcSEd Maste Bump the year to 2024, but also reflect the fact that hands.com Ltd. has 26683d9fd9fcSEd Maste been wound up in the UK, and its assets (including this copyright) have 26693d9fd9fcSEd Maste now reverted to its owner, Philip Hands. 26703d9fd9fcSEd Maste 26713d9fd9fcSEd Maste SSH-Copy-ID-Upstream: 0e4c4d072747a6568b11a790c29dd1b4ce663d7f 26723d9fd9fcSEd Maste 26733d9fd9fcSEd Mastecommit 7fc9ccdce18841ebd0a97e31e43258512ab32a32 26743d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 26753d9fd9fcSEd MasteDate: Sun Aug 4 20:45:00 2024 +0200 26763d9fd9fcSEd Maste 26773d9fd9fcSEd Maste restore optionality of -i's argument 26783d9fd9fcSEd Maste 26793d9fd9fcSEd Maste SSH-Copy-ID-Upstream: f70e3abb510e4eeb040b47894e41828246c1b720 26803d9fd9fcSEd Maste 26813d9fd9fcSEd Mastecommit c37aa7012b1a3c2c322fd19e71310aadc90fc674 26823d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 26833d9fd9fcSEd MasteDate: Fri Aug 2 15:52:07 2024 +0200 26843d9fd9fcSEd Maste 26853d9fd9fcSEd Maste avoid exploring .ssh/id*.pub subdirectories 26863d9fd9fcSEd Maste 26873d9fd9fcSEd Maste SSH-Copy-ID-Upstream: 0b9e08b7707ad16de3c8e6a0410d9f42fbd56997 26883d9fd9fcSEd Maste 26893d9fd9fcSEd Mastecommit 777dce9e2e0d12f7e81e162f77749f30899869fe 26903d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 26913d9fd9fcSEd MasteDate: Fri Aug 2 10:07:11 2024 +0200 26923d9fd9fcSEd Maste 26933d9fd9fcSEd Maste ensure that we're always told the source of keys 26943d9fd9fcSEd Maste 26953d9fd9fcSEd Maste SSH-Copy-ID-Upstream: 1bee96f4793e8ec3fab9f9361204ae58f5cc7cae 26963d9fd9fcSEd Maste 26973d9fd9fcSEd Mastecommit fb94fd2339848e40cad6c9bb42b822244cc1a7bc 26983d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 26993d9fd9fcSEd MasteDate: Wed Jul 31 23:19:51 2024 +0200 27003d9fd9fcSEd Maste 27013d9fd9fcSEd Maste add $HOME to ERROR if one cannot write to ~/.ssh 27023d9fd9fcSEd Maste 27033d9fd9fcSEd Maste SSH-Copy-ID-Upstream: ebef3e9c06e0447bff06e9d84b33023cf592e0ba 27043d9fd9fcSEd Maste 27053d9fd9fcSEd Mastecommit eb5aafa1ffaeee75799141ec5ded406a65ec7d18 27063d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 27073d9fd9fcSEd MasteDate: Wed Jul 31 23:19:03 2024 +0200 27083d9fd9fcSEd Maste 27093d9fd9fcSEd Maste assert that SCRATCH_DIR is a writable directory 27103d9fd9fcSEd Maste 27113d9fd9fcSEd Maste SSH-Copy-ID-Upstream: ecb2b9d10883b9a16df56c83896c9bb47a80cde2 27123d9fd9fcSEd Maste 27133d9fd9fcSEd Mastecommit abcc460a2af46f0d812f8433d97a8eae1d80724c 27143d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 27153d9fd9fcSEd MasteDate: Wed Jul 31 23:17:54 2024 +0200 27163d9fd9fcSEd Maste 27173d9fd9fcSEd Maste quote to avoid potential for word splitting 27183d9fd9fcSEd Maste 27193d9fd9fcSEd Maste SSH-Copy-ID-Upstream: f379adbe06ac2ef1daf0f130752234c7f8b97e3c 27203d9fd9fcSEd Maste 27213d9fd9fcSEd Mastecommit b3f91411fd1473605f74c40c1a91a024c7171e27 27223d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 27233d9fd9fcSEd MasteDate: Wed Jul 31 23:15:11 2024 +0200 27243d9fd9fcSEd Maste 27253d9fd9fcSEd Maste ensure ERROR output goes to STDERR 27263d9fd9fcSEd Maste 27273d9fd9fcSEd Maste SSH-Copy-ID-Upstream: ac394b05eead3b91feb7c2ae4129a3e9b892f1e2 27283d9fd9fcSEd Maste 27293d9fd9fcSEd Mastecommit 674b8f30f0dbacd787eb1e4e7e1ece34b5543d8f 27303d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 27313d9fd9fcSEd MasteDate: Thu Aug 1 14:03:06 2024 +0200 27323d9fd9fcSEd Maste 27333d9fd9fcSEd Maste avoid extra space when no arg given to -i option 27343d9fd9fcSEd Maste 27353d9fd9fcSEd Maste SSH-Copy-ID-Upstream: feca9e67e6e37c5653445d1c733569d7abb1770e 27363d9fd9fcSEd Maste 27373d9fd9fcSEd Mastecommit 0efa0e1c41427c0c6ba839a18c72c1afcd7b7cc0 27383d9fd9fcSEd MasteAuthor: Philip Hands <phil@hands.com> 27393d9fd9fcSEd MasteDate: Wed Jul 31 23:28:36 2024 +0200 27403d9fd9fcSEd Maste 27413d9fd9fcSEd Maste put the -i before -[pP] (matching man pages) 27423d9fd9fcSEd Maste 27433d9fd9fcSEd Maste The man pages (ssh, sftp & ssh-copy-id) all list -i before the port 27443d9fd9fcSEd Maste setting, so make the output match that order, which also seems more 27453d9fd9fcSEd Maste natural with the port being next to the server. 27463d9fd9fcSEd Maste 27473d9fd9fcSEd Maste SSH-Copy-ID-Upstream: 34d5d614172c78f9a42249466c4b81975b8883a1 27483d9fd9fcSEd Maste 27493d9fd9fcSEd Mastecommit 87831345e9745f2d13bd7a4a7972809f6788f331 27503d9fd9fcSEd MasteAuthor: Shreyas Mahangade <smahanga@redhat.com> 27513d9fd9fcSEd MasteDate: Mon Jul 29 15:26:05 2024 +0000 27523d9fd9fcSEd Maste 27533d9fd9fcSEd Maste Minor space issue fixed 27543d9fd9fcSEd Maste 27553d9fd9fcSEd Maste SSH-Copy-ID-Upstream: 335e44d7be78b03962a54c3a5c99a2ff45294a54 27563d9fd9fcSEd Maste 27573d9fd9fcSEd Mastecommit 2f3010f4736b4b3f5c10a4be97a24e90ff04c5e7 27583d9fd9fcSEd MasteAuthor: Shreyas Mahangade <smahanga@redhat.com> 27593d9fd9fcSEd MasteDate: Mon Jul 29 16:55:28 2024 +0530 27603d9fd9fcSEd Maste 27613d9fd9fcSEd Maste Show identity file in 'ssh' command 27623d9fd9fcSEd Maste 27633d9fd9fcSEd Maste - Previously no identity file is shown in "ssh" command output on the line "Now try logging into the..." 27643d9fd9fcSEd Maste - This commit makes sure whenever "ssh-copy-id" with "-i" is invoked, it also reflects in "ssh" command 27653d9fd9fcSEd Maste 27663d9fd9fcSEd Maste SSH-Copy-ID-Upstream: 58e022ec26cb2315eb3be581d01e0ba787082428 27673d9fd9fcSEd Maste 27683d9fd9fcSEd Mastecommit a13856374b894397a7682b32257ed0bf67cfede9 27693d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 27703d9fd9fcSEd MasteDate: Fri Aug 16 08:30:20 2024 +1000 27713d9fd9fcSEd Maste 27723d9fd9fcSEd Maste more OPENSSL_HAS_ECC 27733d9fd9fcSEd Maste 27743d9fd9fcSEd Mastecommit 4da2a1a7f648979bea6eaf3b17f5f250faed4afc 27753d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 27763d9fd9fcSEd MasteDate: Thu Aug 15 23:35:54 2024 +1000 27773d9fd9fcSEd Maste 27783d9fd9fcSEd Maste fix merge botch that broke !OPENSSL_HAS_ECC 27793d9fd9fcSEd Maste 27803d9fd9fcSEd Mastecommit 2c53d2f32b8e3992b61682c909ae5bc5122b6e5d 27813d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 27823d9fd9fcSEd MasteDate: Thu Aug 15 15:09:45 2024 +1000 27833d9fd9fcSEd Maste 27843d9fd9fcSEd Maste missed OPENSSL_HAS_ECC case 27853d9fd9fcSEd Maste 27863d9fd9fcSEd Mastecommit 342dd7a219f39119b8b686b5aaa99c8e15ede368 27873d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 27883d9fd9fcSEd MasteDate: Thu Aug 15 15:06:55 2024 +1000 27893d9fd9fcSEd Maste 27903d9fd9fcSEd Maste retire testing aginst older LibreSSL versions 27913d9fd9fcSEd Maste 27923d9fd9fcSEd Maste libressl prior to 3.4.x lack support for the EVP_DigestSign and 27933d9fd9fcSEd Maste EVP_DigestVerify APIs that we need now that sshkey is converted 27943d9fd9fcSEd Maste to EVP_PKEY. 27953d9fd9fcSEd Maste 27963d9fd9fcSEd Maste If someone makes a good case for why we should support these versions 27973d9fd9fcSEd Maste then we could bring back support with wrappers. 27983d9fd9fcSEd Maste 27993d9fd9fcSEd Mastecommit a7c6ea8eebe0f179141ec5dbf0c9e5354417930f 28003d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 28013d9fd9fcSEd MasteDate: Thu Aug 15 12:44:17 2024 +1000 28023d9fd9fcSEd Maste 28033d9fd9fcSEd Maste sync TEST_MALLOC_OPTIONS for OpenBSD 28043d9fd9fcSEd Maste 28053d9fd9fcSEd Mastecommit 60c2cf22e8f64f35d8b1175e4671257313f2e4d3 28063d9fd9fcSEd MasteAuthor: Damien Miller <djm@mindrot.org> 28073d9fd9fcSEd MasteDate: Thu Aug 15 12:43:47 2024 +1000 28083d9fd9fcSEd Maste 28093d9fd9fcSEd Maste remove gratuitious difference from OpenBSD 28103d9fd9fcSEd Maste 28113d9fd9fcSEd Mastecommit 339c4fc60a6250429d41fa8713f783d82aad4551 28123d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 28133d9fd9fcSEd MasteDate: Thu Aug 15 00:52:23 2024 +0000 28143d9fd9fcSEd Maste 28153d9fd9fcSEd Maste upstream: adapt to EVP_PKEY conversion 28163d9fd9fcSEd Maste 28173d9fd9fcSEd Maste OpenBSD-Regress-ID: 0e2d4efb0ed0e392e23cd8fda183fe56531ac446 28183d9fd9fcSEd Maste 28193d9fd9fcSEd Mastecommit 63a94f99b9d7c8a48182a40192e45879d1ba8791 28203d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 28213d9fd9fcSEd MasteDate: Fri Jul 19 04:33:36 2024 +0000 28223d9fd9fcSEd Maste 28233d9fd9fcSEd Maste upstream: test transfers in mux proxy mode too 28243d9fd9fcSEd Maste 28253d9fd9fcSEd Maste OpenBSD-Regress-ID: 2edfc980628cfef3550649cab8d69fa23b5cd6c4 28263d9fd9fcSEd Maste 28273d9fd9fcSEd Mastecommit 7bdfc20516e288b58c8c847958059c7b141eeff9 28283d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 28293d9fd9fcSEd MasteDate: Thu Aug 15 00:51:51 2024 +0000 28303d9fd9fcSEd Maste 28313d9fd9fcSEd Maste upstream: Convert RSA and ECDSA key to the libcrypto EVP_PKEY API. 28323d9fd9fcSEd Maste 28333d9fd9fcSEd Maste DSA remains unconverted as it will be removed within six months. 28343d9fd9fcSEd Maste 28353d9fd9fcSEd Maste Based on patches originally from Dmitry Belyavskiy, but significantly 28363d9fd9fcSEd Maste reworked based on feedback from Bob Beck, Joel Sing and especially 28373d9fd9fcSEd Maste Theo Buehler (apologies to anyone I've missed). 28383d9fd9fcSEd Maste 28393d9fd9fcSEd Maste ok tb@ 28403d9fd9fcSEd Maste 28413d9fd9fcSEd Maste OpenBSD-Commit-ID: d098744e89f1dc7e5952a6817bef234eced648b5 28423d9fd9fcSEd Maste 28433d9fd9fcSEd Mastecommit 0af06e2c5b898992a18c74333e75a0136506acc6 28443d9fd9fcSEd MasteAuthor: tobias@openbsd.org <tobias@openbsd.org> 28453d9fd9fcSEd MasteDate: Wed Aug 14 15:42:18 2024 +0000 28463d9fd9fcSEd Maste 28473d9fd9fcSEd Maste upstream: Reorder calloc arguments 28483d9fd9fcSEd Maste 28493d9fd9fcSEd Maste The first argument should be the amount, the second argument should be the 28503d9fd9fcSEd Maste element size. Fixing this also silences some gcc compiler warnings for 28513d9fd9fcSEd Maste portable. 28523d9fd9fcSEd Maste 28533d9fd9fcSEd Maste Spotted with Benny Baumann (BenBE at geshi dot org). 28543d9fd9fcSEd Maste 28553d9fd9fcSEd Maste ok djm@ 28563d9fd9fcSEd Maste 28573d9fd9fcSEd Maste OpenBSD-Commit-ID: 711ad6f7bd7fb48bf52208f2cf9f108cddb6d41a 28583d9fd9fcSEd Maste 28593d9fd9fcSEd Mastecommit 56ce0aa3c6cf28d9fcbce3207457abeac91b5050 28603d9fd9fcSEd MasteAuthor: tobias@openbsd.org <tobias@openbsd.org> 28613d9fd9fcSEd MasteDate: Wed Aug 14 15:40:30 2024 +0000 28623d9fd9fcSEd Maste 28633d9fd9fcSEd Maste upstream: Extend sshbuf validation 28643d9fd9fcSEd Maste 28653d9fd9fcSEd Maste Multiple sshbuf structs can be linked through a parent/child relationship. 28663d9fd9fcSEd Maste Make sure that a single sshbuf cannot be its own parent. If this would ever 28673d9fd9fcSEd Maste happen, it would result in reference counting issues. 28683d9fd9fcSEd Maste 28693d9fd9fcSEd Maste This is a cheap way of testing this with very little overhead. It does not 28703d9fd9fcSEd Maste detect A->B->A linkages though for performance reason and the fact that it 28713d9fd9fcSEd Maste takes a programming error for this to occur anyway. 28723d9fd9fcSEd Maste 28733d9fd9fcSEd Maste Authored with Benny Baumann (BenBE at geshi dot org). 28743d9fd9fcSEd Maste 28753d9fd9fcSEd Maste ok djm@ 28763d9fd9fcSEd Maste 28773d9fd9fcSEd Maste OpenBSD-Commit-ID: fb3fa9ee2cad3c7e842ebadfd7f5db220c4aaf16 28783d9fd9fcSEd Maste 28793d9fd9fcSEd Mastecommit fc48ddf6998188517af42dce807e2088b6a0c0be 28803d9fd9fcSEd MasteAuthor: tobias@openbsd.org <tobias@openbsd.org> 28813d9fd9fcSEd MasteDate: Wed Aug 14 15:37:11 2024 +0000 28823d9fd9fcSEd Maste 28833d9fd9fcSEd Maste upstream: Use freezero for better readability 28843d9fd9fcSEd Maste 28853d9fd9fcSEd Maste It has the same meaning as the current pair of calling explicit_bzero 28863d9fd9fcSEd Maste and free. Spotted with Benny Baumann (BenBE at geshi dot org). 28873d9fd9fcSEd Maste 28883d9fd9fcSEd Maste ok djm@ 28893d9fd9fcSEd Maste 28903d9fd9fcSEd Maste OpenBSD-Commit-ID: 939fbe9ccf52d0d48c5fa53694d6f3bb9927970c 28913d9fd9fcSEd Maste 28923d9fd9fcSEd Mastecommit 1ff6907ec26dac6ac59fe9fe232899a63b4c14d8 28933d9fd9fcSEd MasteAuthor: tobias@openbsd.org <tobias@openbsd.org> 28943d9fd9fcSEd MasteDate: Wed Aug 14 15:35:23 2024 +0000 28953d9fd9fcSEd Maste 28963d9fd9fcSEd Maste upstream: Fix typo in comment 28973d9fd9fcSEd Maste 28983d9fd9fcSEd Maste Spotted with Benny Baumann (BenBE at geshi dot org). 28993d9fd9fcSEd Maste 29003d9fd9fcSEd Maste ok djm@ 29013d9fd9fcSEd Maste 29023d9fd9fcSEd Maste OpenBSD-Commit-ID: 829160ac8ef3ad3409695ce3a3ade835061cae57 29033d9fd9fcSEd Maste 29043d9fd9fcSEd Mastecommit 487faaed8f3bb9ffb19e8f807a3da72895b16421 29053d9fd9fcSEd MasteAuthor: dlg@openbsd.org <dlg@openbsd.org> 29063d9fd9fcSEd MasteDate: Wed Jul 31 12:00:18 2024 +0000 29073d9fd9fcSEd Maste 29083d9fd9fcSEd Maste upstream: add a random amount of time (up to 4 seconds) to the 29093d9fd9fcSEd Maste 29103d9fd9fcSEd Maste grace login time. 29113d9fd9fcSEd Maste 29123d9fd9fcSEd Maste ok deraadt@ djm@ 29133d9fd9fcSEd Maste 29143d9fd9fcSEd Maste OpenBSD-Commit-ID: abd3c57aaa5861517529b322df79b6be35ee67f4 29153d9fd9fcSEd Maste 29163d9fd9fcSEd Mastecommit 2865f5b7520bed3e74fbbb5f8d7a44193d7a4314 29173d9fd9fcSEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 29183d9fd9fcSEd MasteDate: Fri Jul 26 15:24:49 2024 +0000 29193d9fd9fcSEd Maste 29203d9fd9fcSEd Maste upstream: document the reduced logingrace penalty 29213d9fd9fcSEd Maste 29223d9fd9fcSEd Maste OpenBSD-Commit-ID: 9b63e0e3599d524ddc10edc4f978081382c3548b 29233d9fd9fcSEd Maste 29243d9fd9fcSEd Mastecommit 1ec0a64c5dc57b8a2053a93b5ef0d02ff8598e5c 29253d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 29263d9fd9fcSEd MasteDate: Sun Jul 28 21:26:51 2024 +1000 29273d9fd9fcSEd Maste 29283d9fd9fcSEd Maste Explicitly install libssl-devel cygwin. 29293d9fd9fcSEd Maste 29303d9fd9fcSEd Maste Should fix CI tests for cygwin default config. 29313d9fd9fcSEd Maste 29323d9fd9fcSEd Mastecommit 0bf6e5bb750b66b25c20a1c5a471f91850de3748 29333d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 29343d9fd9fcSEd MasteDate: Thu Jul 25 23:44:01 2024 +0000 29353d9fd9fcSEd Maste 29363d9fd9fcSEd Maste upstream: reduce logingrace penalty. 29373d9fd9fcSEd Maste 29383d9fd9fcSEd Maste A single forgotton login that times out should be below the penalty 29393d9fd9fcSEd Maste threshold. 29403d9fd9fcSEd Maste 29413d9fd9fcSEd Maste ok deraadt/claudio 29423d9fd9fcSEd Maste 29433d9fd9fcSEd Maste OpenBSD-Commit-ID: cee1f7d17597c97bff8e5092af5d136fdb08f81d 29443d9fd9fcSEd Maste 29453d9fd9fcSEd Mastecommit 29fb6f6d46b67770084b4f12bcf8a01bd535041b 29463d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 29473d9fd9fcSEd MasteDate: Thu Jul 25 22:40:08 2024 +0000 29483d9fd9fcSEd Maste 29493d9fd9fcSEd Maste upstream: Fix proxy multiplexing (-O proxy) bug 29503d9fd9fcSEd Maste 29513d9fd9fcSEd Maste If a mux started with ControlPersist then later has a forwarding added using 29523d9fd9fcSEd Maste mux proxy connection and the forwarding was used, then when the mux proxy 29533d9fd9fcSEd Maste session terminates, the mux master process will send a channel close to the 29543d9fd9fcSEd Maste server with a bad channel ID and crash the connection. 29553d9fd9fcSEd Maste 29563d9fd9fcSEd Maste This was caused by my stupidly reusing c->remote_id for mux channel 29573d9fd9fcSEd Maste associations when I should have just added another member to struct channel. 29583d9fd9fcSEd Maste 29593d9fd9fcSEd Maste ok markus@ 29603d9fd9fcSEd Maste 29613d9fd9fcSEd Maste OpenBSD-Commit-ID: c9f474e0124e3fe456c5e43749b97d75e65b82b2 29623d9fd9fcSEd Maste 29633d9fd9fcSEd Mastecommit 53d1d307438517805989c7d5616d752739a97e03 29643d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 29653d9fd9fcSEd MasteDate: Thu Jul 18 01:47:27 2024 +0000 29663d9fd9fcSEd Maste 29673d9fd9fcSEd Maste upstream: mention mux proxy mode 29683d9fd9fcSEd Maste 29693d9fd9fcSEd Maste OpenBSD-Commit-ID: fd77a77779f06d316a314e4540dc57c93fc3369a 29703d9fd9fcSEd Maste 29713d9fd9fcSEd Mastecommit a9b90859d252c2f5a24142f985d38610ac74685f 29723d9fd9fcSEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 29733d9fd9fcSEd MasteDate: Sun Jul 14 10:19:23 2024 +0000 29743d9fd9fcSEd Maste 29753d9fd9fcSEd Maste upstream: fix double word; ok dtucker@ 29763d9fd9fcSEd Maste 29773d9fd9fcSEd Maste OpenBSD-Commit-ID: e6aff005914fa350b896d2be030be3d3b56ec0e8 29783d9fd9fcSEd Maste 29793d9fd9fcSEd Mastecommit b05fda224bbcd2f641254534ed2175c42487f3c8 29803d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 29813d9fd9fcSEd MasteDate: Thu Jul 25 17:59:35 2024 +1000 29823d9fd9fcSEd Maste 29833d9fd9fcSEd Maste Check for SA_RESTART before using it. 29843d9fd9fcSEd Maste 29853d9fd9fcSEd Maste ok djm@ 29863d9fd9fcSEd Maste 29873d9fd9fcSEd Mastecommit c276672fc0e99f0c4389988d54a84c203ce325b6 29883d9fd9fcSEd MasteAuthor: Yuichiro Naito <naito.yuichiro@gmail.com> 29893d9fd9fcSEd MasteDate: Wed Sep 1 10:19:32 2021 +0900 29903d9fd9fcSEd Maste 29913d9fd9fcSEd Maste Class-imposed login restrictions 29923d9fd9fcSEd Maste 29933d9fd9fcSEd Maste If the following functions are available, 29943d9fd9fcSEd Maste add an additional check if users are allowed to login imposed by login class. 29953d9fd9fcSEd Maste 29963d9fd9fcSEd Maste * auth_hostok(3) 29973d9fd9fcSEd Maste * auth_timeok(3) 29983d9fd9fcSEd Maste 29993d9fd9fcSEd Maste These functions are implemented on FreeBSD. 30003d9fd9fcSEd Maste 30013d9fd9fcSEd Mastecommit 7717b9e9155209916cc6b4b4b54f4e8fa578e889 30023d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 30033d9fd9fcSEd MasteDate: Wed Jul 10 21:58:34 2024 +0000 30043d9fd9fcSEd Maste 30053d9fd9fcSEd Maste upstream: correct keyword; from Yatao Su via GHPR509 30063d9fd9fcSEd Maste 30073d9fd9fcSEd Maste OpenBSD-Commit-ID: 81c778c76dea7ef407603caa157eb0c381c52ad2 30083d9fd9fcSEd Maste 30093d9fd9fcSEd Mastecommit f2b78bb8f149d6b4d1f62c21aa1f06995dccf4ce 30103d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 30113d9fd9fcSEd MasteDate: Mon Jul 8 03:04:34 2024 +0000 30123d9fd9fcSEd Maste 30133d9fd9fcSEd Maste upstream: don't need return at end of void function 30143d9fd9fcSEd Maste 30153d9fd9fcSEd Maste OpenBSD-Commit-ID: 42d322d37f13aa075ae7b1ad9eef591e20b89717 30163d9fd9fcSEd Maste 30173d9fd9fcSEd Mastecommit a395d37a813c0177cb5bfc4bebf5a52badb73cf0 30183d9fd9fcSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 30193d9fd9fcSEd MasteDate: Thu Jul 4 22:53:59 2024 +0000 30203d9fd9fcSEd Maste 30213d9fd9fcSEd Maste upstream: fix grammar: "a pattern lists" -> "one or more pattern 30223d9fd9fcSEd Maste 30233d9fd9fcSEd Maste lists" 30243d9fd9fcSEd Maste 30253d9fd9fcSEd Maste OpenBSD-Commit-ID: f3c844763398faa9800687e8ff6621225498202a 30263d9fd9fcSEd Maste 30273d9fd9fcSEd Mastecommit 8b664df75966e5aed8dabea00b8838303d3488b8 30283d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 30293d9fd9fcSEd MasteDate: Sun Jul 7 18:46:19 2024 +1000 30303d9fd9fcSEd Maste 30313d9fd9fcSEd Maste Cast to sockaddr * in systemd interface. 30323d9fd9fcSEd Maste 30333d9fd9fcSEd Maste Fixes build with musl libx. bz#3707. 30343d9fd9fcSEd Maste 30353d9fd9fcSEd Mastecommit 30c8c81da2169e78357d08dbb0ddd823b60e93bc 30363d9fd9fcSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 30373d9fd9fcSEd MasteDate: Thu Jul 4 20:12:26 2024 +1000 30383d9fd9fcSEd Maste 30393d9fd9fcSEd Maste Add 9.8 branch to ci-status page. 30403d9fd9fcSEd Maste 30413d9fd9fcSEd Mastecommit ee6b9e661633fcefd29dba0c811cecbc4d027f6f 30423d9fd9fcSEd MasteAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 30433d9fd9fcSEd MasteDate: Tue Mar 26 22:15:08 2024 +0100 30443d9fd9fcSEd Maste 30453d9fd9fcSEd Maste Fix detection of setres*id on GNU/Hurd 30463d9fd9fcSEd Maste 30473d9fd9fcSEd Maste Like Linux, proper _SOURCE macros need to be set to get declarations of 30483d9fd9fcSEd Maste various standard functions, notably setres*id. Now that Debian is using 30493d9fd9fcSEd Maste -Werror=implicit-function-declaration this is really required. While at 30503d9fd9fcSEd Maste it, define other _SOURCE macros like on GNU/Linux, since GNU/Hurd uses 30513d9fd9fcSEd Maste the same glibc. 30523d9fd9fcSEd Maste 30530fdf8faeSEd Mastecommit fa41f6592ff1b6ead4a652ac75af31eabb05b912 30540fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 30550fdf8faeSEd MasteDate: Mon Jul 1 14:33:26 2024 +1000 30560fdf8faeSEd Maste 30570fdf8faeSEd Maste version numbers 30580fdf8faeSEd Maste 30590fdf8faeSEd Mastecommit bfebb8a5130a792c5356bd06e1ddef72a0a0449f 30600fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 30610fdf8faeSEd MasteDate: Mon Jul 1 04:31:59 2024 +0000 30620fdf8faeSEd Maste 30630fdf8faeSEd Maste upstream: openssh-9.8 30640fdf8faeSEd Maste 30650fdf8faeSEd Maste OpenBSD-Commit-ID: 5f8b89e38a4c5f7c6d52ffa19f796d49f36fab19 30660fdf8faeSEd Maste 30670fdf8faeSEd Mastecommit 146c420d29d055cc75c8606327a1cf8439fe3a08 30680fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 30690fdf8faeSEd MasteDate: Mon Jul 1 04:31:17 2024 +0000 30700fdf8faeSEd Maste 30710fdf8faeSEd Maste upstream: when sending ObscureKeystrokeTiming chaff packets, we 30720fdf8faeSEd Maste 30730fdf8faeSEd Maste can't rely on channel_did_enqueue to tell that there is data to send. This 30740fdf8faeSEd Maste flag indicates that the channels code enqueued a packet on _this_ ppoll() 30750fdf8faeSEd Maste iteration, not that data was enqueued in _any_ ppoll() iteration in the 30760fdf8faeSEd Maste timeslice. ok markus@ 30770fdf8faeSEd Maste 30780fdf8faeSEd Maste OpenBSD-Commit-ID: 009b74fd2769b36b5284a0188ade182f00564136 30790fdf8faeSEd Maste 30800fdf8faeSEd Mastecommit 637e4dfea4ed81264e264b6200172ce319c64ead 30810fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 30820fdf8faeSEd MasteDate: Mon Jul 1 03:10:19 2024 +0000 30830fdf8faeSEd Maste 30840fdf8faeSEd Maste upstream: use "lcd" to change directory before "lls" rather then "cd", 30850fdf8faeSEd Maste 30860fdf8faeSEd Maste since the directory we're trying to list is local. Spotted by Corinna 30870fdf8faeSEd Maste Vinschen 30880fdf8faeSEd Maste 30890fdf8faeSEd Maste OpenBSD-Regress-ID: 821feca4a4bebe491944e624c8f7f2990b891415 30900fdf8faeSEd Maste 30910fdf8faeSEd Mastecommit c8cfe258cee0b8466ea84597bf15e1fcff3bc328 30920fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 30930fdf8faeSEd MasteDate: Thu Jun 27 23:01:15 2024 +0000 30940fdf8faeSEd Maste 30950fdf8faeSEd Maste upstream: delete obsolete comment 30960fdf8faeSEd Maste 30970fdf8faeSEd Maste OpenBSD-Commit-ID: 5fb04f298ed155053f3fbfdf0c6fe7cdf84bbfa2 30980fdf8faeSEd Maste 30990fdf8faeSEd Mastecommit 94b9d37100f6fa536aaa1d1a0e4926fe44fbf04d 31000fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 31010fdf8faeSEd MasteDate: Thu Jun 27 22:36:44 2024 +0000 31020fdf8faeSEd Maste 31030fdf8faeSEd Maste upstream: retire unused API 31040fdf8faeSEd Maste 31050fdf8faeSEd Maste OpenBSD-Commit-ID: 3e30d7b0615e2707f6bbe70f61b1c2f72f78161b 31060fdf8faeSEd Maste 31070fdf8faeSEd Mastecommit 268c3a7f5783e731ed60f4e28da66ee3743581d3 31080fdf8faeSEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 31090fdf8faeSEd MasteDate: Thu Jun 27 21:02:16 2024 +0000 31100fdf8faeSEd Maste 31110fdf8faeSEd Maste upstream: ssl(8) no longer contains a HISTORY section; 31120fdf8faeSEd Maste 31130fdf8faeSEd Maste OpenBSD-Commit-ID: 83b7ff34433d79595e9c2a5d2a561a6660251245 31140fdf8faeSEd Maste 31150fdf8faeSEd Mastecommit 12b6cc09ce6c430681f03af2a8069e37a664690b 31160fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 31170fdf8faeSEd MasteDate: Wed Jun 26 23:47:46 2024 +0000 31180fdf8faeSEd Maste 31190fdf8faeSEd Maste upstream: move child process waitpid() loop out of SIGCHLD handler; 31200fdf8faeSEd Maste 31210fdf8faeSEd Maste ok deraadt 31220fdf8faeSEd Maste 31230fdf8faeSEd Maste OpenBSD-Commit-ID: 65815a39564e431414aed7c5ace8076f4e9ca741 31240fdf8faeSEd Maste 31250fdf8faeSEd Mastecommit d6bcd13297c2ab8b528df5a6898f994734849031 31260fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 31270fdf8faeSEd MasteDate: Wed Jun 26 23:16:52 2024 +0000 31280fdf8faeSEd Maste 31290fdf8faeSEd Maste upstream: Instead of using possibly complex ssh_signal(), write all 31300fdf8faeSEd Maste 31310fdf8faeSEd Maste the parts of the grace_alarm_handler() using the exact things allowed by the 31320fdf8faeSEd Maste signal-safe rules. This is a good rule of thumb: Handlers should be written 31330fdf8faeSEd Maste to either set a global volatile sig_atomic_t inspected from outside, and/or 31340fdf8faeSEd Maste directly perform only safe operations listed in our sigaction(2) manual page. 31350fdf8faeSEd Maste ok djm markus 31360fdf8faeSEd Maste 31370fdf8faeSEd Maste OpenBSD-Commit-ID: 14168ae8368aab76e4ed79e17a667cb46f404ecd 31380fdf8faeSEd Maste 31390fdf8faeSEd Mastecommit b8793e2b0851f7d71b97554fa5260b23796d6277 31400fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 31410fdf8faeSEd MasteDate: Wed Jun 26 23:14:14 2024 +0000 31420fdf8faeSEd Maste 31430fdf8faeSEd Maste upstream: save_errno wrappers inside two small signal handlers that 31440fdf8faeSEd Maste 31450fdf8faeSEd Maste perform system calls, for systems with libc that do perform libc sigtramps. 31460fdf8faeSEd Maste ok djm markus 31470fdf8faeSEd Maste 31480fdf8faeSEd Maste OpenBSD-Commit-ID: 7749b56419a7c9dcfe4c6c04811e429813346c62 31490fdf8faeSEd Maste 31500fdf8faeSEd Mastecommit f23e9332c4c8df37465c4a4f38275ea98980ed7e 31510fdf8faeSEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 31520fdf8faeSEd MasteDate: Mon Jun 24 06:59:39 2024 +0000 31530fdf8faeSEd Maste 31540fdf8faeSEd Maste upstream: - uppercase start of sentence - correct sentence grammar 31550fdf8faeSEd Maste 31560fdf8faeSEd Maste ok djm 31570fdf8faeSEd Maste 31580fdf8faeSEd Maste OpenBSD-Commit-ID: 1ec4b0fdb633a43667f2c8fff1d600bd647dde25 31590fdf8faeSEd Maste 31600fdf8faeSEd Mastecommit 1839e3eb71a759aa795602c1e4196300f4ac2615 31610fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 31620fdf8faeSEd MasteDate: Mon Jun 24 04:05:11 2024 +0000 31630fdf8faeSEd Maste 31640fdf8faeSEd Maste upstream: mention SshdSessionPath option 31650fdf8faeSEd Maste 31660fdf8faeSEd Maste OpenBSD-Commit-ID: c29734d36c21003973b15c1c9965c35f36cef30c 31670fdf8faeSEd Maste 31680fdf8faeSEd Mastecommit 603193e32aef5db7d60c58066d5de89806e79312 31690fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 31700fdf8faeSEd MasteDate: Thu Jun 20 18:45:14 2024 +1000 31710fdf8faeSEd Maste 31720fdf8faeSEd Maste Rerun upstream tests on .sh file changes too. 31730fdf8faeSEd Maste 31740fdf8faeSEd Mastecommit dbbf9337c19381786a8e5a8a49152fe6b80c780d 31750fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 31760fdf8faeSEd MasteDate: Thu Jun 20 08:23:18 2024 +0000 31770fdf8faeSEd Maste 31780fdf8faeSEd Maste upstream: Work around dbclient cipher/mac query bug. 31790fdf8faeSEd Maste 31800fdf8faeSEd Maste Unlike earlier versions, recent Dropbear (at least v2024.85) requires 31810fdf8faeSEd Maste a host arg when querying supported ciphers and macs via "-c/-m 31820fdf8faeSEd Maste help". Earlier versions accept but do not require it, so always 31830fdf8faeSEd Maste provide it. If these queries fail, skip the test with a warning. 31840fdf8faeSEd Maste 31850fdf8faeSEd Maste OpenBSD-Regress-ID: 98eb863a3f0363416922efb273885e6b3c7f68d4 31860fdf8faeSEd Maste 31870fdf8faeSEd Mastecommit 8de2c8cebc46bbdb94b7a2c120fcadfb66a3cccc 31880fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 31890fdf8faeSEd MasteDate: Thu Jun 20 08:18:34 2024 +0000 31900fdf8faeSEd Maste 31910fdf8faeSEd Maste upstream: Remove dropbear key types not supported 31920fdf8faeSEd Maste 31930fdf8faeSEd Maste by current OpenSSH. Allows subsequent test runs to work if OpenSSH is 31940fdf8faeSEd Maste rebuilt w/out OpenSSL. 31950fdf8faeSEd Maste 31960fdf8faeSEd Maste OpenBSD-Regress-ID: e0129eb2b1d31771105903a8055216fbba20a770 31970fdf8faeSEd Maste 31980fdf8faeSEd Mastecommit e9b6471c59b21e5d9ef1b3832d4bf727338add85 31990fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 32000fdf8faeSEd MasteDate: Thu Jun 20 00:18:05 2024 +0000 32010fdf8faeSEd Maste 32020fdf8faeSEd Maste upstream: stricter check for overfull tables in penalty record path 32030fdf8faeSEd Maste 32040fdf8faeSEd Maste OpenBSD-Commit-ID: 7df01e648a0723418c554e64a9f2b6d38db060a6 32050fdf8faeSEd Maste 32060fdf8faeSEd Mastecommit d9336d344eb2a1e898c5e66147b3f108c7214694 32070fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 32080fdf8faeSEd MasteDate: Wed Jun 19 23:24:47 2024 +0000 32090fdf8faeSEd Maste 32100fdf8faeSEd Maste upstream: put back reaping of preauth child process when writes 32110fdf8faeSEd Maste 32120fdf8faeSEd Maste from the monitor fail. Not sure how this got lost in the avalanche of 32130fdf8faeSEd Maste patches. 32140fdf8faeSEd Maste 32150fdf8faeSEd Maste OpenBSD-Commit-ID: eb7eb36371e1ac01050b32b70fb2b3e5d98e72f5 32160fdf8faeSEd Maste 32170fdf8faeSEd Mastecommit 579d9adb70ec0206a788eb5c63804c31a67e9310 32180fdf8faeSEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 32190fdf8faeSEd MasteDate: Mon Jun 17 13:50:18 2024 +0000 32200fdf8faeSEd Maste 32210fdf8faeSEd Maste upstream: remove one more mention of DSA 32220fdf8faeSEd Maste 32230fdf8faeSEd Maste OpenBSD-Commit-ID: 8515f55a15f02836ba657df341415f63c60526ca 32240fdf8faeSEd Maste 32250fdf8faeSEd Mastecommit 7089b5f8436ef0b8d3d3ad9ce01045fb9e7aab15 32260fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 32270fdf8faeSEd MasteDate: Wed Jun 19 23:09:05 2024 +1000 32280fdf8faeSEd Maste 32290fdf8faeSEd Maste Move -f to the place needed to restart sshd. 32300fdf8faeSEd Maste 32310fdf8faeSEd Mastecommit d5f83cfd852b14a25f347f082ab539a9454702ad 32320fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 32330fdf8faeSEd MasteDate: Wed Jun 19 21:04:01 2024 +1000 32340fdf8faeSEd Maste 32350fdf8faeSEd Maste Need to supply "-f" to restart sshd. 32360fdf8faeSEd Maste 32370fdf8faeSEd Mastecommit fad34b4ca25c0ef31e5aa841d461b6f21da5b8c1 32380fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 32390fdf8faeSEd MasteDate: Wed Jun 19 10:15:51 2024 +0000 32400fdf8faeSEd Maste 32410fdf8faeSEd Maste upstream: Provide defaults for ciphers and macs 32420fdf8faeSEd Maste 32430fdf8faeSEd Maste if querying for them fails since on some versions of Dropbear (at least 32440fdf8faeSEd Maste v2024.85) "-m help" doesn't seem to work. Enable all supported pubkey 32450fdf8faeSEd Maste algorithms in the server. 32460fdf8faeSEd Maste 32470fdf8faeSEd Maste OpenBSD-Regress-ID: 4f95556a49ee9f621789f25217c367a33d2745ca 32480fdf8faeSEd Maste 32490fdf8faeSEd Mastecommit 5521060e35ada9f957cecdddc06d0524e75409ef 32500fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 32510fdf8faeSEd MasteDate: Wed Jun 19 10:10:46 2024 +0000 32520fdf8faeSEd Maste 32530fdf8faeSEd Maste upstream: Use ed25519 keys for kex tests 32540fdf8faeSEd Maste 32550fdf8faeSEd Maste since that's supported by OpenSSH even when built without OpenSSL. 32560fdf8faeSEd Maste Only test diffie-hellman kex if OpenSSH is compiled with support for it. 32570fdf8faeSEd Maste 32580fdf8faeSEd Maste OpenBSD-Regress-ID: a5d09ef9bbd171f9e4ec73ed0d9eeb49a8878e97 32590fdf8faeSEd Maste 32600fdf8faeSEd Mastecommit dbd3b833f6e3815e58f2dc6e14f61a51bcd4d6bd 32610fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 32620fdf8faeSEd MasteDate: Wed Jun 19 10:08:34 2024 +0000 32630fdf8faeSEd Maste 32640fdf8faeSEd Maste upstream: Rework dropbear key setup 32650fdf8faeSEd Maste 32660fdf8faeSEd Maste to always generate ed25519 keys, other types only if OpenSSH has support 32670fdf8faeSEd Maste for the corresponding key type. 32680fdf8faeSEd Maste 32690fdf8faeSEd Maste OpenBSD-Regress-ID: 8f91f12604cddb9f8d93aa34f3f93a3f6074395d 32700fdf8faeSEd Maste 32710fdf8faeSEd Mastecommit d6218504e11ae9148adf410fc69b0710a052be36 32720fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 32730fdf8faeSEd MasteDate: Wed Jun 19 20:20:24 2024 +1000 32740fdf8faeSEd Maste 32750fdf8faeSEd Maste Restart sshd after installing it for testing. 32760fdf8faeSEd Maste 32770fdf8faeSEd Maste When installing an sshd built without OpenSSL the mismatch between 32780fdf8faeSEd Maste the running sshd and newly installed sshd-session will cause the 32790fdf8faeSEd Maste remainder of the test to fail. 32800fdf8faeSEd Maste 32810fdf8faeSEd Mastecommit 786a4465b6bb702daf4fb17b7c3bcb42b52f0b46 32820fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 32830fdf8faeSEd MasteDate: Tue Jun 18 19:59:59 2024 +1000 32840fdf8faeSEd Maste 32850fdf8faeSEd Maste Remove macos-11 runner. 32860fdf8faeSEd Maste 32870fdf8faeSEd Maste Github is retiring them soon. 32880fdf8faeSEd Maste 32890fdf8faeSEd Mastecommit df1c72a55edbebac14363b57de66ac6a147ecc67 32900fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 32910fdf8faeSEd MasteDate: Wed Jun 19 09:34:34 2024 +1000 32920fdf8faeSEd Maste 32930fdf8faeSEd Maste PAMServiceName may appear in a Match block 32940fdf8faeSEd Maste 32950fdf8faeSEd Mastecommit de1c2e70e5a5dc3c8d2fe04b24cc93d8ef6930e7 32960fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 32970fdf8faeSEd MasteDate: Tue Jun 18 08:11:48 2024 +0000 32980fdf8faeSEd Maste 32990fdf8faeSEd Maste upstream: Re-enable ssh-dss tests 33000fdf8faeSEd Maste 33010fdf8faeSEd Maste ... if ssh is compiled with DSA support 33020fdf8faeSEd Maste 33030fdf8faeSEd Maste OpenBSD-Regress-ID: bbfaf8c17f2b50a2d46ac35cb97af99b990c990d 33040fdf8faeSEd Maste 33050fdf8faeSEd Mastecommit dabc2c7cf3c141e8e5d5a1a60d6c1d2d2422cf43 33060fdf8faeSEd MasteAuthor: anton@openbsd.org <anton@openbsd.org> 33070fdf8faeSEd MasteDate: Tue Jun 18 06:14:27 2024 +0000 33080fdf8faeSEd Maste 33090fdf8faeSEd Maste upstream: Stop using DSA in dropbear interop tests. 33100fdf8faeSEd Maste 33110fdf8faeSEd Maste OpenBSD-Regress-ID: abfd4457d99d8cc1417fd22ca2c570270f74c1cf 33120fdf8faeSEd Maste 33130fdf8faeSEd Mastecommit 761438012710169445acc179e3870c53c862bda0 33140fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 33150fdf8faeSEd MasteDate: Tue Jun 18 12:29:45 2024 +1000 33160fdf8faeSEd Maste 33170fdf8faeSEd Maste missed a bit of DSA in the fuzzer 33180fdf8faeSEd Maste 33190fdf8faeSEd Mastecommit 3f9cc47da588e8de520720e59f98438043fdaf93 33200fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 33210fdf8faeSEd MasteDate: Tue Jun 18 09:35:53 2024 +1000 33220fdf8faeSEd Maste 33230fdf8faeSEd Maste DSA support is disabled, so remove from fuzzers 33240fdf8faeSEd Maste 33250fdf8faeSEd Mastecommit 00eb95957dea5484b2c7c043f7d2bbc87301bef2 33260fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 33270fdf8faeSEd MasteDate: Mon Jun 17 08:30:29 2024 +0000 33280fdf8faeSEd Maste 33290fdf8faeSEd Maste upstream: disable the DSA signature algorithm by default; ok 33300fdf8faeSEd Maste 33310fdf8faeSEd Maste markus@ 33320fdf8faeSEd Maste 33330fdf8faeSEd Maste (yes, I know this expands to "the Digitial Signature Algorithm 33340fdf8faeSEd Maste signature algorithm) 33350fdf8faeSEd Maste 33360fdf8faeSEd Maste OpenBSD-Commit-ID: 961ef594e46dd2dcade8dd5721fa565cee79ffed 33370fdf8faeSEd Maste 33380fdf8faeSEd Mastecommit 5603befe11c9464ea26fe77cbacc95a7cc0b1ea7 33390fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 33400fdf8faeSEd MasteDate: Mon Jun 17 08:28:31 2024 +0000 33410fdf8faeSEd Maste 33420fdf8faeSEd Maste upstream: promote connection-closed messages from verbose to info 33430fdf8faeSEd Maste 33440fdf8faeSEd Maste log level; they could be the only record of the connection terminating if the 33450fdf8faeSEd Maste client doesn't send a SSH2_MSG_DISCONNECT message. ok dtucker@ 33460fdf8faeSEd Maste 33470fdf8faeSEd Maste OpenBSD-Commit-ID: 0c8bfaf5e9fdff945cee09ac21e641f6c5d65d3c 33480fdf8faeSEd Maste 33490fdf8faeSEd Mastecommit b00331402fe5c60d577f3ffcc35e49286cdc6b47 33500fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 33510fdf8faeSEd MasteDate: Mon Jun 17 17:02:18 2024 +1000 33520fdf8faeSEd Maste 33530fdf8faeSEd Maste propagate PAM crashes to PerSourcePenalties 33540fdf8faeSEd Maste 33550fdf8faeSEd Maste If the PAM subprocess crashes, exit with a crash status that will be 33560fdf8faeSEd Maste picked up by the sshd(8) listener process where it can be used by 33570fdf8faeSEd Maste PerSourcePenalties to block the client. This is similar handling to 33580fdf8faeSEd Maste the privsep preauth process. 33590fdf8faeSEd Maste 33600fdf8faeSEd Mastecommit 1c207f456ace38987deda047758d13fbf857f948 33610fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 33620fdf8faeSEd MasteDate: Mon Jun 17 15:06:01 2024 +1000 33630fdf8faeSEd Maste 33640fdf8faeSEd Maste minix doesn't have loopback, so skip penalty tests 33650fdf8faeSEd Maste 33660fdf8faeSEd Maste pointed out by dtucker@ 33670fdf8faeSEd Maste 33680fdf8faeSEd Mastecommit 48443d202eaec52d4d39defdd709a4499a7140c6 33690fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 33700fdf8faeSEd MasteDate: Sun Jun 16 11:54:49 2024 +0000 33710fdf8faeSEd Maste 33720fdf8faeSEd Maste upstream: same treatment for this test 33730fdf8faeSEd Maste 33740fdf8faeSEd Maste OpenBSD-Regress-ID: d0cc9efca7833e673ea7b0cb3a679a3acee8d4c7 33750fdf8faeSEd Maste 33760fdf8faeSEd Mastecommit 45562a95ea11d328c22d97bf39401cd29684fb1f 33770fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 33780fdf8faeSEd MasteDate: Sun Jun 16 08:18:06 2024 +0000 33790fdf8faeSEd Maste 33800fdf8faeSEd Maste upstream: penalty test is still a bit racy 33810fdf8faeSEd Maste 33820fdf8faeSEd Maste OpenBSD-Regress-ID: 90c9ac224db454637baf1ebee5857e007321e824 33830fdf8faeSEd Maste 33840fdf8faeSEd Mastecommit 8d0f7eb147ef72d18acb16c0b18672d44941a8ca 33850fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 33860fdf8faeSEd MasteDate: Sat Jun 15 03:59:10 2024 +0000 33870fdf8faeSEd Maste 33880fdf8faeSEd Maste upstream: crank up penalty timeouts so this should work on even the 33890fdf8faeSEd Maste 33900fdf8faeSEd Maste slowest of test builders 33910fdf8faeSEd Maste 33920fdf8faeSEd Maste OpenBSD-Regress-ID: 70bda39c83e3fc9d0f3c1fad4542ed33e173d468 33930fdf8faeSEd Maste 33940fdf8faeSEd Mastecommit 93c75471a1202ab3e29db6938648d4e2602c0475 33950fdf8faeSEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 33960fdf8faeSEd MasteDate: Fri Jun 14 05:20:34 2024 +0000 33970fdf8faeSEd Maste 33980fdf8faeSEd Maste upstream: sort -q in the options list; 33990fdf8faeSEd Maste 34000fdf8faeSEd Maste OpenBSD-Commit-ID: 6839b38378f38f754de638a5e988c13b4164cc7c 34010fdf8faeSEd Maste 34020fdf8faeSEd Mastecommit dd7807bbe80a93ffb4616f2bd5cf83ad5a5595fb 34030fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 34040fdf8faeSEd MasteDate: Fri Jun 14 05:01:22 2024 +0000 34050fdf8faeSEd Maste 34060fdf8faeSEd Maste upstream: clarify KEXAlgorithms supported vs available. Inspired by 34070fdf8faeSEd Maste 34080fdf8faeSEd Maste bz3701 from Colin Watson. 34090fdf8faeSEd Maste 34100fdf8faeSEd Maste OpenBSD-Commit-ID: e698e69bea19bd52971d253f2b1094490c4701f7 34110fdf8faeSEd Maste 34120fdf8faeSEd Mastecommit d172ad56df85b68316dbadbedad16761a1265874 34130fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 34140fdf8faeSEd MasteDate: Fri Jun 14 05:00:42 2024 +0000 34150fdf8faeSEd Maste 34160fdf8faeSEd Maste upstream: ssh-keyscan -q man bits 34170fdf8faeSEd Maste 34180fdf8faeSEd Maste OpenBSD-Commit-ID: ba28d0e1ac609a4c99c453e57e86560c79079db1 34190fdf8faeSEd Maste 34200fdf8faeSEd Mastecommit 092e4ff9ccaacbe035f286feb1b56ed499604743 34210fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 34220fdf8faeSEd MasteDate: Fri Jun 14 14:46:35 2024 +1000 34230fdf8faeSEd Maste 34240fdf8faeSEd Maste skip penalty-expire test in valgrind test env 34250fdf8faeSEd Maste 34260fdf8faeSEd Mastecommit 2866ad08a9c50d7b67ce9424ca990532b806a21a 34270fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 34280fdf8faeSEd MasteDate: Fri Jun 14 04:43:11 2024 +0000 34290fdf8faeSEd Maste 34300fdf8faeSEd Maste upstream: split the PerSourcePenalties test in two: one tests penalty 34310fdf8faeSEd Maste 34320fdf8faeSEd Maste enforcement but not penalty expiry, the other tests penalty expiry. 34330fdf8faeSEd Maste 34340fdf8faeSEd Maste This lets us disable the expiry testing in certain CI test environments. 34350fdf8faeSEd Maste 34360fdf8faeSEd Maste OpenBSD-Regress-ID: f56811064f3e3cb52ee73a206b8c2a06af1c8791 34370fdf8faeSEd Maste 34380fdf8faeSEd Mastecommit b2c64bc170d75823622a37cab3ca1804ca87ad16 34390fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 34400fdf8faeSEd MasteDate: Fri Jun 14 14:19:23 2024 +1000 34410fdf8faeSEd Maste 34420fdf8faeSEd Maste add a sshd_config PamServiceName option 34430fdf8faeSEd Maste 34440fdf8faeSEd Maste Allows selecting which PAM service name to use when UsePAM is 34450fdf8faeSEd Maste enabled. Defaults to "sshd" unless overridden at compile time 34460fdf8faeSEd Maste by defining SSHD_PAM_SERVICE. 34470fdf8faeSEd Maste 34480fdf8faeSEd Maste bz2102, ok dtucker@ 34490fdf8faeSEd Maste 34500fdf8faeSEd Mastecommit 9f032a4dd17bf0ae6066223d82aa5e784285d987 34510fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 34520fdf8faeSEd MasteDate: Fri Jun 14 00:26:12 2024 +0000 34530fdf8faeSEd Maste 34540fdf8faeSEd Maste upstream: don't redirect stderr for ssh-keyscan we expect to succeed 34550fdf8faeSEd Maste 34560fdf8faeSEd Maste OpenBSD-Regress-ID: 8878b8eb4e070ed2e343166d3eb86db4a08a216c 34570fdf8faeSEd Maste 34580fdf8faeSEd Mastecommit 1e84d0cf40e94ae3a77d6a7ca8c036d8e3d55a40 34590fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 34600fdf8faeSEd MasteDate: Fri Jun 14 00:25:25 2024 +0000 34610fdf8faeSEd Maste 34620fdf8faeSEd Maste upstream: make host/banner comments go to stderr instead of stdout, 34630fdf8faeSEd Maste 34640fdf8faeSEd Maste so they are useful as comments without extra shell redirection and so they 34650fdf8faeSEd Maste don't clutter actual errors on stderr. 34660fdf8faeSEd Maste 34670fdf8faeSEd Maste Add a -q flag to shut them up. 34680fdf8faeSEd Maste 34690fdf8faeSEd Maste ok dtucker@ 34700fdf8faeSEd Maste 34710fdf8faeSEd Maste OpenBSD-Commit-ID: bec813de56a71adb5c1a76adcf49621130d24264 34720fdf8faeSEd Maste 34730fdf8faeSEd Mastecommit 3e806d011855d6bd648ec95b9df630ebbd11c3bf 34740fdf8faeSEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 34750fdf8faeSEd MasteDate: Thu Jun 13 15:06:33 2024 +0000 34760fdf8faeSEd Maste 34770fdf8faeSEd Maste upstream: separate keywords with comma 34780fdf8faeSEd Maste 34790fdf8faeSEd Maste OpenBSD-Commit-ID: d65a99666202a8188c4991c18d14374a229f7be5 34800fdf8faeSEd Maste 34810fdf8faeSEd Mastecommit abfd1f7a3cbd0a92581a0febba254b2f6649c0d9 34820fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 34830fdf8faeSEd MasteDate: Fri Jun 14 00:23:55 2024 +0000 34840fdf8faeSEd Maste 34850fdf8faeSEd Maste upstream: specify an algorithm for ssh-keyscan, otherwise it will make 34860fdf8faeSEd Maste 34870fdf8faeSEd Maste multiple attempts simultaneously and confuse the test 34880fdf8faeSEd Maste 34890fdf8faeSEd Maste OpenBSD-Regress-ID: 6e910f3315c4345053db1bf5cbf61826b194d0b9 34900fdf8faeSEd Maste 34910fdf8faeSEd Mastecommit a8fbe2f7d0d96d299ee8e69769e3b51067978748 34920fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 34930fdf8faeSEd MasteDate: Thu Jun 13 16:41:29 2024 +1000 34940fdf8faeSEd Maste 34950fdf8faeSEd Maste sshd: don't use argv[0] as PAM service name 34960fdf8faeSEd Maste 34970fdf8faeSEd Maste sshd would implicitly use argv[0] as the PAM service name to 34980fdf8faeSEd Maste allow people to select different PAM service names by making 34990fdf8faeSEd Maste differently-named copies/links to the sshd binary. 35000fdf8faeSEd Maste 35010fdf8faeSEd Maste Splitting sshd into sshd/sshd-session broke this, as the process 35020fdf8faeSEd Maste that starts PAM is always sshd-session and the user has no control 35030fdf8faeSEd Maste over this. 35040fdf8faeSEd Maste 35050fdf8faeSEd Maste Hardcode "sshd" as the default PAM service name unless/until we 35060fdf8faeSEd Maste figure out a better way. Should unbreak OSX integration tests. 35070fdf8faeSEd Maste 35080fdf8faeSEd Mastecommit bf204bd05c3ae650f87e2b96527688579f59774c 35090fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 35100fdf8faeSEd MasteDate: Thu Jun 13 15:00:28 2024 +1000 35110fdf8faeSEd Maste 35120fdf8faeSEd Maste prepare for checking in autogenerated files 35130fdf8faeSEd Maste 35140fdf8faeSEd Maste We plan to check in automatically generated files (config.h.in, etc) on 35150fdf8faeSEd Maste release branches. These files are normally ignored by .gitignore, but 35160fdf8faeSEd Maste this shuffles the contents of this file to make it easy to un-ignore 35170fdf8faeSEd Maste them. 35180fdf8faeSEd Maste 35190fdf8faeSEd Mastecommit 425f79a837489904c343b349ef00e09aeaa4e752 35200fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 35210fdf8faeSEd MasteDate: Thu Jun 13 14:41:33 2024 +1000 35220fdf8faeSEd Maste 35230fdf8faeSEd Maste typo in comment 35240fdf8faeSEd Maste 35250fdf8faeSEd Mastecommit afe10313c1fa8d478af399ee7d54c8f85503013b 35260fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 35270fdf8faeSEd MasteDate: Thu Jun 13 14:35:25 2024 +1000 35280fdf8faeSEd Maste 35290fdf8faeSEd Maste fix PTY allocation on Cygwin, broken by sshd split 35300fdf8faeSEd Maste 35310fdf8faeSEd Maste Cygwin doesn't support FD passing and so used to disable post-auth 35320fdf8faeSEd Maste privilege separation entirely because privsep requires PTY allocation 35330fdf8faeSEd Maste to happen in the privileged monitor process with the PTY file 35340fdf8faeSEd Maste descriptors being passed back to the unprivileged process. 35350fdf8faeSEd Maste 35360fdf8faeSEd Maste This brings back a minimal version of the previous special treatment 35370fdf8faeSEd Maste for Cygwin (and any other platform that sets DISABLE_FD_PASSING): 35380fdf8faeSEd Maste privilege separation remains enabled, but PTY allocation happens in 35390fdf8faeSEd Maste the post-auth user process rather than the monitor. 35400fdf8faeSEd Maste 35410fdf8faeSEd Maste This either requires PTY allocation to not need privilege to begin 35420fdf8faeSEd Maste with (this appears to be the case on Cygwin), or the post-auth 35430fdf8faeSEd Maste privsep process retain privilege (other platforms that set the 35440fdf8faeSEd Maste DISABLE_FD_PASSING option). 35450fdf8faeSEd Maste 35460fdf8faeSEd Maste Keeping privileges here is bad, but the non-Cygwin systems that set 35470fdf8faeSEd Maste DISABLE_FD_PASSING are so deeply legacy that this is likely to be the 35480fdf8faeSEd Maste least of their problems. 35490fdf8faeSEd Maste 35500fdf8faeSEd Mastecommit f66d4df5749551380a8c4ae642347675a0b6a2e9 35510fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 35520fdf8faeSEd MasteDate: Thu Jun 13 11:33:09 2024 +1000 35530fdf8faeSEd Maste 35540fdf8faeSEd Maste delay lookup of privsep user until config loaded 35550fdf8faeSEd Maste 35560fdf8faeSEd Maste sshd-session attempting to use options.kerberos_authentication to 35570fdf8faeSEd Maste decide whether it needed to lookup the privsep user before the 35580fdf8faeSEd Maste configuration was loaded. This caused it to get a placeholder value 35590fdf8faeSEd Maste that caused it always to try to lookup the privsep user, breaking at 35600fdf8faeSEd Maste least one test environment. 35610fdf8faeSEd Maste 35620fdf8faeSEd Mastecommit f1c42858b94f5d9b58867b34dce3afb39c6b56a8 35630fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 35640fdf8faeSEd MasteDate: Thu Jun 13 11:16:57 2024 +1000 35650fdf8faeSEd Maste 35660fdf8faeSEd Maste missing file for PerSourcePenalties regress test 35670fdf8faeSEd Maste 35680fdf8faeSEd Mastecommit 4de80ff4e6fab5a6bb0028e7d57c6c23d1485adb 35690fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 35700fdf8faeSEd MasteDate: Wed Jun 12 22:36:00 2024 +0000 35710fdf8faeSEd Maste 35720fdf8faeSEd Maste upstream: split PerSourcePenalties address tracking. Previously it 35730fdf8faeSEd Maste 35740fdf8faeSEd Maste used one shared table and overflow policy for IPv4 and IPv6 addresses, now it 35750fdf8faeSEd Maste will use separate tables and optionally different overflow policies. 35760fdf8faeSEd Maste 35770fdf8faeSEd Maste This prevents misbehaviour from IPv6 addresses (which are vastly easier 35780fdf8faeSEd Maste to obtain many of) from affecting IPv4 connections and may allow for 35790fdf8faeSEd Maste stricter overflow policies. 35800fdf8faeSEd Maste 35810fdf8faeSEd Maste ok deraadt@ 35820fdf8faeSEd Maste 35830fdf8faeSEd Maste OpenBSD-Commit-ID: 12637ed0aa4d5f1f3e702da42ea967cbd8bfdfd9 35840fdf8faeSEd Maste 35850fdf8faeSEd Mastecommit 06ab4c6931b0aaa4334db2faaa7e1069e76d0df6 35860fdf8faeSEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 35870fdf8faeSEd MasteDate: Tue Jun 11 05:24:39 2024 +0000 35880fdf8faeSEd Maste 35890fdf8faeSEd Maste upstream: do not mark up "(default: 20ms)"; 35900fdf8faeSEd Maste 35910fdf8faeSEd Maste OpenBSD-Commit-ID: 54151ecdecfa1b67dcdda4fd24826ef6e2148ad4 35920fdf8faeSEd Maste 35930fdf8faeSEd Mastecommit cfe243cd9fde148ed060637876e27bb55ac78be9 35940fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 35950fdf8faeSEd MasteDate: Tue Jun 11 02:54:51 2024 +0000 35960fdf8faeSEd Maste 35970fdf8faeSEd Maste upstream: reap preauth net child if it hangs up during privsep message 35980fdf8faeSEd Maste 35990fdf8faeSEd Maste send, not just message receive 36000fdf8faeSEd Maste 36010fdf8faeSEd Maste OpenBSD-Commit-ID: 02a093f4ab4f8f83f0cd1ea2bb35b9ca420448f0 36020fdf8faeSEd Maste 36030fdf8faeSEd Mastecommit b0a711c00b9c64afd1c9d6fb538275c6604a2676 36040fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36050fdf8faeSEd MasteDate: Tue Jun 11 01:58:27 2024 +0000 36060fdf8faeSEd Maste 36070fdf8faeSEd Maste upstream: fix PIDFILE handling, broken for SUDO=doas in last commit 36080fdf8faeSEd Maste 36090fdf8faeSEd Maste here 36100fdf8faeSEd Maste 36110fdf8faeSEd Maste OpenBSD-Regress-ID: 96fec579af228f87a036e94801eb294af9074625 36120fdf8faeSEd Maste 36130fdf8faeSEd Mastecommit 90fb801e2d9241be50a2a7ff79428386442a041f 36140fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36150fdf8faeSEd MasteDate: Tue Jun 11 02:00:30 2024 +0000 36160fdf8faeSEd Maste 36170fdf8faeSEd Maste upstream: reap the pre-auth [net] child if it hangs up during privsep 36180fdf8faeSEd Maste 36190fdf8faeSEd Maste message sending, not just receiving 36200fdf8faeSEd Maste 36210fdf8faeSEd Maste OpenBSD-Commit-ID: f7341605bf08c4c15830910446e6775323f2f8cb 36220fdf8faeSEd Maste 36230fdf8faeSEd Mastecommit ef878d58798f6688c7f4d4e417dc0c29023ea831 36240fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36250fdf8faeSEd MasteDate: Tue Jun 11 01:23:25 2024 +0000 36260fdf8faeSEd Maste 36270fdf8faeSEd Maste upstream: a little more RB_TREE paranoia 36280fdf8faeSEd Maste 36290fdf8faeSEd Maste OpenBSD-Commit-ID: 8dc2fd21eebd8830c4a4d25461ac4fe228e11156 36300fdf8faeSEd Maste 36310fdf8faeSEd Mastecommit fc4e96b2174d6a894d2033421699d091679baced 36320fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36330fdf8faeSEd MasteDate: Tue Jun 11 01:22:25 2024 +0000 36340fdf8faeSEd Maste 36350fdf8faeSEd Maste upstream: fix off-by-one comparison for PerSourcePenalty 36360fdf8faeSEd Maste 36370fdf8faeSEd Maste OpenBSD-Commit-ID: af4f5d01c41ef870b23e55655bfbf73474a6c02b 36380fdf8faeSEd Maste 36390fdf8faeSEd Mastecommit 82c836df4ff41145553cd7adb11c5b985aeaa06f 36400fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36410fdf8faeSEd MasteDate: Tue Jun 11 01:21:41 2024 +0000 36420fdf8faeSEd Maste 36430fdf8faeSEd Maste upstream: move tree init before possible early return 36440fdf8faeSEd Maste 36450fdf8faeSEd Maste OpenBSD-Commit-ID: 72e2c5b69f151c08a7c5bf5ad929b97a92c273df 36460fdf8faeSEd Maste 36470fdf8faeSEd Mastecommit a2300f015cc4939c4d9c564b58b74e71202dc978 36480fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36490fdf8faeSEd MasteDate: Tue Jun 11 01:07:35 2024 +0000 36500fdf8faeSEd Maste 36510fdf8faeSEd Maste upstream: update to mention that PerSourcePenalties default to 36520fdf8faeSEd Maste 36530fdf8faeSEd Maste being enabled and document the default values for each parameter. 36540fdf8faeSEd Maste 36550fdf8faeSEd Maste OpenBSD-Commit-ID: b981288bddfb097aad269f62df4081c688ce0034 36560fdf8faeSEd Maste 36570fdf8faeSEd Mastecommit 41987efd356d3fc30139aeab4b09374acf8f91a0 36580fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36590fdf8faeSEd MasteDate: Tue Jun 11 00:44:52 2024 +0000 36600fdf8faeSEd Maste 36610fdf8faeSEd Maste upstream: reap the [net] child if it hangs up while writing privsep 36620fdf8faeSEd Maste 36630fdf8faeSEd Maste message payloads, not just the message header 36640fdf8faeSEd Maste 36650fdf8faeSEd Maste OpenBSD-Commit-ID: 24dbd400aa381ac96be7ed2dd49018487dfef6ce 36660fdf8faeSEd Maste 36670fdf8faeSEd Mastecommit 6211aa085fa91155a24922e5329576ac9a8f3175 36680fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36690fdf8faeSEd MasteDate: Tue Jun 11 00:40:21 2024 +0000 36700fdf8faeSEd Maste 36710fdf8faeSEd Maste upstream: log waitpid() status for abnormal exits 36720fdf8faeSEd Maste 36730fdf8faeSEd Maste OpenBSD-Commit-ID: b317930e06b51819c1a2bc6a4359764fecfb1c2d 36740fdf8faeSEd Maste 36750fdf8faeSEd Mastecommit a59634c7adb9ae988748d99963dfafb3070d8d41 36760fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 36770fdf8faeSEd MasteDate: Tue Jun 11 00:36:20 2024 +0000 36780fdf8faeSEd Maste 36790fdf8faeSEd Maste upstream: correct error message 36800fdf8faeSEd Maste 36810fdf8faeSEd Maste OpenBSD-Commit-ID: 581f60f73099083392887206860229ab104620ed 36820fdf8faeSEd Maste 36830fdf8faeSEd Mastecommit fa7d7a667f2ee031e72873e36de2d2a36bca973b 36840fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 36850fdf8faeSEd MasteDate: Fri Jun 7 13:23:30 2024 +0000 36860fdf8faeSEd Maste 36870fdf8faeSEd Maste upstream: avoid shadowing issues which some compilers won't accept 36880fdf8faeSEd Maste 36890fdf8faeSEd Maste ok djm 36900fdf8faeSEd Maste 36910fdf8faeSEd Maste OpenBSD-Commit-ID: 1e89572397dda83433d58c4fa6333a08f51170d4 36920fdf8faeSEd Maste 36930fdf8faeSEd Mastecommit 3ad4cd9eeca5c9bc6706db44b6de88e2e4513fd6 36940fdf8faeSEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 36950fdf8faeSEd MasteDate: Thu Jun 6 21:14:49 2024 +0000 36960fdf8faeSEd Maste 36970fdf8faeSEd Maste upstream: escape the final dot at eol in "e.g." to avoid double 36980fdf8faeSEd Maste 36990fdf8faeSEd Maste spacing; 37000fdf8faeSEd Maste 37010fdf8faeSEd Maste OpenBSD-Commit-ID: 0a9fb10bc9f7d577afe2da3f498a08bc431115b9 37020fdf8faeSEd Maste 37030fdf8faeSEd Mastecommit 0e0c69761a4c33ccd4a256560f522784a753d1a8 37040fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37050fdf8faeSEd MasteDate: Thu Jun 6 20:25:48 2024 +0000 37060fdf8faeSEd Maste 37070fdf8faeSEd Maste upstream: enable PerSourcePenalties by default. 37080fdf8faeSEd Maste 37090fdf8faeSEd Maste ok markus 37100fdf8faeSEd Maste 37110fdf8faeSEd Maste NB. if you run a sshd that accepts connections from behind large NAT 37120fdf8faeSEd Maste blocks, proxies or anything else that aggregates many possible users 37130fdf8faeSEd Maste behind few IP addresses, then this change may cause legitimate traffic 37140fdf8faeSEd Maste to be denied. 37150fdf8faeSEd Maste 37160fdf8faeSEd Maste Please read the PerSourcePenalties, PerSourcePenaltyExemptList and 37170fdf8faeSEd Maste PerSourceNetBlockSize options in sshd_config(5) for how to tune your 37180fdf8faeSEd Maste sshd(8) for your specific circumstances. 37190fdf8faeSEd Maste 37200fdf8faeSEd Maste OpenBSD-Commit-ID: 24a0e5c23d37e5a63e16d2c6da3920a51078f6ce 37210fdf8faeSEd Maste 37220fdf8faeSEd Mastecommit bd1f74741daabeaf20939a85cd8cec08c76d0bec 37230fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37240fdf8faeSEd MasteDate: Thu Jun 6 20:20:42 2024 +0000 37250fdf8faeSEd Maste 37260fdf8faeSEd Maste upstream: mention that PerSourcePenalties don't affect concurrent 37270fdf8faeSEd Maste 37280fdf8faeSEd Maste in-progress connections. 37290fdf8faeSEd Maste 37300fdf8faeSEd Maste OpenBSD-Commit-ID: 20389da6264f2c97ac3463edfaa1182c212d420c 37310fdf8faeSEd Maste 37320fdf8faeSEd Mastecommit 9774b938578327d88a651f4c63c504809717590a 37330fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37340fdf8faeSEd MasteDate: Thu Jun 6 19:49:25 2024 +0000 37350fdf8faeSEd Maste 37360fdf8faeSEd Maste upstream: regress test for PerSourcePenalties 37370fdf8faeSEd Maste 37380fdf8faeSEd Maste OpenBSD-Regress-ID: a1af13d411b25a727742644459d26480b9a1b0f1 37390fdf8faeSEd Maste 37400fdf8faeSEd Mastecommit b8ebd86cefe9812204a10c028dc90de29918667d 37410fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37420fdf8faeSEd MasteDate: Thu Jun 6 19:48:40 2024 +0000 37430fdf8faeSEd Maste 37440fdf8faeSEd Maste upstream: make sure logs are saved from sshd run via start_sshd 37450fdf8faeSEd Maste 37460fdf8faeSEd Maste OpenBSD-Regress-ID: de4ef0e32e3ab85ff3a6c36eb08d1909c0dd1b4a 37470fdf8faeSEd Maste 37480fdf8faeSEd Mastecommit d7b2070bdaa4ebbfafb9975c1d5a62b73289d31f 37490fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37500fdf8faeSEd MasteDate: Thu Jun 6 19:47:48 2024 +0000 37510fdf8faeSEd Maste 37520fdf8faeSEd Maste upstream: simplify 37530fdf8faeSEd Maste 37540fdf8faeSEd Maste OpenBSD-Regress-ID: 50316e0d1ae0c0a057a45af042253e54ce23d11c 37550fdf8faeSEd Maste 37560fdf8faeSEd Mastecommit e6ea3d224513b6bfb93818809d4c7397f5995ba2 37570fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37580fdf8faeSEd MasteDate: Thu Jun 6 18:48:13 2024 +0000 37590fdf8faeSEd Maste 37600fdf8faeSEd Maste upstream: prepare for PerSourcePenalties being enabled by default 37610fdf8faeSEd Maste 37620fdf8faeSEd Maste in future 37630fdf8faeSEd Maste 37640fdf8faeSEd Maste OpenBSD-Regress-ID: 5236c6d1c823997aac5a35e2915da30f1903bec7 37650fdf8faeSEd Maste 37660fdf8faeSEd Mastecommit c0cb3b8c837761816a60a3cdb54062668df09652 37670fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37680fdf8faeSEd MasteDate: Thu Jun 6 19:50:01 2024 +0000 37690fdf8faeSEd Maste 37700fdf8faeSEd Maste upstream: disable stderr redirection before closing fds 37710fdf8faeSEd Maste 37720fdf8faeSEd Maste OpenBSD-Commit-ID: d42cb895ee4542098050367fc35321c9303f003a 37730fdf8faeSEd Maste 37740fdf8faeSEd Mastecommit 81c1099d22b81ebfd20a334ce986c4f753b0db29 37750fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 37760fdf8faeSEd MasteDate: Thu Jun 6 17:15:25 2024 +0000 37770fdf8faeSEd Maste 37780fdf8faeSEd Maste upstream: Add a facility to sshd(8) to penalise particular 37790fdf8faeSEd Maste 37800fdf8faeSEd Maste problematic client behaviours, controlled by two new sshd_config(5) options: 37810fdf8faeSEd Maste PerSourcePenalties and PerSourcePenaltyExemptList. 37820fdf8faeSEd Maste 37830fdf8faeSEd Maste When PerSourcePenalties are enabled, sshd(8) will monitor the exit 37840fdf8faeSEd Maste status of its child pre-auth session processes. Through the exit 37850fdf8faeSEd Maste status, it can observe situations where the session did not 37860fdf8faeSEd Maste authenticate as expected. These conditions include when the client 37870fdf8faeSEd Maste repeatedly attempted authentication unsucessfully (possibly indicating 37880fdf8faeSEd Maste an attack against one or more accounts, e.g. password guessing), or 37890fdf8faeSEd Maste when client behaviour caused sshd to crash (possibly indicating 37900fdf8faeSEd Maste attempts to exploit sshd). 37910fdf8faeSEd Maste 37920fdf8faeSEd Maste When such a condition is observed, sshd will record a penalty of some 37930fdf8faeSEd Maste duration (e.g. 30 seconds) against the client's address. If this time 37940fdf8faeSEd Maste is above a minimum threshold specified by the PerSourcePenalties, then 37950fdf8faeSEd Maste connections from the client address will be refused (along with any 37960fdf8faeSEd Maste others in the same PerSourceNetBlockSize CIDR range). 37970fdf8faeSEd Maste 37980fdf8faeSEd Maste Repeated offenses by the same client address will accrue greater 37990fdf8faeSEd Maste penalties, up to a configurable maximum. A PerSourcePenaltyExemptList 38000fdf8faeSEd Maste option allows certain address ranges to be exempt from all penalties. 38010fdf8faeSEd Maste 38020fdf8faeSEd Maste We hope these options will make it significantly more difficult for 38030fdf8faeSEd Maste attackers to find accounts with weak/guessable passwords or exploit 38040fdf8faeSEd Maste bugs in sshd(8) itself. 38050fdf8faeSEd Maste 38060fdf8faeSEd Maste PerSourcePenalties is off by default, but we expect to enable it 38070fdf8faeSEd Maste automatically in the near future. 38080fdf8faeSEd Maste 38090fdf8faeSEd Maste much feedback markus@ and others, ok markus@ 38100fdf8faeSEd Maste 38110fdf8faeSEd Maste OpenBSD-Commit-ID: 89ded70eccb2b4926ef0366a4d58a693de366cca 38120fdf8faeSEd Maste 38130fdf8faeSEd Mastecommit 916b0b6174e203cf2c5ec9bcf409472eb7ffbf43 38140fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 38150fdf8faeSEd MasteDate: Fri Jun 7 03:31:02 2024 +1000 38160fdf8faeSEd Maste 38170fdf8faeSEd Maste whitespace 38180fdf8faeSEd Maste 38190fdf8faeSEd Mastecommit 49b55e44182b8294419aa580cbf043d5b9e3d953 38200fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 38210fdf8faeSEd MasteDate: Tue Jun 4 15:14:45 2024 +0000 38220fdf8faeSEd Maste 38230fdf8faeSEd Maste upstream: enable -fret-clean on amd64, for libc libcrypto ld.so 38240fdf8faeSEd Maste 38250fdf8faeSEd Maste kernel, and all the ssh tools. The dynamic objects are entirely ret-clean, 38260fdf8faeSEd Maste static binaries will contain a blend of cleaning and non-cleaning callers. 38270fdf8faeSEd Maste 38280fdf8faeSEd Maste OpenBSD-Commit-ID: 112aacedd3b61cc5c34b1fa6d9fb759214179172 38290fdf8faeSEd Maste 38300fdf8faeSEd Mastecommit cc80d51d034bcb24fd0f2564a4bdf1612000a2a2 38310fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 38320fdf8faeSEd MasteDate: Wed Jun 5 02:21:30 2024 +1000 38330fdf8faeSEd Maste 38340fdf8faeSEd Maste remove PRIVSEP macros for osx 38350fdf8faeSEd Maste 38360fdf8faeSEd Mastecommit 8785491123d4d722b310c20f383570be758f8263 38370fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 38380fdf8faeSEd MasteDate: Sat Jun 1 07:03:37 2024 +0000 38390fdf8faeSEd Maste 38400fdf8faeSEd Maste upstream: be really strict with fds reserved for communication with the 38410fdf8faeSEd Maste 38420fdf8faeSEd Maste separate sshd-session process - reserve them early and fatal if we can't 38430fdf8faeSEd Maste dup2(2) them later. The pre-split fallback to re-reading the configuration 38440fdf8faeSEd Maste files is not possible, so sshd-session absolutely requires the fd the 38450fdf8faeSEd Maste configuration is passed over to be in order. 38460fdf8faeSEd Maste 38470fdf8faeSEd Maste ok deraadt@ 38480fdf8faeSEd Maste 38490fdf8faeSEd Maste OpenBSD-Commit-ID: 308a98ef3c8a6665ebf92c7c9a0fc9600ccd7065 38500fdf8faeSEd Maste 38510fdf8faeSEd Mastecommit f1c8918cb98459910fb159373baea053ba4108c0 38520fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 38530fdf8faeSEd MasteDate: Fri May 31 19:12:26 2024 +1000 38540fdf8faeSEd Maste 38550fdf8faeSEd Maste depend 38560fdf8faeSEd Maste 38570fdf8faeSEd Mastecommit 94b4866cb1f4b0ed29a9f367047b30f81002316f 38580fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 38590fdf8faeSEd MasteDate: Fri May 31 19:11:14 2024 +1000 38600fdf8faeSEd Maste 38610fdf8faeSEd Maste rename need_privsep to need_chroot 38620fdf8faeSEd Maste 38630fdf8faeSEd Maste privsep is mandatory, chroot is optional (disabled when running 38640fdf8faeSEd Maste sshd as non-root) 38650fdf8faeSEd Maste 38660fdf8faeSEd Mastecommit e68a95142e5024b144f8eeccd5ffdee42c34f44c 38670fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 38680fdf8faeSEd MasteDate: Fri May 31 19:05:34 2024 +1000 38690fdf8faeSEd Maste 38700fdf8faeSEd Maste remove remaining use_privsep mention 38710fdf8faeSEd Maste 38720fdf8faeSEd Mastecommit b21d271f651d2536dca819cc6d74032fe98634db 38730fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 38740fdf8faeSEd MasteDate: Fri May 31 09:01:08 2024 +0000 38750fdf8faeSEd Maste 38760fdf8faeSEd Maste upstream: warn when -r (deprecated option to disable re-exec) is 38770fdf8faeSEd Maste 38780fdf8faeSEd Maste passed 38790fdf8faeSEd Maste 38800fdf8faeSEd Maste OpenBSD-Commit-ID: 73145ef5150edbe3ce7889f0844ed8fa6155f551 38810fdf8faeSEd Maste 38820fdf8faeSEd Mastecommit a4b5bc246cbca476deeeb4462aa31746a56e3021 38830fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 38840fdf8faeSEd MasteDate: Fri May 31 08:49:35 2024 +0000 38850fdf8faeSEd Maste 38860fdf8faeSEd Maste upstream: typos 38870fdf8faeSEd Maste 38880fdf8faeSEd Maste OpenBSD-Commit-ID: edfa72eb06bfa65da30fabf7d2fe76d2d33f77bf 38890fdf8faeSEd Maste 38900fdf8faeSEd Mastecommit 8054b906983ceaed01fabd8188d3dac24c05ba39 38910fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 38920fdf8faeSEd MasteDate: Mon May 27 01:52:26 2024 +0000 38930fdf8faeSEd Maste 38940fdf8faeSEd Maste upstream: don't need sys/queue.h here 38950fdf8faeSEd Maste 38960fdf8faeSEd Maste OpenBSD-Commit-ID: dd137396828171eb19e4911581812ca58de6c578 38970fdf8faeSEd Maste 38980fdf8faeSEd Mastecommit 210d4239733da6180ce853538aeb9413d5c62ad5 38990fdf8faeSEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 39000fdf8faeSEd MasteDate: Sun May 26 20:35:12 2024 +0000 39010fdf8faeSEd Maste 39020fdf8faeSEd Maste upstream: remove references to SSH1 and DSA server keys 39030fdf8faeSEd Maste 39040fdf8faeSEd Maste OpenBSD-Commit-ID: 57cc1c98d4f998981473734f144b904af7d178a2 39050fdf8faeSEd Maste 39060fdf8faeSEd Mastecommit f0b9261d7fdd0ef86806b49fe76344bd16770cd0 39070fdf8faeSEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 39080fdf8faeSEd MasteDate: Thu May 23 23:47:16 2024 +0000 39090fdf8faeSEd Maste 39100fdf8faeSEd Maste upstream: remove unused struct fwd_perm_list, no decl with complete 39110fdf8faeSEd Maste 39120fdf8faeSEd Maste type ok djm@ 39130fdf8faeSEd Maste 39140fdf8faeSEd Maste OpenBSD-Commit-ID: 416fb3970b7e73c76d2963c4f00cf96f2b2ee2fb 39150fdf8faeSEd Maste 39160fdf8faeSEd Mastecommit 2477a98c3ef78e63b11a1393656e00288f52ae97 39170fdf8faeSEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 39180fdf8faeSEd MasteDate: Wed May 22 15:24:55 2024 +0000 39190fdf8faeSEd Maste 39200fdf8faeSEd Maste upstream: Do not pass -Werror twice when building with clang. 39210fdf8faeSEd Maste 39220fdf8faeSEd Maste OpenBSD-Commit-ID: 5f378c38ad8976d507786dc4db9283a879ec8cd0 39230fdf8faeSEd Maste 39240fdf8faeSEd Mastecommit 435844f5675245b4271f8581f15e6d1f34fde3bc 39250fdf8faeSEd MasteAuthor: miod@openbsd.org <miod@openbsd.org> 39260fdf8faeSEd MasteDate: Wed May 22 11:49:36 2024 +0000 39270fdf8faeSEd Maste 39280fdf8faeSEd Maste upstream: Do not pass -Werror if building with gcc 3, for asn1.h 39290fdf8faeSEd Maste 39300fdf8faeSEd Maste and bio.h cause (admittedly bogus) warnings with gcc 3. 39310fdf8faeSEd Maste 39320fdf8faeSEd Maste OpenBSD-Commit-ID: fb39324748824cb0387e9d67c41d1bef945c54ea 39330fdf8faeSEd Maste 39340fdf8faeSEd Mastecommit fc5dc092830de23767c6ef67baa18310a64ee533 39350fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 39360fdf8faeSEd MasteDate: Wed May 22 04:20:00 2024 +0000 39370fdf8faeSEd Maste 39380fdf8faeSEd Maste upstream: this test has been broken since 2014, and has been 39390fdf8faeSEd Maste 39400fdf8faeSEd Maste testing the same key exchange algorithm repeatedly instead of testing all of 39410fdf8faeSEd Maste them. Spotted by nreilly AT blackberry.com in bz3692 39420fdf8faeSEd Maste 39430fdf8faeSEd Maste Who broke the test? me. 39440fdf8faeSEd Maste 39450fdf8faeSEd Maste OpenBSD-Regress-ID: 48f4f5946276f975667141957d25441b3c9a50e2 39460fdf8faeSEd Maste 39470fdf8faeSEd Mastecommit fd4816791beaed2fdae7eea3e1494d1972b2a39d 39480fdf8faeSEd MasteAuthor: anton@openbsd.org <anton@openbsd.org> 39490fdf8faeSEd MasteDate: Sun May 19 19:10:01 2024 +0000 39500fdf8faeSEd Maste 39510fdf8faeSEd Maste upstream: Add missing kex-names.c source file required since the 39520fdf8faeSEd Maste 39530fdf8faeSEd Maste ssh split. 39540fdf8faeSEd Maste 39550fdf8faeSEd Maste OpenBSD-Regress-ID: ca666223f828fc4b069cb9016bff1eb50faf9fbb 39560fdf8faeSEd Maste 39570fdf8faeSEd Mastecommit beccb7319c5449f6454889013403c336446d622e 39580fdf8faeSEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 39590fdf8faeSEd MasteDate: Fri May 17 14:42:00 2024 +0000 39600fdf8faeSEd Maste 39610fdf8faeSEd Maste upstream: remove duplicate copy of relink kit for sshd-session 39620fdf8faeSEd Maste 39630fdf8faeSEd Maste OpenBSD-Commit-ID: 6d2ded4cd91d4d727c2b26e099b91ea935bed504 39640fdf8faeSEd Maste 39650fdf8faeSEd Mastecommit dcd79fa141311c287e0595ede684b7116122fae0 39660fdf8faeSEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 39670fdf8faeSEd MasteDate: Fri May 17 06:42:04 2024 +0000 39680fdf8faeSEd Maste 39690fdf8faeSEd Maste upstream: remove prototypes with no matching function; ok djm@ 39700fdf8faeSEd Maste 39710fdf8faeSEd Maste OpenBSD-Commit-ID: 6d9065dadea5f14a01bece0dbfe2fba1be31c693 39720fdf8faeSEd Maste 39730fdf8faeSEd Mastecommit 6454a05e7c6574d70adf17efe505a8581a86ca4f 39740fdf8faeSEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 39750fdf8faeSEd MasteDate: Fri May 17 06:38:00 2024 +0000 39760fdf8faeSEd Maste 39770fdf8faeSEd Maste upstream: remove externs for removed vars; ok djm@ 39780fdf8faeSEd Maste 39790fdf8faeSEd Maste OpenBSD-Commit-ID: f51ea791d45c15d4927eb4ae7d877ccc1e5a2aab 39800fdf8faeSEd Maste 39810fdf8faeSEd Mastecommit f3e4db4601ef7d2feb1d6f7447e432aaf353a616 39820fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 39830fdf8faeSEd MasteDate: Fri May 17 06:11:17 2024 +0000 39840fdf8faeSEd Maste 39850fdf8faeSEd Maste upstream: -Werror was turned on (probably just for development), 39860fdf8faeSEd Maste 39870fdf8faeSEd Maste and this is a simple way to satisfy older gcc. 39880fdf8faeSEd Maste 39890fdf8faeSEd Maste OpenBSD-Commit-ID: 7f698df54384b437ce33ab7405f0b86c87019e86 39900fdf8faeSEd Maste 39910fdf8faeSEd Mastecommit 24a1f3e5ad6f4a49377d4c74c36637e9a239efd0 39920fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 39930fdf8faeSEd MasteDate: Fri May 17 14:50:43 2024 +1000 39940fdf8faeSEd Maste 39950fdf8faeSEd Maste attempt at updating RPM specs for sshd-session 39960fdf8faeSEd Maste 39970fdf8faeSEd Mastecommit 17b566eeb7a0c6acc9c48b35c08885901186f861 39980fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 39990fdf8faeSEd MasteDate: Fri May 17 04:42:13 2024 +0000 40000fdf8faeSEd Maste 40010fdf8faeSEd Maste upstream: g/c unused variable 40020fdf8faeSEd Maste 40030fdf8faeSEd Maste OpenBSD-Commit-ID: aa6ef0778a1f1bde0d73efba72a777c48d2bd010 40040fdf8faeSEd Maste 40050fdf8faeSEd Mastecommit 01fb82eb2aa0a4eaf5c394ea8bb37ea4c26f8a3f 40060fdf8faeSEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 40070fdf8faeSEd MasteDate: Fri May 17 02:39:11 2024 +0000 40080fdf8faeSEd Maste 40090fdf8faeSEd Maste upstream: spelling; ok djm@ 40100fdf8faeSEd Maste 40110fdf8faeSEd Maste OpenBSD-Commit-ID: bdea29bb3ed2a5a7782999c4c663b219d2270483 40120fdf8faeSEd Maste 40130fdf8faeSEd Mastecommit b88b690e99145a021fc1a1a116a11e0bce0594e7 40140fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 40150fdf8faeSEd MasteDate: Fri May 17 01:45:22 2024 +0000 40160fdf8faeSEd Maste 40170fdf8faeSEd Maste upstream: allow overriding the sshd-session binary path 40180fdf8faeSEd Maste 40190fdf8faeSEd Maste OpenBSD-Regress-ID: 5058cd1c4b6ca1a15474e33546142931d9f964da 40200fdf8faeSEd Maste 40210fdf8faeSEd Mastecommit a68f80f2511f0e0c5cef737a8284cc2dfabad818 40220fdf8faeSEd MasteAuthor: anton@openbsd.org <anton@openbsd.org> 40230fdf8faeSEd MasteDate: Wed Apr 3 06:01:11 2024 +0000 40240fdf8faeSEd Maste 40250fdf8faeSEd Maste upstream: Since ssh-agent(1) is only readable by root by now, use 40260fdf8faeSEd Maste 40270fdf8faeSEd Maste ssh(1) while generating data in tests. 40280fdf8faeSEd Maste 40290fdf8faeSEd Maste OpenBSD-Regress-ID: 24eb40de2e6b0ace185caaba35e2d470331ffe68 40300fdf8faeSEd Maste 40310fdf8faeSEd Mastecommit 92e55890314ce2b0be21a43ebcbc043b4abc232f 40320fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 40330fdf8faeSEd MasteDate: Fri May 17 01:17:40 2024 +0000 40340fdf8faeSEd Maste 40350fdf8faeSEd Maste upstream: fix incorrect debug option name introduce in previous 40360fdf8faeSEd Maste 40370fdf8faeSEd Maste commit 40380fdf8faeSEd Maste 40390fdf8faeSEd Maste OpenBSD-Commit-ID: 66d69e22b1c072c694a7267c847f212284614ed3 40400fdf8faeSEd Maste 40410fdf8faeSEd Mastecommit 4ad72878af7b6ec28da6e230e36a91650ebe84c1 40420fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 40430fdf8faeSEd MasteDate: Fri May 17 00:33:25 2024 +0000 40440fdf8faeSEd Maste 40450fdf8faeSEd Maste upstream: construct and install a relink-kit for sshd-session ok 40460fdf8faeSEd Maste 40470fdf8faeSEd Maste djm 40480fdf8faeSEd Maste 40490fdf8faeSEd Maste OpenBSD-Commit-ID: 8b3820adb4da4e139c4b3cffbcc0bde9f08bf0c6 40500fdf8faeSEd Maste 40510fdf8faeSEd Mastecommit 02e679a2cb3f6df8e9dbb1519ed578226485157f 40520fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 40530fdf8faeSEd MasteDate: Fri May 17 12:21:27 2024 +1000 40540fdf8faeSEd Maste 40550fdf8faeSEd Maste Makefile support for sshd-session 40560fdf8faeSEd Maste 40570fdf8faeSEd Mastecommit c0416035c5eaf70a8450d11c8833c5f7068ee7ad 40580fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 40590fdf8faeSEd MasteDate: Fri May 17 00:32:32 2024 +0000 40600fdf8faeSEd Maste 40610fdf8faeSEd Maste upstream: missing files from previous 40620fdf8faeSEd Maste 40630fdf8faeSEd Maste OpenBSD-Commit-ID: 4b7be4434d8799f02365552b641a7a70a7ebeb2f 40640fdf8faeSEd Maste 40650fdf8faeSEd Mastecommit 03e3de416ed7c34faeb692967737be4a7bbe2eb5 40660fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 40670fdf8faeSEd MasteDate: Fri May 17 00:30:23 2024 +0000 40680fdf8faeSEd Maste 40690fdf8faeSEd Maste upstream: Start the process of splitting sshd into separate 40700fdf8faeSEd Maste 40710fdf8faeSEd Maste binaries. This step splits sshd into a listener and a session binary. More 40720fdf8faeSEd Maste splits are planned. 40730fdf8faeSEd Maste 40740fdf8faeSEd Maste After this changes, the listener binary will validate the configuration, 40750fdf8faeSEd Maste load the hostkeys, listen on port 22 and manage MaxStartups only. All 40760fdf8faeSEd Maste session handling will be performed by a new sshd-session binary that the 40770fdf8faeSEd Maste listener fork+execs. 40780fdf8faeSEd Maste 40790fdf8faeSEd Maste This reduces the listener process to the minimum necessary and sets us 40800fdf8faeSEd Maste up for future work on the sshd-session binary. 40810fdf8faeSEd Maste 40820fdf8faeSEd Maste feedback/ok markus@ deraadt@ 40830fdf8faeSEd Maste 40840fdf8faeSEd Maste NB. if you're updating via source, please restart sshd after installing, 40850fdf8faeSEd Maste otherwise you run the risk of locking yourself out. 40860fdf8faeSEd Maste 40870fdf8faeSEd Maste OpenBSD-Commit-ID: 43c04a1ab96cdbdeb53d2df0125a6d42c5f19934 40880fdf8faeSEd Maste 40890fdf8faeSEd Mastecommit 1c0d81357921f8d3bab06841df649edac515ae5b 40900fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 40910fdf8faeSEd MasteDate: Thu May 9 09:46:47 2024 +0000 40920fdf8faeSEd Maste 40930fdf8faeSEd Maste upstream: simplify exit message handling, which was more complicated 40940fdf8faeSEd Maste 40950fdf8faeSEd Maste than it needed to be because of unexpunged ssh1 remnants. ok markus@ 40960fdf8faeSEd Maste 40970fdf8faeSEd Maste OpenBSD-Commit-ID: 8b0cd2c0dee75fb053718f442aa89510b684610b 40980fdf8faeSEd Maste 40990fdf8faeSEd Mastecommit cbbbf76aa6cd54fce32eacce1300e7abcf9461d4 41000fdf8faeSEd MasteAuthor: tobias@openbsd.org <tobias@openbsd.org> 41010fdf8faeSEd MasteDate: Mon May 6 19:26:17 2024 +0000 41020fdf8faeSEd Maste 41030fdf8faeSEd Maste upstream: remove SSH1 leftovers 41040fdf8faeSEd Maste 41050fdf8faeSEd Maste Authored with Space Meyer <git at the-space dot agency> 41060fdf8faeSEd Maste 41070fdf8faeSEd Maste ok djm 41080fdf8faeSEd Maste 41090fdf8faeSEd Maste OpenBSD-Commit-ID: 81db602e4cb407baae472689db1c222ed7b2afa3 41100fdf8faeSEd Maste 41110fdf8faeSEd Mastecommit bc5dcb8ab9a4e8af54a724883732af378f42ea78 41120fdf8faeSEd MasteAuthor: tobias@openbsd.org <tobias@openbsd.org> 41130fdf8faeSEd MasteDate: Tue Apr 30 15:40:43 2024 +0000 41140fdf8faeSEd Maste 41150fdf8faeSEd Maste upstream: never close stdin 41160fdf8faeSEd Maste 41170fdf8faeSEd Maste The sanitise_stdfd call makes sure that standard file descriptors are 41180fdf8faeSEd Maste open (if they were closed, they are connected with /dev/null). 41190fdf8faeSEd Maste 41200fdf8faeSEd Maste Do not close stdin in any case to prevent error messages when stdin is 41210fdf8faeSEd Maste read multiple times and to prevent later usage of fd 0 for connections, 41220fdf8faeSEd Maste e.g. 41230fdf8faeSEd Maste 41240fdf8faeSEd Maste echo localhost | ssh-keyscan -f - -f - 41250fdf8faeSEd Maste 41260fdf8faeSEd Maste While at it, make stdin-related error messages nicer. 41270fdf8faeSEd Maste 41280fdf8faeSEd Maste Authored with Max Kunzelmann <maxdev at posteo dot de> 41290fdf8faeSEd Maste 41300fdf8faeSEd Maste ok djm 41310fdf8faeSEd Maste 41320fdf8faeSEd Maste OpenBSD-Commit-ID: 48e9b7938e2fa2f9bd47e6de6df66a31e0b375d3 41330fdf8faeSEd Maste 41340fdf8faeSEd Mastecommit 6a42b70e56bef1aacdcdf06352396e837883e84f 41350fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 41360fdf8faeSEd MasteDate: Wed May 8 09:43:59 2024 +1000 41370fdf8faeSEd Maste 41380fdf8faeSEd Maste sync getrrsetbyname.c with recent upstream changes 41390fdf8faeSEd Maste 41400fdf8faeSEd Mastecommit 385ecb31e147dfea59c1c488a1d2011d3867e60e 41410fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 41420fdf8faeSEd MasteDate: Tue Apr 30 06:23:51 2024 +0000 41430fdf8faeSEd Maste 41440fdf8faeSEd Maste upstream: fix home-directory extension implementation, it always 41450fdf8faeSEd Maste 41460fdf8faeSEd Maste returned the current user's home directory contrary to the spec. 41470fdf8faeSEd Maste 41480fdf8faeSEd Maste Patch from Jakub Jelen via GHPR477 41490fdf8faeSEd Maste 41500fdf8faeSEd Maste OpenBSD-Commit-ID: 5afd775eab7f9cbe222d7fbae4c793de6c3b3d28 41510fdf8faeSEd Maste 41520fdf8faeSEd Mastecommit 14e2b16bc67ffcc188906f65008667e22f73d103 41530fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 41540fdf8faeSEd MasteDate: Tue Apr 30 06:16:55 2024 +0000 41550fdf8faeSEd Maste 41560fdf8faeSEd Maste upstream: flush stdout after writing "sftp>" prompt when not using 41570fdf8faeSEd Maste 41580fdf8faeSEd Maste editline. 41590fdf8faeSEd Maste 41600fdf8faeSEd Maste From Alpine Linux via GHPR480 41610fdf8faeSEd Maste 41620fdf8faeSEd Maste OpenBSD-Commit-ID: 80bdc7ffe0358dc090eb9b93e6dedb2b087b24cd 41630fdf8faeSEd Maste 41640fdf8faeSEd Mastecommit 2e69a724051488e3fb3cd11531c4b5bc1764945b 41650fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 41660fdf8faeSEd MasteDate: Tue Apr 30 05:53:03 2024 +0000 41670fdf8faeSEd Maste 41680fdf8faeSEd Maste upstream: stricter validation of messaging socket fd number; disallow 41690fdf8faeSEd Maste 41700fdf8faeSEd Maste usage of stderr. Based on GHPR492 by RealHurrison 41710fdf8faeSEd Maste 41720fdf8faeSEd Maste OpenBSD-Commit-ID: 73dbbe82ea16f73ce1d044d3232bc869ae2f2ce8 41730fdf8faeSEd Maste 41740fdf8faeSEd Mastecommit da757b022bf18c6f7d04e685a10cd96ed00f83da 41750fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 41760fdf8faeSEd MasteDate: Tue Apr 30 05:45:56 2024 +0000 41770fdf8faeSEd Maste 41780fdf8faeSEd Maste upstream: add missing reserved fields to key constraint protocol 41790fdf8faeSEd Maste 41800fdf8faeSEd Maste documentation. 41810fdf8faeSEd Maste 41820fdf8faeSEd Maste from Wiktor Kwapisiewicz via GHPR487 41830fdf8faeSEd Maste 41840fdf8faeSEd Maste OpenBSD-Commit-ID: 0dfb69998cfdb3fa00cbb0e7809e7d2f6126e3df 41850fdf8faeSEd Maste 41860fdf8faeSEd Mastecommit 16d0b82fa08038f35f1b3630c70116979f49784f 41870fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 41880fdf8faeSEd MasteDate: Tue Apr 30 12:39:34 2024 +1000 41890fdf8faeSEd Maste 41900fdf8faeSEd Maste depend 41910fdf8faeSEd Maste 41920fdf8faeSEd Mastecommit 66aaa678dbe59aa21d0d9d89a3596ecedde0254b 41930fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 41940fdf8faeSEd MasteDate: Tue Apr 30 02:14:10 2024 +0000 41950fdf8faeSEd Maste 41960fdf8faeSEd Maste upstream: correctly restore sigprocmask around ppoll() reported 41970fdf8faeSEd Maste 41980fdf8faeSEd Maste by Tõivo Leedjärv; ok deraadt@ 41990fdf8faeSEd Maste 42000fdf8faeSEd Maste OpenBSD-Commit-ID: c0c0f89de5294a166578f071eade2501929c4686 42010fdf8faeSEd Maste 42020fdf8faeSEd Mastecommit 80fb0eb21551aed3aebb009ab20aeffeb01e44e0 42030fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 42040fdf8faeSEd MasteDate: Tue Apr 30 02:10:49 2024 +0000 42050fdf8faeSEd Maste 42060fdf8faeSEd Maste upstream: add explict check for server hostkey type against 42070fdf8faeSEd Maste 42080fdf8faeSEd Maste HostkeyAlgorithms. Allows HostkeyAlgorithms to disable implicit fallback from 42090fdf8faeSEd Maste certificate keys to plain keys. ok markus@ 42100fdf8faeSEd Maste 42110fdf8faeSEd Maste OpenBSD-Commit-ID: 364087e4a395ff9b2f42bf3aefdb2090bb23643a 42120fdf8faeSEd Maste 42130fdf8faeSEd Mastecommit 5b28096d31ff7d80748fc845553a4aef5bb05d86 42140fdf8faeSEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 42150fdf8faeSEd MasteDate: Tue Apr 23 13:34:50 2024 +0000 42160fdf8faeSEd Maste 42170fdf8faeSEd Maste upstream: correct indentation; no functional change ok tb@ 42180fdf8faeSEd Maste 42190fdf8faeSEd Maste OpenBSD-Commit-ID: dd9702fd43de546bc6a3f4f025c74d6f3692a0d4 42200fdf8faeSEd Maste 42210fdf8faeSEd Mastecommit fd3cb8a82784e05f621dea5b56ac6f89bc53c067 42220fdf8faeSEd MasteAuthor: semarie@openbsd.org <semarie@openbsd.org> 42230fdf8faeSEd MasteDate: Thu Apr 4 16:00:51 2024 +0000 42240fdf8faeSEd Maste 42250fdf8faeSEd Maste upstream: set right mode on ssh-agent at boot-time 42260fdf8faeSEd Maste 42270fdf8faeSEd Maste which sthen@ 42280fdf8faeSEd Maste ok deraadt@ 42290fdf8faeSEd Maste 42300fdf8faeSEd Maste OpenBSD-Commit-ID: 662b5056a2c6171563e1626f9c69f27862b5e7af 42310fdf8faeSEd Maste 42320fdf8faeSEd Mastecommit 54343a260e3aa4bceca1852dde31cd08e2abd82b 42330fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 42340fdf8faeSEd MasteDate: Tue Apr 2 12:22:38 2024 +0000 42350fdf8faeSEd Maste 42360fdf8faeSEd Maste upstream: Oops, incorrect hex conversion spotted by claudio. 42370fdf8faeSEd Maste 42380fdf8faeSEd Maste While here try to improve how it reads a bit better. Surprising the 42390fdf8faeSEd Maste regression tests didn't spot this error, maybe it fails to roundtrip the 42400fdf8faeSEd Maste values. 42410fdf8faeSEd Maste 42420fdf8faeSEd Maste OpenBSD-Commit-ID: 866cfcc1955aef8f3fc32da0b70c353a1b859f2e 42430fdf8faeSEd Maste 42440fdf8faeSEd Mastecommit ec78c31409590ad74efc194f886273ed080a545a 42450fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 42460fdf8faeSEd MasteDate: Tue Apr 2 10:02:08 2024 +0000 42470fdf8faeSEd Maste 42480fdf8faeSEd Maste upstream: for parse_ipqos(), use strtonum() instead of mostly 42490fdf8faeSEd Maste 42500fdf8faeSEd Maste idiomatic strtoul(), but wow it's so gross. ok djm 42510fdf8faeSEd Maste 42520fdf8faeSEd Maste OpenBSD-Commit-ID: cec14a76af2eb7b225300c80fc0e21052be67b05 42530fdf8faeSEd Maste 42540fdf8faeSEd Mastecommit 8176e1a6c2e6da9361a7abb6fbf6c23c299f495b 42550fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 42560fdf8faeSEd MasteDate: Tue Apr 2 09:56:58 2024 +0000 42570fdf8faeSEd Maste 42580fdf8faeSEd Maste upstream: can shortcut by returning strtonum() value directly; ok 42590fdf8faeSEd Maste 42600fdf8faeSEd Maste djm 42610fdf8faeSEd Maste 42620fdf8faeSEd Maste OpenBSD-Commit-ID: 7bb2dd3d6d1f288dac14247d1de446e3d7ba8b8e 42630fdf8faeSEd Maste 42640fdf8faeSEd Mastecommit 9f543d7022a781f80bb696f9d73f1d1c6f9e31d6 42650fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 42660fdf8faeSEd MasteDate: Tue Apr 2 09:52:14 2024 +0000 42670fdf8faeSEd Maste 42680fdf8faeSEd Maste upstream: rewrite convtime() to use a isdigit-scanner and 42690fdf8faeSEd Maste 42700fdf8faeSEd Maste strtonum() instead of strange strtoul can might be fooled by garage 42710fdf8faeSEd Maste characters. passes regress/usr.bin/ssh/unittests/misc ok djm 42720fdf8faeSEd Maste 42730fdf8faeSEd Maste OpenBSD-Commit-ID: 4b1ef826bb16047aea3f3bdcb385b72ffd450abc 42740fdf8faeSEd Maste 42750fdf8faeSEd Mastecommit 8673137f780d8d9e4cda3c4605cb5d88d5cea271 42760fdf8faeSEd MasteAuthor: claudio@openbsd.org <claudio@openbsd.org> 42770fdf8faeSEd MasteDate: Tue Apr 2 09:48:24 2024 +0000 42780fdf8faeSEd Maste 42790fdf8faeSEd Maste upstream: Remove unused ptr[3] char array in pkcs11_decode_hex. 42800fdf8faeSEd Maste 42810fdf8faeSEd Maste OK deraadt@ 42820fdf8faeSEd Maste 42830fdf8faeSEd Maste OpenBSD-Commit-ID: 3d14433e39fd558f662d3b0431c4c555ef920481 42840fdf8faeSEd Maste 42850fdf8faeSEd Mastecommit c7fec708f331f108343d69e4d74c9a5d86d6cfe7 42860fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 42870fdf8faeSEd MasteDate: Tue Apr 2 09:32:28 2024 +0000 42880fdf8faeSEd Maste 42890fdf8faeSEd Maste upstream: Replace non-idiomatic strtoul(, 16) to parse a region 42900fdf8faeSEd Maste 42910fdf8faeSEd Maste of 2-character hex sequences with a low-level replacement designed just for 42920fdf8faeSEd Maste the task. ok djm 42930fdf8faeSEd Maste 42940fdf8faeSEd Maste OpenBSD-Commit-ID: 67bab8b8a4329a19a0add5085eacd6f4cc215e85 42950fdf8faeSEd Maste 42960fdf8faeSEd Mastecommit 019a5f483b0f588da6270ec401d0b4bb35032f3f 42970fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 42980fdf8faeSEd MasteDate: Tue Apr 2 09:29:31 2024 +0000 42990fdf8faeSEd Maste 43000fdf8faeSEd Maste upstream: Use strtonum() instead of severely non-idomatic 43010fdf8faeSEd Maste 43020fdf8faeSEd Maste strtoul() In particular this will now reject trailing garbage, ie. 43030fdf8faeSEd Maste '12garbage'. ok djm 43040fdf8faeSEd Maste 43050fdf8faeSEd Maste OpenBSD-Commit-ID: c82d95e3ccbfedfc91a8041c2f8bf0cf987d1501 43060fdf8faeSEd Maste 43070fdf8faeSEd Mastecommit 8231ca046fa39ea4eb99b79e0a6e09dec50ac952 43080fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 43090fdf8faeSEd MasteDate: Mon Apr 1 15:50:17 2024 +0000 43100fdf8faeSEd Maste 43110fdf8faeSEd Maste upstream: also create a relink kit for ssh-agent, since it is a 43120fdf8faeSEd Maste 43130fdf8faeSEd Maste long-running setgid program carrying keys with some (not very powerful) 43140fdf8faeSEd Maste communication channels. solution for testing the binary from dtucker. 43150fdf8faeSEd Maste agreement from djm. Will add it into /etc/rc in a few days. 43160fdf8faeSEd Maste 43170fdf8faeSEd Maste OpenBSD-Commit-ID: 2fe8d707ae35ba23c7916adcb818bb5b66837ba0 43180fdf8faeSEd Maste 43190fdf8faeSEd Mastecommit bf7bf50bd6a14e49c9c243cb8f4de31e555a5a2e 43200fdf8faeSEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 43210fdf8faeSEd MasteDate: Mon Apr 1 15:48:16 2024 +0000 43220fdf8faeSEd Maste 43230fdf8faeSEd Maste upstream: new-style relink kit for sshd. The old scheme created 43240fdf8faeSEd Maste 43250fdf8faeSEd Maste a Makefile by concatenating two Makefiles and was incredibly fragile. In the 43260fdf8faeSEd Maste new way a narrow-purposed install.sh script is created and shipped with the 43270fdf8faeSEd Maste objects. A recently commited /etc/rc script understands these files. 43280fdf8faeSEd Maste 43290fdf8faeSEd Maste OpenBSD-Commit-ID: ef9341d5a50f0d33e3a6fbe995e92964bc7ef2d3 43300fdf8faeSEd Maste 43310fdf8faeSEd Mastecommit 00e63688920905e326d8667cb47f17a156b6dc8f 43320fdf8faeSEd MasteAuthor: renmingshuai <renmingshuai@huawei.com> 43330fdf8faeSEd MasteDate: Fri Apr 12 10:20:49 2024 +0800 43340fdf8faeSEd Maste 43350fdf8faeSEd Maste Shell syntax fix (leftover from a sync). 43360fdf8faeSEd Maste 43370fdf8faeSEd Maste Signed-off-by: renmingshuai <renmingshuai@huawei.com> 43380fdf8faeSEd Maste 43390fdf8faeSEd Mastecommit 2eded551ba96e66bc3afbbcc883812c2eac02bd7 43400fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 43410fdf8faeSEd MasteDate: Thu Apr 25 13:20:19 2024 +1000 43420fdf8faeSEd Maste 43430fdf8faeSEd Maste Merge flags for OpenSSL 3.x versions. 43440fdf8faeSEd Maste 43450fdf8faeSEd Maste OpenSSL has moved to 3.4 which we don't currently accept. Based on 43460fdf8faeSEd Maste the OpenSSL versioning policy[0] it looks like all of the 3.x versions 43470fdf8faeSEd Maste should work with OpenSSH, so remove the distinction in configure and 43480fdf8faeSEd Maste accept all of them. 43490fdf8faeSEd Maste 43500fdf8faeSEd Maste [0] https://openssl.org/policies/general/versioning-policy.html 43510fdf8faeSEd Maste 43520fdf8faeSEd Mastecommit 8673245918081c6d1dc7fb3733c8eb2c5a902c5e 43530fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 43540fdf8faeSEd MasteDate: Thu Apr 25 13:19:03 2024 +1000 43550fdf8faeSEd Maste 43560fdf8faeSEd Maste Remove 9.6 branch from status page. 43570fdf8faeSEd Maste 43580fdf8faeSEd Mastecommit 70d43049747fa3c66cf876d52271859407cec2fa 43590fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 43600fdf8faeSEd MasteDate: Thu Apr 25 13:16:58 2024 +1000 43610fdf8faeSEd Maste 43620fdf8faeSEd Maste Update LibreSSL and OpenSSL versions tested. 43630fdf8faeSEd Maste 43640fdf8faeSEd Maste Update LibreSSL versions to current releases (3.8.4 & 3.9.1). 43650fdf8faeSEd Maste Add newly-released OpenSSL 3.3.0, and add tests against the 3.1 and 43660fdf8faeSEd Maste 3.3 branches. 43670fdf8faeSEd Maste 43680fdf8faeSEd Mastecommit 88351eca17dcc55189991ba60e50819b6d4193c1 43690fdf8faeSEd MasteAuthor: 90 <hi@90.gripe> 43700fdf8faeSEd MasteDate: Fri Apr 5 19:36:06 2024 +0100 43710fdf8faeSEd Maste 43720fdf8faeSEd Maste Fix missing header for systemd notification 43730fdf8faeSEd Maste 43740fdf8faeSEd Mastecommit 08f579231cd38a1c657aaa6ddeb8ab57a1fd4f5c 43750fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 43760fdf8faeSEd MasteDate: Wed Apr 3 14:40:32 2024 +1100 43770fdf8faeSEd Maste 43780fdf8faeSEd Maste notify systemd on listen and reload 43790fdf8faeSEd Maste 43800fdf8faeSEd Maste Standalone implementation that does not depend on libsystemd. 43810fdf8faeSEd Maste With assistance from Luca Boccassi, and feedback/testing from Colin 43820fdf8faeSEd Maste Watson. bz2641 43830fdf8faeSEd Maste 43840fdf8faeSEd Mastecommit 43e7c1c07cf6aae7f4394ca8ae91a3efc46514e2 43850fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 43860fdf8faeSEd MasteDate: Sun Mar 31 21:51:57 2024 +1100 43870fdf8faeSEd Maste 43880fdf8faeSEd Maste Port changes from selfhosted to upstream tests. 43890fdf8faeSEd Maste 43900fdf8faeSEd Maste Should get them working again. 43910fdf8faeSEd Maste 43920fdf8faeSEd Mastecommit 281ea25a44bff53eefb4af7bab7aa670b1f8b6b2 43930fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 43940fdf8faeSEd MasteDate: Sat Mar 30 18:20:16 2024 +1100 43950fdf8faeSEd Maste 43960fdf8faeSEd Maste Check if OpenSSL implementation supports DSA. 43970fdf8faeSEd Maste 43980fdf8faeSEd Maste If --enable/disable-dsa-keys is not specified, set based on what OpenSSL 43990fdf8faeSEd Maste supports. If specified as enabled, but not supported by OpenSSL error 44000fdf8faeSEd Maste out. ok djm@ 44010fdf8faeSEd Maste 44020fdf8faeSEd Mastecommit 2d2c068de8d696fe3246f390b146197f51ea1e83 44030fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 44040fdf8faeSEd MasteDate: Sat Mar 30 05:56:22 2024 +0000 44050fdf8faeSEd Maste 44060fdf8faeSEd Maste upstream: in OpenSSH private key format, correct type for subsequent 44070fdf8faeSEd Maste 44080fdf8faeSEd Maste private keys in blob. From Jakub Jelen via GHPR430 44090fdf8faeSEd Maste 44100fdf8faeSEd Maste OpenBSD-Commit-ID: d17dbf47554de2d752061592f95b5d772baab50b 44110fdf8faeSEd Maste 44120fdf8faeSEd Mastecommit c2c0bdd3e96b3ef66d77fccb85ff4962dc76caf0 44130fdf8faeSEd MasteAuthor: Eero Häkkinen <Eero+git@xn--Hkkinen-5wa.fi> 44140fdf8faeSEd MasteDate: Sat Sep 16 00:55:08 2023 +0300 44150fdf8faeSEd Maste 44160fdf8faeSEd Maste Expose SSH_AUTH_INFO_0 always to PAM auth modules. 44170fdf8faeSEd Maste 44180fdf8faeSEd Maste This changes SSH_AUTH_INFO_0 to be exposed to PAM auth modules also 44190fdf8faeSEd Maste when a password authentication method is in use and not only 44200fdf8faeSEd Maste when a keyboard-interactive authentication method is in use. 44210fdf8faeSEd Maste 44220fdf8faeSEd Mastecommit 02c5ad23124ae801cf248d99ea5068fc4331ca01 44230fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 44240fdf8faeSEd MasteDate: Wed Mar 27 17:42:58 2024 +1100 44250fdf8faeSEd Maste 44260fdf8faeSEd Maste Rearrange selfhosted VM scheduling. 44270fdf8faeSEd Maste 44280fdf8faeSEd Maste Instead of trying to infer the type of the self hosted tests in each of 44290fdf8faeSEd Maste the driver scripts (inconsistently...), set one of the following 44300fdf8faeSEd Maste variables to "true" in the workflow: 44310fdf8faeSEd Maste 44320fdf8faeSEd Maste VM: tests run in a virtual machine. 44330fdf8faeSEd Maste EPHEMERAL: tests run on an ephemeral virtual machine. 44340fdf8faeSEd Maste PERSISTENT: tests run on a persistent virtual machine 44350fdf8faeSEd Maste REMOTE: tests run on a physical remote host. 44360fdf8faeSEd Maste 44370fdf8faeSEd Maste EPHEMERAL VMs can have multiple instances of any given VM can exist 44380fdf8faeSEd Maste simultaneously and are run by a runner pool. The other types have a 44390fdf8faeSEd Maste dedicated runner instance and can only run a single test at a time. 44400fdf8faeSEd Maste 44410fdf8faeSEd Maste Other settings: 44420fdf8faeSEd Maste SSHFS: We need to sshfs mount over the repo so the workflow can collect 44430fdf8faeSEd Maste build artifacts. This also implies the tests must be run over ssh. 44440fdf8faeSEd Maste DEBUG_ACTIONS: enable "set -x" in scripts for debugging. 44450fdf8faeSEd Maste 44460fdf8faeSEd Mastecommit cd8a72707c02615365d0851ac51063ab6bfe258f 44470fdf8faeSEd MasteAuthor: Damien Miller <djm@mindrot.org> 44480fdf8faeSEd MasteDate: Sat Mar 30 16:05:59 2024 +1100 44490fdf8faeSEd Maste 44500fdf8faeSEd Maste add new token-based signing key for dtucker@ 44510fdf8faeSEd Maste 44520fdf8faeSEd Maste Verified in person and via signature with old key. 44530fdf8faeSEd Maste Will remove old key in a bit. 44540fdf8faeSEd Maste 44550fdf8faeSEd Mastecommit 8d0e46c1ddb5b7f0992591b0dc5d8aaa77cc9dba 44560fdf8faeSEd MasteAuthor: Alkaid <zgf574564920@gmail.com> 44570fdf8faeSEd MasteDate: Tue Mar 12 03:59:12 2024 -0700 44580fdf8faeSEd Maste 44590fdf8faeSEd Maste Fix OpenSSL ED25519 support detection 44600fdf8faeSEd Maste 44610fdf8faeSEd Maste Wrong function signature in configure.ac prevents openssh from enabling 44620fdf8faeSEd Maste the recently new support for ED25519 priv keys in PEM PKCS8 format. 44630fdf8faeSEd Maste 44640fdf8faeSEd Mastecommit 697359be9c23ee43618243cdbcc9c7981e766752 44650fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 44660fdf8faeSEd MasteDate: Sat Mar 30 04:27:44 2024 +0000 44670fdf8faeSEd Maste 44680fdf8faeSEd Maste upstream: allow WAYLAND_DISPLAY to enable SSH_ASKPASS 44690fdf8faeSEd Maste 44700fdf8faeSEd Maste From dkg via GHPR479; ok dtucker@ 44710fdf8faeSEd Maste 44720fdf8faeSEd Maste OpenBSD-Commit-ID: 1ac1f9c45da44eabbae89375393c662349239257 44730fdf8faeSEd Maste 44740fdf8faeSEd Mastecommit 7844705b0364574cc70b941be72036c2c2966363 44750fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 44760fdf8faeSEd MasteDate: Fri Mar 29 10:40:07 2024 +0000 44770fdf8faeSEd Maste 44780fdf8faeSEd Maste upstream: Use egrep instead of grep -E. 44790fdf8faeSEd Maste 44800fdf8faeSEd Maste Some plaforms don't have the latter so this makes things easier 44810fdf8faeSEd Maste in -portable. 44820fdf8faeSEd Maste 44830fdf8faeSEd Maste OpenBSD-Regress-ID: ff82260eb0db1f11130200b25d820cf73753bbe3 44840fdf8faeSEd Maste 44850fdf8faeSEd Mastecommit 22b2b6c555334bffdf357a2e4aa74308b03b83c3 44860fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 44870fdf8faeSEd MasteDate: Tue Mar 26 08:09:16 2024 +0000 44880fdf8faeSEd Maste 44890fdf8faeSEd Maste upstream: test -h is the POSIXly way of testing for a symlink. Reduces 44900fdf8faeSEd Maste 44910fdf8faeSEd Maste diff vs Portable. 44920fdf8faeSEd Maste 44930fdf8faeSEd Maste OpenBSD-Regress-ID: 6f31cd6e231e3b8c5c2ca0307573ccb7484bff7d 44940fdf8faeSEd Maste 44950fdf8faeSEd Mastecommit edcff77f82c2bb2b5653b36f1e47274c5ef3e8be 44960fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 44970fdf8faeSEd MasteDate: Tue Mar 26 18:58:58 2024 +1100 44980fdf8faeSEd Maste 44990fdf8faeSEd Maste Fix name of OpenBSD upstream CI jobs. 45000fdf8faeSEd Maste 45010fdf8faeSEd Mastecommit 861b084429940e024f1b6e9c2779eac95d7a45db 45020fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 45030fdf8faeSEd MasteDate: Tue Mar 26 18:55:33 2024 +1100 45040fdf8faeSEd Maste 45050fdf8faeSEd Maste Resync with upstream: ${} around DATAFILE. 45060fdf8faeSEd Maste 45070fdf8faeSEd Mastecommit 63f248c7693e7f0a3b9a13d2980ac9a7e37f2aea 45080fdf8faeSEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 45090fdf8faeSEd MasteDate: Mon Mar 25 19:28:09 2024 +0000 45100fdf8faeSEd Maste 45110fdf8faeSEd Maste upstream: optional debugging 45120fdf8faeSEd Maste 45130fdf8faeSEd Maste OpenBSD-Regress-ID: b4852bf97ac8fb2e3530f2d5f999edd66058d7bc 45140fdf8faeSEd Maste 45150fdf8faeSEd Mastecommit 16e2ebe06a62f09d4877b769876d92d6008a896f 45160fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 45170fdf8faeSEd MasteDate: Mon Mar 25 06:05:42 2024 +0000 45180fdf8faeSEd Maste 45190fdf8faeSEd Maste upstream: Verify string returned from local shell command. 45200fdf8faeSEd Maste 45210fdf8faeSEd Maste OpenBSD-Regress-ID: 5039bde24d33d809aebfa8d3ad7fe9053224e6f8 45220fdf8faeSEd Maste 45230fdf8faeSEd Mastecommit b326f7a1f39ff31324cc3fe2735178fb474c04a4 45240fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 45250fdf8faeSEd MasteDate: Mon Mar 25 03:30:31 2024 +0000 45260fdf8faeSEd Maste 45270fdf8faeSEd Maste upstream: Improve shell portability: grep -q is not portable so 45280fdf8faeSEd Maste 45290fdf8faeSEd Maste redirect stdout, and use printf instead of relying on echo to do \n 45300fdf8faeSEd Maste substitution. Reduces diff vs Portable. 45310fdf8faeSEd Maste 45320fdf8faeSEd Maste Also resync somewhat with upstream. 45330fdf8faeSEd Maste 45340fdf8faeSEd Maste OpenBSD-Regress-ID: 9ae876a8ec4c4725f1e9820a0667360ee2398337 45350fdf8faeSEd Maste 45360fdf8faeSEd Mastecommit dbf2e319f0c582613fa45a735ea3c242ce56946b 45370fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 45380fdf8faeSEd MasteDate: Mon Mar 25 02:07:08 2024 +0000 45390fdf8faeSEd Maste 45400fdf8faeSEd Maste upstream: Save error code from SSH for use inside case statement, 45410fdf8faeSEd Maste 45420fdf8faeSEd Maste from portable. In some shells, "case" will reset the value of $?, so save it 45430fdf8faeSEd Maste first. 45440fdf8faeSEd Maste 45450fdf8faeSEd Maste OpenBSD-Regress-ID: da32e5be19299cb4f0f7de7f29c11257a62d6949 45460fdf8faeSEd Maste 45470fdf8faeSEd Mastecommit d2c8c4fa7def4fb057ed05b3db57b62c810a26f6 45480fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 45490fdf8faeSEd MasteDate: Mon Mar 25 01:40:47 2024 +0000 45500fdf8faeSEd Maste 45510fdf8faeSEd Maste upstream: Increase timeout. Resyncs with portable where some of 45520fdf8faeSEd Maste 45530fdf8faeSEd Maste the test VMs are slow enough for this to matter. 45540fdf8faeSEd Maste 45550fdf8faeSEd Maste OpenBSD-Regress-ID: 6a83a693602eb0312f06a4ad2cd6f40d99d24b26 45560fdf8faeSEd Maste 45570fdf8faeSEd Mastecommit 83621b63514a84791623db3efb59d38bc4bf9563 45580fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 45590fdf8faeSEd MasteDate: Mon Mar 25 01:28:29 2024 +0000 45600fdf8faeSEd Maste 45610fdf8faeSEd Maste upstream: In PuTTY interop test, don't assume the PuTTY major 45620fdf8faeSEd Maste 45630fdf8faeSEd Maste version is 0. Patch from cjwatson at debian.org via bz#3671. 45640fdf8faeSEd Maste 45650fdf8faeSEd Maste OpenBSD-Regress-ID: 835ed03c1b04ad46be82e674495521f11b840191 45660fdf8faeSEd Maste 45670fdf8faeSEd Mastecommit 8a421b927700f3834b4d985778e252b8e3299f83 45680fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 45690fdf8faeSEd MasteDate: Tue Mar 26 18:38:14 2024 +1100 45700fdf8faeSEd Maste 45710fdf8faeSEd Maste Really mkdir /usr/local/etc in CI tests. 45720fdf8faeSEd Maste 45730fdf8faeSEd Mastecommit 2946ed522c47ce045314533d426b4e379f745e59 45740fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 45750fdf8faeSEd MasteDate: Tue Mar 26 17:19:09 2024 +1100 45760fdf8faeSEd Maste 45770fdf8faeSEd Maste Better short name for OpenBSD upstream CI jobs too. 45780fdf8faeSEd Maste 45790fdf8faeSEd Mastecommit 18dbe8eff647aacb82d7e86b4ce63d5beee11f25 45800fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 45810fdf8faeSEd MasteDate: Tue Mar 26 17:13:52 2024 +1100 45820fdf8faeSEd Maste 45830fdf8faeSEd Maste Ensure /usr/local/etc exists before using in tests. 45840fdf8faeSEd Maste 45850fdf8faeSEd Mastecommit 5fc1085128e3348bb1b5ee4d955cc767b019b3ad 45860fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 45870fdf8faeSEd MasteDate: Tue Mar 26 16:50:46 2024 +1100 45880fdf8faeSEd Maste 45890fdf8faeSEd Maste Be more specific about when to rerun workflows. 45900fdf8faeSEd Maste 45910fdf8faeSEd Mastecommit 5516923e8ae3da0823fea0d7d28aa813627142c0 45920fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 45930fdf8faeSEd MasteDate: Tue Mar 26 16:35:27 2024 +1100 45940fdf8faeSEd Maste 45950fdf8faeSEd Maste Add short names for test jobs on github CI. 45960fdf8faeSEd Maste 45970fdf8faeSEd Mastecommit dc37d2d2470b4a9cedcee9ac926b7362214e3305 45980fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 45990fdf8faeSEd MasteDate: Tue Mar 26 16:26:14 2024 +1100 46000fdf8faeSEd Maste 46010fdf8faeSEd Maste If we're using xpg4's id, remember to pass args. 46020fdf8faeSEd Maste 46030fdf8faeSEd Mastecommit fe169487937780392b23d3ff3c00e5898c10f784 46040fdf8faeSEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 46050fdf8faeSEd MasteDate: Tue Mar 26 01:23:11 2024 +0000 46060fdf8faeSEd Maste 46070fdf8faeSEd Maste upstream: Import regenerated moduli. 46080fdf8faeSEd Maste 46090fdf8faeSEd Maste OpenBSD-Commit-ID: ad3d1486d105b008c93e952d158e5af4d9d4c531 46100fdf8faeSEd Maste 46110fdf8faeSEd Mastecommit 151146f03b490d19145cd421763aa7d42f5c50e2 46120fdf8faeSEd MasteAuthor: job@openbsd.org <job@openbsd.org> 46130fdf8faeSEd MasteDate: Thu Mar 14 06:23:14 2024 +0000 46140fdf8faeSEd Maste 46150fdf8faeSEd Maste upstream: Clarify how literal IPv6 addresses can be used in -J mode 46160fdf8faeSEd Maste 46170fdf8faeSEd Maste OK djm@ 46180fdf8faeSEd Maste 46190fdf8faeSEd Maste OpenBSD-Commit-ID: 524ddae97746b3563ad4a887dfd0a6e6ba114c50 46200fdf8faeSEd Maste 46210fdf8faeSEd Mastecommit 0d5bdc87a675271862b67eb6a9fb13a202fb4894 46220fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 46230fdf8faeSEd MasteDate: Mon Mar 25 16:14:21 2024 +1100 46240fdf8faeSEd Maste 46250fdf8faeSEd Maste Add Mac OS X 14 test targets. 46260fdf8faeSEd Maste 46270fdf8faeSEd Mastecommit 2d7964a03e1f50a48040ec6912c0a956df909d21 46280fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 46290fdf8faeSEd MasteDate: Mon Mar 25 14:05:40 2024 +1100 46300fdf8faeSEd Maste 46310fdf8faeSEd Maste Move xpg4 'id' handling into test-exec.sh. 46320fdf8faeSEd Maste 46330fdf8faeSEd Maste Handle replacement of 'id' the same way as we do other Portable specific 46340fdf8faeSEd Maste replacements in test-exec.sh. This brings percent.sh back into sync 46350fdf8faeSEd Maste with upstream. 46360fdf8faeSEd Maste 46370fdf8faeSEd Mastecommit 75d1d49ed10d978171cdafad28bdbffdbd48f41e 46380fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 46390fdf8faeSEd MasteDate: Mon Mar 25 10:38:03 2024 +1100 46400fdf8faeSEd Maste 46410fdf8faeSEd Maste Update branches shown on ci-status to 9.7 and 9.6. 46420fdf8faeSEd Maste 46430fdf8faeSEd Mastecommit f9193f03db0029fc9c31fbdb5c66a2737446bd8f 46440fdf8faeSEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 46450fdf8faeSEd MasteDate: Mon Mar 25 09:28:02 2024 +1100 46460fdf8faeSEd Maste 46470fdf8faeSEd Maste Improve detection of -fzero-call-used-regs=used. 46480fdf8faeSEd Maste 46490fdf8faeSEd Maste Should better detect problems with gcc 13 on m68k. bz#3673 from Colin 46500fdf8faeSEd Maste Watson via bz#3673 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934 46510fdf8faeSEd Maste 46520fdf8faeSEd Maste Signed-off-by: Darren Tucker <dtucker@dtucker.net> 46530fdf8faeSEd Maste 4654a91a2465SEd Mastecommit 86bdd3853f4d32c85e295e6216a2fe0953ad93f0 4655a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4656a91a2465SEd MasteDate: Mon Mar 11 16:20:49 2024 +1100 4657a91a2465SEd Maste 4658a91a2465SEd Maste version number in README 4659a91a2465SEd Maste 4660a91a2465SEd Mastecommit 282721418e6465bc39ccfd39bb0133e670ee4423 4661a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4662a91a2465SEd MasteDate: Mon Mar 11 16:20:08 2024 +1100 4663a91a2465SEd Maste 4664a91a2465SEd Maste crank RPM spec versions 4665a91a2465SEd Maste 4666a91a2465SEd Mastecommit 3876a3bbd2ca84d23ba20f8b69ba83270c04ce3a 4667a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4668a91a2465SEd MasteDate: Mon Mar 11 04:59:47 2024 +0000 4669a91a2465SEd Maste 4670a91a2465SEd Maste upstream: openssh-9.7 4671a91a2465SEd Maste 4672a91a2465SEd Maste OpenBSD-Commit-ID: 618ececf58b8cdae016b149787af06240f7b0cbc 4673a91a2465SEd Maste 4674a91a2465SEd Mastecommit 8fc109cc614954a8eb2738c48c0db36a62af9a06 4675a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4676a91a2465SEd MasteDate: Mon Mar 11 12:59:26 2024 +1100 4677a91a2465SEd Maste 4678a91a2465SEd Maste Test against current OpenSSL and LibreSSL releases. 4679a91a2465SEd Maste 4680a91a2465SEd Maste Add LibreSSL 3.9.0, bump older branches to their respective current 4681a91a2465SEd Maste releases. 4682a91a2465SEd Maste 4683a91a2465SEd Mastecommit 26b09b45fec7b88ba09042c09be4157e58e231e2 4684a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4685a91a2465SEd MasteDate: Sun Mar 10 16:24:57 2024 +1100 4686a91a2465SEd Maste 4687a91a2465SEd Maste quote regexes used to test for algorithm support 4688a91a2465SEd Maste 4689a91a2465SEd Maste Fixes test failures on Solaris 8 reported by Tom G. Christensen 4690a91a2465SEd Maste 4691a91a2465SEd Mastecommit a6a740a4948d10a622b505135bb485c10f21db5e 4692a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4693a91a2465SEd MasteDate: Sat Mar 9 05:12:13 2024 +0000 4694a91a2465SEd Maste 4695a91a2465SEd Maste upstream: avoid logging in signal handler by converting mainloop to 4696a91a2465SEd Maste 4697a91a2465SEd Maste ppoll() bz3670, reported by Ben Hamilton; ok dtucker@ 4698a91a2465SEd Maste 4699a91a2465SEd Maste OpenBSD-Commit-ID: e58f18042b86425405ca09e6e9d7dfa1df9f5f7f 4700a91a2465SEd Maste 4701a91a2465SEd Mastecommit cd82f7526e0481720567ae41db7849ab1c27e27b 4702a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4703a91a2465SEd MasteDate: Fri Mar 8 22:16:32 2024 +0000 4704a91a2465SEd Maste 4705a91a2465SEd Maste upstream: skip more whitespace, fixes find-principals on 4706a91a2465SEd Maste 4707a91a2465SEd Maste allowed_signers files with blank lines; reported by Wiktor Kwapisiewicz 4708a91a2465SEd Maste 4709a91a2465SEd Maste OpenBSD-Commit-ID: b3a22a2afd753d70766f34bc7f309c03706b5298 4710a91a2465SEd Maste 4711a91a2465SEd Mastecommit 2f9d2af5cb19905d87f37d1e11c9f035ac5daf3b 4712a91a2465SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 4713a91a2465SEd MasteDate: Fri Mar 8 11:34:10 2024 +0000 4714a91a2465SEd Maste 4715a91a2465SEd Maste upstream: Invoke ProxyCommand that uses stderr redirection via 4716a91a2465SEd Maste 4717a91a2465SEd Maste $TEST_SHELL. Fixes test when run by a user whose login shell is tcsh. 4718a91a2465SEd Maste Found by vinschen at redhat.com. 4719a91a2465SEd Maste 4720a91a2465SEd Maste OpenBSD-Regress-ID: f68d79e7f00caa8d216ebe00ee5f0adbb944062a 4721a91a2465SEd Maste 4722a91a2465SEd Mastecommit 9b3f0beb4007a7e01dfedabb429097fb593deae6 4723a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4724a91a2465SEd MasteDate: Thu Mar 7 17:18:14 2024 +1100 4725a91a2465SEd Maste 4726a91a2465SEd Maste Prefer openssl binary from --with-ssl-dir directory. 4727a91a2465SEd Maste 4728a91a2465SEd Maste Use openssl in the directory specified by --with-ssl-dir as long 4729a91a2465SEd Maste as it's functional. Reported by The Doctor. 4730a91a2465SEd Maste 4731a91a2465SEd Mastecommit c47e1c9c7911f38b2fc2fb01b1f6ae3a3121a838 4732a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4733a91a2465SEd MasteDate: Wed Mar 6 02:59:59 2024 +0000 4734a91a2465SEd Maste 4735a91a2465SEd Maste upstream: fix memory leak in mux proxy mode when requesting forwarding. 4736a91a2465SEd Maste 4737a91a2465SEd Maste found by RASU JSC, reported by Maks Mishin in GHPR#467 4738a91a2465SEd Maste 4739a91a2465SEd Maste OpenBSD-Commit-ID: 97d96a166b1ad4b8d229864a553e3e56d3116860 4740a91a2465SEd Maste 4741a91a2465SEd Mastecommit 242742827fea4508e68097c128e802edc79addb5 4742a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4743a91a2465SEd MasteDate: Wed Mar 6 00:31:04 2024 +0000 4744a91a2465SEd Maste 4745a91a2465SEd Maste upstream: wrap a few PKCS#11-specific bits in ENABLE_PKCS11 4746a91a2465SEd Maste 4747a91a2465SEd Maste OpenBSD-Commit-ID: 463e4a69eef3426a43a2b922c4e7b2011885d923 4748a91a2465SEd Maste 4749a91a2465SEd Mastecommit d52b6509210e2043f33e5a1de58dd4a0d5d48c2a 4750a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4751a91a2465SEd MasteDate: Wed Mar 6 11:31:36 2024 +1100 4752a91a2465SEd Maste 4753a91a2465SEd Maste disable RSA tests when algorithm is not supported 4754a91a2465SEd Maste 4755a91a2465SEd Maste Unbreaks "make test" when compiled --without-openssl. 4756a91a2465SEd Maste 4757a91a2465SEd Maste Similar treatment to how we do DSA and ECDSA. 4758a91a2465SEd Maste 4759a91a2465SEd Mastecommit 668d270a6c77e8b5a1da26ecad2e6de9f62c8fe4 4760a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4761a91a2465SEd MasteDate: Wed Mar 6 10:33:20 2024 +1100 4762a91a2465SEd Maste 4763a91a2465SEd Maste add a --without-retpoline configure option 4764a91a2465SEd Maste 4765a91a2465SEd Maste discussed with deraadt and dtucker a while ago 4766a91a2465SEd Maste 4767a91a2465SEd Mastecommit 3deb501f86fc47e175ef6a3eaba9b9846a80d444 4768a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4769a91a2465SEd MasteDate: Mon Mar 4 04:13:18 2024 +0000 4770a91a2465SEd Maste 4771a91a2465SEd Maste upstream: fix leak of CanonicalizePermittedCNAMEs on error path; 4772a91a2465SEd Maste 4773a91a2465SEd Maste spotted by Coverity (CID 438039) 4774a91a2465SEd Maste 4775a91a2465SEd Maste OpenBSD-Commit-ID: 208839699939721f452a4418afc028a9f9d3d8af 4776a91a2465SEd Maste 4777a91a2465SEd Mastecommit 65a44a8a4f7d902a64d4e60eda84384b2e2a24a2 4778a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4779a91a2465SEd MasteDate: Mon Mar 4 02:16:11 2024 +0000 4780a91a2465SEd Maste 4781a91a2465SEd Maste upstream: Separate parsing of string array options from applying them 4782a91a2465SEd Maste 4783a91a2465SEd Maste to the active configuration. This fixes the config parser from erroneously 4784a91a2465SEd Maste rejecting cases like: 4785a91a2465SEd Maste 4786a91a2465SEd Maste AuthenticationMethods password 4787a91a2465SEd Maste Match User ivy 4788a91a2465SEd Maste AuthenticationMethods any 4789a91a2465SEd Maste 4790a91a2465SEd Maste bz3657 ok markus@ 4791a91a2465SEd Maste 4792a91a2465SEd Maste OpenBSD-Commit-ID: 7f196cba634c2a3dba115f3fac3c4635a2199491 4793a91a2465SEd Maste 4794a91a2465SEd Mastecommit 6886e1b1f55c90942e4e6deed930f8ac32e0f938 4795a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4796a91a2465SEd MasteDate: Thu Feb 22 17:59:35 2024 +1100 4797a91a2465SEd Maste 4798a91a2465SEd Maste Add nbsd10 test target. 4799a91a2465SEd Maste 4800a91a2465SEd Mastecommit d86bf8a3f6ea4fa7887406c2aa9959db71fa41be 4801a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4802a91a2465SEd MasteDate: Thu Feb 22 12:06:10 2024 +1100 4803a91a2465SEd Maste 4804a91a2465SEd Maste more descriptive configure test name 4805a91a2465SEd Maste 4806a91a2465SEd Mastecommit 9ee335aacc9f5bdc4cc2c19fafb45e27be7d234e 4807a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4808a91a2465SEd MasteDate: Wed Feb 21 06:17:29 2024 +0000 4809a91a2465SEd Maste 4810a91a2465SEd Maste upstream: explain arguments of internal-sftp GHPR#454 from Niklas 4811a91a2465SEd Maste 4812a91a2465SEd Maste Hambüchen 4813a91a2465SEd Maste MIME-Version: 1.0 4814a91a2465SEd Maste Content-Type: text/plain; charset=UTF-8 4815a91a2465SEd Maste Content-Transfer-Encoding: 8bit 4816a91a2465SEd Maste 4817a91a2465SEd Maste OpenBSD-Commit-ID: 0335d641ae6b5b6201b9ffd5dd06345ebbd0a3f3 4818a91a2465SEd Maste 4819a91a2465SEd Mastecommit d1164cb1001dd208fee88aaa9b43d5e6fd917274 4820a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4821a91a2465SEd MasteDate: Wed Feb 21 06:06:43 2024 +0000 4822a91a2465SEd Maste 4823a91a2465SEd Maste upstream: clarify permissions requirements for ChrootDirectory Part 4824a91a2465SEd Maste 4825a91a2465SEd Maste of GHPR#454 from Niklas Hambüchen 4826a91a2465SEd Maste MIME-Version: 1.0 4827a91a2465SEd Maste Content-Type: text/plain; charset=UTF-8 4828a91a2465SEd Maste Content-Transfer-Encoding: 8bit 4829a91a2465SEd Maste 4830a91a2465SEd Maste OpenBSD-Commit-ID: d37bc8786317a11649c62ff5e2936441186ef7a0 4831a91a2465SEd Maste 4832a91a2465SEd Mastecommit d410e17d186552d0717f18217d0d049486754365 4833a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4834a91a2465SEd MasteDate: Wed Feb 21 06:05:06 2024 +0000 4835a91a2465SEd Maste 4836a91a2465SEd Maste upstream: .Cm for a keyword. Part of GHPR#454 from Niklas Hambüchen 4837a91a2465SEd Maste 4838a91a2465SEd Maste OpenBSD-Commit-ID: d59c52559f926fa82859035d79749fbb4a3ce18a 4839a91a2465SEd Maste 4840a91a2465SEd Mastecommit ab73f9678ebf06b32d6361b88b50b42775e0565b 4841a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4842a91a2465SEd MasteDate: Wed Feb 21 06:01:13 2024 +0000 4843a91a2465SEd Maste 4844a91a2465SEd Maste upstream: fix typo in match directive predicate (s/tagged/tag) GHPR#462 4845a91a2465SEd Maste 4846a91a2465SEd Maste from Tobias Manske 4847a91a2465SEd Maste 4848a91a2465SEd Maste OpenBSD-Commit-ID: 05b23b772677d48aa82eefd7ebebd369ae758908 4849a91a2465SEd Maste 4850a91a2465SEd Mastecommit 9844aa2521ccfb1a2d73745680327b79e0574445 4851a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4852a91a2465SEd MasteDate: Wed Feb 21 05:57:34 2024 +0000 4853a91a2465SEd Maste 4854a91a2465SEd Maste upstream: fix proxy multiplexing mode, broken when keystroke timing 4855a91a2465SEd Maste 4856a91a2465SEd Maste obfuscation was added. GHPR#463 from montag451 4857a91a2465SEd Maste 4858a91a2465SEd Maste OpenBSD-Commit-ID: 4e412d59b3f557d431f1d81c715a3bc0491cc677 4859a91a2465SEd Maste 4860a91a2465SEd Mastecommit ee6d932acb532f80b11bb7cf161668c70ec8a117 4861a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4862a91a2465SEd MasteDate: Tue Feb 20 04:10:03 2024 +0000 4863a91a2465SEd Maste 4864a91a2465SEd Maste upstream: don't append a gratuitous space to the end of subsystem 4865a91a2465SEd Maste 4866a91a2465SEd Maste arguments; bz3667 4867a91a2465SEd Maste 4868a91a2465SEd Maste OpenBSD-Commit-ID: e11023aeb3f30b77a674e37b8292c862926d5dc6 4869a91a2465SEd Maste 4870a91a2465SEd Mastecommit e27f032aa8fcbae9b2e7c451baaf4b8ac6fa3d45 4871a91a2465SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 4872a91a2465SEd MasteDate: Mon Feb 19 09:25:52 2024 +0000 4873a91a2465SEd Maste 4874a91a2465SEd Maste upstream: Always define puttysetup function. 4875a91a2465SEd Maste 4876a91a2465SEd Maste OpenBSD-Regress-ID: b4c0ccfa4006a1bc5dfd99ccf21c854d3ce2aee0 4877a91a2465SEd Maste 4878a91a2465SEd Mastecommit 84046f9991abef5f46b040b10cf3d494f933a17b 4879a91a2465SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 4880a91a2465SEd MasteDate: Fri Feb 9 08:56:59 2024 +0000 4881a91a2465SEd Maste 4882a91a2465SEd Maste upstream: Exapnd PuTTY test coverage. 4883a91a2465SEd Maste 4884a91a2465SEd Maste Expand the set of ciphers, MACs and KEX methods in the PuTTY interop 4885a91a2465SEd Maste tests. 4886a91a2465SEd Maste 4887a91a2465SEd Maste OpenBSD-Regress-ID: dd28d97d48efe7329a396d0d505ee2907bf7fc57 4888a91a2465SEd Maste 4889a91a2465SEd Mastecommit bbf541ee2afe07b08a8b56fa0dc6f38fcfceef2a 4890a91a2465SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 4891a91a2465SEd MasteDate: Fri Feb 9 08:47:42 2024 +0000 4892a91a2465SEd Maste 4893a91a2465SEd Maste upstream: Factor out PuTTY setup. 4894a91a2465SEd Maste 4895a91a2465SEd Maste Factor out PuTTY and call only when needed. 4896a91a2465SEd Maste 4897a91a2465SEd Maste This allows us to avoid PuTTY key setup when it's not needed, which 4898a91a2465SEd Maste speeds up the overall test run by a couple of percent. 4899a91a2465SEd Maste 4900a91a2465SEd Maste OpenBSD-Regress-ID: c25eaccc3c91bc874400f7c85ce40e9032358c1c 4901a91a2465SEd Maste 4902a91a2465SEd Mastecommit d31c21c57fb4245271680a1e5043cf6470a96766 4903a91a2465SEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 4904a91a2465SEd MasteDate: Sat Feb 10 11:28:52 2024 +0000 4905a91a2465SEd Maste 4906a91a2465SEd Maste upstream: clean sshd random relinking kit; ok miod@ 4907a91a2465SEd Maste 4908a91a2465SEd Maste OpenBSD-Commit-ID: 509bb19bb9762a4b3b589af98bac2e730541b6d4 4909a91a2465SEd Maste 4910a91a2465SEd Mastecommit 4dbc5a363ff53a2fcecf6bc3bcc038badc12f118 4911a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4912a91a2465SEd MasteDate: Fri Feb 2 00:13:34 2024 +0000 4913a91a2465SEd Maste 4914a91a2465SEd Maste upstream: whitespace 4915a91a2465SEd Maste 4916a91a2465SEd Maste OpenBSD-Commit-ID: b24680bc755b621ea801ff8edf6f0f02b68edae1 4917a91a2465SEd Maste 4918a91a2465SEd Mastecommit efde85dda2130272af24cc346f6c3cd326182ff1 4919a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4920a91a2465SEd MasteDate: Mon Feb 19 17:29:31 2024 +1100 4921a91a2465SEd Maste 4922a91a2465SEd Maste Improve error message for OpenSSL header check. 4923a91a2465SEd Maste 4924a91a2465SEd Maste bz#3668, ok djm@ 4925a91a2465SEd Maste 4926a91a2465SEd Mastecommit cbbdf868bce431a59e2fa36ca244d5739429408d 4927a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4928a91a2465SEd MasteDate: Wed Feb 7 13:45:02 2024 +1100 4929a91a2465SEd Maste 4930a91a2465SEd Maste Interop test against PuTTY snapshot and releases. 4931a91a2465SEd Maste 4932a91a2465SEd Mastecommit 91898bf786b0f149f962c4c96c08a46f29888c10 4933a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4934a91a2465SEd MasteDate: Tue Feb 6 16:21:05 2024 +1100 4935a91a2465SEd Maste 4936a91a2465SEd Maste Put privsep dir on OS X on /usr/local. 4937a91a2465SEd Maste 4938a91a2465SEd Maste On some runners we can't create /var/empty, so put it some place we can 4939a91a2465SEd Maste write. Should fix test breakage on Max OS X 11. 4940a91a2465SEd Maste 4941a91a2465SEd Mastecommit be5ed8ebed8388c5056bfde4688308cc873c18b9 4942a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4943a91a2465SEd MasteDate: Tue Feb 6 11:19:42 2024 +1100 4944a91a2465SEd Maste 4945a91a2465SEd Maste Add --disable-fd-passing option. 4946a91a2465SEd Maste 4947a91a2465SEd Maste .. and enable for the minix3 test VM. This will cause it to more reliably 4948a91a2465SEd Maste skip tests that need FD passing and should fix the current test breakage. 4949a91a2465SEd Maste 4950a91a2465SEd Mastecommit 0f6a8a0d0a518fd78c4cbebfdac990a57a1c4e41 4951a91a2465SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 4952a91a2465SEd MasteDate: Tue Feb 6 11:18:44 2024 +1100 4953a91a2465SEd Maste 4954a91a2465SEd Maste Use "skip" function instead doing it ourselves. 4955a91a2465SEd Maste 4956a91a2465SEd Mastecommit 3ad669f81aabbd2ba9fbd472903f680f598e1e99 4957a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4958a91a2465SEd MasteDate: Thu Feb 1 14:01:18 2024 +1100 4959a91a2465SEd Maste 4960a91a2465SEd Maste ignore some vim droppings 4961a91a2465SEd Maste 4962a91a2465SEd Mastecommit c283f29d23611a06bbee06bcf458f2fffad721d9 4963a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4964a91a2465SEd MasteDate: Thu Feb 1 02:37:33 2024 +0000 4965a91a2465SEd Maste 4966a91a2465SEd Maste upstream: whitespace 4967a91a2465SEd Maste 4968a91a2465SEd Maste OpenBSD-Commit-ID: bf9e4a1049562ee4322684fbdce07142f04fdbb7 4969a91a2465SEd Maste 4970a91a2465SEd Mastecommit 0d96b1506b2f4757fefa5d1f884d49e96a6fd4c3 4971a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 4972a91a2465SEd MasteDate: Tue Jan 16 14:40:18 2024 +1100 4973a91a2465SEd Maste 4974a91a2465SEd Maste skip tests that use multiplexing on Windows 4975a91a2465SEd Maste 4976a91a2465SEd Maste Some tests here use multiplexing, skip these if DISABLE_FD_PASSING 4977a91a2465SEd Maste is set. Should unbreak tests on Windows. 4978a91a2465SEd Maste 4979a91a2465SEd Mastecommit 50080fa42f5f744b798ee29400c0710f1b59f50e 4980a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4981a91a2465SEd MasteDate: Thu Jan 11 04:50:28 2024 +0000 4982a91a2465SEd Maste 4983a91a2465SEd Maste upstream: don't disable RSA test when DSA is disabled; bug introduced 4984a91a2465SEd Maste 4985a91a2465SEd Maste in last commit 4986a91a2465SEd Maste 4987a91a2465SEd Maste OpenBSD-Regress-ID: 8780a7250bf742b33010e9336359a1c516f2d7b5 4988a91a2465SEd Maste 4989a91a2465SEd Mastecommit 415c94ce17288e0cdcb9e58cc91fba78d33c8457 4990a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 4991a91a2465SEd MasteDate: Thu Jan 11 01:45:58 2024 +0000 4992a91a2465SEd Maste 4993a91a2465SEd Maste upstream: make DSA testing optional, defaulting to on 4994a91a2465SEd Maste 4995a91a2465SEd Maste ok markus 4996a91a2465SEd Maste 4997a91a2465SEd Maste OpenBSD-Regress-ID: dfc27b5574e3f19dc4043395594cea5f90b8572a 4998a91a2465SEd Maste 4999a91a2465SEd Mastecommit f9311e8921d92c5efca767227a497ab63280ac39 5000a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5001a91a2465SEd MasteDate: Thu Jan 11 01:51:16 2024 +0000 5002a91a2465SEd Maste 5003a91a2465SEd Maste upstream: ensure key_fd is filled when DSA is disabled; spotted by 5004a91a2465SEd Maste 5005a91a2465SEd Maste tb@ 5006a91a2465SEd Maste 5007a91a2465SEd Maste OpenBSD-Commit-ID: 9dd417b6eec3cf67e870f147464a8d93f076dce7 5008a91a2465SEd Maste 5009a91a2465SEd Mastecommit 4e838120a759d187b036036610402cbda33f3203 5010a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5011a91a2465SEd MasteDate: Thu Jan 11 01:45:36 2024 +0000 5012a91a2465SEd Maste 5013a91a2465SEd Maste upstream: make DSA key support compile-time optional, defaulting to 5014a91a2465SEd Maste 5015a91a2465SEd Maste on 5016a91a2465SEd Maste 5017a91a2465SEd Maste ok markus@ 5018a91a2465SEd Maste 5019a91a2465SEd Maste OpenBSD-Commit-ID: 4f8e98fc1fd6de399d0921d5b31b3127a03f581d 5020a91a2465SEd Maste 5021a91a2465SEd Mastecommit afcc9028bfc411bc26d20bba803b83f90cb84e26 5022a91a2465SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 5023a91a2465SEd MasteDate: Wed Jan 10 06:33:13 2024 +0000 5024a91a2465SEd Maste 5025a91a2465SEd Maste upstream: fix incorrect capitalisation; 5026a91a2465SEd Maste 5027a91a2465SEd Maste OpenBSD-Commit-ID: cb07eb06e15fa2334660ac73e98f29b6a1931984 5028a91a2465SEd Maste 5029a91a2465SEd Mastecommit 9707c8170c0c1baeb1e06e5a53f604498193885f 5030a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5031a91a2465SEd MasteDate: Tue Jan 9 22:19:36 2024 +0000 5032a91a2465SEd Maste 5033a91a2465SEd Maste upstream: extend ChannelTimeout regression test to exercise multiplexed 5034a91a2465SEd Maste 5035a91a2465SEd Maste connections and the new "global" timeout type. ok dtucker@ 5036a91a2465SEd Maste 5037a91a2465SEd Maste OpenBSD-Regress-ID: f10d19f697024e9941acad7c2057f73d6eacb8a2 5038a91a2465SEd Maste 5039a91a2465SEd Mastecommit b31b12d28de96e1d43581d32f34da8db27e11c03 5040a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5041a91a2465SEd MasteDate: Tue Jan 9 22:19:00 2024 +0000 5042a91a2465SEd Maste 5043a91a2465SEd Maste upstream: add a "global" ChannelTimeout type to ssh(1) and sshd(8) 5044a91a2465SEd Maste 5045a91a2465SEd Maste that watches all open channels and will close all open channels if there is 5046a91a2465SEd Maste no traffic on any of them for the specified interval. This is in addition to 5047a91a2465SEd Maste the existing per-channel timeouts added a few releases ago. 5048a91a2465SEd Maste 5049a91a2465SEd Maste This supports use-cases like having a session + x11 forwarding channel 5050a91a2465SEd Maste open where one may be idle for an extended period but the other is 5051a91a2465SEd Maste actively used. The global timeout would allow closing both channels when 5052a91a2465SEd Maste both have been idle for too long. 5053a91a2465SEd Maste 5054a91a2465SEd Maste ok dtucker@ 5055a91a2465SEd Maste 5056a91a2465SEd Maste OpenBSD-Commit-ID: 0054157d24d2eaa5dc1a9a9859afefc13d1d7eb3 5057a91a2465SEd Maste 5058a91a2465SEd Mastecommit 602f4beeeda5bb0eca181f8753d923a2997d0a51 5059a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5060a91a2465SEd MasteDate: Tue Jan 9 21:39:14 2024 +0000 5061a91a2465SEd Maste 5062a91a2465SEd Maste upstream: adapt ssh_api.c code for kex-strict 5063a91a2465SEd Maste 5064a91a2465SEd Maste from markus@ ok me 5065a91a2465SEd Maste 5066a91a2465SEd Maste OpenBSD-Commit-ID: 4d9f256852af2a5b882b12cae9447f8f00f933ac 5067a91a2465SEd Maste 5068a91a2465SEd Mastecommit 42ba34aba8708cf96583ff52975d95a8b47d990d 5069a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5070a91a2465SEd MasteDate: Mon Jan 8 16:26:37 2024 +1100 5071a91a2465SEd Maste 5072a91a2465SEd Maste nite that recent OSX tun/tap is unsupported 5073a91a2465SEd Maste 5074a91a2465SEd Mastecommit 690bc125f9a3b20e47745fa8f5b5e1fd5820247f 5075a91a2465SEd MasteAuthor: Sevan Janiyan <venture37@geeklan.co.uk> 5076a91a2465SEd MasteDate: Wed Dec 27 04:57:49 2023 +0000 5077a91a2465SEd Maste 5078a91a2465SEd Maste README.platform: update tuntap url 5079a91a2465SEd Maste 5080a91a2465SEd Mastecommit 6b8be2ccd7dd091808f86af52066b0c2ec30483a 5081a91a2465SEd MasteAuthor: Rose <83477269+AtariDreams@users.noreply.github.com> 5082a91a2465SEd MasteDate: Tue Dec 19 11:48:20 2023 -0500 5083a91a2465SEd Maste 5084a91a2465SEd Maste Fix compilation error in ssh-pcks11-client.c 5085a91a2465SEd Maste 5086a91a2465SEd Maste Compilation fails becaus of an undefined reference to helper_by_ec, 5087a91a2465SEd Maste because we forgot the preprocessor conditional that excludes that function 5088a91a2465SEd Maste from being called in unsupported configurations. 5089a91a2465SEd Maste 5090a91a2465SEd Mastecommit 219c8134157744886ee6ac5b8c1650abcd981f4c 5091a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5092a91a2465SEd MasteDate: Mon Jan 8 05:11:18 2024 +0000 5093a91a2465SEd Maste 5094a91a2465SEd Maste upstream: Remove outdated note from PROTOCOL.mux 5095a91a2465SEd Maste 5096a91a2465SEd Maste Port forward close by control master is already implemented 5097a91a2465SEd Maste by `mux_master_process_close_fwd` in `mux.c` 5098a91a2465SEd Maste 5099a91a2465SEd Maste GHPR442 from bigb4ng 5100a91a2465SEd Maste 5101a91a2465SEd Maste OpenBSD-Commit-ID: ad0734fe5916d2dc7dd02b588906cea4df0482fb 5102a91a2465SEd Maste 5103a91a2465SEd Mastecommit 4c3cf362631ccc4ffd422e572f075d5d594feace 5104a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5105a91a2465SEd MasteDate: Mon Jan 8 05:05:15 2024 +0000 5106a91a2465SEd Maste 5107a91a2465SEd Maste upstream: fix missing field in users-groups-by-id@openssh.com reply 5108a91a2465SEd Maste 5109a91a2465SEd Maste documentation 5110a91a2465SEd Maste 5111a91a2465SEd Maste GHPR441 from TJ Saunders 5112a91a2465SEd Maste 5113a91a2465SEd Maste OpenBSD-Commit-ID: ff5733ff6ef4cd24e0758ebeed557aa91184c674 5114a91a2465SEd Maste 5115a91a2465SEd Mastecommit f64cede2a3c298b50a2659a8b53eb3ab2c0b8d23 5116a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5117a91a2465SEd MasteDate: Mon Jan 8 04:10:03 2024 +0000 5118a91a2465SEd Maste 5119a91a2465SEd Maste upstream: make kex-strict section more explicit about its intent: 5120a91a2465SEd Maste 5121a91a2465SEd Maste banning all messages not strictly required in KEX 5122a91a2465SEd Maste 5123a91a2465SEd Maste OpenBSD-Commit-ID: fc33a2d7f3b7013a7fb7500bdbaa8254ebc88116 5124a91a2465SEd Maste 5125a91a2465SEd Mastecommit 698fe6fd61cbcb8e3e0e874a561d4335a49fbde5 5126a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5127a91a2465SEd MasteDate: Mon Jan 8 14:46:19 2024 +1100 5128a91a2465SEd Maste 5129a91a2465SEd Maste update fuzzer example makefile to clang16 5130a91a2465SEd Maste 5131a91a2465SEd Mastecommit fc332cb2d602c60983a8ec9f89412754ace06425 5132a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5133a91a2465SEd MasteDate: Mon Jan 8 14:45:49 2024 +1100 5134a91a2465SEd Maste 5135a91a2465SEd Maste unbreak fuzzers - missing pkcs11_make_cert() 5136a91a2465SEd Maste 5137a91a2465SEd Maste provide stub for use in fuzzer harness 5138a91a2465SEd Maste 5139a91a2465SEd Mastecommit 9ea0a4524ae3276546248a926b6641b2fbc8421b 5140a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5141a91a2465SEd MasteDate: Mon Jan 8 14:45:14 2024 +1100 5142a91a2465SEd Maste 5143a91a2465SEd Maste unbreak fuzzers for clang16 5144a91a2465SEd Maste 5145a91a2465SEd Maste getopt() needs a throw() attribute to compile, so supply one when compiling 5146a91a2465SEd Maste things with C++ 5147a91a2465SEd Maste 5148a91a2465SEd Mastecommit a72833d00788ef91100c643536ac08ada46440e1 5149a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5150a91a2465SEd MasteDate: Mon Jan 8 00:34:33 2024 +0000 5151a91a2465SEd Maste 5152a91a2465SEd Maste upstream: remove ext-info-* in the kex.c code, not in callers; 5153a91a2465SEd Maste 5154a91a2465SEd Maste with/ok markus@ 5155a91a2465SEd Maste 5156a91a2465SEd Maste OpenBSD-Commit-ID: c06fe2d3a0605c517ff7d65e38ec7b2d1b0b2799 5157a91a2465SEd Maste 5158a91a2465SEd Mastecommit 86f9e96d9bcfd1f5cd4bf8fb57a9b4c242df67df 5159a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5160a91a2465SEd MasteDate: Mon Jan 8 00:30:39 2024 +0000 5161a91a2465SEd Maste 5162a91a2465SEd Maste upstream: fix typo; spotted by Albert Chin 5163a91a2465SEd Maste 5164a91a2465SEd Maste OpenBSD-Commit-ID: 77140b520a43375b886e535eb8bd842a268f9368 5165a91a2465SEd Maste 5166a91a2465SEd Mastecommit f0cbd26ec91bd49719fb3eea7ca44d2380318b9a 5167a91a2465SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5168a91a2465SEd MasteDate: Thu Jan 4 09:51:49 2024 +0000 5169a91a2465SEd Maste 5170a91a2465SEd Maste upstream: Import regenerated moduli. 5171a91a2465SEd Maste 5172a91a2465SEd Maste OpenBSD-Commit-ID: 5a636f6ca7f25bfe775df4952f7aac90a7fcbbee 5173a91a2465SEd Maste 5174a91a2465SEd Mastecommit 64ddf776531ca4933832beecc8b7ebe1b937e081 5175a91a2465SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 5176a91a2465SEd MasteDate: Wed Dec 20 00:06:25 2023 +0000 5177a91a2465SEd Maste 5178a91a2465SEd Maste upstream: spelling; ok markus@ 5179a91a2465SEd Maste 5180a91a2465SEd Maste OpenBSD-Commit-ID: 9d01f2e9d59a999d5d42fc3b3efcf8dfb892e31b 5181a91a2465SEd Maste 5182a91a2465SEd Mastecommit 503fbe9ea238a4637e8778208bde8c09bcf78475 5183a91a2465SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 5184a91a2465SEd MasteDate: Tue Dec 19 06:57:34 2023 +0000 5185a91a2465SEd Maste 5186a91a2465SEd Maste upstream: sort -C, and add to usage(); ok djm 5187a91a2465SEd Maste 5188a91a2465SEd Maste OpenBSD-Commit-ID: 80141b2a5d60c8593e3c65ca3c53c431262c812f 5189a91a2465SEd Maste 5190a91a2465SEd Mastecommit 5413b1c7ff5a19c6a7d44bd98c5a83eb47819ba6 5191a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5192a91a2465SEd MasteDate: Tue Dec 19 06:41:14 2023 +0000 5193a91a2465SEd Maste 5194a91a2465SEd Maste upstream: correct section numbers; from Ed Maste 5195a91a2465SEd Maste 5196a91a2465SEd Maste OpenBSD-Commit-ID: e289576ee5651528404cb2fb68945556052cf83f 5197a91a2465SEd Maste 5198a91a2465SEd Mastecommit 430ef864645cff83a4022f5b050174c840e275da 5199a91a2465SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5200a91a2465SEd MasteDate: Mon Dec 18 15:58:56 2023 +0000 5201a91a2465SEd Maste 5202a91a2465SEd Maste upstream: match flag type (s/int/u_int) 5203a91a2465SEd Maste 5204a91a2465SEd Maste OpenBSD-Commit-ID: 9422289747c35ccb7b31d0e1888ccd5e74ad566a 5205a91a2465SEd Maste 5206a91a2465SEd Mastecommit 1036d77b34a5fa15e56f516b81b9928006848cbd 5207a91a2465SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5208a91a2465SEd MasteDate: Fri Dec 22 17:56:26 2023 +1100 5209a91a2465SEd Maste 5210a91a2465SEd Maste better detection of broken -fzero-call-used-regs 5211a91a2465SEd Maste 5212a91a2465SEd Maste gcc 13.2.0 on ppc64le refuses to compile some function, including 5213a91a2465SEd Maste cipher.c:compression_alg_list() with an error: 5214a91a2465SEd Maste 5215a91a2465SEd Maste > sorry, unimplemented: argument ‘used’ is not supportedcw 5216a91a2465SEd Maste > for ‘-fzero-call-used-regs’ on this target 5217a91a2465SEd Maste 5218a91a2465SEd Maste This extends the autoconf will-it-work test with a similarly- 5219a91a2465SEd Maste structured function that seems to catch this. 5220a91a2465SEd Maste 5221a91a2465SEd Maste Spotted/tested by Colin Watson; bz3645 5222a91a2465SEd Maste 5223069ac184SEd Mastecommit 8241b9c0529228b4b86d88b1a6076fb9f97e4a99 5224069ac184SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5225069ac184SEd MasteDate: Tue Dec 19 01:59:50 2023 +1100 5226069ac184SEd Maste 5227069ac184SEd Maste crank versions 5228069ac184SEd Maste 5229069ac184SEd Mastecommit 2f2c65cb5f1518a9c556d3e8efa27ea0ca305c6b 5230069ac184SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5231069ac184SEd MasteDate: Tue Dec 19 01:59:06 2023 +1100 5232069ac184SEd Maste 5233069ac184SEd Maste depend 5234069ac184SEd Maste 5235069ac184SEd Mastecommit e48cdee8e19059203b1aeeabec2350b8375fa61f 5236069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5237069ac184SEd MasteDate: Mon Dec 18 14:50:08 2023 +0000 5238069ac184SEd Maste 5239069ac184SEd Maste upstream: regress test for agent PKCS#11-backed certificates 5240069ac184SEd Maste 5241069ac184SEd Maste OpenBSD-Regress-ID: 38f681777cb944a8cc3bf9d0ad62959a16764df9 5242069ac184SEd Maste 5243069ac184SEd Mastecommit 2f512f862df1d5f456f82a0334c9e8cc7208a2a1 5244069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5245069ac184SEd MasteDate: Mon Dec 18 14:49:39 2023 +0000 5246069ac184SEd Maste 5247069ac184SEd Maste upstream: regress test for constrained PKCS#11 keys 5248069ac184SEd Maste 5249069ac184SEd Maste OpenBSD-Regress-ID: b2f26ae95d609d12257b43aef7cd7714c82618ff 5250069ac184SEd Maste 5251069ac184SEd Mastecommit cdddd66412ca5920ed4d3ebbfa6ace12dbd9b82f 5252069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5253069ac184SEd MasteDate: Mon Dec 18 14:48:44 2023 +0000 5254069ac184SEd Maste 5255069ac184SEd Maste upstream: openssh-9.6 5256069ac184SEd Maste 5257069ac184SEd Maste OpenBSD-Commit-ID: 21759837cf0e0092d9a2079f8fb562071c11016b 5258069ac184SEd Maste 5259069ac184SEd Mastecommit 6d51feab157cedf1e7ef5b3f8781ca8ff9c4ab1b 5260069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5261069ac184SEd MasteDate: Mon Dec 18 14:48:08 2023 +0000 5262069ac184SEd Maste 5263069ac184SEd Maste upstream: ssh-agent: record failed session-bind attempts 5264069ac184SEd Maste 5265069ac184SEd Maste Record failed attempts to session-bind a connection and refuse signing 5266069ac184SEd Maste operations on that connection henceforth. 5267069ac184SEd Maste 5268069ac184SEd Maste Prevents a future situation where we add a new hostkey type that is not 5269069ac184SEd Maste recognised by an older ssh-agent, that consequently causes session-bind 5270069ac184SEd Maste to fail (this situation is only likely to arise when people mix ssh(1) 5271069ac184SEd Maste and ssh-agent(1) of different versions on the same host). Previously, 5272069ac184SEd Maste after such a failure the agent socket would be considered unbound and 5273069ac184SEd Maste not subject to restriction. 5274069ac184SEd Maste 5275069ac184SEd Maste Spotted by Jann Horn 5276069ac184SEd Maste 5277069ac184SEd Maste OpenBSD-Commit-ID: b0fdd023e920aa4831413f640de4c5307b53552e 5278069ac184SEd Maste 5279069ac184SEd Mastecommit 7ef3787c84b6b524501211b11a26c742f829af1a 5280069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5281069ac184SEd MasteDate: Mon Dec 18 14:47:44 2023 +0000 5282069ac184SEd Maste 5283069ac184SEd Maste upstream: ban user/hostnames with most shell metacharacters 5284069ac184SEd Maste 5285069ac184SEd Maste This makes ssh(1) refuse user or host names provided on the 5286069ac184SEd Maste commandline that contain most shell metacharacters. 5287069ac184SEd Maste 5288069ac184SEd Maste Some programs that invoke ssh(1) using untrusted data do not filter 5289069ac184SEd Maste metacharacters in arguments they supply. This could create 5290069ac184SEd Maste interactions with user-specified ProxyCommand and other directives 5291069ac184SEd Maste that allow shell injection attacks to occur. 5292069ac184SEd Maste 5293069ac184SEd Maste It's a mistake to invoke ssh(1) with arbitrary untrusted arguments, 5294069ac184SEd Maste but getting this stuff right can be tricky, so this should prevent 5295069ac184SEd Maste most obvious ways of creating risky situations. It however is not 5296069ac184SEd Maste and cannot be perfect: ssh(1) has no practical way of interpreting 5297069ac184SEd Maste what shell quoting rules are in use and how they interact with the 5298069ac184SEd Maste user's specified ProxyCommand. 5299069ac184SEd Maste 5300069ac184SEd Maste To allow configurations that use strange user or hostnames to 5301069ac184SEd Maste continue to work, this strictness is applied only to names coming 5302069ac184SEd Maste from the commandline. Names specified using User or Hostname 5303069ac184SEd Maste directives in ssh_config(5) are not affected. 5304069ac184SEd Maste 5305069ac184SEd Maste feedback/ok millert@ markus@ dtucker@ deraadt@ 5306069ac184SEd Maste 5307069ac184SEd Maste OpenBSD-Commit-ID: 3b487348b5964f3e77b6b4d3da4c3b439e94b2d9 5308069ac184SEd Maste 5309069ac184SEd Mastecommit 0cb50eefdd29f0fec31d0e71cc4b004a5f704e67 5310069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5311069ac184SEd MasteDate: Mon Dec 18 14:47:20 2023 +0000 5312069ac184SEd Maste 5313069ac184SEd Maste upstream: stricter handling of channel window limits 5314069ac184SEd Maste 5315069ac184SEd Maste This makes ssh/sshd more strict in handling non-compliant peers that 5316069ac184SEd Maste send more data than the advertised channel window allows. Previously 5317069ac184SEd Maste the additional data would be silently discarded. This change will 5318069ac184SEd Maste cause ssh/sshd to terminate the connection if the channel window is 5319069ac184SEd Maste exceeded by more than a small grace allowance. 5320069ac184SEd Maste 5321069ac184SEd Maste ok markus@ 5322069ac184SEd Maste 5323069ac184SEd Maste OpenBSD-Commit-ID: 811e21b41831eba3dd7f67b3d409a438f20d3037 5324069ac184SEd Maste 5325069ac184SEd Mastecommit 4448a2938abc76e6bd33ba09b2ec17a216dfb491 5326069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5327069ac184SEd MasteDate: Mon Dec 18 14:46:56 2023 +0000 5328069ac184SEd Maste 5329069ac184SEd Maste upstream: Make it possible to load certs from PKCS#11 tokens 5330069ac184SEd Maste 5331069ac184SEd Maste Adds a protocol extension to allow grafting certificates supplied by 5332069ac184SEd Maste ssh-add to keys loaded from PKCS#11 tokens in the agent. 5333069ac184SEd Maste 5334069ac184SEd Maste feedback/ok markus@ 5335069ac184SEd Maste 5336069ac184SEd Maste OpenBSD-Commit-ID: bb5433cd28ede2bc910996eb3c0b53e20f86037f 5337069ac184SEd Maste 5338069ac184SEd Mastecommit 881d9c6af9da4257c69c327c4e2f1508b2fa754b 5339069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5340069ac184SEd MasteDate: Mon Dec 18 14:46:12 2023 +0000 5341069ac184SEd Maste 5342069ac184SEd Maste upstream: apply destination constraints to all p11 keys 5343069ac184SEd Maste 5344069ac184SEd Maste Previously applied only to the first key returned from each token. 5345069ac184SEd Maste 5346069ac184SEd Maste ok markus@ 5347069ac184SEd Maste 5348069ac184SEd Maste OpenBSD-Commit-ID: 36df3afb8eb94eec6b2541f063d0d164ef8b488d 5349069ac184SEd Maste 5350069ac184SEd Mastecommit a7ed931caeb68947d30af8a795f4108b6efad761 5351069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5352069ac184SEd MasteDate: Mon Dec 18 14:45:49 2023 +0000 5353069ac184SEd Maste 5354069ac184SEd Maste upstream: add "ext-info-in-auth@openssh.com" extension 5355069ac184SEd Maste 5356069ac184SEd Maste This adds another transport protocol extension to allow a sshd to send 5357069ac184SEd Maste SSH2_MSG_EXT_INFO during user authentication, after the server has 5358069ac184SEd Maste learned the username that is being logged in to. 5359069ac184SEd Maste 5360069ac184SEd Maste This lets sshd to update the acceptable signature algoritms for public 5361069ac184SEd Maste key authentication, and allows these to be varied via sshd_config(5) 5362069ac184SEd Maste "Match" directives, which are evaluated after the server learns the 5363069ac184SEd Maste username being authenticated. 5364069ac184SEd Maste 5365069ac184SEd Maste Full details in the PROTOCOL file 5366069ac184SEd Maste 5367069ac184SEd Maste OpenBSD-Commit-ID: 1de7da7f2b6c32a46043d75fcd49b0cbb7db7779 5368069ac184SEd Maste 5369069ac184SEd Mastecommit 1edb00c58f8a6875fad6a497aa2bacf37f9e6cd5 5370069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5371069ac184SEd MasteDate: Mon Dec 18 14:45:17 2023 +0000 5372069ac184SEd Maste 5373069ac184SEd Maste upstream: implement "strict key exchange" in ssh and sshd 5374069ac184SEd Maste 5375069ac184SEd Maste This adds a protocol extension to improve the integrity of the SSH 5376069ac184SEd Maste transport protocol, particular in and around the initial key exchange 5377069ac184SEd Maste (KEX) phase. 5378069ac184SEd Maste 5379069ac184SEd Maste Full details of the extension are in the PROTOCOL file. 5380069ac184SEd Maste 5381069ac184SEd Maste with markus@ 5382069ac184SEd Maste 5383069ac184SEd Maste OpenBSD-Commit-ID: 2a66ac962f0a630d7945fee54004ed9e9c439f14 5384069ac184SEd Maste 5385069ac184SEd Mastecommit 59d691b886c79e70b1d1c4ab744e81fd176222fd 5386069ac184SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5387069ac184SEd MasteDate: Mon Dec 18 14:49:11 2023 +1100 5388069ac184SEd Maste 5389069ac184SEd Maste better detection of broken -fzero-call-used-regs 5390069ac184SEd Maste 5391069ac184SEd Maste Use OSSH_CHECK_CFLAG_LINK() for detection of these flags and extend 5392069ac184SEd Maste test program to exercise varargs, which seems to catch more stuff. 5393069ac184SEd Maste 5394069ac184SEd Maste ok dtucker@ 5395069ac184SEd Maste 5396069ac184SEd Mastecommit aa7b21708511a6d4aed3839fc9f6e82e849dd4a1 5397069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5398069ac184SEd MasteDate: Wed Dec 13 03:28:19 2023 +0000 5399069ac184SEd Maste 5400069ac184SEd Maste upstream: when invoking KnownHostsCommand to determine the order of 5401069ac184SEd Maste 5402069ac184SEd Maste host key algorithms to request, ensure that the hostname passed to the 5403069ac184SEd Maste command is decorated with the port number for ports other than 22. 5404069ac184SEd Maste 5405069ac184SEd Maste This matches the behaviour of KnownHostsCommand when invoked to look 5406069ac184SEd Maste up the actual host key. 5407069ac184SEd Maste 5408069ac184SEd Maste bz3643, ok dtucker@ 5409069ac184SEd Maste 5410069ac184SEd Maste OpenBSD-Commit-ID: 5cfabc0b7c6c7ab473666df314f377b1f15420b1 5411069ac184SEd Maste 5412069ac184SEd Mastecommit 4086bd6652c0badccc020218a62190a7798fb72c 5413069ac184SEd MasteAuthor: markus@openbsd.org <markus@openbsd.org> 5414069ac184SEd MasteDate: Fri Dec 8 09:18:39 2023 +0000 5415069ac184SEd Maste 5416069ac184SEd Maste upstream: prevent leak in sshsig_match_principals; ok djm@ 5417069ac184SEd Maste 5418069ac184SEd Maste OpenBSD-Commit-ID: 594f61ad4819ff5c72dfe99ba666a17f0e1030ae 5419069ac184SEd Maste 5420069ac184SEd Mastecommit 19d3ee2f3adf7d9a606ff015c1e153744702c4c9 5421069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5422069ac184SEd MasteDate: Wed Dec 6 21:06:48 2023 +0000 5423069ac184SEd Maste 5424069ac184SEd Maste upstream: short circuit debug log processing early if we're not going 5425069ac184SEd Maste 5426069ac184SEd Maste to log anything. From Kobe Housen 5427069ac184SEd Maste 5428069ac184SEd Maste OpenBSD-Commit-ID: 2bcddd695872a1bef137cfff7823044dcded90ea 5429069ac184SEd Maste 5430069ac184SEd Mastecommit 947affad4831df015c498c00c6351ea6f13895d5 5431069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5432069ac184SEd MasteDate: Mon Nov 27 09:37:28 2023 +1100 5433069ac184SEd Maste 5434069ac184SEd Maste Add tests for OpenSSL 3.2.0 and 3.2 stable branch. 5435069ac184SEd Maste 5436069ac184SEd Mastecommit 747dce36206675ca6b885010a835733df469351b 5437069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5438069ac184SEd MasteDate: Sat Nov 25 09:03:38 2023 +1100 5439069ac184SEd Maste 5440069ac184SEd Maste Use non-zero arg in compiler test program. 5441069ac184SEd Maste 5442069ac184SEd Maste Now that we're running the test program, passing zero to the test function 5443069ac184SEd Maste can cause divide-by-zero exceptions which might show up in logs. 5444069ac184SEd Maste 5445069ac184SEd Mastecommit 3d44a5c56585d1c351dbc006240a591b6da502b1 5446069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5447069ac184SEd MasteDate: Fri Nov 24 00:31:30 2023 +0000 5448069ac184SEd Maste 5449069ac184SEd Maste upstream: Plug mem leak of msg when processing a quit message. 5450069ac184SEd Maste 5451069ac184SEd Maste Coverity CID#427852, ok djm@ 5452069ac184SEd Maste 5453069ac184SEd Maste OpenBSD-Commit-ID: bf85362addbe2134c3d8c4b80f16601fbff823b7 5454069ac184SEd Maste 5455069ac184SEd Mastecommit 1d7f9b6e297877bd00973e6dc5c0642dbefc3b5f 5456069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5457069ac184SEd MasteDate: Thu Nov 23 03:37:05 2023 +0000 5458069ac184SEd Maste 5459069ac184SEd Maste upstream: Include existing mux path in debug message. 5460069ac184SEd Maste 5461069ac184SEd Maste OpenBSD-Commit-ID: 1c3641be10c2f4fbad2a1b088a441d072e18bf16 5462069ac184SEd Maste 5463069ac184SEd Mastecommit f29934066bd0e561a2e516b7e584fb92d2eedee0 5464069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5465069ac184SEd MasteDate: Thu Nov 23 19:41:27 2023 +1100 5466069ac184SEd Maste 5467069ac184SEd Maste Add an Ubuntu 22.04 test VM. 5468069ac184SEd Maste 5469069ac184SEd Maste This is the same version as Github's runners so most of the testing on 5470069ac184SEd Maste it is over there, but having a local VM makes debugging much easier. 5471069ac184SEd Maste 5472069ac184SEd Mastecommit a93284a780cd3972afe5f89086b75d564ba157f3 5473069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5474069ac184SEd MasteDate: Thu Nov 23 19:36:22 2023 +1100 5475069ac184SEd Maste 5476069ac184SEd Maste Add gcc-12 -Werror test on Ubuntu 22.04. 5477069ac184SEd Maste 5478069ac184SEd Maste Explictly specify gcc-11 on Ubuntu 22.04 (it's the system compiler). 5479069ac184SEd Maste 5480069ac184SEd Mastecommit 670f5a647e98b6fd95ad64f789f87ee3274b481b 5481069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5482069ac184SEd MasteDate: Thu Nov 23 19:34:57 2023 +1100 5483069ac184SEd Maste 5484069ac184SEd Maste Check return value from write to prevent warning. 5485069ac184SEd Maste 5486069ac184SEd Maste ... and since we're testing for flags with -Werror, this caused 5487069ac184SEd Maste configure to mis-detect compiler flags. 5488069ac184SEd Maste 5489069ac184SEd Mastecommit cea007d691cfedfa07a5b8599f97ce0511f53fc9 5490069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5491069ac184SEd MasteDate: Wed Nov 22 21:18:55 2023 +1100 5492069ac184SEd Maste 5493069ac184SEd Maste Run compiler test program when compiling natively. 5494069ac184SEd Maste 5495069ac184SEd Maste ok djm@ 5496069ac184SEd Maste 5497069ac184SEd Mastecommit ee0d305828f13536c0a416bbf9c3e81039d9ea55 5498069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5499069ac184SEd MasteDate: Wed Nov 22 21:18:07 2023 +1100 5500069ac184SEd Maste 5501069ac184SEd Maste Factor out compiler test program into a macro. 5502069ac184SEd Maste 5503069ac184SEd Maste ok djm@ 5504069ac184SEd Maste 5505069ac184SEd Mastecommit de304c76316b029df460673725a9104224b9959b 5506069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5507069ac184SEd MasteDate: Wed Nov 22 08:55:36 2023 +1100 5508069ac184SEd Maste 5509069ac184SEd Maste Add fbsd14 VM to test pool. 5510069ac184SEd Maste 5511069ac184SEd Mastecommit 99a2df5e1994cdcb44ba2187b5f34d0e9190be91 5512069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5513069ac184SEd MasteDate: Tue Nov 21 16:19:29 2023 +1100 5514069ac184SEd Maste 5515069ac184SEd Maste Expand -fzero-call-used-regs test to cover gcc 11. 5516069ac184SEd Maste 5517069ac184SEd Maste It turns out that gcc also has some problems with -fzero-call-used-regs, 5518069ac184SEd Maste at least v11 on mips. Previously the test in OSSH_CHECK_CFLAG_COMPILE 5519069ac184SEd Maste was sufficient to catch it with "=all", but not sufficient for "=used". 5520069ac184SEd Maste Expand the testcase and include it in the other tests for good measure. 5521069ac184SEd Maste See bz#3629. ok djm@. 5522069ac184SEd Maste 5523069ac184SEd Mastecommit ff220d4010717f7bfbbc02a2400666fb9d24f250 5524069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5525069ac184SEd MasteDate: Tue Nov 21 14:04:34 2023 +1100 5526069ac184SEd Maste 5527069ac184SEd Maste Stop using -fzero-call-used-regs=all 5528069ac184SEd Maste 5529069ac184SEd Maste ... since it seems to be problematic with several different versions of 5530069ac184SEd Maste clang. Only use -fzero-call-used-regs=used which is less 5531069ac184SEd Maste problematic, except with Apple's clang where we don't use it at all. 5532069ac184SEd Maste bz#3629, ok djm@ 5533069ac184SEd Maste 5534069ac184SEd Mastecommit 2a19e02f36b16f0f6cc915f7d1e60ead5e36303b 5535069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5536069ac184SEd MasteDate: Tue Nov 21 14:02:18 2023 +1100 5537069ac184SEd Maste 5538069ac184SEd Maste Allow for vendor prefix on clang version numbers. 5539069ac184SEd Maste 5540069ac184SEd Maste Correctly detects the version of OpenBSD's native clang, as well as 5541069ac184SEd Maste Apple's. Spotted tb@, ok djm@. 5542069ac184SEd Maste 5543069ac184SEd Mastecommit c52db0114826d73eff6cdbf205e9c1fa4f7ca6c6 5544069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5545069ac184SEd MasteDate: Mon Nov 20 02:50:00 2023 +0000 5546069ac184SEd Maste 5547069ac184SEd Maste upstream: set errno=EAFNOSUPPORT when filtering addresses that don't 5548069ac184SEd Maste 5549069ac184SEd Maste match AddressFamily; yields slightly better error message if no address 5550069ac184SEd Maste matches. bz#3526 5551069ac184SEd Maste 5552069ac184SEd Maste OpenBSD-Commit-ID: 29cea900ddd8b04a4d1968da5c4a893be2ebd9e6 5553069ac184SEd Maste 5554069ac184SEd Mastecommit 26f3f3bbc69196d908cad6558c8c7dc5beb8d74a 5555069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5556069ac184SEd MasteDate: Wed Nov 15 23:03:38 2023 +0000 5557069ac184SEd Maste 5558069ac184SEd Maste upstream: when connecting via socket (the default case), filter 5559069ac184SEd Maste 5560069ac184SEd Maste addresses by AddressFamily if one was specified. Fixes the case where, if 5561069ac184SEd Maste CanonicalizeHostname is enabled, ssh may ignore AddressFamily. bz5326; ok 5562069ac184SEd Maste dtucker 5563069ac184SEd Maste 5564069ac184SEd Maste OpenBSD-Commit-ID: 6c7d7751f6cd055126b2b268a7b64dcafa447439 5565069ac184SEd Maste 5566069ac184SEd Mastecommit 050c335c8da43741ed0df2570ebfbd5d1dfd0a31 5567069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5568069ac184SEd MasteDate: Wed Nov 15 22:51:49 2023 +0000 5569069ac184SEd Maste 5570069ac184SEd Maste upstream: when deciding whether to enable keystroke timing 5571069ac184SEd Maste 5572069ac184SEd Maste obfuscation, only consider enabling it when a channel with a tty is open. 5573069ac184SEd Maste 5574069ac184SEd Maste Avoids turning on the obfucation when X11 forwarding only is in use, 5575069ac184SEd Maste which slows it right down. Reported by Roger Marsh 5576069ac184SEd Maste 5577069ac184SEd Maste OpenBSD-Commit-ID: c292f738db410f729190f92de100c39ec931a4f1 5578069ac184SEd Maste 5579069ac184SEd Mastecommit 676377ce67807a24e08a54cd60ec832946cc6cae 5580069ac184SEd MasteAuthor: tobhe@openbsd.org <tobhe@openbsd.org> 5581069ac184SEd MasteDate: Mon Nov 13 09:18:19 2023 +0000 5582069ac184SEd Maste 5583069ac184SEd Maste upstream: Make sure sftp_get_limits() only returns 0 if 'limits' 5584069ac184SEd Maste 5585069ac184SEd Maste was initialized. This fixes a potential uninitialized use of 'limits' in 5586069ac184SEd Maste sftp_init() if sftp_get_limits() returned early because of an unexpected 5587069ac184SEd Maste message type. 5588069ac184SEd Maste 5589069ac184SEd Maste ok djm@ 5590069ac184SEd Maste 5591069ac184SEd Maste OpenBSD-Commit-ID: 1c177d7c3becc1d71bc8763eecf61873a1d3884c 5592069ac184SEd Maste 5593069ac184SEd Mastecommit 64e0600f23c6dec36c3875392ac95b8a9100c2d6 5594069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5595069ac184SEd MasteDate: Mon Nov 13 20:03:31 2023 +1100 5596069ac184SEd Maste 5597069ac184SEd Maste Test current releases of LibreSSL and OpenSSL. 5598069ac184SEd Maste 5599069ac184SEd Maste Retire some of the older releases. 5600069ac184SEd Maste 5601069ac184SEd Mastecommit c8ed7cc545879ac15f6ce428be4b29c35598bb2a 5602069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5603069ac184SEd MasteDate: Wed Nov 1 02:08:38 2023 +0000 5604069ac184SEd Maste 5605069ac184SEd Maste upstream: Specify ssh binary to use 5606069ac184SEd Maste 5607069ac184SEd Maste ... instead of relying on installed one. Fixes test failures in -portable 5608069ac184SEd Maste when running tests prior to installation. 5609069ac184SEd Maste 5610069ac184SEd Maste OpenBSD-Regress-ID: b6d6ba71c23209c616efc805a60d9a445d53a685 5611069ac184SEd Maste 5612069ac184SEd Mastecommit e9fc2c48121cada1b4dcc5dadea5d447fe0093c3 5613069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5614069ac184SEd MasteDate: Wed Nov 1 13:11:31 2023 +1100 5615069ac184SEd Maste 5616069ac184SEd Maste Put long-running test targets on hipri runners. 5617069ac184SEd Maste 5618069ac184SEd Maste Some of the selfhosted test targets take a long time to run for various 5619069ac184SEd Maste reasons, so label them for "libvirt-hipri" runners so that they can 5620069ac184SEd Maste start immediately. This should reduce the time to complete all tests. 5621069ac184SEd Maste 5622069ac184SEd Mastecommit 7ddf27668f0e21233f08c0ab2fe9ee3fdd6ab1e2 5623069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5624069ac184SEd MasteDate: Wed Nov 1 00:29:46 2023 +0000 5625069ac184SEd Maste 5626069ac184SEd Maste upstream: add some tests of forced commands overriding Subsystem 5627069ac184SEd Maste 5628069ac184SEd Maste directives 5629069ac184SEd Maste 5630069ac184SEd Maste OpenBSD-Regress-ID: eb48610282f6371672bdf2a8b5d2aa33cfbd322b 5631069ac184SEd Maste 5632069ac184SEd Mastecommit fb06f9b5a065dfbbef5916fc4accc03c0bf026dd 5633069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5634069ac184SEd MasteDate: Tue Oct 31 04:15:40 2023 +0000 5635069ac184SEd Maste 5636069ac184SEd Maste upstream: Don't try to use sudo inside sshd log wrapper. 5637069ac184SEd Maste 5638069ac184SEd Maste We still need to check if we're using sudo since we don't want to chown 5639069ac184SEd Maste unecessarily, as on some platforms this causes an error which pollutes 5640069ac184SEd Maste stderr. We also don't want to unnecessarily invoke sudo, since it's 5641069ac184SEd Maste running in the context of the proxycommand, on *other* platforms it 5642069ac184SEd Maste may not be able to authenticate, and if we're using SUDO then it should 5643069ac184SEd Maste already be privileged. 5644069ac184SEd Maste 5645069ac184SEd Maste OpenBSD-Regress-ID: 70d58df7503db699de579a9479300e5f3735f4ee 5646069ac184SEd Maste 5647069ac184SEd Mastecommit fc3cc33e88c242c704781c6c48087838f1dcfa2a 5648069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5649069ac184SEd MasteDate: Tue Oct 31 02:58:45 2023 +0000 5650069ac184SEd Maste 5651069ac184SEd Maste upstream: Only try to chmod logfile if we have sudo. If we don't have 5652069ac184SEd Maste 5653069ac184SEd Maste sudo then we won't need to chmod. 5654069ac184SEd Maste 5655069ac184SEd Maste OpenBSD-Regress-ID: dbad2f5ece839658ef8af3376cb1fb1cabe2e324 5656069ac184SEd Maste 5657069ac184SEd Mastecommit 3a506598fddd3f18f9095af3fe917f24cbdd32e0 5658069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5659069ac184SEd MasteDate: Mon Oct 30 23:00:25 2023 +0000 5660069ac184SEd Maste 5661069ac184SEd Maste upstream: move PKCS#11 setup code to test-exec.sh so it can be reused 5662069ac184SEd Maste 5663069ac184SEd Maste elsewhere 5664069ac184SEd Maste 5665069ac184SEd Maste OpenBSD-Regress-ID: 1d29e6be40f994419795d9e660a8d07f538f0acb 5666069ac184SEd Maste 5667069ac184SEd Mastecommit f82fa227a52661c37404a6d33bbabf14fed05db0 5668069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5669069ac184SEd MasteDate: Mon Oct 30 17:32:00 2023 +0000 5670069ac184SEd Maste 5671069ac184SEd Maste upstream: tidy and refactor PKCS#11 setup code 5672069ac184SEd Maste 5673069ac184SEd Maste Replace the use of a perl script to delete the controlling TTY with a 5674069ac184SEd Maste SSH_ASKPASS script to directly load the PIN. 5675069ac184SEd Maste 5676069ac184SEd Maste Move PKCS#11 setup code to functions in anticipation of it being used 5677069ac184SEd Maste elsewhere in additional tests. 5678069ac184SEd Maste 5679069ac184SEd Maste Reduce stdout spam 5680069ac184SEd Maste 5681069ac184SEd Maste OpenBSD-Regress-ID: 07705c31de30bab9601a95daf1ee6bef821dd262 5682069ac184SEd Maste 5683069ac184SEd Mastecommit 3cf698c6d4ffa9be1da55672a3519e2135a6366a 5684069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5685069ac184SEd MasteDate: Mon Oct 30 21:35:03 2023 +1100 5686069ac184SEd Maste 5687069ac184SEd Maste Add obsd74 test VM and retire obsd69 and obsd70. 5688069ac184SEd Maste 5689069ac184SEd Mastecommit 3e21d58a09894acb38dc69ed615d101131f473d0 5690069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5691069ac184SEd MasteDate: Mon Oct 30 18:34:12 2023 +1100 5692069ac184SEd Maste 5693069ac184SEd Maste Add OpenSSL 3.3.0 as a known dev version. 5694069ac184SEd Maste 5695069ac184SEd Mastecommit 917ba181c2cbdb250a443589ec732aa36fd51ffa 5696069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5697069ac184SEd MasteDate: Mon Oct 30 13:32:03 2023 +1100 5698069ac184SEd Maste 5699069ac184SEd Maste Restore nopasswd sudo rule on Mac OS X. 5700069ac184SEd Maste 5701069ac184SEd Maste This seems to be missing from some (but not all) github runners, so 5702069ac184SEd Maste restore it if it seems to be missing. 5703069ac184SEd Maste 5704069ac184SEd Mastecommit c5698abad6d4ec98ca20bcaaabaeacd5e1ec3f4f 5705069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5706069ac184SEd MasteDate: Mon Oct 30 13:26:52 2023 +1100 5707069ac184SEd Maste 5708069ac184SEd Maste Don't exit early when setting up on Mac OS X. 5709069ac184SEd Maste 5710069ac184SEd Maste We probably need some of the other bits in there (specifically, setting 5711069ac184SEd Maste the perms on the home directory) so make it less of a special snowflake. 5712069ac184SEd Maste 5713069ac184SEd Mastecommit 1d6a878ceba60b9dc14037dddc8f036070c0065f 5714069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5715069ac184SEd MasteDate: Sun Oct 29 06:22:07 2023 +0000 5716069ac184SEd Maste 5717069ac184SEd Maste upstream: Only try to chown logfiles that exist to prevent spurious 5718069ac184SEd Maste 5719069ac184SEd Maste errors. 5720069ac184SEd Maste 5721069ac184SEd Maste OpenBSD-Regress-ID: f1b20a476734e885078c481f1324c9ea03af991e 5722069ac184SEd Maste 5723069ac184SEd Mastecommit e612376427a66f835e284f6b426d16d7c85301bc 5724069ac184SEd MasteAuthor: anton@openbsd.org <anton@openbsd.org> 5725069ac184SEd MasteDate: Thu Oct 26 18:52:45 2023 +0000 5726069ac184SEd Maste 5727069ac184SEd Maste upstream: make use of bsd.regress.mk in extra and interop targets; ok 5728069ac184SEd Maste 5729069ac184SEd Maste dtucker@ 5730069ac184SEd Maste 5731069ac184SEd Maste OpenBSD-Regress-ID: 7ea21b5f6fc4506165093b2123d88d20ff13a4f0 5732069ac184SEd Maste 5733069ac184SEd Mastecommit ea0039173957d0edcd6469b9614dcedb44dcb4f9 5734069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5735069ac184SEd MasteDate: Thu Oct 26 12:44:07 2023 +0000 5736069ac184SEd Maste 5737069ac184SEd Maste upstream: Skip conch interop tests when not enabled instead of fatal. 5738069ac184SEd Maste 5739069ac184SEd Maste OpenBSD-Regress-ID: b0abf81c24ac6c21f367233663228ba16fa96a46 5740069ac184SEd Maste 5741069ac184SEd Mastecommit d220b9ed5494252b26b95f05be118472bc3ab5c0 5742069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5743069ac184SEd MasteDate: Wed Oct 25 05:38:08 2023 +0000 5744069ac184SEd Maste 5745069ac184SEd Maste upstream: Import regenerated moduli. 5746069ac184SEd Maste 5747069ac184SEd Maste OpenBSD-Commit-ID: 95f5dd6107e8902b87dc5b005ef2b53f1ff378b8 5748069ac184SEd Maste 5749069ac184SEd Mastecommit a611e4db4009447a0151f31a44e235ca32ed4429 5750069ac184SEd MasteAuthor: anton@openbsd.org <anton@openbsd.org> 5751069ac184SEd MasteDate: Wed Oct 25 08:01:59 2023 +0000 5752069ac184SEd Maste 5753069ac184SEd Maste upstream: ssh conch interop tests requires a controlling terminal; 5754069ac184SEd Maste 5755069ac184SEd Maste ok dtucker@ 5756069ac184SEd Maste 5757069ac184SEd Maste OpenBSD-Regress-ID: cbf2701bc347c2f19d907f113779c666f1ecae4a 5758069ac184SEd Maste 5759069ac184SEd Mastecommit da951b5e08c167acb5d6e2eec6f146502f5d6ed8 5760069ac184SEd MasteAuthor: anton@openbsd.org <anton@openbsd.org> 5761069ac184SEd MasteDate: Mon Oct 23 11:30:49 2023 +0000 5762069ac184SEd Maste 5763069ac184SEd Maste upstream: Use private key that is allowed by sshd defaults in conch 5764069ac184SEd Maste 5765069ac184SEd Maste interop tests. 5766069ac184SEd Maste 5767069ac184SEd Maste ok dtucker@ 5768069ac184SEd Maste 5769069ac184SEd Maste OpenBSD-Regress-ID: 3b7f65c8f409c328bcd4b704f60cb3d31746f045 5770069ac184SEd Maste 5771069ac184SEd Mastecommit 1ca166dbb3c0ce632b98869cd955f69320aa6fe8 5772069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5773069ac184SEd MasteDate: Fri Oct 20 20:43:00 2023 +1100 5774069ac184SEd Maste 5775069ac184SEd Maste Install Dropbear for interop testing. 5776069ac184SEd Maste 5777069ac184SEd Mastecommit f993bb58351c5cb71e61aede63805a34a6d4daea 5778069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5779069ac184SEd MasteDate: Fri Oct 20 20:39:03 2023 +1100 5780069ac184SEd Maste 5781069ac184SEd Maste Resync PuTTY and Conch path handling with upstream. 5782069ac184SEd Maste 5783069ac184SEd Maste Now that configure finds these for us we can remove these -portable 5784069ac184SEd Maste specific changes. 5785069ac184SEd Maste 5786069ac184SEd Mastecommit ff85becd5f5f06a76efa45d30fb204a3c5e5215c 5787069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5788069ac184SEd MasteDate: Fri Oct 20 20:35:46 2023 +1100 5789069ac184SEd Maste 5790069ac184SEd Maste Have configure find PuTTY and Conch binaries. 5791069ac184SEd Maste 5792069ac184SEd Maste This will let us remove some -portable specific changes from 5793069ac184SEd Maste test-exec.sh. 5794069ac184SEd Maste 5795069ac184SEd Mastecommit c54a50359b9cecddbf3ffcdc26efcb3cd6071ec1 5796069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5797069ac184SEd MasteDate: Fri Oct 20 07:37:07 2023 +0000 5798069ac184SEd Maste 5799069ac184SEd Maste upstream: Allow overriding the locations of the Dropbear binaries 5800069ac184SEd Maste 5801069ac184SEd Maste similar to what we do for the PuTTY ones. 5802069ac184SEd Maste 5803069ac184SEd Maste OpenBSD-Regress-ID: 7de0e00518fb0c8fdc5f243b7f82f523c936049c 5804069ac184SEd Maste 5805069ac184SEd Mastecommit fbaa707d455a61d0aef8ae65e02a25bac5351e5c 5806069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5807069ac184SEd MasteDate: Fri Oct 20 06:56:45 2023 +0000 5808069ac184SEd Maste 5809069ac184SEd Maste upstream: Add interop test with Dropbear. 5810069ac184SEd Maste 5811069ac184SEd Maste Right now this is only dbclient not the Dropbear server since it won't 5812069ac184SEd Maste currently run as a ProxyCommand. 5813069ac184SEd Maste 5814069ac184SEd Maste OpenBSD-Regress-ID: 8cb898c414fcdb252ca6328896b0687acdaee496 5815069ac184SEd Maste 5816069ac184SEd Mastecommit c2003d0dbdcdb61ca336c3f90c5c2b4a09c8e73f 5817069ac184SEd MasteAuthor: Fabio Pedretti <pedretti.fabio@gmail.com> 5818069ac184SEd MasteDate: Mon Oct 16 11:59:53 2023 +0200 5819069ac184SEd Maste 5820069ac184SEd Maste Update openssl-devel dependency in RPM spec. 5821069ac184SEd Maste 5822069ac184SEd Maste Since openssh 9.4p1, openssl >= 1.1.1 is required, so 5823069ac184SEd Maste build with --without-openssl elsewhere. 5824069ac184SEd Maste According to https://repology.org/project/openssl/versions 5825069ac184SEd Maste openssl 1.1.1 is available on fedora >= 29 and rhel >= 8. 5826069ac184SEd Maste Successfully build tested, installed and run on rhel 6 5827069ac184SEd Maste 5828069ac184SEd Mastecommit 064e09cd632721c7e6889904e07767443ee23821 5829069ac184SEd MasteAuthor: Fabio Pedretti <pedretti.fabio@gmail.com> 5830069ac184SEd MasteDate: Mon Oct 16 10:13:06 2023 +0200 5831069ac184SEd Maste 5832069ac184SEd Maste Remove reference of dropped sshd.pam.old file 5833069ac184SEd Maste 5834069ac184SEd Maste The file was removed in openssh 8.8 5835069ac184SEd Maste 5836069ac184SEd Mastecommit 62db354b696b378a164b6e478cb6b0171dcb0c3d 5837069ac184SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 5838069ac184SEd MasteDate: Mon Oct 16 08:40:00 2023 +0000 5839069ac184SEd Maste 5840069ac184SEd Maste upstream: Move declaration of "len" into the block where it's used. 5841069ac184SEd Maste 5842069ac184SEd Maste This lets us compile Portable with -Werror with when OpenSSL doesn't have 5843069ac184SEd Maste Ed25519 support. 5844069ac184SEd Maste 5845069ac184SEd Maste OpenBSD-Commit-ID: e02e4b4af351946562a7caee905da60eff16ba29 5846069ac184SEd Maste 5847069ac184SEd Mastecommit 6eee8c972d5901d10e80634a006b4e346b2c8c19 5848069ac184SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5849069ac184SEd MasteDate: Fri Oct 13 15:15:05 2023 +1100 5850069ac184SEd Maste 5851069ac184SEd Maste run t-extra regress tests 5852069ac184SEd Maste 5853069ac184SEd Maste This exposes the t-extra regress tests (including agent-pkcs11.sh) as 5854069ac184SEd Maste a new extra-tests target in the top level Makefile and runs them by 5855069ac184SEd Maste default. ok dtucker@ 5856069ac184SEd Maste 5857069ac184SEd Mastecommit 637624dbbac13f2bc3c8ec5b15c9d627d07f2935 5858069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5859069ac184SEd MasteDate: Thu Oct 12 22:01:23 2023 +1100 5860069ac184SEd Maste 5861069ac184SEd Maste Don't use make -j2. 5862069ac184SEd Maste 5863069ac184SEd Maste While we have 2 cores available on github runners, not using it means 5864069ac184SEd Maste that the most recent log message is the actual failure, rather than 5865069ac184SEd Maste having to search back through the log for it. 5866069ac184SEd Maste 5867069ac184SEd Mastecommit 971e0cfcfd52ef1d73cf5244074c306a60006e89 5868069ac184SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 5869069ac184SEd MasteDate: Thu Oct 12 16:23:05 2023 +1100 5870069ac184SEd Maste 5871069ac184SEd Maste Correct arg order for ED255519 AC_LINK_IFELSE test. 5872069ac184SEd Maste 5873069ac184SEd Mastecommit c616e64688b2a0c1b4daad69b056099be998d121 5874069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5875069ac184SEd MasteDate: Thu Oct 12 03:51:08 2023 +0000 5876069ac184SEd Maste 5877069ac184SEd Maste upstream: typos and extra debug trace calls 5878069ac184SEd Maste 5879069ac184SEd Maste OpenBSD-Regress-ID: 98a2a6b9333743274359e3c0f0e65cf919a591d1 5880069ac184SEd Maste 5881069ac184SEd Mastecommit c49a3fbf10162128c67c59562348de2041188974 5882069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5883069ac184SEd MasteDate: Thu Oct 12 03:48:53 2023 +0000 5884069ac184SEd Maste 5885069ac184SEd Maste upstream: ensure logs are owned by correct user; feedback/ok 5886069ac184SEd Maste 5887069ac184SEd Maste dtucker@ 5888069ac184SEd Maste 5889069ac184SEd Maste OpenBSD-Regress-ID: c3297af8f07717f1d400a5d34529962f1a76b5a3 5890069ac184SEd Maste 5891069ac184SEd Mastecommit 5ec0ed79ac074c3437b25f6cba8b8cf21c8d4587 5892069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5893069ac184SEd MasteDate: Thu Oct 12 03:36:32 2023 +0000 5894069ac184SEd Maste 5895069ac184SEd Maste upstream: 64 %-expansion keys ought to be enough for anybody; ok 5896069ac184SEd Maste 5897069ac184SEd Maste dtucker (we just hit the previous limit in some cases) 5898069ac184SEd Maste 5899069ac184SEd Maste OpenBSD-Commit-ID: 84070f8001ec22ff5d669f836b62f206e08c5787 5900069ac184SEd Maste 5901069ac184SEd Mastecommit f59a94e22e46db2c23eddeb871aa9e8d93ab0016 5902069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5903069ac184SEd MasteDate: Thu Oct 12 02:48:43 2023 +0000 5904069ac184SEd Maste 5905069ac184SEd Maste upstream: don't dereference NULL pointer when hashing jumphost 5906069ac184SEd Maste 5907069ac184SEd Maste OpenBSD-Commit-ID: 251c0263e1759a921341c7efe7f1d4c73e1c70f4 5908069ac184SEd Maste 5909069ac184SEd Mastecommit 281c79168edcc303abfd5bca983616eaa24c5f32 5910069ac184SEd MasteAuthor: Damien Miller <djm@mindrot.org> 5911069ac184SEd MasteDate: Thu Oct 12 13:20:01 2023 +1100 5912069ac184SEd Maste 5913069ac184SEd Maste Solaris: prefer PRIV_XPOLICY to PRIV_LIMIT 5914069ac184SEd Maste 5915069ac184SEd Maste If the system support PRIV_XPOLICY and one is set, then don't 5916069ac184SEd Maste modify PRIV_LIMIT. bz2833, patch from Ron Jordan, ok dtucker@ 5917069ac184SEd Maste 5918069ac184SEd Mastecommit 98fc34df837f3a3b79d2a111b96fe8a39adcab55 5919069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5920069ac184SEd MasteDate: Thu Oct 12 02:18:18 2023 +0000 5921069ac184SEd Maste 5922069ac184SEd Maste upstream: add %j token that expands to the configured ProxyJump 5923069ac184SEd Maste 5924069ac184SEd Maste hostname (or the empty string if this option is not being used). bz3610, ok 5925069ac184SEd Maste dtucker 5926069ac184SEd Maste 5927069ac184SEd Maste OpenBSD-Commit-ID: ce9983f7efe6a178db90dc5c1698df025df5e339 5928069ac184SEd Maste 5929069ac184SEd Mastecommit 7f3180be8a85320b5d3221714b40c16e66881249 5930069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5931069ac184SEd MasteDate: Thu Oct 12 02:15:53 2023 +0000 5932069ac184SEd Maste 5933069ac184SEd Maste upstream: release GSS OIDs only at end of authentication; bz2982, 5934069ac184SEd Maste 5935069ac184SEd Maste ok dtucker@ 5936069ac184SEd Maste 5937069ac184SEd Maste OpenBSD-Commit-ID: 0daa41e0525ae63cae4483519ecaa37ac485d94c 5938069ac184SEd Maste 5939069ac184SEd Mastecommit a612b93de5d86e955bfb6e24278f621118eea500 5940069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5941069ac184SEd MasteDate: Thu Oct 12 02:12:53 2023 +0000 5942069ac184SEd Maste 5943069ac184SEd Maste upstream: mask SIGINT/TERM/QUIT/HUP before checking quit_pending 5944069ac184SEd Maste 5945069ac184SEd Maste and use ppoll() to unmask them in the mainloop. Avoids race condition between 5946069ac184SEd Maste signaling ssh to exit and polling. bz3531; ok dtucker 5947069ac184SEd Maste 5948069ac184SEd Maste OpenBSD-Commit-ID: 5c14e1aabcddedb95cdf972283d9c0d5083229e7 5949069ac184SEd Maste 5950069ac184SEd Mastecommit 531b27a006116fe7aff325510aaa576f24844452 5951069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5952069ac184SEd MasteDate: Wed Oct 11 23:23:58 2023 +0000 5953069ac184SEd Maste 5954069ac184SEd Maste upstream: sync usage() with ssh.1; spotted by kn@ 5955069ac184SEd Maste 5956069ac184SEd Maste OpenBSD-Commit-ID: 191a85639477dcb5fa1616d270d93b7c8d5c1dfd 5957069ac184SEd Maste 5958069ac184SEd Mastecommit 64f7ca881b19be754425dca60d1590d306c9d1d0 5959069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5960069ac184SEd MasteDate: Wed Oct 11 23:14:33 2023 +0000 5961069ac184SEd Maste 5962069ac184SEd Maste upstream: ssh -Q does not make sense with other command-line options, 5963069ac184SEd Maste 5964069ac184SEd Maste so give it its own line in the manpage 5965069ac184SEd Maste 5966069ac184SEd Maste OpenBSD-Commit-ID: 00a747f0655c12122bbb77c2796be0013c105361 5967069ac184SEd Maste 5968069ac184SEd Mastecommit a752a6c0e1001f93696d7025f0c867f0376e2ecf 5969069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5970069ac184SEd MasteDate: Wed Oct 11 22:42:26 2023 +0000 5971069ac184SEd Maste 5972069ac184SEd Maste upstream: add ChannelTimeout support to the client, mirroring the 5973069ac184SEd Maste 5974069ac184SEd Maste same option in the server. ok markus@ 5975069ac184SEd Maste 5976069ac184SEd Maste OpenBSD-Commit-ID: 55630b26f390ac063980cfe7ad8c54b03284ef02 5977069ac184SEd Maste 5978069ac184SEd Mastecommit 76e91e7238cdc5662bc818e2a48d466283840d23 5979069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5980069ac184SEd MasteDate: Wed Oct 11 22:41:05 2023 +0000 5981069ac184SEd Maste 5982069ac184SEd Maste upstream: add support for reading ED25519 private keys in PEM PKCS8 5983069ac184SEd Maste 5984069ac184SEd Maste format; ok markus@ tb@ 5985069ac184SEd Maste 5986069ac184SEd Maste OpenBSD-Commit-ID: 01b85c91757e6b057e9b23b8a23f96415c3c7174 5987069ac184SEd Maste 5988069ac184SEd Mastecommit fc77c8e352c0f44125425c05265e3a00c183d78a 5989069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5990069ac184SEd MasteDate: Wed Oct 11 06:40:54 2023 +0000 5991069ac184SEd Maste 5992069ac184SEd Maste upstream: mention "none" is a valid argument to IdentityFile; bz3080 5993069ac184SEd Maste 5994069ac184SEd Maste OpenBSD-Commit-ID: 1b4fb590ef731099349a7d468b77f02b240ac926 5995069ac184SEd Maste 5996069ac184SEd Mastecommit c97520d23d1fe53d30725a2af25d2dddd6f2faff 5997069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 5998069ac184SEd MasteDate: Wed Oct 11 05:42:08 2023 +0000 5999069ac184SEd Maste 6000069ac184SEd Maste upstream: in olde rcp/scp protocol mode, when rejecting a path from the 6001069ac184SEd Maste 6002069ac184SEd Maste server as not matching the glob that the client sent, log (at debug level) 6003069ac184SEd Maste the received pathname as well as the list of possible expected paths expanded 6004069ac184SEd Maste from the glob. bz2966 6005069ac184SEd Maste 6006069ac184SEd Maste OpenBSD-Commit-ID: 0bd8db8a595334ca86bca8f36e23fc0395315765 6007069ac184SEd Maste 6008069ac184SEd Mastecommit 208c2b719879805983398160791d6a1ef9c2c3fc 6009069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6010069ac184SEd MasteDate: Wed Oct 11 04:46:29 2023 +0000 6011069ac184SEd Maste 6012069ac184SEd Maste upstream: s/%.100s/%s/ in SSH- banner construction as there's no 6013069ac184SEd Maste 6014069ac184SEd Maste reason to limit its size: the version string bring included is a compile time 6015069ac184SEd Maste constant going into an allocated banner string. 6016069ac184SEd Maste 6017069ac184SEd Maste OpenBSD-Commit-ID: 0ef73304b9bf3e534c60900cd84ab699f859ebcd 6018069ac184SEd Maste 6019069ac184SEd Mastecommit 0354790826b97c41bbd171a965574e159b58d83e 6020069ac184SEd MasteAuthor: tb@openbsd.org <tb@openbsd.org> 6021069ac184SEd MasteDate: Tue Oct 10 06:49:54 2023 +0000 6022069ac184SEd Maste 6023069ac184SEd Maste upstream: Garbage collect cipher_get_keyiv_len() 6024069ac184SEd Maste 6025069ac184SEd Maste This is a compat20 leftover, unused since 2017. 6026069ac184SEd Maste 6027069ac184SEd Maste ok djm 6028069ac184SEd Maste 6029069ac184SEd Maste OpenBSD-Commit-ID: 91fa5497c9dc6883064624ac27813a567883fdce 6030069ac184SEd Maste 6031069ac184SEd Mastecommit 8d29ee4115001a02641386ae394992c65ed279e0 6032069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6033069ac184SEd MasteDate: Tue Oct 10 03:57:45 2023 +0000 6034069ac184SEd Maste 6035069ac184SEd Maste upstream: Reserve a range of "local extension" message numbers that 6036069ac184SEd Maste 6037069ac184SEd Maste OpenSSH promises not to use (comment change only) 6038069ac184SEd Maste 6039069ac184SEd Maste OpenBSD-Commit-ID: e61795b453d4892d2c99ce1039112c4a00250e03 6040069ac184SEd Maste 6041069ac184SEd Mastecommit 90b0d73d63a706e85f6431f05a62d2ce1b476472 6042069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6043069ac184SEd MasteDate: Fri Oct 6 03:32:15 2023 +0000 6044069ac184SEd Maste 6045069ac184SEd Maste upstream: typo in error message 6046069ac184SEd Maste 6047069ac184SEd Maste OpenBSD-Regress-ID: 6a8edf0dc39941298e3780b147b10c0a600b4fee 6048069ac184SEd Maste 6049069ac184SEd Mastecommit e84517f51532ec913d8fb01a8aab7307134774bb 6050069ac184SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6051069ac184SEd MasteDate: Fri Oct 6 03:25:14 2023 +0000 6052069ac184SEd Maste 6053069ac184SEd Maste upstream: Perform the softhsm2 setup as discrete steps rather than 6054069ac184SEd Maste 6055069ac184SEd Maste as a long shell pipeline. Makes it easier to figure out what has happened 6056069ac184SEd Maste when it breaks. 6057069ac184SEd Maste 6058069ac184SEd Maste OpenBSD-Regress-ID: b3f1292115fed65765d0a95414df16e27772d81c 6059069ac184SEd Maste 6060069ac184SEd Mastecommit cb54becff4d776238e0e9072943ba0872260535d 6061069ac184SEd MasteAuthor: claudio@openbsd.org <claudio@openbsd.org> 6062069ac184SEd MasteDate: Sun Sep 24 08:14:13 2023 +0000 6063069ac184SEd Maste 6064069ac184SEd Maste upstream: REGRESS_FAIL_EARLY defaults to yes now. So no need to 6065069ac184SEd Maste 6066069ac184SEd Maste overload the value here anymore. OK tb@ bluhm@ 6067069ac184SEd Maste 6068069ac184SEd Maste OpenBSD-Regress-ID: f063330f1bebbcd373100afccebc91a965b14496 6069069ac184SEd Maste 6070069ac184SEd Mastecommit f01f5137ceba65baf34ceac5a298c12ac01b1fef 6071069ac184SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 6072069ac184SEd MasteDate: Wed Oct 4 05:42:10 2023 +0000 6073069ac184SEd Maste 6074069ac184SEd Maste upstream: spelling fix; 6075069ac184SEd Maste 6076069ac184SEd Maste OpenBSD-Commit-ID: 493f95121567e5ab0d9dd1150f873b5535ca0195 6077069ac184SEd Maste 6078edf85781SEd Mastecommit 80a2f64b8c1d27383cc83d182b73920d1e6a91f1 6079edf85781SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6080edf85781SEd MasteDate: Wed Oct 4 15:34:10 2023 +1100 6081edf85781SEd Maste 6082edf85781SEd Maste crank version numbers 6083edf85781SEd Maste 6084edf85781SEd Mastecommit f65f187b105d9b5c12fd750a211397d08c17c6d4 6085edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6086edf85781SEd MasteDate: Wed Oct 4 04:04:09 2023 +0000 6087edf85781SEd Maste 6088edf85781SEd Maste upstream: openssh-9.5 6089edf85781SEd Maste 6090edf85781SEd Maste OpenBSD-Commit-ID: 5e0af680480bd3b6f5560cf840ad032d48fd6b16 6091edf85781SEd Maste 6092edf85781SEd Mastecommit ffe27e54a4bb18d5d3bbd3f4cc93a41b8d94dfd2 6093edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6094edf85781SEd MasteDate: Wed Oct 4 04:03:50 2023 +0000 6095edf85781SEd Maste 6096edf85781SEd Maste upstream: add some cautionary text about % token expansion and 6097edf85781SEd Maste 6098edf85781SEd Maste shell metacharacters; based on report from vinci AT protonmail.ch 6099edf85781SEd Maste 6100edf85781SEd Maste OpenBSD-Commit-ID: aa1450a54fcee2f153ef70368d90edb1e7019113 6101edf85781SEd Maste 6102edf85781SEd Mastecommit 60ec3d54fd1ebfe2dda75893fa1e870b8dffbb0d 6103edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6104edf85781SEd MasteDate: Tue Oct 3 23:56:10 2023 +0000 6105edf85781SEd Maste 6106edf85781SEd Maste upstream: fix link to agent draft; spotted by Jann Horn 6107edf85781SEd Maste 6108edf85781SEd Maste OpenBSD-Commit-ID: ff5bda21a83ec013db683e282256a85201d2dc4b 6109edf85781SEd Maste 6110edf85781SEd Mastecommit 12e2d4b13f6f63ce2de13cbfcc9e4d0d4b4ab231 6111edf85781SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6112edf85781SEd MasteDate: Wed Oct 4 10:54:04 2023 +1100 6113edf85781SEd Maste 6114edf85781SEd Maste use portable provider allowlist path in manpage 6115edf85781SEd Maste 6116edf85781SEd Maste spotted by Jann Horn 6117edf85781SEd Maste 6118edf85781SEd Mastecommit 6c2c6ffde75df95fd838039850d3dd3d84956d87 6119edf85781SEd MasteAuthor: deraadt@openbsd.org <deraadt@openbsd.org> 6120edf85781SEd MasteDate: Tue Sep 19 20:37:07 2023 +0000 6121edf85781SEd Maste 6122edf85781SEd Maste upstream: typo; from Jim Spath 6123edf85781SEd Maste 6124edf85781SEd Maste OpenBSD-Commit-ID: 2f5fba917b5d4fcf93d9e0b0756c7f63189e228e 6125edf85781SEd Maste 6126edf85781SEd Mastecommit b6b49130a0089b297245ee39e769231d7c763014 6127edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6128edf85781SEd MasteDate: Sun Sep 10 23:12:32 2023 +0000 6129edf85781SEd Maste 6130edf85781SEd Maste upstream: rename remote_glob() -> sftp_glob() to match other API 6131edf85781SEd Maste 6132edf85781SEd Maste OpenBSD-Commit-ID: d9dfb3708d824ec02970a84d96cf5937e0887229 6133edf85781SEd Maste 6134edf85781SEd Mastecommit 21b79af6c8d2357c822c84cef3fbdb8001ed263b 6135edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6136edf85781SEd MasteDate: Sun Sep 10 03:51:55 2023 +0000 6137edf85781SEd Maste 6138edf85781SEd Maste upstream: typo in comment 6139edf85781SEd Maste 6140edf85781SEd Maste OpenBSD-Commit-ID: 69285e0ce962a7c6b0ab5f17a293c60a0a360a18 6141edf85781SEd Maste 6142edf85781SEd Mastecommit 41232d25532b4d2ef6c5db62efc0cf50a79d26ca 6143edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6144edf85781SEd MasteDate: Sun Sep 10 15:45:38 2023 +1000 6145edf85781SEd Maste 6146edf85781SEd Maste Use zero-call-used-regs=used with Apple compilers. 6147edf85781SEd Maste 6148edf85781SEd Maste Apple's versions of clang have version numbers that do not match the 6149edf85781SEd Maste corresponding upstream clang versions. Unfortunately, they do still 6150edf85781SEd Maste have the clang-15 zero-call-used-regs=all bug, so for now use the value 6151edf85781SEd Maste that doesn't result in segfaults. We could allowlist future versions 6152edf85781SEd Maste that are known to work. bz#3584 (and probably also our github CI 6153edf85781SEd Maste failures). 6154edf85781SEd Maste 6155edf85781SEd Mastecommit 90ccc5918ea505bf156c31148b6b59a1bf5d6dc6 6156edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6157edf85781SEd MasteDate: Sun Sep 10 03:25:53 2023 +0000 6158edf85781SEd Maste 6159edf85781SEd Maste upstream: randomise keystroke obfuscation intervals and average 6160edf85781SEd Maste 6161edf85781SEd Maste interval rate. ok dtucker@ 6162edf85781SEd Maste 6163edf85781SEd Maste OpenBSD-Commit-ID: 05f61d051ab418fcfc4857ff306e420037502382 6164edf85781SEd Maste 6165edf85781SEd Mastecommit bd1b9e52f5fa94d87223c90905c5fdc1a7c32aa6 6166edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6167edf85781SEd MasteDate: Fri Sep 8 06:34:24 2023 +0000 6168edf85781SEd Maste 6169edf85781SEd Maste upstream: fix sizeof(*ptr) instead sizeof(ptr) in realloc (pointer here 6170edf85781SEd Maste 6171edf85781SEd Maste is char**, so harmless); spotted in CID 416964 6172edf85781SEd Maste 6173edf85781SEd Maste OpenBSD-Commit-ID: c61caa4a5a667ee20bb1042098861e6c72c69002 6174edf85781SEd Maste 6175edf85781SEd Mastecommit c4f966482983e18601eec70a1563115de836616f 6176edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6177edf85781SEd MasteDate: Fri Sep 8 06:10:57 2023 +0000 6178edf85781SEd Maste 6179edf85781SEd Maste upstream: regress test recursive remote-remote directories copies where 6180edf85781SEd Maste 6181edf85781SEd Maste the directory contains a symlink to another directory. 6182edf85781SEd Maste 6183edf85781SEd Maste also remove errant `set -x` that snuck in at some point 6184edf85781SEd Maste 6185edf85781SEd Maste OpenBSD-Regress-ID: 1c94a48bdbd633ef2285954ee257725cd7bc456f 6186edf85781SEd Maste 6187edf85781SEd Mastecommit 5e1dfe5014ebc194641678303e22ab3bba15f4e5 6188edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6189edf85781SEd MasteDate: Fri Sep 8 06:10:02 2023 +0000 6190edf85781SEd Maste 6191edf85781SEd Maste upstream: fix recursive remote-remote copies of directories that 6192edf85781SEd Maste 6193edf85781SEd Maste contain symlinks to other directories (similar to bz3611) 6194edf85781SEd Maste 6195edf85781SEd Maste OpenBSD-Commit-ID: 7e19d2ae09b4f941bf8eecc3955c9120171da37f 6196edf85781SEd Maste 6197edf85781SEd Mastecommit 7c0ce2bf98b303b6ad91493ee3247d96c18ba1f6 6198edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6199edf85781SEd MasteDate: Fri Sep 8 05:50:57 2023 +0000 6200edf85781SEd Maste 6201edf85781SEd Maste upstream: regress test for recursive copies of directories containing 6202edf85781SEd Maste 6203edf85781SEd Maste symlinks to other directories. bz3611, ok dtucker@ 6204edf85781SEd Maste 6205edf85781SEd Maste OpenBSD-Regress-ID: eaa4c29cc5cddff4e72a16bcce14aeb1ecfc94b9 6206edf85781SEd Maste 6207edf85781SEd Mastecommit 2de990142a83bf60ef694378b8598706bc654b08 6208edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6209edf85781SEd MasteDate: Fri Sep 8 05:56:13 2023 +0000 6210edf85781SEd Maste 6211edf85781SEd Maste upstream: the sftp code was one of my first contributions to 6212edf85781SEd Maste 6213edf85781SEd Maste OpenSSH and it shows - the function names are terrible. 6214edf85781SEd Maste 6215edf85781SEd Maste Rename do_blah() to sftp_blah() to make them less so. 6216edf85781SEd Maste 6217edf85781SEd Maste Completely mechanical except for sftp_stat() and sftp_lstat() which 6218edf85781SEd Maste change from returning a pointer to a static variable (error-prone) to 6219edf85781SEd Maste taking a pointer to a caller-provided receiver. 6220edf85781SEd Maste 6221edf85781SEd Maste OpenBSD-Commit-ID: eb54d6a72d0bbba4d623e2175cf5cc4c75dc2ba4 6222edf85781SEd Maste 6223edf85781SEd Mastecommit 249d8bd0472b53e3a2a0e138b4c030a31e83346a 6224edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6225edf85781SEd MasteDate: Fri Sep 8 05:50:12 2023 +0000 6226edf85781SEd Maste 6227edf85781SEd Maste upstream: fix scp in SFTP mode recursive upload and download of 6228edf85781SEd Maste 6229edf85781SEd Maste directories that contain symlinks to other directories. In scp mode, the 6230edf85781SEd Maste links would be followed, but in SFTP mode they were not. bz3611, ok dtucker@ 6231edf85781SEd Maste 6232edf85781SEd Maste OpenBSD-Commit-ID: 9760fda668eaa94a992250d7670dfbc62a45197c 6233edf85781SEd Maste 6234edf85781SEd Mastecommit 0e1f4401c466fa4fdaea81b6dadc8dd1fc4cf0af 6235edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6236edf85781SEd MasteDate: Wed Sep 6 23:36:09 2023 +0000 6237edf85781SEd Maste 6238edf85781SEd Maste upstream: regression test for override of subsystem in match blocks 6239edf85781SEd Maste 6240edf85781SEd Maste OpenBSD-Regress-ID: 5f8135da3bfda71067084c048d717b0e8793e87c 6241edf85781SEd Maste 6242edf85781SEd Mastecommit 8a1450c62035e834d8a79a5d0d1c904236f9dcfe 6243edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6244edf85781SEd MasteDate: Wed Sep 6 23:35:35 2023 +0000 6245edf85781SEd Maste 6246edf85781SEd Maste upstream: allow override of Sybsystem directives in sshd Match 6247edf85781SEd Maste 6248edf85781SEd Maste blocks 6249edf85781SEd Maste 6250edf85781SEd Maste OpenBSD-Commit-ID: 3911d18a826a2d2fe7e4519075cf3e57af439722 6251edf85781SEd Maste 6252edf85781SEd Mastecommit 6e52826e2a74d077147a82ead8d4fbd5b54f4e3b 6253edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6254edf85781SEd MasteDate: Wed Sep 6 23:26:37 2023 +0000 6255edf85781SEd Maste 6256edf85781SEd Maste upstream: allocate the subsystems array as necessary and remove the 6257edf85781SEd Maste 6258edf85781SEd Maste fixed limit of subsystems. Saves a few kb of memory in the server and makes 6259edf85781SEd Maste it more like the other options. 6260edf85781SEd Maste 6261edf85781SEd Maste OpenBSD-Commit-ID: e683dfca6bdcbc3cc339bb6c6517c0c4736a547f 6262edf85781SEd Maste 6263edf85781SEd Mastecommit e19069c9fac4c111d6496b19c7f7db43b4f07b4f 6264edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6265edf85781SEd MasteDate: Wed Sep 6 23:23:53 2023 +0000 6266edf85781SEd Maste 6267edf85781SEd Maste upstream: preserve quoting of Subsystem commands and arguments. 6268edf85781SEd Maste 6269edf85781SEd Maste This may change behaviour of exotic configurations, but the most common 6270edf85781SEd Maste subsystem configuration (sftp-server) is unlikely to be affected. 6271edf85781SEd Maste 6272edf85781SEd Maste OpenBSD-Commit-ID: 8ffa296aeca981de5b0945242ce75aa6dee479bf 6273edf85781SEd Maste 6274edf85781SEd Mastecommit 52dfe3c72d98503d8b7c6f64fc7e19d685636c0b 6275edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6276edf85781SEd MasteDate: Wed Sep 6 23:21:36 2023 +0000 6277edf85781SEd Maste 6278edf85781SEd Maste upstream: downgrade duplicate Subsystem directives from being a 6279edf85781SEd Maste 6280edf85781SEd Maste fatal error to being a debug message to match behaviour with just about all 6281edf85781SEd Maste other directives. 6282edf85781SEd Maste 6283edf85781SEd Maste OpenBSD-Commit-ID: fc90ed2cc0c18d4eb8e33d2c5e98d25f282588ce 6284edf85781SEd Maste 6285edf85781SEd Mastecommit 1ee0a16e07b6f0847ff463d7b5221c4bf1876e25 6286edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6287edf85781SEd MasteDate: Wed Sep 6 23:18:15 2023 +0000 6288edf85781SEd Maste 6289edf85781SEd Maste upstream: handle cr+lf (instead of just cr) in sshsig signature 6290edf85781SEd Maste 6291edf85781SEd Maste files 6292edf85781SEd Maste 6293edf85781SEd Maste OpenBSD-Commit-ID: 647460a212b916540016d066568816507375fd7f 6294edf85781SEd Maste 6295edf85781SEd Mastecommit e1c284d60a928bcdd60bc575c6f9604663502770 6296edf85781SEd MasteAuthor: job@openbsd.org <job@openbsd.org> 6297edf85781SEd MasteDate: Mon Sep 4 10:29:58 2023 +0000 6298edf85781SEd Maste 6299edf85781SEd Maste upstream: Generate Ed25519 keys when invoked without arguments 6300edf85781SEd Maste 6301edf85781SEd Maste Ed25519 public keys are very convenient due to their small size. 6302edf85781SEd Maste OpenSSH has supported Ed25519 since version 6.5 (January 2014). 6303edf85781SEd Maste 6304edf85781SEd Maste OK djm@ markus@ sthen@ deraadt@ 6305edf85781SEd Maste 6306edf85781SEd Maste OpenBSD-Commit-ID: f498beaad19c8cdcc357381a60df4a9c69858b3f 6307edf85781SEd Maste 6308edf85781SEd Mastecommit 694150ad92765574ff82a18f4e86322bd3231e68 6309edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6310edf85781SEd MasteDate: Mon Sep 4 00:08:14 2023 +0000 6311edf85781SEd Maste 6312edf85781SEd Maste upstream: trigger keystroke timing obfucation only if the channels 6313edf85781SEd Maste 6314edf85781SEd Maste layer enqueud some data in the last poll() cycle; this avoids triggering the 6315edf85781SEd Maste obfuscatior for non-channels data like ClientAlive probes and also fixes a 6316edf85781SEd Maste related problem were the obfucations would be triggered on fully quiescent 6317edf85781SEd Maste connections. 6318edf85781SEd Maste 6319edf85781SEd Maste Based on / tested by naddy@ 6320edf85781SEd Maste 6321edf85781SEd Maste OpenBSD-Commit-ID: d98f32dc62d7663ff4660e4556e184032a0db123 6322edf85781SEd Maste 6323edf85781SEd Mastecommit b5fd97896b59a3a46245cf438cc8b16c795d9f74 6324edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6325edf85781SEd MasteDate: Mon Sep 4 00:04:02 2023 +0000 6326edf85781SEd Maste 6327edf85781SEd Maste upstream: avoid bogus "obfuscate_keystroke_timing: stopping ..." 6328edf85781SEd Maste 6329edf85781SEd Maste debug messages when keystroke timing obfuscation was never started; spotted 6330edf85781SEd Maste by naddy@ 6331edf85781SEd Maste 6332edf85781SEd Maste OpenBSD-Commit-ID: 5c270d35f7d2974db5c1646e9c64188f9393be31 6333edf85781SEd Maste 6334edf85781SEd Mastecommit ccf7d913db34e49b7a6db1b8331bd402004c840d 6335edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6336edf85781SEd MasteDate: Mon Sep 4 00:01:46 2023 +0000 6337edf85781SEd Maste 6338edf85781SEd Maste upstream: make channel_output_poll() return a flag indicating 6339edf85781SEd Maste 6340edf85781SEd Maste whether channel data was enqueued. Will be used to improve keystroke timing 6341edf85781SEd Maste obfuscation. Problem spotted by / tested by naddy@ 6342edf85781SEd Maste 6343edf85781SEd Maste OpenBSD-Commit-ID: f9776c7b0065ba7c3bbe50431fd3b629f44314d0 6344edf85781SEd Maste 6345edf85781SEd Mastecommit 43254b326ac6e2131dbd750f9464dc62c14bd5a7 6346edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6347edf85781SEd MasteDate: Sun Sep 3 23:59:32 2023 +0000 6348edf85781SEd Maste 6349edf85781SEd Maste upstream: set interactive mode for ControlPersist sessions if they 6350edf85781SEd Maste 6351edf85781SEd Maste originally requested a tty; enables keystroke timing obfuscation for most 6352edf85781SEd Maste ControlPersist sessions. Spotted by naddy@ 6353edf85781SEd Maste 6354edf85781SEd Maste OpenBSD-Commit-ID: 72783a26254202e2f3f41a2818a19956fe49a772 6355edf85781SEd Maste 6356edf85781SEd Mastecommit ff3eda68ceb2e2bb8f48e3faceb96076c3e85c20 6357edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6358edf85781SEd MasteDate: Thu Aug 31 23:02:35 2023 +1000 6359edf85781SEd Maste 6360edf85781SEd Maste Set LLONG_MAX for C89 test. 6361edf85781SEd Maste 6362edf85781SEd Maste If we don't have LLONG_MAX, configure will figure out that it can get it 6363edf85781SEd Maste by setting -std=gnu99, at which point we won't be testing C89 any more. 6364edf85781SEd Maste To avoid this, feed it in via CFLAGS. 6365edf85781SEd Maste 6366edf85781SEd Mastecommit f98031773db361424d59e3301aa92aacf423d920 6367edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6368edf85781SEd MasteDate: Tue Aug 29 02:50:10 2023 +0000 6369edf85781SEd Maste 6370edf85781SEd Maste upstream: make PerSourceMaxStartups first-match-wins; ok dtucker@ 6371edf85781SEd Maste 6372edf85781SEd Maste OpenBSD-Commit-ID: dac0c24cb709e3c595b8b4f422a0355dc5a3b4e7 6373edf85781SEd Maste 6374edf85781SEd Mastecommit cfa66857db90cd908de131e0041a50ffc17c7df8 6375edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6376edf85781SEd MasteDate: Mon Aug 28 09:52:09 2023 +0000 6377edf85781SEd Maste 6378edf85781SEd Maste upstream: descriptive text shouldn't be under .Cm 6379edf85781SEd Maste 6380edf85781SEd Maste OpenBSD-Commit-ID: b1afaeb456a52bc8a58f4f9f8b2f9fa8f6bf651b 6381edf85781SEd Maste 6382edf85781SEd Mastecommit 01dbf3d46651b7d6ddf5e45d233839bbfffaeaec 6383edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6384edf85781SEd MasteDate: Mon Aug 28 09:48:11 2023 +0000 6385edf85781SEd Maste 6386edf85781SEd Maste upstream: limit artificial login delay to a reasonable maximum (5s) 6387edf85781SEd Maste 6388edf85781SEd Maste and don't delay at all for the "none" authentication mechanism. Patch by 6389edf85781SEd Maste Dmitry Belyavskiy in bz3602 with polish/ok dtucker@ 6390edf85781SEd Maste 6391edf85781SEd Maste OpenBSD-Commit-ID: 85b364676dd84cf1de0e98fc2fbdcb1a844ce515 6392edf85781SEd Maste 6393edf85781SEd Mastecommit 528da5b9d7c5da01ed7a73ff21c722e1b5326006 6394edf85781SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 6395edf85781SEd MasteDate: Mon Aug 28 05:32:28 2023 +0000 6396edf85781SEd Maste 6397edf85781SEd Maste upstream: add spacing for punctuation when macro args; 6398edf85781SEd Maste 6399edf85781SEd Maste OpenBSD-Commit-ID: e80343c16ce0420b2aec98701527cf90371bd0db 6400edf85781SEd Maste 6401edf85781SEd Mastecommit 3867361ca691d0956ef7d5fb8181cf554a91d84a 6402edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6403edf85781SEd MasteDate: Mon Aug 28 04:06:52 2023 +0000 6404edf85781SEd Maste 6405edf85781SEd Maste upstream: explicit long long type in timing calculations (doesn't 6406edf85781SEd Maste 6407edf85781SEd Maste matter, since the range is pre-clamped) 6408edf85781SEd Maste 6409edf85781SEd Maste OpenBSD-Commit-ID: f786ed902d04a5b8ecc581d068fea1a79aa772de 6410edf85781SEd Maste 6411edf85781SEd Mastecommit 7603ba71264e7fa938325c37eca993e2fa61272f 6412edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6413edf85781SEd MasteDate: Mon Aug 28 03:31:16 2023 +0000 6414edf85781SEd Maste 6415edf85781SEd Maste upstream: Add keystroke timing obfuscation to the client. 6416edf85781SEd Maste 6417edf85781SEd Maste This attempts to hide inter-keystroke timings by sending interactive 6418edf85781SEd Maste traffic at fixed intervals (default: every 20ms) when there is only a 6419edf85781SEd Maste small amount of data being sent. It also sends fake "chaff" keystrokes 6420edf85781SEd Maste for a random interval after the last real keystroke. These are 6421edf85781SEd Maste controlled by a new ssh_config ObscureKeystrokeTiming keyword/ 6422edf85781SEd Maste 6423edf85781SEd Maste feedback/ok markus@ 6424edf85781SEd Maste 6425edf85781SEd Maste OpenBSD-Commit-ID: 02231ddd4f442212820976068c34a36e3c1b15be 6426edf85781SEd Maste 6427edf85781SEd Mastecommit dce6d80d2ed3cad2c516082682d5f6ca877ef714 6428edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6429edf85781SEd MasteDate: Mon Aug 28 03:28:43 2023 +0000 6430edf85781SEd Maste 6431edf85781SEd Maste upstream: Introduce a transport-level ping facility 6432edf85781SEd Maste 6433edf85781SEd Maste This adds a pair of SSH transport protocol messages SSH2_MSG_PING/PONG 6434edf85781SEd Maste to implement a ping capability. These messages use numbers in the "local 6435edf85781SEd Maste extensions" number space and are advertised using a "ping@openssh.com" 6436edf85781SEd Maste ext-info message with a string version number of "0". 6437edf85781SEd Maste 6438edf85781SEd Maste ok markus@ 6439edf85781SEd Maste 6440edf85781SEd Maste OpenBSD-Commit-ID: b6b3c4cb2084c62f85a8dc67cf74954015eb547f 6441edf85781SEd Maste 6442edf85781SEd Mastecommit d2d247938b38b928f8a6e1a47a330c5584d3a358 6443edf85781SEd MasteAuthor: tobhe@openbsd.org <tobhe@openbsd.org> 6444edf85781SEd MasteDate: Mon Aug 21 21:16:18 2023 +0000 6445edf85781SEd Maste 6446edf85781SEd Maste upstream: Log errors in kex_exchange_identification() with level 6447edf85781SEd Maste 6448edf85781SEd Maste verbose instead of error to reduce preauth log spam. All of those get logged 6449edf85781SEd Maste with a more generic error message by sshpkt_fatal(). 6450edf85781SEd Maste 6451edf85781SEd Maste feedback from sthen@ 6452edf85781SEd Maste ok djm@ 6453edf85781SEd Maste 6454edf85781SEd Maste OpenBSD-Commit-ID: bd47dab4695b134a44c379f0e9a39eed33047809 6455edf85781SEd Maste 6456edf85781SEd Mastecommit 9d7193a8359639801193ad661a59d1ae4dc3d302 6457edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6458edf85781SEd MasteDate: Mon Aug 21 04:59:54 2023 +0000 6459edf85781SEd Maste 6460edf85781SEd Maste upstream: correct math for ClientAliveInterval that caused the 6461edf85781SEd Maste 6462edf85781SEd Maste probes to be sent less frequently than configured; from Dawid Majchrzak 6463edf85781SEd Maste 6464edf85781SEd Maste OpenBSD-Commit-ID: 641153e7c05117436ddfc58267aa267ca8b80038 6465edf85781SEd Maste 6466edf85781SEd Mastecommit 3c6ab63b383b0b7630da175941e01de9db32a256 6467edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6468edf85781SEd MasteDate: Fri Aug 25 14:48:02 2023 +1000 6469edf85781SEd Maste 6470edf85781SEd Maste Include Portable version in sshd version string. 6471edf85781SEd Maste 6472edf85781SEd Maste bz#3608, ok djm@ 6473edf85781SEd Maste 6474edf85781SEd Mastecommit 17fa6cd10a26e193bb6f65d21264d2fe553bcd87 6475edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6476edf85781SEd MasteDate: Mon Aug 21 19:47:58 2023 +1000 6477edf85781SEd Maste 6478edf85781SEd Maste obsd-arm64 host is real hardware... 6479edf85781SEd Maste 6480edf85781SEd Maste so put in the correct config location. 6481edf85781SEd Maste 6482edf85781SEd Mastecommit 598ca75c85acaaacee5ef954251e489cc20d7be9 6483edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6484edf85781SEd MasteDate: Mon Aug 21 18:38:36 2023 +1000 6485edf85781SEd Maste 6486edf85781SEd Maste Add OpenBSD ARM64 test host. 6487edf85781SEd Maste 6488edf85781SEd Mastecommit 1acac79bfbe207e8db639e8043524962037c8feb 6489edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6490edf85781SEd MasteDate: Mon Aug 21 18:05:26 2023 +1000 6491edf85781SEd Maste 6492edf85781SEd Maste Add test for zlib development branch. 6493edf85781SEd Maste 6494edf85781SEd Mastecommit 84efebf352fc700e9040c8065707c63caedd36a3 6495edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6496edf85781SEd MasteDate: Mon Aug 21 04:36:46 2023 +0000 6497edf85781SEd Maste 6498edf85781SEd Maste upstream: want stdlib.h for free(3) 6499edf85781SEd Maste 6500edf85781SEd Maste OpenBSD-Commit-ID: 743af3c6e3ce5e6cecd051668f0327a01f44af29 6501edf85781SEd Maste 6502edf85781SEd Mastecommit cb4ed12ffc332d1f72d054ed92655b5f1c38f621 6503edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6504edf85781SEd MasteDate: Sat Aug 19 07:39:08 2023 +1000 6505edf85781SEd Maste 6506edf85781SEd Maste Fix zlib version check for 1.3 and future version. 6507edf85781SEd Maste 6508edf85781SEd Maste bz#3604. 6509edf85781SEd Maste 6510edf85781SEd Mastecommit 25b75e21f16bccdaa472ea1889b293c9bd51a87b 6511edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6512edf85781SEd MasteDate: Mon Aug 14 11:10:08 2023 +1000 6513edf85781SEd Maste 6514edf85781SEd Maste Add 9.4 branch to CI status page. 6515edf85781SEd Maste 6516edf85781SEd Mastecommit 803e22eabd3ba75485eedd8b7b44d6ace79f2052 6517edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6518edf85781SEd MasteDate: Fri Aug 18 01:37:41 2023 +0000 6519edf85781SEd Maste 6520edf85781SEd Maste upstream: fix regression in OpenSSH 9.4 (mux.c r1.99) that caused 6521edf85781SEd Maste 6522edf85781SEd Maste multiplexed sessions to ignore SIGINT under some circumstances. Reported by / 6523edf85781SEd Maste feedback naddy@, ok dtucker@ 6524edf85781SEd Maste 6525edf85781SEd Maste OpenBSD-Commit-ID: 4d5c6c894664f50149153fd4764f21f43e7d7e5a 6526edf85781SEd Maste 6527edf85781SEd Mastecommit e706bca324a70f68dadfd0ec69edfdd486eed23a 6528edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6529edf85781SEd MasteDate: Wed Aug 16 16:14:11 2023 +0000 6530edf85781SEd Maste 6531edf85781SEd Maste upstream: defence-in-depth MaxAuthTries check in monitor; ok markus 6532edf85781SEd Maste 6533edf85781SEd Maste OpenBSD-Commit-ID: 65a4225dc708e2dae71315adf93677edace46c21 6534edf85781SEd Maste 6535edf85781SEd Mastecommit d1ab7eb90474df656d5e9935bae6df0bd000d343 6536edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6537edf85781SEd MasteDate: Mon Aug 14 03:37:00 2023 +0000 6538edf85781SEd Maste 6539edf85781SEd Maste upstream: add message number of SSH2_MSG_NEWCOMPRESS defined in RFC8308 6540edf85781SEd Maste 6541edf85781SEd Maste OpenBSD-Commit-ID: 6c984171c96ed67effd7b5092f3d3975d55d6028 6542edf85781SEd Maste 6543edf85781SEd Mastecommit fa8da52934cb7dff6f660a143276bdb28bb9bbe1 6544edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6545edf85781SEd MasteDate: Sun Aug 13 15:01:27 2023 +1000 6546edf85781SEd Maste 6547edf85781SEd Maste Add obsd72 and obsd73 test targets. 6548edf85781SEd Maste 6549edf85781SEd Mastecommit f9f18006678d2eac8b0c5a5dddf17ab7c50d1e9f 6550edf85781SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6551edf85781SEd MasteDate: Thu Aug 10 23:05:48 2023 +0000 6552edf85781SEd Maste 6553edf85781SEd Maste upstream: better debug logging of sessions' exit status 6554edf85781SEd Maste 6555edf85781SEd Maste OpenBSD-Commit-ID: 82237567fcd4098797cbdd17efa6ade08e1a36b0 6556edf85781SEd Maste 6557edf85781SEd Mastecommit a8c57bcb077f0cfdffcf9f23866bf73bb93e185c 6558edf85781SEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 6559edf85781SEd MasteDate: Thu Aug 10 14:37:32 2023 +0000 6560edf85781SEd Maste 6561edf85781SEd Maste upstream: drop a wayward comma, ok jmc@ 6562edf85781SEd Maste 6563edf85781SEd Maste OpenBSD-Commit-ID: 5c11fbb9592a29b37bbf36f66df50db9d38182c6 6564edf85781SEd Maste 6565edf85781SEd Mastecommit e962f9b318a238db1becc53c2bf79dd3a49095b4 656666fd12cfSEd MasteAuthor: Damien Miller <djm@mindrot.org> 6567535af610SEd MasteDate: Thu Aug 10 11:10:22 2023 +1000 656866fd12cfSEd Maste 6569535af610SEd Maste depend 657066fd12cfSEd Maste 6571edf85781SEd Mastecommit 0fcb60bf83130dfa428bc4422b3a3ac20fb528af 657266fd12cfSEd MasteAuthor: Damien Miller <djm@mindrot.org> 6573535af610SEd MasteDate: Thu Aug 10 11:05:42 2023 +1000 6574535af610SEd Maste 6575535af610SEd Maste update versions in RPM specs 6576535af610SEd Maste 6577edf85781SEd Mastecommit d0cee4298491314f09afa1c4383a66d913150b26 6578535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6579535af610SEd MasteDate: Thu Aug 10 11:05:14 2023 +1000 658066fd12cfSEd Maste 658166fd12cfSEd Maste update version in README 658266fd12cfSEd Maste 6583edf85781SEd Mastecommit 78b4dc6684f4d35943b46b24ee645edfdb9974f5 6584535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6585535af610SEd MasteDate: Thu Aug 10 01:01:07 2023 +0000 6586535af610SEd Maste 6587535af610SEd Maste upstream: openssh-9.4 6588535af610SEd Maste 6589535af610SEd Maste OpenBSD-Commit-ID: 71fc1e01a4c4ea061b252bd399cda7be757e6e35 6590535af610SEd Maste 6591edf85781SEd Mastecommit 58ca4f0aa8c4306ac0a629c9a85fb1efaf4ff092 6592edf85781SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6593edf85781SEd MasteDate: Thu Aug 10 11:30:24 2023 +1000 6594edf85781SEd Maste 6595edf85781SEd Maste Only include unistd.h once. 6596edf85781SEd Maste 6597535af610SEd Mastecommit 3961ed02dc578517a9d2535128cff5c3a5460d28 659866fd12cfSEd MasteAuthor: Damien Miller <djm@mindrot.org> 6599535af610SEd MasteDate: Thu Aug 10 09:08:49 2023 +1000 660066fd12cfSEd Maste 6601535af610SEd Maste wrap poll.h include in HAVE_POLL_H 660266fd12cfSEd Maste 6603535af610SEd Mastecommit e535fbe2af893046c28adfcd787c1fdbae36a24a 6604535af610SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 6605535af610SEd MasteDate: Fri Aug 4 06:32:40 2023 +0000 6606535af610SEd Maste 6607535af610SEd Maste upstream: Apply ConnectTimeout to multiplexing local socket 6608535af610SEd Maste 6609535af610SEd Maste connections. If the multiplex socket exists but the connection times out, 6610535af610SEd Maste ssh will fall back to a direct connection the same way it would if the socket 6611535af610SEd Maste did not exist at all. ok djm@ 6612535af610SEd Maste 6613535af610SEd Maste OpenBSD-Commit-ID: 2fbe1a36d4a24b98531b2d298a6557c8285dc1b4 6614535af610SEd Maste 6615535af610SEd Mastecommit 9d92e7b24848fcc605945f7c2e3460c7c31832ce 6616535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6617535af610SEd MasteDate: Thu Aug 3 19:35:33 2023 +1000 6618535af610SEd Maste 6619535af610SEd Maste Fix RNG seeding for OpenSSL w/out self seeding. 6620535af610SEd Maste 6621535af610SEd Maste When sshd is built with an OpenSSL that does not self-seed, it would 6622535af610SEd Maste fail in the preauth privsep process while handling a new connection. 6623535af610SEd Maste Sanity checked by djm@ 6624535af610SEd Maste 6625535af610SEd Mastecommit f70010d9b0b3e7e95de8aa0b961e1d74362cfb5d 6626535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6627535af610SEd MasteDate: Wed Aug 2 23:04:38 2023 +0000 6628535af610SEd Maste 6629535af610SEd Maste upstream: CheckHostIP has defaulted to 'no' for a while; make the 6630535af610SEd Maste 6631535af610SEd Maste commented- out config option match. From Ed Maste 6632535af610SEd Maste 6633535af610SEd Maste OpenBSD-Commit-ID: e66e934c45a9077cb1d51fc4f8d3df4505db58d9 6634535af610SEd Maste 6635535af610SEd Mastecommit c88a8788f9865d02b986d00405b9f0be65ad0b5a 6636535af610SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 6637535af610SEd MasteDate: Tue Aug 1 08:15:04 2023 +0000 6638535af610SEd Maste 6639535af610SEd Maste upstream: remove unnecessary if statement. 6640535af610SEd Maste 6641535af610SEd Maste github PR#422 from eyalasulin999, ok djm@ 6642535af610SEd Maste 6643535af610SEd Maste OpenBSD-Commit-ID: 2b6b0dde4407e039f58f86c8d2ff584a8205ea55 6644535af610SEd Maste 6645535af610SEd Mastecommit 77b8b865cd5a8c79a47605c0c5b2bacf4692c4d5 6646535af610SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 6647535af610SEd MasteDate: Fri Jul 28 05:42:36 2023 +0000 6648535af610SEd Maste 6649535af610SEd Maste upstream: %C is a callable macro in mdoc(7) 6650535af610SEd Maste 6651535af610SEd Maste so, as we do for %D, escape it; 6652535af610SEd Maste 6653535af610SEd Maste OpenBSD-Commit-ID: 538cfcddbbb59dc3a8739604319491dcb8e0c0c9 6654535af610SEd Maste 6655535af610SEd Mastecommit e0f91aa9c2fbfc951e9ced7e1305455fc614d3f2 6656535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6657535af610SEd MasteDate: Fri Jul 28 05:33:15 2023 +0000 6658535af610SEd Maste 6659535af610SEd Maste upstream: don't need to start a command here; use ssh -N instead. 6660535af610SEd Maste 6661535af610SEd Maste Fixes failure on cygwin spotted by Darren 6662535af610SEd Maste 6663535af610SEd Maste OpenBSD-Regress-ID: ff678a8cc69160a3b862733d935ec4a383f93cfb 6664535af610SEd Maste 6665535af610SEd Mastecommit f446a44f30bc680e0d026a4204844b02646c1c2d 6666535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6667535af610SEd MasteDate: Wed May 17 05:52:01 2023 +0000 6668535af610SEd Maste 6669535af610SEd Maste upstream: add LTESTS_FROM variable to allow skipping of tests up to 6670535af610SEd Maste 6671535af610SEd Maste a specific point. e.g. "make LTESTS_FROM=t-sftp" will only run the sftp.sh 6672535af610SEd Maste test and subsequent ones. ok dtucker@ 6673535af610SEd Maste 6674535af610SEd Maste OpenBSD-Regress-ID: 07f653de731def074b29293db946042706fcead3 6675535af610SEd Maste 6676535af610SEd Mastecommit 8eb8899d612440a9b608bee7f916081d3d0b7812 6677535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6678535af610SEd MasteDate: Fri May 12 06:37:42 2023 +0000 6679535af610SEd Maste 6680535af610SEd Maste upstream: test ChrootDirectory in Match block 6681535af610SEd Maste 6682535af610SEd Maste OpenBSD-Regress-ID: a6150262f39065939f025e546af2a346ffe674c1 6683535af610SEd Maste 6684535af610SEd Mastecommit e43f43d3f19516222e9a143468ea0dc1b3ab67b6 6685535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6686535af610SEd MasteDate: Fri May 12 06:36:27 2023 +0000 6687535af610SEd Maste 6688535af610SEd Maste upstream: better error messages 6689535af610SEd Maste 6690535af610SEd Maste OpenBSD-Regress-ID: 55e4186604e80259496d841e690ea2090981bc7a 6691535af610SEd Maste 6692535af610SEd Mastecommit 6958f00acf3b9e0b3730f7287e69996bcf3ceda4 6693535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6694535af610SEd MasteDate: Thu Jul 27 22:26:49 2023 +0000 6695535af610SEd Maste 6696535af610SEd Maste upstream: don't incorrectly truncate logged strings retrieved from 6697535af610SEd Maste 6698535af610SEd Maste PKCS#11 modules; based on GHPR406 by Jakub Jelen; ok markus 6699535af610SEd Maste 6700535af610SEd Maste OpenBSD-Commit-ID: 7ed1082f23a13b38c373008f856fd301d50012f9 6701535af610SEd Maste 6702535af610SEd Mastecommit d1ffde6b55170cd4b9a72bfd9a3f17508e6cf714 6703535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6704535af610SEd MasteDate: Thu Jul 27 22:25:17 2023 +0000 6705535af610SEd Maste 6706535af610SEd Maste upstream: make sshd_config AuthorizedPrincipalsCommand and 6707535af610SEd Maste 6708535af610SEd Maste AuthorizedKeysCommand accept the %D (routing domain) and a new %C (connection 6709535af610SEd Maste address/port 4-tuple) as expansion sequences; ok markus 6710535af610SEd Maste 6711535af610SEd Maste OpenBSD-Commit-ID: ee9a48bf1a74c4ace71b69de69cfdaa2a7388565 6712535af610SEd Maste 6713535af610SEd Mastecommit 999a2886ca1844a7a74b905e5f2c8c701f9838cd 6714535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6715535af610SEd MasteDate: Thu Jul 27 22:23:05 2023 +0000 6716535af610SEd Maste 6717535af610SEd Maste upstream: increase default KDF work-factor for OpenSSH format 6718535af610SEd Maste 6719535af610SEd Maste private keys from 16 to 24; { feedback ok } x { deraadt markus } 6720535af610SEd Maste 6721535af610SEd Maste OpenBSD-Commit-ID: a3afb1383f8ff0a49613d449f02395d9e8d4a9ec 6722535af610SEd Maste 6723535af610SEd Mastecommit 0fa803a1dd1c7b546c166000e23a869cf6c4ec10 6724535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6725535af610SEd MasteDate: Thu Jul 27 02:25:09 2023 +1000 6726535af610SEd Maste 6727535af610SEd Maste Prefer OpenSSL's SHA256 in sk-dummy.so 6728535af610SEd Maste 6729535af610SEd Maste Previously sk-dummy.so used libc's (or compat's) SHA256 since it may be 6730535af610SEd Maste built without OpenSSL. In many cases, however, including both libc's 6731535af610SEd Maste and OpenSSL's headers together caused conflicting definitions. 6732535af610SEd Maste 6733535af610SEd Maste We tried working around this (on OpenSSL <1.1 you could define 6734535af610SEd Maste OPENSSL_NO_SHA, NetBSD had USE_LIBC_SHA2, various #define hacks) with 6735535af610SEd Maste varying levels of success. Since OpenSSL >=1.1 removed OPENSSL_NO_SHA 6736535af610SEd Maste and including most OpenSSL headers would bring sha.h in, even if it 6737535af610SEd Maste wasn't used directly this was a constant hassle. 6738535af610SEd Maste 6739535af610SEd Maste Admit defeat and use OpenSSL's SHA256 unless we aren't using OpenSSL at 6740535af610SEd Maste all. ok djm@ 6741535af610SEd Maste 6742535af610SEd Mastecommit 36cdb5dbf55c99c0faad06066f56a7c341258c1f 6743535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6744535af610SEd MasteDate: Thu Jul 27 10:29:44 2023 +1000 6745535af610SEd Maste 6746535af610SEd Maste Retire dfly58 test VM. Add dfly64. 6747535af610SEd Maste 6748535af610SEd Mastecommit 2d34205dab08ede9b0676efa57647fc49e6decbe 6749535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6750535af610SEd MasteDate: Wed Jul 26 23:06:00 2023 +0000 6751535af610SEd Maste 6752535af610SEd Maste upstream: make ssh -f (fork after authentication) work properly in 6753535af610SEd Maste 6754535af610SEd Maste multiplexed cases (inc. ControlPersist). bz3589 bz3589 Based on patches by 6755535af610SEd Maste Peter Chubb; ok dtucker@ 6756535af610SEd Maste 6757535af610SEd Maste OpenBSD-Commit-ID: a7a2976a54b93e6767dc846b85647e6ec26969ac 6758535af610SEd Maste 6759535af610SEd Mastecommit 076aeda86a7ee9be8fd2f0181ec7b9729a6ceb37 6760535af610SEd MasteAuthor: naddy@openbsd.org <naddy@openbsd.org> 6761535af610SEd MasteDate: Sun Jul 23 20:04:45 2023 +0000 6762535af610SEd Maste 6763535af610SEd Maste upstream: man page typos; ok jmc@ 6764535af610SEd Maste 6765535af610SEd Maste OpenBSD-Commit-ID: e6ddfef94b0eb867ad88abe07cedc8ed581c07f0 6766535af610SEd Maste 6767535af610SEd Mastecommit 135e7d5fe31f700e6dfc61ce914970c5ee7175ba 6768535af610SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 6769535af610SEd MasteDate: Thu Jul 20 05:43:39 2023 +0000 6770535af610SEd Maste 6771535af610SEd Maste upstream: tweak the allow-remote-pkcs11 text; 6772535af610SEd Maste 6773535af610SEd Maste OpenBSD-Commit-ID: bc965460a89edf76865b7279b45cf9cbdebd558a 6774535af610SEd Maste 6775535af610SEd Mastecommit 5f83342b61d1f76c141de608ed2bd293990416bd 6776535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 6777535af610SEd MasteDate: Tue Jul 25 13:00:22 2023 +1000 6778535af610SEd Maste 6779535af610SEd Maste Handle a couple more OpenSSL no-ecc cases. 6780535af610SEd Maste 6781535af610SEd Maste ok djm@ 6782535af610SEd Maste 6783535af610SEd Mastecommit edc2ef4e418e514c99701451fae4428ec04ce538 678466fd12cfSEd MasteAuthor: Damien Miller <djm@mindrot.org> 6785535af610SEd MasteDate: Thu Jul 20 12:53:44 2023 +1000 678666fd12cfSEd Maste 6787535af610SEd Maste depend 678866fd12cfSEd Maste 6789535af610SEd Mastecommit 51fda734e0d3c2df256fc03e8b060c4305be6e59 679066fd12cfSEd MasteAuthor: Damien Miller <djm@mindrot.org> 6791535af610SEd MasteDate: Thu Jul 20 12:53:21 2023 +1000 679266fd12cfSEd Maste 6793535af610SEd Maste Bring back OPENSSL_HAS_ECC to ssh-pkcs11-client 6794535af610SEd Maste 6795535af610SEd Mastecommit 099cdf59ce1e72f55d421c8445bf6321b3004755 6796535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6797535af610SEd MasteDate: Wed Jul 19 14:03:45 2023 +0000 6798535af610SEd Maste 6799535af610SEd Maste upstream: Separate ssh-pkcs11-helpers for each p11 module 6800535af610SEd Maste 6801535af610SEd Maste Make ssh-pkcs11-client start an independent helper for each provider, 6802535af610SEd Maste providing better isolation between modules and reliability if a single 6803535af610SEd Maste module misbehaves. 6804535af610SEd Maste 6805535af610SEd Maste This also implements reference counting of PKCS#11-hosted keys, 6806535af610SEd Maste allowing ssh-pkcs11-helper subprocesses to be automatically reaped 6807535af610SEd Maste when no remaining keys reference them. This fixes some bugs we have 6808535af610SEd Maste that make PKCS11 keys unusable after they have been deleted, e.g. 6809535af610SEd Maste https://bugzilla.mindrot.org/show_bug.cgi?id=3125 6810535af610SEd Maste 6811535af610SEd Maste ok markus@ 6812535af610SEd Maste 6813535af610SEd Maste OpenBSD-Commit-ID: 0ce188b14fe271ab0568f4500070d96c5657244e 6814535af610SEd Maste 6815535af610SEd Mastecommit 29ef8a04866ca14688d5b7fed7b8b9deab851f77 6816535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6817535af610SEd MasteDate: Wed Jul 19 14:02:27 2023 +0000 6818535af610SEd Maste 6819535af610SEd Maste upstream: Ensure FIDO/PKCS11 libraries contain expected symbols 6820535af610SEd Maste 6821535af610SEd Maste This checks via nlist(3) that candidate provider libraries contain one 6822535af610SEd Maste of the symbols that we will require prior to dlopen(), which can cause 6823535af610SEd Maste a number of side effects, including execution of constructors. 6824535af610SEd Maste 6825535af610SEd Maste Feedback deraadt; ok markus 6826535af610SEd Maste 6827535af610SEd Maste OpenBSD-Commit-ID: 1508a5fbd74e329e69a55b56c453c292029aefbe 6828535af610SEd Maste 6829535af610SEd Mastecommit 1f2731f5d7a8f8a8385c6031667ed29072c0d92a 6830535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6831535af610SEd MasteDate: Wed Jul 19 13:56:33 2023 +0000 6832535af610SEd Maste 6833535af610SEd Maste upstream: Disallow remote addition of FIDO/PKCS11 provider 6834535af610SEd Maste 6835535af610SEd Maste libraries to ssh-agent by default. 6836535af610SEd Maste 6837535af610SEd Maste The old behaviour of allowing remote clients from loading providers 6838535af610SEd Maste can be restored using `ssh-agent -O allow-remote-pkcs11`. 6839535af610SEd Maste 6840535af610SEd Maste Detection of local/remote clients requires a ssh(1) that supports 6841535af610SEd Maste the `session-bind@openssh.com` extension. Forwarding access to a 6842535af610SEd Maste ssh-agent socket using non-OpenSSH tools may circumvent this control. 6843535af610SEd Maste 6844535af610SEd Maste ok markus@ 6845535af610SEd Maste 6846535af610SEd Maste OpenBSD-Commit-ID: 4c2bdf79b214ae7e60cc8c39a45501344fa7bd7c 6847535af610SEd Maste 6848535af610SEd Mastecommit 892506b13654301f69f9545f48213fc210e5c5cc 6849535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6850535af610SEd MasteDate: Wed Jul 19 13:55:53 2023 +0000 6851535af610SEd Maste 6852535af610SEd Maste upstream: terminate process if requested to load a PKCS#11 provider 6853535af610SEd Maste 6854535af610SEd Maste that isn't a PKCS#11 provider; from / ok markus@ 6855535af610SEd Maste 6856535af610SEd Maste OpenBSD-Commit-ID: 39532cf18b115881bb4cfaee32084497aadfa05c 6857535af610SEd Maste 6858535af610SEd Mastecommit f3f56df8ec476b2de6cbdbdfdb77a2a61087829d 6859535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6860535af610SEd MasteDate: Wed Jul 19 12:07:18 2023 +1000 6861535af610SEd Maste 6862535af610SEd Maste agent_fuzz doesn't want stdint.h conditionalised 6863535af610SEd Maste 6864535af610SEd Mastecommit 750911fd31d307a767cc86e3bfa90bbbb77b1a25 6865535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6866535af610SEd MasteDate: Tue Jul 18 15:41:12 2023 +1000 6867535af610SEd Maste 6868535af610SEd Maste conditionalise stdint.h inclusion on HAVE_STDINT_H 6869535af610SEd Maste 6870535af610SEd Maste fixes build on AIX5 at least 6871535af610SEd Maste 6872535af610SEd Mastecommit ff047504fa6e008c4092f8929881816b8993bea0 6873535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6874535af610SEd MasteDate: Tue Jul 18 15:30:45 2023 +1000 6875535af610SEd Maste 6876535af610SEd Maste conditionalise match localnetwork on ifaddrs.h 6877535af610SEd Maste 6878535af610SEd Maste Fixes build breakage on platforms that lack getifaddrs() 6879535af610SEd Maste 6880535af610SEd Mastecommit b87b03282e466ca2927954ce93f5dbf0bfdc68f6 6881535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6882535af610SEd MasteDate: Mon Jul 17 06:16:33 2023 +0000 6883535af610SEd Maste 6884535af610SEd Maste upstream: missing match localnetwork negation check 6885535af610SEd Maste 6886535af610SEd Maste OpenBSD-Commit-ID: 9a08ed8dae27d3f38cf280f1b28d4e0ff41a737a 6887535af610SEd Maste 6888535af610SEd Mastecommit 6d6e185ba29ef4274164b77eab4dc763907f8821 6889535af610SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 6890535af610SEd MasteDate: Mon Jul 17 05:41:53 2023 +0000 6891535af610SEd Maste 6892535af610SEd Maste upstream: - add -P to usage() - sync the arg name to -J in usage() 6893535af610SEd Maste 6894535af610SEd Maste with that in ssh.1 - reformat usage() to match what "man ssh" does on 80width 6895535af610SEd Maste 6896535af610SEd Maste OpenBSD-Commit-ID: 5235dd7aa42e5bf90ae54579d519f92fc107036e 6897535af610SEd Maste 6898535af610SEd Mastecommit f1a9898283a0638667b587ee4a950afd61ab51b0 6899535af610SEd MasteAuthor: jmc@openbsd.org <jmc@openbsd.org> 6900535af610SEd MasteDate: Mon Jul 17 05:38:10 2023 +0000 6901535af610SEd Maste 6902535af610SEd Maste upstream: -P before -p in SYNOPSIS; 6903535af610SEd Maste 6904535af610SEd Maste OpenBSD-Commit-ID: 535f5257c779e26c6a662a038d241b017f8cab7c 6905535af610SEd Maste 6906535af610SEd Mastecommit eef4d7e873568e1c84c36bb4034e2c3378250a61 6907535af610SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 6908535af610SEd MasteDate: Mon Jul 17 05:36:14 2023 +0000 6909535af610SEd Maste 6910535af610SEd Maste upstream: configuation -> configuration 6911535af610SEd Maste 6912535af610SEd Maste OpenBSD-Commit-ID: 4776ced33b780f1db0b2902faec99312f26a726b 6913535af610SEd Maste 6914535af610SEd Mastecommit dc1dbe94cf6532bd546a3373ad436404f8850e5f 6915535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6916535af610SEd MasteDate: Mon Jul 17 05:26:38 2023 +0000 6917535af610SEd Maste 6918535af610SEd Maste upstream: move other RCSIDs to before their respective license blocks 6919535af610SEd Maste 6920535af610SEd Maste too no code change 6921535af610SEd Maste 6922535af610SEd Maste OpenBSD-Commit-ID: ef5bf46b57726e4260a63b032b0b5ac3b4fe9cd4 6923535af610SEd Maste 6924535af610SEd Mastecommit ebe11044681caff78834ca6b78311ad19c1860b8 6925535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6926535af610SEd MasteDate: Mon Jul 17 05:22:30 2023 +0000 6927535af610SEd Maste 6928535af610SEd Maste upstream: Move RCSID to before license block and away from #includes, 6929535af610SEd Maste 6930535af610SEd Maste where it caused merge conflict in -portable for each commit :( 6931535af610SEd Maste 6932535af610SEd Maste OpenBSD-Commit-ID: 756ebac963df3245258b962e88150ebab9d5fc20 6933535af610SEd Maste 6934535af610SEd Mastecommit 05c08e5f628de3ecf6f7ea20947735bcfa3201e0 6935535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6936535af610SEd MasteDate: Mon Jul 17 05:20:15 2023 +0000 6937535af610SEd Maste 6938535af610SEd Maste upstream: return SSH_ERR_KRL_BAD_MAGIC when a KRL doesn't contain a 6939535af610SEd Maste 6940535af610SEd Maste valid magic number and not SSH_ERR_MESSAGE_INCOMPLETE; the former is needed 6941535af610SEd Maste to fall back to text revocation lists in some cases; fixes t-cert-hostkey. 6942535af610SEd Maste 6943535af610SEd Maste OpenBSD-Commit-ID: 5c670a6c0f027e99b7774ef29f18ba088549c7e1 6944535af610SEd Maste 6945535af610SEd Mastecommit c6fad2c3d19b74f0bd0af1ef040fc74f3a1d9ebb 6946535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 6947535af610SEd MasteDate: Mon Jul 17 14:56:14 2023 +1000 6948535af610SEd Maste 6949535af610SEd Maste avoid AF_LINK on platforms that don't define it 6950535af610SEd Maste 6951535af610SEd Mastecommit 919bc3d3b712c920de1ae6be5ac6561c98886d7e 6952535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6953535af610SEd MasteDate: Mon Jul 17 04:08:31 2023 +0000 6954535af610SEd Maste 6955535af610SEd Maste upstream: Add support for configuration tags to ssh(1). 6956535af610SEd Maste 6957535af610SEd Maste This adds a ssh_config(5) "Tag" directive and corresponding 6958535af610SEd Maste "Match tag" predicate that may be used to select blocks of 6959535af610SEd Maste configuration similar to the pf.conf(5) keywords of the same 6960535af610SEd Maste name. 6961535af610SEd Maste 6962535af610SEd Maste ok markus 6963535af610SEd Maste 6964535af610SEd Maste OpenBSD-Commit-ID: dc08358e70e702b59ac3e591827e5a96141b06a3 6965535af610SEd Maste 6966535af610SEd Mastecommit 3071d85a47061c1bdaf11a0ac233b501ecba862c 6967535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6968535af610SEd MasteDate: Mon Jul 17 04:04:36 2023 +0000 6969535af610SEd Maste 6970535af610SEd Maste upstream: add a "match localnetwork" predicate. 6971535af610SEd Maste 6972535af610SEd Maste This allows matching on the addresses of available network interfaces 6973535af610SEd Maste and may be used to vary the effective client configuration based on 6974535af610SEd Maste network location (e.g. to use a ProxyJump when not on a particular 6975535af610SEd Maste network). 6976535af610SEd Maste 6977535af610SEd Maste ok markus@ 6978535af610SEd Maste 6979535af610SEd Maste OpenBSD-Commit-ID: cffb6ff9a3803abfc52b5cad0aa190c5e424c139 6980535af610SEd Maste 6981535af610SEd Mastecommit beec17bb311365b75a0a5941418d4b96df7d7888 6982535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 6983535af610SEd MasteDate: Mon Jul 17 04:01:10 2023 +0000 6984535af610SEd Maste 6985535af610SEd Maste upstream: remove vestigal support for KRL signatures 6986535af610SEd Maste 6987535af610SEd Maste When the KRL format was originally defined, it included support for 6988535af610SEd Maste signing of KRL objects. However, the code to sign KRLs and verify KRL 6989535af610SEd Maste signatues was never completed in OpenSSH. 6990535af610SEd Maste 6991535af610SEd Maste Now, some years later, we have SSHSIG support in ssh-keygen that is 6992535af610SEd Maste more general, well tested and actually works. So this removes the 6993535af610SEd Maste semi-finished KRL signing/verification support from OpenSSH and 6994535af610SEd Maste refactors the remaining code to realise the benefit - primarily, we 6995535af610SEd Maste no longer need to perform multiple parsing passes over KRL objects. 6996535af610SEd Maste 6997535af610SEd Maste ok markus@ 6998535af610SEd Maste 6999535af610SEd Maste OpenBSD-Commit-ID: 517437bab3d8180f695c775410c052340e038804 7000535af610SEd Maste 7001535af610SEd Mastecommit 449566f64c21b4578d5c0c431badd0328adc53ed 7002535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7003535af610SEd MasteDate: Mon Jul 17 03:57:21 2023 +0000 7004535af610SEd Maste 7005535af610SEd Maste upstream: Support for KRL extensions. 7006535af610SEd Maste 7007535af610SEd Maste This defines wire formats for optional KRL extensions and implements 7008535af610SEd Maste parsing of the new submessages. No actual extensions are supported at 7009535af610SEd Maste this point. 7010535af610SEd Maste 7011535af610SEd Maste ok markus 7012535af610SEd Maste 7013535af610SEd Maste OpenBSD-Commit-ID: ae2fcde9a22a9ba7f765bd4f36b3f5901d8c3fa7 7014535af610SEd Maste 7015535af610SEd Mastecommit 18ea857770e84825a3a6238bb37f54864487b59f 7016535af610SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 7017535af610SEd MasteDate: Fri Jul 14 07:44:21 2023 +0000 7018535af610SEd Maste 7019535af610SEd Maste upstream: Include stdint.h for SIZE_MAX. Fixes OPENSSL=no build. 7020535af610SEd Maste 7021535af610SEd Maste OpenBSD-Commit-ID: e7c31034a5434f2ead3579b13a7892960651e6b0 7022535af610SEd Maste 7023535af610SEd Mastecommit 20b768fcd13effe0f2d3619661b6c8592c773553 7024535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7025535af610SEd MasteDate: Fri Jul 14 17:07:32 2023 +1000 7026535af610SEd Maste 7027535af610SEd Maste Fix typo in declaration of nmesg. 7028535af610SEd Maste 7029535af610SEd Mastecommit 4b94d09542e36ebde2eb9ad89bc68431609932de 7030535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 7031535af610SEd MasteDate: Fri Jul 14 15:34:47 2023 +1000 7032535af610SEd Maste 7033535af610SEd Maste portable-specific int overflow defence-in-depth 7034535af610SEd Maste 7035535af610SEd Maste These too are unreachable, but we want the code to be safe regardless of 7036535af610SEd Maste context. Reported by Yair Mizrahi @ JFrog 7037535af610SEd Maste 7038535af610SEd Mastecommit 2ee48adb9fc8692e8d6ac679dcc9f35e89ad68f0 7039535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7040535af610SEd MasteDate: Fri Jul 14 05:31:44 2023 +0000 7041535af610SEd Maste 7042535af610SEd Maste upstream: add defence-in-depth checks for some unreachable integer 7043535af610SEd Maste 7044535af610SEd Maste overflows reported by Yair Mizrahi @ JFrog; feedback/ok millert@ 7045535af610SEd Maste 7046535af610SEd Maste OpenBSD-Commit-ID: 52af085f4e7ef9f9d8423d8c1840a6a88bda90bd 7047535af610SEd Maste 7048535af610SEd Mastecommit 4b43bc358ae6f6b19a973679246dc5172f6ac41b 7049535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7050535af610SEd MasteDate: Mon Jul 10 04:51:26 2023 +0000 7051535af610SEd Maste 7052535af610SEd Maste upstream: misplaced debug message 7053535af610SEd Maste 7054535af610SEd Maste OpenBSD-Commit-ID: d0f12af0a5067a756aa707bc39a83fa6f58bf7e5 7055535af610SEd Maste 7056535af610SEd Mastecommit 8c7203bcee4c4f98a22487b4631fe068b992099b 7057535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 7058535af610SEd MasteDate: Wed Jul 12 11:41:19 2023 +1000 7059535af610SEd Maste 7060535af610SEd Maste replace deprecate selinux matchpathcon function 7061535af610SEd Maste 7062535af610SEd Maste This function is apparently deprecated. Documentation on what is the 7063535af610SEd Maste supposed replacement is is non-existent, so this follows the approach 7064535af610SEd Maste glibc used https://sourceware.org/git/?p=glibc.git;a=patch;h=f278835f59 7065535af610SEd Maste 7066535af610SEd Maste ok dtucker@ 7067535af610SEd Maste 7068535af610SEd Mastecommit 7e8800f5d701efffa39ccb63ca1e095ea777c31a 7069535af610SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 7070535af610SEd MasteDate: Thu Jul 6 22:17:59 2023 +0000 7071535af610SEd Maste 7072535af610SEd Maste upstream: minleft and maxsign are u_int so cast appropriately. Prompted 7073535af610SEd Maste 7074535af610SEd Maste by github PR#410, ok deraadt. 7075535af610SEd Maste 7076535af610SEd Maste OpenBSD-Commit-ID: 0514cd51db3ec60239966622a0d3495b15406ddd 7077535af610SEd Maste 7078535af610SEd Mastecommit 94842bfe9b09fc93189c6ed0dc9bbebc1d44a426 7079535af610SEd MasteAuthor: dlg@openbsd.org <dlg@openbsd.org> 7080535af610SEd MasteDate: Tue Jul 4 03:59:21 2023 +0000 7081535af610SEd Maste 7082535af610SEd Maste upstream: add support for unix domain sockets to ssh -W 7083535af610SEd Maste 7084535af610SEd Maste ok djm@ dtucker@ 7085535af610SEd Maste 7086535af610SEd Maste OpenBSD-Commit-ID: 3e6d47567b895c7c28855c7bd614e106c987a6d8 7087535af610SEd Maste 7088535af610SEd Mastecommit a95fc5eed09a0238fb127b6c50e8498432b79dae 7089535af610SEd MasteAuthor: David Seifert <soap@gentoo.org> 7090535af610SEd MasteDate: Fri May 12 14:06:01 2023 +0200 7091535af610SEd Maste 7092535af610SEd Maste gss-serv.c: `MAXHOSTNAMELEN` -> `HOST_NAME_MAX` 7093535af610SEd Maste 7094535af610SEd Maste `MAXHOSTNAMELEN` is not defined in POSIX, which breaks on musl: 7095535af610SEd Maste https://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostname.html 7096535af610SEd Maste 7097535af610SEd Maste Bug: https://bugs.gentoo.org/834044 7098535af610SEd Maste 7099535af610SEd Mastecommit 8a6cd08850f576e7527c52a1b086cae82fab290e 7100535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7101535af610SEd MasteDate: Fri Jun 23 09:49:02 2023 +1000 7102535af610SEd Maste 7103535af610SEd Maste Update runner OS version for hardenedmalloc test. 7104535af610SEd Maste 7105535af610SEd Maste Hardenedmalloc dropped support for "legacy glibc" versions in their 7106535af610SEd Maste 64dad0a69 so use a newer Ubuntu version for the runner for that test. 7107535af610SEd Maste 7108535af610SEd Mastecommit cfca6f17e64baed6822bb927ed9f372ce64d9c5b 7109535af610SEd MasteAuthor: Damien Miller <djm@mindrot.org> 7110535af610SEd MasteDate: Thu Jun 22 15:04:03 2023 +1000 7111535af610SEd Maste 7112535af610SEd Maste handle sysconf(SC_OPEN_MAX) returning > INT_MAX; 7113535af610SEd Maste 7114535af610SEd Maste bz3581; ok dtucker 7115535af610SEd Maste 7116535af610SEd Mastecommit c1c2ca1365b3f7b626683690bd2c68265f6d8ffd 7117535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7118535af610SEd MasteDate: Wed Jun 21 05:10:26 2023 +0000 7119535af610SEd Maste 7120535af610SEd Maste upstream: better validate CASignatureAlgorithms in ssh_config and 7121535af610SEd Maste 7122535af610SEd Maste sshd_config. 7123535af610SEd Maste 7124535af610SEd Maste Previously this directive would accept certificate algorithm names, but 7125535af610SEd Maste these were unusable in practice as OpenSSH does not support CA chains. 7126535af610SEd Maste 7127535af610SEd Maste part of bz3577; ok dtucker@ 7128535af610SEd Maste 7129535af610SEd Maste OpenBSD-Commit-ID: a992d410c8a78ec982701bc3f91043dbdb359912 7130535af610SEd Maste 7131535af610SEd Mastecommit 4e73cd0f4ab3e5b576c56cac9732da62c8fc0565 7132535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7133535af610SEd MasteDate: Wed Jun 21 05:08:32 2023 +0000 7134535af610SEd Maste 7135535af610SEd Maste upstream: make `ssh -Q CASignatureAlgorithms` only list signature 7136535af610SEd Maste 7137535af610SEd Maste algorithms that are valid for CA signing. Previous behaviour was to list all 7138535af610SEd Maste signing algorithms, including certificate algorithms (OpenSSH certificates do 7139535af610SEd Maste not support CA chains). part of bz3577; ok dtucker@ 7140535af610SEd Maste 7141535af610SEd Maste OpenBSD-Commit-ID: 99c2b072dbac0f44fd1f2269e3ff6c1b5d7d3e59 7142535af610SEd Maste 7143535af610SEd Mastecommit a69062f1695ac9c3c3dea29d3044c72aaa6af0ea 7144535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7145535af610SEd MasteDate: Wed Jun 21 05:06:04 2023 +0000 7146535af610SEd Maste 7147535af610SEd Maste upstream: handle rlimits > INT_MAX (rlim_t is u64); ok dtucker 7148535af610SEd Maste 7149535af610SEd Maste bz3581 7150535af610SEd Maste 7151535af610SEd Maste OpenBSD-Commit-ID: 31cf59c041becc0e5ccb0a77106f812c4cd1cd74 7152535af610SEd Maste 7153535af610SEd Mastecommit 8d33f2aa6bb895a7f85a47189913639086347b75 7154535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7155535af610SEd MasteDate: Tue Jun 20 23:59:33 2023 +0000 7156535af610SEd Maste 7157535af610SEd Maste upstream: prepare for support for connecting to unix domain sockets 7158535af610SEd Maste 7159535af610SEd Maste using ssh -W by explicitly decoding PORT_STREAMLOCAL (a negative number) from 7160535af610SEd Maste the u32 that's passed over the multiplexing socket; previously code would 7161535af610SEd Maste just cast, which is UB. 7162535af610SEd Maste 7163535af610SEd Maste OpenBSD-Commit-ID: e5ac5f40d354096c51e8c118a5c1b2d2b7a31384 7164535af610SEd Maste 7165535af610SEd Mastecommit b4ac435b4e67f8eb5932d8f59eb5b3cf7dc38df0 7166535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7167535af610SEd MasteDate: Tue Jun 20 00:05:09 2023 +0000 7168535af610SEd Maste 7169535af610SEd Maste upstream: reset comment=NULL for each key in do_fingerprint(); 7170535af610SEd Maste 7171535af610SEd Maste fixes "no comment" not showing on when running `ssh-keygen -l` on multiple 7172535af610SEd Maste keys where one has a comment and other following keys do not. Patch from 7173535af610SEd Maste Markus Kuhn via GHPR407, bz3580 7174535af610SEd Maste 7175535af610SEd Maste OpenBSD-Commit-ID: 3cce84456fdcd67dc6b84e369f92c6686d111d9b 7176535af610SEd Maste 7177535af610SEd Mastecommit b53a809a549dcd4fbde554c6aa283e597b15ea33 7178535af610SEd MasteAuthor: millert@openbsd.org <millert@openbsd.org> 7179535af610SEd MasteDate: Mon Jun 5 13:24:36 2023 +0000 7180535af610SEd Maste 7181535af610SEd Maste upstream: Store timeouts as int, not u_int as they are limited to 7182535af610SEd Maste 7183535af610SEd Maste INT_MAX. Fixes sign compare warnings systems with 32-bit time_t due to type 7184535af610SEd Maste promotion. OK djm@ 7185535af610SEd Maste 7186535af610SEd Maste OpenBSD-Commit-ID: 48081e9ad35705c5f1705711704a4c2ff94e87b7 7187535af610SEd Maste 7188535af610SEd Mastecommit 2709809fd616a0991dc18e3a58dea10fb383c3f0 7189535af610SEd MasteAuthor: Philip Hands <phil@hands.com> 7190535af610SEd MasteDate: Wed May 24 19:41:14 2023 +0200 7191535af610SEd Maste 7192535af610SEd Maste fixup! if -s & -p specified, mention 'sftp -P' on 7193535af610SEd Maste 7194535af610SEd Maste success 7195535af610SEd Maste 7196535af610SEd Maste SSH-Copy-ID-Upstream: 32686e7c65b4fa2846e474d3315102dfa0f043b0 7197535af610SEd Maste 7198535af610SEd Mastecommit 204e0bf05161b7641500d7ab266c21217412379f 7199535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7200535af610SEd MasteDate: Tue Aug 3 21:25:48 2021 +1000 7201535af610SEd Maste 7202535af610SEd Maste Make ssh-copy-id(1) consistent with OpenSSH. 7203535af610SEd Maste 7204535af610SEd Maste This makes the ssh-copy-id man page more consistent with the rest of the 7205535af610SEd Maste OpenSSH man pages: 7206535af610SEd Maste - new sentence, new line 7207535af610SEd Maste - no sentences >80 7208535af610SEd Maste - N.B. -> NB 7209535af610SEd Maste - zap unused .Pp 7210535af610SEd Maste - zap trailing whitespace 7211535af610SEd Maste 7212535af610SEd Maste Report from Debian via mindrot bz#3331, diff from jmc at openbsd.org. 7213535af610SEd Maste 7214535af610SEd Maste SSH-Copy-ID-Upstream: d8974cfb6242316460ed22a1ccc662800a50c5d3 7215535af610SEd Maste 7216535af610SEd Mastecommit 9de79df66d1430d290fab670bb4b18612875e518 7217535af610SEd MasteAuthor: Philip Hands <phil@hands.com> 7218535af610SEd MasteDate: Wed May 24 11:45:43 2023 +0200 7219535af610SEd Maste 7220535af610SEd Maste if -s & -p specified, mention 'sftp -P' on success 7221535af610SEd Maste 7222535af610SEd Maste This was inspired by this: 7223535af610SEd Maste https://github.com/openssh/openssh-portable/pull/321 7224535af610SEd Maste but I thought that it was better to not do the sed patching. 7225535af610SEd Maste 7226535af610SEd Maste BTW the reason one can get away with using $SSH_OPTS throughout, despite 7227535af610SEd Maste the lowercase -p in there, even if sftp is in use, is that the sftp call 7228535af610SEd Maste is using the already-established ssh master connection, so the port was 7229535af610SEd Maste passed to the earlier ssh. 7230535af610SEd Maste 7231535af610SEd Maste SSH-Copy-ID-Upstream: 1c124d9bfafdbe28a00b683367ebf5750ce12eb2 7232535af610SEd Maste 7233535af610SEd Mastecommit 801cda54c00e0f4e7d89345a90874c8d05dc233a 7234535af610SEd MasteAuthor: Philip Hands <phil@hands.com> 7235535af610SEd MasteDate: Tue May 23 23:07:11 2023 +0200 7236535af610SEd Maste 7237535af610SEd Maste drop whitespace 7238535af610SEd Maste 7239535af610SEd Maste SSH-Copy-ID-Upstream: e604fae1cdee35c18055d35dcec530cf12ef00ad 7240535af610SEd Maste 7241535af610SEd Mastecommit 288482f53613f3e74544eb92deeb24f7c7f1f371 7242535af610SEd MasteAuthor: Philip Hands <phil@hands.com> 7243535af610SEd MasteDate: Tue May 23 20:52:13 2023 +0200 7244535af610SEd Maste 7245535af610SEd Maste make -x also apply to the target script 7246535af610SEd Maste 7247535af610SEd Maste SSH-Copy-ID-Upstream: 3c4214704f427bd0654adf9b0fc079253db21cf4 7248535af610SEd Maste 7249535af610SEd Mastecommit b79e7b88ed44f0e4339f0ff35c96c78a92175a8d 7250535af610SEd MasteAuthor: Philip Hands <phil@hands.com> 7251535af610SEd MasteDate: Tue May 23 16:46:42 2023 +0200 7252535af610SEd Maste 7253535af610SEd Maste add -t option to specify the target path 7254535af610SEd Maste 7255535af610SEd Maste Allow the default target path (.ssh/authorized_files) to be over-riden 7256535af610SEd Maste 7257535af610SEd Maste This was inspired by this MR from Panagiotis Cheilaris <philaris@cs.ntua.gr> 7258535af610SEd Maste 7259535af610SEd Maste https://gitlab.com/phil_hands/ssh-copy-id/-/merge_requests/8 7260535af610SEd Maste 7261535af610SEd Maste SSH-Copy-ID-Upstream: a942a0e076874adb6d8b2f0fb76d6c7918190fcd 7262535af610SEd Maste 7263535af610SEd Mastecommit 914f4ad138714c471ba72fb6d5496b6235320edd 7264535af610SEd MasteAuthor: Carlos Rodríguez Gili <carlos.rodriguez-gili@upc.edu> 7265535af610SEd MasteDate: Tue Apr 20 19:23:57 2021 +0200 7266535af610SEd Maste 7267535af610SEd Maste Fix test error for /bin/sh on Solaris 10 and older 7268535af610SEd Maste 7269535af610SEd Maste On Solaris 10 and older targets /bin/sh is not POSIX-compliant. 7270535af610SEd Maste Test -z `...` fails with error 'sh: test: argument expected'. 7271535af610SEd Maste Using quotes around backticks fixes this and doesn't break 7272535af610SEd Maste POSIX compatibility. 7273535af610SEd Maste 7274535af610SEd Maste SSH-Copy-ID-Upstream: 98394072a3f985b2650c1e8eab2fef84e38cc065 7275535af610SEd Maste 7276535af610SEd Mastecommit bd382dca316c721aed1e45edcf4c4e0f6374afb0 7277535af610SEd MasteAuthor: Jakub Jelen <jjelen@redhat.com> 7278535af610SEd MasteDate: Tue Mar 2 21:34:05 2021 +0000 7279535af610SEd Maste 7280535af610SEd Maste Remove outdated comment 7281535af610SEd Maste 7282535af610SEd Maste The commit b068122 removed the code dropping the trailing colon, but the comment stayed leaving the code confusing for future readers 7283535af610SEd Maste 7284535af610SEd Maste SSH-Copy-ID-Upstream: 930d39f238117cd53810240ec989d0356aa1c1f6 7285535af610SEd Maste 7286535af610SEd Mastecommit bdcaf7939029433635d63aade8f9ac762aca2bbe 7287535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7288535af610SEd MasteDate: Wed May 10 18:50:46 2023 +1000 7289535af610SEd Maste 7290535af610SEd Maste Special case OpenWrt instead of Dropbear. 7291535af610SEd Maste 7292535af610SEd Maste OpenWrt overrides the location of authorized_keys for root. Currently we 7293535af610SEd Maste assume that all Dropbear installations behave this way, which is not the 7294535af610SEd Maste case. Check for OpenWrt and root user before using that location instead 7295535af610SEd Maste of assuming that for all Dropbear servers. Prompted by Github PR#250. 7296535af610SEd Maste 7297535af610SEd Maste SSH-Copy-ID-Upstream: 0e1f5d443a9967483c33945793107ae3f3e4af2d 7298535af610SEd Maste 7299535af610SEd Mastecommit cf84498f67abe93f813a296167b406a0db7b288e 7300535af610SEd MasteAuthor: Philip Hands <phil@hands.com> 7301535af610SEd MasteDate: Thu May 18 18:20:55 2023 +0200 7302535af610SEd Maste 7303535af610SEd Maste ssh-copy-id: add -x option (for debugging) 7304535af610SEd Maste 7305535af610SEd Maste This option causes the ssh-copy-id to run with set -x 7306535af610SEd Maste 7307535af610SEd Maste SSH-Copy-ID-Upstream: a0ee367ea8c0a29c8b4515245e408d2d349e7844 7308535af610SEd Maste 7309535af610SEd Mastecommit b4a1efdcb88f03394c08e7f68ed4e11676830002 7310535af610SEd MasteAuthor: Philip Hands <phil@hands.com> 7311535af610SEd MasteDate: Thu May 18 17:14:41 2023 +0200 7312535af610SEd Maste 7313535af610SEd Maste update copyright notices 7314535af610SEd Maste 7315535af610SEd Maste SSH-Copy-ID-Upstream: c284ed33b361814ea48ff68cbd01ca525b2bf117 7316535af610SEd Maste 7317535af610SEd Mastecommit fcd78e31cdd45a7e69ccfe6d8a3b1037dc1de290 7318535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7319535af610SEd MasteDate: Wed May 24 23:01:06 2023 +0000 7320535af610SEd Maste 7321535af610SEd Maste upstream: fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand 7322535af610SEd Maste 7323535af610SEd Maste appears previously in configuration. Reported by John Meyers in bz3574 ok 7324535af610SEd Maste dtucker@ 7325535af610SEd Maste 7326535af610SEd Maste OpenBSD-Commit-ID: 1c92e4517284386703936e1d3abaa36cfacf1951 7327535af610SEd Maste 7328535af610SEd Mastecommit 5ec5504f1d328d5bfa64280cd617c3efec4f78f3 7329535af610SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 7330535af610SEd MasteDate: Wed May 10 10:04:20 2023 +0000 7331535af610SEd Maste 7332535af610SEd Maste upstream: Remove unused prototypes for ssh1 RSA functions. 7333535af610SEd Maste 7334535af610SEd Maste From lengyijun via github PR#396. 7335535af610SEd Maste 7336535af610SEd Maste OpenBSD-Commit-ID: 379a5afa8b7a0f3cba0c8a9bcceb4e5e33a5c1ef 7337535af610SEd Maste 7338535af610SEd Mastecommit fbf362b3891ae4b36052d1b39f37fc618b41c476 7339535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7340535af610SEd MasteDate: Tue May 9 19:26:56 2023 +1000 7341535af610SEd Maste 7342535af610SEd Maste main(void) to prevent unused variable warning. 7343535af610SEd Maste 7344535af610SEd Mastecommit baf854c8bb0a6d0af5c696c801e631a48dabbaba 7345535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7346535af610SEd MasteDate: Tue May 9 19:25:45 2023 +1000 7347535af610SEd Maste 7348535af610SEd Maste Remove warning pragma since clang doesn't like it. 7349535af610SEd Maste 7350535af610SEd Mastecommit 5fbb7a1349fbbb48ccb1b8cafff2c1854370d87d 7351535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7352535af610SEd MasteDate: Tue May 9 17:13:33 2023 +1000 7353535af610SEd Maste 7354535af610SEd Maste Suppress warning for snprintf truncation test. 7355535af610SEd Maste 7356535af610SEd Mastecommit 47742c513e4e045ecc985c6483fc5c8b050acda2 7357535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7358535af610SEd MasteDate: Tue May 9 17:12:50 2023 +1000 7359535af610SEd Maste 7360535af610SEd Maste Update OpenSSL compat test for 3.x. 7361535af610SEd Maste 7362535af610SEd Mastecommit 86ad25d455a2313126125540e61e0f9314283f88 7363535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7364535af610SEd MasteDate: Mon May 8 20:23:08 2023 +1000 7365535af610SEd Maste 7366535af610SEd Maste Add macos13 PAM test target. 7367535af610SEd Maste 7368535af610SEd Mastecommit 77cca2c4b13bc6e5f389565583b6202b0d1bccc2 7369535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7370535af610SEd MasteDate: Mon May 8 20:14:46 2023 +1000 7371535af610SEd Maste 7372535af610SEd Maste Skip agent-peereid test on macos13. 7373535af610SEd Maste 7374535af610SEd Maste sudo -S nobody doesn't work on the github runners (probably a 7375535af610SEd Maste permission issue) so skip that test. 7376535af610SEd Maste 7377535af610SEd Mastecommit b356b8e91678ea295bcf44df5248c3fbf499fdcf 7378535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7379535af610SEd MasteDate: Mon May 8 20:14:28 2023 +1000 7380535af610SEd Maste 7381535af610SEd Maste Include config.guess in debug output. 7382535af610SEd Maste 7383535af610SEd Mastecommit b7afd8a4ecaca8afd3179b55e9db79c0ff210237 7384535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7385535af610SEd MasteDate: Mon May 8 20:12:59 2023 +1000 7386535af610SEd Maste 7387535af610SEd Maste Handle OpenSSL >=3 ABI compatibility. 7388535af610SEd Maste 7389535af610SEd Maste Beyond OpenSSL 3.0, the ABI compatibility guarantees are wider (only 7390535af610SEd Maste major must match instead of major and minor in earlier versions). 7391535af610SEd Maste bz#3548, ok djm@ 7392535af610SEd Maste 7393535af610SEd Mastecommit 0e9e2663eb2c6e9c3e10d15d70418312ae67e542 7394535af610SEd MasteAuthor: dtucker@openbsd.org <dtucker@openbsd.org> 7395535af610SEd MasteDate: Mon May 1 08:57:29 2023 +0000 7396535af610SEd Maste 7397535af610SEd Maste upstream: Import regenerated moduli. 7398535af610SEd Maste 7399535af610SEd Maste OpenBSD-Commit-ID: 3d5f811cfcaed8cc4a97e1db49ac61bdf118113c 7400535af610SEd Maste 7401535af610SEd Mastecommit d9687f49682e1e93383fc15ab2018850b2ef38c3 7402535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7403535af610SEd MasteDate: Mon May 1 11:45:14 2023 +1000 7404535af610SEd Maste 7405535af610SEd Maste Add macos-13 test target. 7406535af610SEd Maste 7407535af610SEd Maste Also flatten OS list for clarity. 7408535af610SEd Maste 7409535af610SEd Mastecommit aacfd6767497b8fa6d41ecdd3f8e265d1e9ef1f6 7410535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7411535af610SEd MasteDate: Sun Apr 30 22:54:22 2023 +0000 7412535af610SEd Maste 7413535af610SEd Maste upstream: adjust ftruncate() logic to handle servers that reorder 7414535af610SEd Maste 7415535af610SEd Maste requests. 7416535af610SEd Maste 7417535af610SEd Maste sftp/scp will ftruncate the destination file after a transfer completes, 7418535af610SEd Maste to deal with the case where a longer destination file already existed. 7419535af610SEd Maste We tracked the highest contiguous block transferred to deal with this 7420535af610SEd Maste case, but our naive tracking doesn't deal with servers that reorder 7421535af610SEd Maste requests - a misfeature strictly permitted by the protocol but seldom 7422535af610SEd Maste implemented. 7423535af610SEd Maste 7424535af610SEd Maste Adjust the logic to ftruncate() at the highest absolute block received 7425535af610SEd Maste when the transfer is successful. feedback deraadt@ ok markus@ 7426535af610SEd Maste 7427535af610SEd Maste prompted by https://github.com/openssh/openssh-portable/commit/9b733#commitcomment-110679778 7428535af610SEd Maste 7429535af610SEd Maste OpenBSD-Commit-ID: 4af7fac75958ad8507b4fea58706f3ff0cfddb1b 7430535af610SEd Maste 7431535af610SEd Mastecommit c8eb3941758615c8284a48fff47872db926da63c 7432535af610SEd MasteAuthor: djm@openbsd.org <djm@openbsd.org> 7433535af610SEd MasteDate: Wed Apr 26 01:36:03 2023 +0000 7434535af610SEd Maste 7435535af610SEd Maste upstream: Check for ProxyJump=none in CanonicalizeHostname logic. 7436535af610SEd Maste 7437535af610SEd Maste Previously ssh would incorrectly refuse to canonicalise the hostname 7438535af610SEd Maste if ProxyJump was explicitly set to "none" when CanonicalizeHostname=yes 7439535af610SEd Maste 7440535af610SEd Maste bz3567; ok dtucker 7441535af610SEd Maste 7442535af610SEd Maste OpenBSD-Commit-ID: 80a58e43c3a32f97361282f756ec8d3f37989efd 7443535af610SEd Maste 7444535af610SEd Mastecommit ac383f3a5c6f529a2e8a5bc44af79a08c7da294e 7445535af610SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 7446535af610SEd MasteDate: Wed Apr 12 14:22:04 2023 +0000 7447535af610SEd Maste 7448535af610SEd Maste upstream: remove duplicate signal.h include 7449535af610SEd Maste 7450535af610SEd Maste OpenBSD-Commit-ID: 30c0a34d74d91ddd0e6992525da70d3293392f70 7451535af610SEd Maste 7452535af610SEd Mastecommit 740dafa20f3f3d325f6f5d44e990b8c8a6d3d816 7453535af610SEd MasteAuthor: jsg@openbsd.org <jsg@openbsd.org> 7454535af610SEd MasteDate: Wed Apr 12 08:53:54 2023 +0000 7455535af610SEd Maste 7456535af610SEd Maste upstream: fix double words ok dtucker@ 7457535af610SEd Maste 7458535af610SEd Maste OpenBSD-Commit-ID: 44d3223902fbce5276422bdc8063ab72a4078489 7459535af610SEd Maste 7460535af610SEd Mastecommit 6452f89577ec4f22440c31b8e19b061d1a7c4b2a 7461535af610SEd MasteAuthor: Darren Tucker <dtucker@dtucker.net> 7462535af610SEd MasteDate: Tue Apr 11 16:49:19 2023 +1000 7463535af610SEd Maste 7464535af610SEd Maste Test against LibreSSL 3.7.2. 7465