1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
Commit Graph

5518 Commits

Author SHA1 Message Date
tobhe
b669b6ec4e Add machdep.lidaction example. We support this on arm64 laptops now.
From Jan Stary
Ok patrick@
2023-06-22 15:20:16 +00:00
deraadt
1105dba72e The group "operator" gatekeeps a few superuser abilities (dumping disks,
manipulating tape drives -> means gid operator on device nodes).  This group
is also used with group-access bit on the setuid-root shutdown command
(mode ug+x,u+s).  Some people use this to shutdown/reboot their machines, but
use of that group is giving them disk read access also, which is wrong.
It would be a pain to re-gid all the device nodes, so instead let's renumber
the operator execution gid into group "_shutdown".
Users using this shutdown/reboot functionality will notice it no longer works,
and move themselves to the correct group.
Various choices discussed at large, this seems our best choice.
ok sthen
2023-06-19 13:05:25 +00:00
deraadt
d1aec81433 we always create keys 2 releases into the future 2023-06-09 15:31:44 +00:00
sthen
d0dc268b31 After RFC 9110, the IANA services registry now lists both udp and tcp
for https (HTTP/3 over QUIC). Add it to /etc/services so that it's included
when /etc/rc populates sysctl net.inet.udp.baddynamic.

suggested by Renauld Allard, ok tb@
2023-05-25 09:41:46 +00:00
tb
34982bd4c8 Add a hint on using letsencrypt-staging for testing
While florian rightly points out that this is likely to be overlooked, it
may help someone. Also doesn't affect the adjust-config-with-sed-ability
of the example file after input by a few.

no objection florian
ok espie millert
2023-05-10 07:34:57 +00:00
dtucker
01f22c7e47 Import regenerated moduli. 2023-05-01 08:57:29 +00:00
phessler
6fcd0d88b6 During boot we have a protective and restrictive pf ruleset during the time
we are running netstart, and then load the pf.conf ruleset after all of the
interfaces are loaded.

Allow in and out IPv6 neighbor advertisement traffic without state during
that time.

suggestions/OK from saschan@
OK sthen@ kn@ florian@ deraadt@
2023-04-26 14:28:09 +00:00
kn
53e6d92c75 add default tmux config; ok sthen 2023-04-24 16:36:54 +00:00
krw
8214c829f6 Delete incomplete and unreferenced 'miniroot' entries from
arm64 and macppc disktab.
2023-04-21 14:09:52 +00:00
krw
cec6811b21 Remove obsolete/unused disktab entries for install media
that are no longer built.

ok miod@
2023-04-19 11:20:03 +00:00
semarie
9cc4dd68c7 changelist: remove dhclient(8) files
as currently dhclient(8) is a (sort of) alias to "ifconfig inet autoconf", these
files aren't used anymore.


ok tb@
2023-04-18 08:50:37 +00:00
semarie
34c8bf7ecf changelist: add unbound-control files
ok tb@
2023-04-18 08:48:17 +00:00
ajacoutot
9b50100706 Add /etc/mixerctl.conf to changelist(5).
ok deraadt@ kn@ semarie@
2023-04-16 07:16:58 +00:00
deraadt
73812c345c things will be ready a bit earlier 2023-03-25 15:07:19 +00:00
deraadt
db2c82142c correct day of week 2023-03-25 00:09:51 +00:00
deraadt
106086b728 slightly earlier, and tweak some dates 2023-03-15 19:54:32 +00:00
krw
aac8e53e4d Nuke pointless 'pb#N:ob#0:' lines from floppy
types.

ok miod@
2023-03-07 16:41:08 +00:00
krw
067bd7474f Delete extraneous trailing blank line. 2023-03-06 21:16:50 +00:00
krw
8e30ef80ae Remove pointless ":ob#0:pb#0:[tb=swap:]" disktab lines.
ok miod@
2023-03-06 18:12:47 +00:00
sthen
2e4eb7f849 tweak examples/iked.conf bits a little further following comments by
aisha@ and Crystal Kolipe, ok aisha@ tobhe@
2023-03-06 13:57:45 +00:00
deraadt
194a64d31b move to 7.3-beta 2023-03-04 14:49:36 +00:00
bluhm
693dc5e1c0 Process accounting and lastcomm(1) can detect execve(2) violations
of pinsyscall(2) policy.  Report such findings in daily mail like
other security violations.  User has to turn on accounting=YES in
rc.conf.local to utilize this feature.
OK deraadt@
2023-03-03 16:22:57 +00:00
sthen
dae58e7066 /etc/examples/iked.conf tweaks:
- show a demo of a strong random string for psk, for some types of
configuration psk makes sense. the previous example hinted at.not
using it.

- change the EAP MSCHAPv2 example so that more than one client can
connect (previous used address config but with only a single address not
a pool), and use the newer keywords to show how to route all traffic
from dynamic-ip clients over the tunnel

ok tobhe@
2023-03-01 22:45:25 +00:00
sthen
ffc3cc9dc8 add 7.4 fw key 2023-02-28 16:12:13 +00:00
robert
3179f0430b add 7.4 syspatch public key 2023-02-19 17:28:46 +00:00
naddy
06b4674405 7.4 packages key 2023-02-19 15:19:38 +00:00
deraadt
d9d92150f5 7.4 base key 2023-02-18 18:50:15 +00:00
deraadt
b7211c5dd3 sync 2023-01-28 11:47:25 +00:00
phessler
2aa24a8c28 Update the number of default wskbd entries
OK deraadt@
2023-01-28 11:04:47 +00:00
asou
e0c2589810 Delete TAB only line. 2023-01-25 10:53:15 +00:00
jca
f50e68ccdb sync 2023-01-24 13:31:47 +00:00
jca
b7167f603b Provide /dev/ujoy/[0-3]
ok deraadt@ miod@
2023-01-24 13:30:44 +00:00
deraadt
036e2a9299 process the sshd random-relink kit if it is found. sshd's text segment
is now garbled, and in the future xonly univirse you'll have poor success
downloading it or libc to know where gadgets are.
ok djm
2023-01-18 20:44:40 +00:00
kettenis
796f3615ae regen 2023-01-14 12:19:11 +00:00
kettenis
b48a47a7af Create /dev/efi on amd64 and arm64.
ok yasuoka@
2023-01-14 12:15:12 +00:00
kn
0b442041eb Make wait_reorder_libs() honour library_aslr=NO
Otherwise it will unconditionally print an empty line in case relinking
is disabled.

Reported by kettenis
Feedback OK tb
OK florian
2022-12-28 09:53:33 +00:00
kn
ee5ad0ad9e add newline missed in previous 2022-12-26 20:24:43 +00:00
florian
5ea7b46218 Re-order libraries in parallel to netstart.
While netstart is busy setting up the network and waiting for a
default route we can already start with reordering libraries since
this does not depend on running network, speeding things up.

Idea & input deraadt
Input & OK kn
2022-12-26 18:57:50 +00:00
kn
8f27d2fe26 Revert previous as it doesn't create additional lo(4) anymore
Reported by Andreas Bartelt on bugs@
2022-12-18 15:52:52 +00:00
kn
46f967292a Do not try to create physical interfaces
vifscreate() always creates all virtual interfaces up-front.

To check whether a given interface exists, ifstart() uses ifcreate()
which tries to create nonexistent ones.

Virtual ones are guaranteed to be present and physical ones cannot be
created, so replace the ifcreate() call with a simpler ifconfig test and
clarify the comment.

OK martijn afresh1
2022-12-18 05:51:14 +00:00
kn
5e544b4ec6 zap double space and needless line break 2022-12-16 17:57:39 +00:00
afresh1
51e3b6acd6 Prioritize lladdr over name/unit in hostname.if processing
When needed, lladdr is more precise and enduring.

Suggested by deraadt@
Many improvments and OK kn@
2022-12-16 04:04:25 +00:00
afresh1
af42e33e8d Add support configuring hostname.if(5) by lladdr
Original implementation by martijn@
Feedback and suggestions from kn@, sthen@, claudio@, florian@, and deraadt@.

ok deraadt
2022-12-05 20:12:00 +00:00
kn
1fae1118a3 add configtest; OK martijn 2022-11-30 02:54:15 +00:00
cheloha
76a9e5e67c rc(8): reorder_libs: print names of relinked libraries
When booting from slow media, the boot can appear to stall at the
"reordering libs" line for quite some time.  For my example, my G4
PowerMac booting from USB 1.1 takes a full minute to reorder the
libraries.

Let's print the name of each library before it is relinked.  This
gives the operator a better sense of what the machine is doing.  In
particular, it signals to the operator that the machine did not hang.

With input from kn@, deraadt@.  Positive feedback from sthen@.

Link: https://marc.info/?l=openbsd-tech&m=165914104421476&w=2

ok kn@
2022-11-28 14:56:31 +00:00
krw
27ea7898a6 Regen 2022-11-10 11:02:26 +00:00
krw
fd2ae1c6a8 Nuke Vax (ra,rx) and HP-300 (hd) devices.
Noticed by kn@

ok millert@
2022-11-10 09:50:00 +00:00
krw
98abb01d3a Regen 2022-11-09 22:18:53 +00:00
krw
86ac43f969 Remove xy/xd. SMD left with sparc.
ok kn@ deraadt@
2022-11-09 19:35:23 +00:00
krw
fabf5c2497 Remove xy/xd. SMD left with sparc.
ok kn@ deraadt@
2022-11-09 18:46:04 +00:00