-
Notifications
You must be signed in to change notification settings - Fork 43
/
57.html
1045 lines (981 loc) · 56.6 KB
/
57.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>OpenBSD 5.7</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="OpenBSD 5.7">
<meta name="copyright" content="This document copyright 2015 by OpenBSD.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="openbsd.css">
<link rel="canonical" href="https://www.openbsd.org/57.html">
</head>
<body bgcolor="#ffffff" text="#000000" link="#24248E">
<h2>
<a href="index.html">
<i><font color="#0000ff">Open</font></i><font color="#000084">BSD</font></a>
<font color="#e00000">5.7</font>
</h2>
<a href="images/bluefish.jpg">
<img align="left" width="227" height="343" hspace="24" vspace="10" src="images/bluefish.jpg"></a>
Released May 1, 2015<br>
Copyright 1997-2015, Theo de Raadt.<br>
<font color="#e00000">ISBN 978-0-9881561-5-9</font>
<br>
5.7 Song: <a href="lyrics.html#57">"Source Fish"</a>
<p>
<ul>
<!--
<li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
-->
<li>See the information on <a href="ftp.html">the FTP page</a> for
a list of mirror machines.
<li>Go to the <font color="#e00000">pub/OpenBSD/5.7/</font> directory on
one of the mirror sites.
<li>Have a look at <a href="errata57.html">the 5.7 errata page</a> for a list
of bugs and workarounds.
<li>See a <a href="plus57.html">detailed log of changes</a> between the
5.6 and 5.7 releases.
<p>
<li><a href="https://man.openbsd.org/?query=signify&sektion=1">signify(1)</a> pubkeys for this release:<br>
<pre>
base: RWSvUZXnw9gUb70PdeSNnpSmodCyIPJEGN1wWr+6Time1eP7KiWJ5eAM
fw: RWSuRBL44FVkb2QuvtlwOJmzS9UJtbKZd7GEYcol8HPXu4On/Ct1LoZr
pkg: RWTJ1iHLn/zcvJJSbxJIEU9ChlfAlU16XoLLxmxciliOFWfTLyOv0vQs
</pre>
<p>
All applicable copyrights and credits are in the src.tar.gz,
sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
files fetched via ports.tar.gz.
</ul>
<br clear=all>
<hr>
<a name="new"></a>
<h3><font color="#0000e0">What's New</font></h3>
<p>
This is a partial list of new features and systems included in OpenBSD 5.7.
For a comprehensive list, see the <a href="plus57.html">changelog</a> leading
to 5.7.
<p>
<ul>
<li>Improved hardware support, including:
<ul>
<li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/xhci.4?query=xhci&sec=4">xhci(4)</a> driver for USB 3.0 host controllers.
<li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/umcs.4?query=umcs&sec=4">umcs(4)</a> driver for MosChip Semiconductor 78x0 USB multiport serial adapters.
<li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/i386/skgpio.4?query=skgpio&sec=4">skgpio(4)</a> driver for Soekris net6501 GPIO and LEDs.
<li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/uslhcom.4?query=uslhcom&sec=4">uslhcom(4)</a> driver for Silicon Labs CP2110 USB HID based UART.
<li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/nep.4?query=nep&sec=4">nep(4)</a> driver for Sun Neptune 10Gb Ethernet devices.
<li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/iwm.4?query=iwm&sec=4">iwm(4)</a> driver for Intel 7260, 7265, and 3160 wifi cards.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/rtsx.4?query=rtsx&sec=4">rtsx(4)</a> driver now supports RTS5227 and RTL8411B card readers.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/bge.4?query=bge&sec=4">bge(4)</a> driver now supports jumbo frames on various additional BCM57xx chipsets.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ciss.4?query=ciss&sec=4">ciss(4)</a> driver now supports HP Gen9 Smart Array/Smart HBA devices.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/mpi.4?query=mpi&sec=4">mpi(4)</a> and <a href="https://man.openbsd.org/OpenBSD-current/man4/mfi.4">mfi(4)</a> drivers now have mpsafe interrupt handlers running without the big lock.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ppb.4?query=ppb&sec=4">ppb(4)</a> driver now supports PCI bridges that support subtractive decoding (fixes PCMCIA behind the ATI SB400 PCI bridge), and devices with 64-bit BARs behind PCI-PCI bridges as seen on SPARC T5-2 systems.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/puc.4?query=puc&sec=4">puc(4)</a> driver now supports Winchiphead CH382 devices.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sdmmc.4?query=sdmmc&sec=4">sdmmc(4)</a> driver now supports eMMC storage devices larger than 2GB.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sdhc.4?query=sdhc&sec=4">sdhc(4)</a> driver can properly resume on Ricoh controllers.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sdhc.4?query=sdhc&sec=4">sdhc(4)</a> driver now supports Ricoh R5U822 and R5U823 card readers.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/mfii.4?query=mfii&sec=4">mfii(4)</a> driver now supports the Megaraid 3008 (Fury) and 3108 (Invader) cards.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/myx.4?query=myx&sec=4">myx(4)</a> driver runs less code under the big lock.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/msk.4?query=msk&sec=4">msk(4)</a> driver now supports Yukon Prime, Yukon Optima 2, Yukon 88E8079, and various EC U and Supreme chipsets.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/umass.4?query=umass&sec=4">umass(4)</a> driver now supports Archos 24y Vision devices.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/athn.4?query=athn&sec=4">athn(4)</a> driver now supports Atheros UB94 devices.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/azalia.4?query=azalia&sec=4">azalia(4)</a> driver now supports Realtek ALC885 codecs and Bay Trail HD Audio devices.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ix.4?query=ix&sec=4">ix(4)</a> driver now supports onboard Ethernet devices in SPARC T5 machines.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/upd.4?query=upd&sec=4">upd(4)</a> driver now handles UPSes with broken report descriptors.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ums.4?query=ums&sec=4">ums(4)</a> driver now supports the USB Tablet device emulated by Qemu.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/umsm.4?query=umsm&sec=4">umsm(4)</a> driver now supports MEDION S4222 devices.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/pciide.4?query=pciide&sec=4">pciide(4)</a> driver now supports Intel C610 chipsets.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ukbd.4?query=ukbd&sec=4">ukbd(4)</a> driver now supports "wellspring" Apple keyboards.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/pms.4?query=pms&sec=4">pms(4)</a> driver now supports click-and-drag with Elantech v4 touchpads.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/umodem.4?query=umodem&sec=4">umodem(4)</a> driver now supports Arduino Leonardo devices.
<li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sk.4?query=sk&sec=4">sk(4)</a> driver now supports receive ring scaling.
<li>Replaced custom jumbo allocators in
<a href="https://man.openbsd.org/OpenBSD-current/man4/sk.4?query=sk&sec=4">sk(4)</a>,
<a href="https://man.openbsd.org/OpenBSD-current/man4/nge.4?query=nge&sec=4">nge(4)</a>,
<a href="https://man.openbsd.org/OpenBSD-current/man4/lge.4?query=lge&sec=4">lge(4)</a>, and
<a href="https://man.openbsd.org/OpenBSD-current/man4/ti.4?query=ti&sec=4">ti(4)</a> with
<a href="https://man.openbsd.org/OpenBSD-current/man9/MCLGETI.9?query=MCLGETI&sec=9">MCLGETI(9)</a>.
<li>Wireless network scanning problems with the <a href="https://man.openbsd.org/OpenBSD-current/man4/iwn.4?query=iwn&sec=4">iwn(4)</a> driver have been fixed.
<li>Support for RS* IGP Radeon devices in the <a href="https://man.openbsd.org/OpenBSD-current/man4/radeondrm.4?query=radeondrm&sec=4">radeondrm(4)</a> driver has been fixed.
<li>PowerMac7,2 and PowerMac7,3 can now boot with a multiprocessor kernel.
</ul>
<p>
<li>Removed hardware support:
<ul>
<li>The <a href="https://man.openbsd.org/OpenBSD-5.6/man4/lofn.4?query=lofn&sec=4">lofn(4)</a> and <a href="https://man.openbsd.org/OpenBSD-5.6/man4/nofn.4?query=nofn&sec=4">nofn(4)</a> drivers for Hifn crypto accelerator devices have been removed.
<li>The <a href="https://man.openbsd.org/OpenBSD-5.6/man4/art.4?query=art&sec=4">art(4)</a> driver for Accoom Networks Artery T1/E1 devices has been removed.
<li>The <a href="https://man.openbsd.org/OpenBSD-5.6/man4/urio.4?query=urio&sec=4">urio(4)</a> driver for Diamond Multimedia Rio MP3 players has been removed.
</ul>
<p>
<li>Generic network stack improvements:
<ul>
<li>The routing table is now used for most of the address lookup operations superseding the RB-tree and IPv4 address list.
<li>The SipHash algorithm is now used for PCB hashing,
<a href="https://man.openbsd.org/OpenBSD-current/man4/trunk.4?query=trunk&sec=4">trunk(4)</a> loadbalancing,
<a href="https://man.openbsd.org/OpenBSD-current/man4/pf.4?query=pf&sec=4">pf(4)</a> and
<a href="https://man.openbsd.org/OpenBSD-current/man4/bridge.4?query=bridge&sec=4">bridge(4)</a>.
<li>Traffic destinated to link-local IPv6 addresses can now be seen with
<a href="https://man.openbsd.org/OpenBSD-current/man8/tcpdump.8?query=tcpdump&sec=8">tcpdump(8)</a>.
<li>A <a href="https://man.openbsd.org/?query=carp&sektion=4">carp(4)</a> now needs to be configured with an explicit <em>carpdev</em> parent interface.
<li>The
<a href="https://man.openbsd.org/OpenBSD-current/man9/mbuf.9?query=mbuf&sec=9">mbuf(9)</a>
layer has been made mpsafe.
<li>Introduce mbuf_list and mbuf_queue structures and APIs.
<li>Support changing the IPv6 input queue length via
<a href="https://man.openbsd.org/?query=sysctl&sektion=1">sysctl(1)</a> and net.inet6.ip6.ifq.
</ul>
<p>
<li>Installer improvements:
<ul>
<li>The <tt>etc</tt> and <tt>xetc</tt> sets are now part of <tt>base</tt> and
<tt>xbase</tt> and are not distributed separately anymore. They are extracted
from <tt>base</tt> and <tt>xbase</tt> during installation and upgrades.<br>
<b>Note that this includes the <tt>rc</tt> and <tt>rc.conf</tt> files!</b>
<li>The installer now supports
<a href="https://man.openbsd.org/OpenBSD-current/man4/trunk.4?query=trunk&sec=4">trunk(4)</a>
interfaces during upgrades.
<li>The discovery of the responsefile location for unattended installation and
upgrades has been extended to be more flexible.
<ul>
<li>Ask for the location if DHCP discovery fails for location or mode.
<li>Provide a default URL if the 'next-server' DHCP option is found.
<li>Use <tt>/auto_install.conf</tt> or <tt>/auto_upgrade.conf</tt> if present.
<li>Automatically start the installer in unattended mode if either one of these
files is present when the system boots.
</ul>
<li>Ignore hostname.if.* files when upgrading.
<li>Configure all physical interfaces before any dynamic interface types (e.g. trunks, vlans) when upgrading.
<li>
<a href="https://man.openbsd.org/?query=fdisk&sektion=8">fdisk(8)</a> now zeros out GPT signatures found when writing out an MBR that has been re-initialized and has no EFI or EFISYS partition.
<li>Fixed manipulation of 'ro' and 'rw' fstab options to avoid damage to other options that happen to contain 'ro' or 'rw'.
<li>The ramdisk binary (one binary contains all the commands) is now compiled without optimization and security features. The benefit is a substantial saving in space, allowing more features in the future.
</ul>
<p>
<li>Routing daemons and other userland network improvements:
<ul>
<li>nginx has been removed from base -- use the package if you need it.
<li>sliplogin has been removed.
<li>Sendmail has been removed from base -- use the package if you need it.
<li>IPv6 router solicitations are now sent by the kernel ("inet6 autoconf"); rtsol(8) and rtsold(8) are no longer necessary and have been removed.
<li>Enhancements and bugfixes in <a href="https://man.openbsd.org/?query=arp&sektion=8">arp(8)</a> and <a href="https://man.openbsd.org/?query=ndp&sektion=8">ndp(8)</a>
<li>The effects of the AI_ADDRCONFIG flag on <a href="https://man.openbsd.org/?query=getaddrinfo&sektion=3">getaddrinfo(3)</a> results are limited to DNS queries. This avoids erratic behavior with transient network problems, "raw" addresses and localhost entries in <a href="https://man.openbsd.org/?query=hosts&sektion=5">/etc/hosts</a>.
<li><a href="https://man.openbsd.org/?query=gethostbyname&sektion=3">gethostbyname(3)</a> now no longer fails when more than 16 addresses/aliases are returned. The original pre-asr limit of 35 has been restored, with additional results being truncated.
<li><a href="https://man.openbsd.org/?query=tftp&sektion=1">tftp(1)</a> now supports sending or receiving files larger than 65536 blocks in size.
<li><a href="https://man.openbsd.org/?query=tpd&sec=8">ntpd(8)</a> now supports authenticated TLS constraints.
</ul>
<p>
<li>Security improvements:
<ul>
<li>Stricter enforcement of W^X in the kernel address space, especially on architectures with the right featureset (amd64, in particular, has seen substantial improvements).
<li>Support for loadable kernel modules has been removed.
<li>procfs has been removed.
<li>Comprehensive audit of the tree to use the <a href="https://man.openbsd.org/?query=reallocarray&sektion=3">reallocarray(3)</a> idiom throughout.
<li>Many conversions from <a href="https://man.openbsd.org/?query=select&sektion=2">select(2)</a> to <a href="https://man.openbsd.org/?query=poll&sektion=2">poll(2)</a>.
<li>/var/tmp is now a symbolic link to /tmp, as a first step towards reducing the "fill it up" attack surface against the /var partition.
<li><a href="https://man.openbsd.org/?query=memcpy&sektion=3">memcpy(3)</a> with overlapping arguments now aborts a program (with a syslog report), allowing these problems to be found. Overlapping copies should use <a href="https://man.openbsd.org/?query=memmove&sektion=3">memmove(3)</a>. Sometime after 5.7 release, having learned more about the situation and repairing instances that are discovered by users during release use, we will go back to the optimized version.
<li>Change
<a href="https://man.openbsd.org/?query=rand&sektion=3">rand(3)</a>,
<a href="https://man.openbsd.org/?query=random&sektion=3">random(3)</a>,
<a href="https://man.openbsd.org/?query=drand48&sektion=3">drand48(3)</a>,
<a href="https://man.openbsd.org/?query=lrand48&sektion=3">lrand48(3)</a>,
<a href="https://man.openbsd.org/?query=mrand48&sektion=3">mrand48(3)</a>,
<a href="https://man.openbsd.org/?query=srand48&sektion=3">srand48(3)</a>
to return non-deterministic strong random values by default, sourced from
<a href="https://man.openbsd.org/?query=arc4random&sektion=3">arc4random(3)</a>.
New functions
<a href="https://man.openbsd.org/?query=srand_deterministic&sektion=3">srand_deterministic(3)</a>,
<a href="https://man.openbsd.org/?query=srandom_deterministic&sektion=3">srandom_deterministic(3)</a>,
<a href="https://man.openbsd.org/?query=seed48_deterministic&sektion=3">seed48_deterministic(3)</a> and
<a href="https://man.openbsd.org/?query=lcong48_deterministic&sektion=3">lcong48_deterministic(3)</a>
are added for cases where determinism needs to be requested.
<li>At resume (or unhibernate) time, use a variety of methods to reseed the random number generator. This also works on VMs which wake up (if a wakeup event is seen).
<li>All architectures have been transitioned to static PIE, meaning the statically linked binaries in /bin and /sbin now have randomly located text segments.
<li>Allow larger .openbsd.randomdata ELF segments.
<li>Sync kernel AES code and <a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a> AES code to the one shipped with OpenSSL/LibreSSL.
<li>Removed <a href="https://man.openbsd.org/?query=passwd&sektion=1">passwd(1)</a> support for all password ciphers except <a href="https://man.openbsd.org/?query=blowfish&sektion=3">blowfish(3)</a>.
<li>Use sha512 instead of md5 for <a href="https://man.openbsd.org/?query=tcp&sektion=4">tcp(4)</a> initial sequence number.
<li>Use sha512 instead of md5 in the random number generator.
<li>Delete secret or secret-derived data in many base utilities with <a href="https://man.openbsd.org/?query=explicit_bzero&sektion=3">explicit_bzero(3)</a>.
</ul>
<p>
<li>Assorted improvements:
<ul>
<li>New <a href="https://man.openbsd.org/?query=rcctl&sektion=8"">rcctl(8)</a> utility to control daemons.
<li><a href="https://man.openbsd.org/?query=fw_update&sektion=1">fw_update(1)</a> has been rewritten to be faster and smarter.
<li>Cleanup <a href="https://man.openbsd.org/?query=event&sektion=3">libevent(3)</a>,
the compatibility layer for other operating systems has been removed.
The API is still compatible with upstream libevent 1.4.15-stable.
<li><a href="https://man.openbsd.org/?query=openssl&sektion=1">openssl(1)</a>
s_client now supports a -proxy parameter for connecting over an HTTP proxy.
<li>gzsig has been removed.
<li>Switch to fast assembly versions of some libc functions on amd64.
<li>Frequency scaling has been moved from <a href="https://man.openbsd.org/?query=apmd&sektion=1">apmd(8)</a> to the kernel with an improved algorithm.
<li>Switch last workq API uses to
<a href="https://man.openbsd.org/?query=taskq_create&sektion=9">taskq</a> API and remove all traces of workq.
<li>Use
<a href="https://man.openbsd.org/?query=services&sektion=5">services(5)</a> names in the default pf rules in force during startup.
<li>
<a href="https://man.openbsd.org/?query=what&sektion=1">what(1)</a> now correctly displays $OpenBSD$ expansions.
<li>
<a href="https://man.openbsd.org/?query=dhcpd&sektion=8">dhcpd(8)</a> now removes addresses from its pf table a single time when they expire, rather than at every timeout after the expiry.
<li>
<a href="https://man.openbsd.org/?query=dhcpd&sektion=8">dhcpd(8)</a> now ensures that the pf table process exits when the main process does.
<li>
<a href="https://man.openbsd.org/?query=dhcpd&sektion=8">dhcpd(8)</a> has more informative log entries for DHCPACKs issued in response to DHCPINFORM messages.
<li>Added POSIX types blkcnt_t (int64) and blksize_t (int32), and used them for st_blocks (formerly int64_t) and st_blksize (formerly u_int32_t) in struct stat.
<li>Improved typography for
<a href="https://man.openbsd.org/?query=banner&sektion=6">banner(6)</a>.
<li>Allow <a href="https://man.openbsd.org/?query=hangman&sektion=6">hangman</a>
to play against any ELF file.
<li>
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> adjusts MTU when the interface-mtu DHCP option is provided.
<li>Various memory leaks in
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> plugged, providing more stability for long running (in terms of time or renewals) instances.
<li>The
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a>
command line options -q (quiet) and -d (don't daemonize) are now mutually exclusive.
<li>The communication between the privileged and unprivileged
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> processes was reworked to further minimize information sharing.
<li>
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> ensures lease timeouts (renew, rebind, expire) are sane and uses default values closer to RFC suggestions.
<li>
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> no longer crashes when a lease expires and cannot be renewed or replaced.
<li>
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> improved tracking network interface link states.
<li>Improved network error tracking and accounting in
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a>.
<li>Private number conversion functions in
<a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> eliminated in favour of standard library functions.
<li>Further signal race cleanups in
<a href="https://man.openbsd.org/?query=ftp&sektion=1">ftp(1)</a>.
<li>BIND has been retired, encouraging use of
<a href="https://man.openbsd.org/?query=nsd&sektion=8">nsd(8)</a> and
<a href="https://man.openbsd.org/?query=unbound&sektion=8">unbound(8)</a>.
<li>Significant namespace cleanup in the /usr/include files, especially related to <sys/param.h> and <limits.h>.
<li><a href="https://man.openbsd.org/?query=softraid&sektion=4">softraid(4)</a> RAID1 and CRYPTO volumes are now bootable on the sparc64 platform.
<li><a href="https://man.openbsd.org/?query=relayd&sektion=8">relayd(8)</a> now uses "TLS" rather than "SSL" terminology to reflect the deprecation of the latter.
<li><a href="https://man.openbsd.org/?query=relayd&sektion=8">relayd(8)</a> now supports the random and source-hash modes with redirections.
<li><a href="https://man.openbsd.org/?query=relayd&sektion=8">relayd(8)</a> now supports the <a href="https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/share/snmp/OPENBSD-RELAYD-MIB.txt?rev=1.1">OPENBSD-RELAYD-MIB</a> via agentx with <a href="https://man.openbsd.org/?query=snmpd&sektion=8">snmpd(8)</a>.
<li>Added interfaces for setting the close-on-exec flag and/or non-blocking mode on new file descriptors: <a href="https://man.openbsd.org/?query=pipe2&sektion=2">pipe2(2)</a>, <a href="https://man.openbsd.org/?query=dup3&sektion=2">dup3(2)</a>, <a href="https://man.openbsd.org/?query=accept4&sektion=2">accept4(2)</a>, <a href="https://man.openbsd.org/?query=mkostemp&sektion=3">mkostemp(3)</a>, <a href="https://man.openbsd.org/?query=mkostemps&sektion=3">mkostemps(3)</a>, the <tt>SOCK_CLOEXEC</tt> and <tt>SOCK_NONBLOCK</tt> flags for <a href="https://man.openbsd.org/?query=socket&sektion=2">socket(2)</a> and <a href="https://man.openbsd.org/?query=socketpair&sektion=2">socketpair(2)</a>, and the <tt>MSG_CMSG_CLOEXEC</tt> flag for <a href="https://man.openbsd.org/?query=recvmsg&sektion=2">recvmsg(2)</a>. In addition, <a href="https://man.openbsd.org/?query=posix_spawn_file_actions_adddup2&sektion=3">posix_spawn_file_actions_adddup2(3)</a> now always clears the close-on-exec flag.
<li>Added interfaces for setting the close-on-exec flag on new FILE handles and for requesting exclusive creation via the the 'e' and 'x' mode letters for <a href="https://man.openbsd.org/?query=fopen&sektion=3">fopen(3)</a>, <a href="https://man.openbsd.org/?query=fdopen&sektion=3">fdopen(3)</a>, <a href="https://man.openbsd.org/?query=freopen&sektion=3">freopen(3)</a>, and <a href="https://man.openbsd.org/?query=popen&sektion=3">popen(3)</a>.
<li>Many library functions and programs changed to use the above for safety or simplicity.
<li>Added <a href="https://man.openbsd.org/?query=chflagsat&sektion=2">chflagsat(2)</a>, <a href="https://man.openbsd.org/?query=sockatmark&sektion=3">sockatmark(3)</a>, and <a href="https://man.openbsd.org/?query=stravis&sektion=3">stravis(3)</a>.
<li>Merged performance and safety fixes for <a href="https://man.openbsd.org/?query=fts&sektion=3">fts(3)</a> from FreeBSD.
<li>Merged fixes for file descriptor leaks in various <a href="https://man.openbsd.org/?query=rpc&sektion=3">rpc(3)</a> functions from NetBSD.
<li>Added a <tt>kern.global_ptrace</tt> <a href="https://man.openbsd.org/?query=sysctl&sektion=1">sysctl(1)</a> to disable, by default, the ability to <a href="https://man.openbsd.org/?query=ptrace&sektion=2">ptrace(2)</a> processes that aren't your descendent.
<li><a href="https://man.openbsd.org/?query=kdump&sektion=1">kdump(1)</a> now always displays both the numeric and the textual forms for users, groups, timestamps, and sysctl ids, eliminating the <tt>-r</tt> option. It also auto-selects between decimal and hex format for arguments, renders more types of flags, and is more robust when parsing corrupt ktrace files.
<li><a href="https://man.openbsd.org/?query=chmod&sektion=1">chmod(1)</a>/<a href="https://man.openbsd.org/?query=chgrp&sektion=1">chgrp(1)</a>/<a href="https://man.openbsd.org/?query=chown&sektion=8">chown(8)</a> now comply with POSIX's requirements when they encounter symlinks when the <tt>-R</tt> option is used, and are safe from race conditions when doing so.
<li>The <a href="https://man.openbsd.org/?query=dmesg&sektion=8">dmesg(8)</a> utility can now display the console message buffer in addition to the system message buffer.
<li><a href="https://man.openbsd.org/?query=inetd&sektion=8">inetd(8)</a> now uses libevent instead of
<a href="https://man.openbsd.org/?query=select&sektion=3">select(3)</a>.
<li>Reworking of the kernel
<a href="https://man.openbsd.org/OpenBSD-current/man9/pool.9?query=pool&sec=9">pool(9)</a>
implementation to provide mpsafety and pave the way for performance improvements.
<li>Removed the
<a href="https://man.openbsd.org/OpenBSD-5.6/man9/workq_add_task.9?query=workq_add_task&sec=9">workq API</a>
after replacing it with the
<a href="https://man.openbsd.org/OpenBSD-current/man9/task_add.9?query=task_add&sec=9">task API</a>.
<li>Add support for creating kernel threads that cannot sleep to
<a href="https://man.openbsd.org/OpenBSD-5.6/man9/taskq_create.9?query=taskq_create&sec=9">taskq_create(9)</a>.
<li>Completed the implementation of the atomic (eg,
<a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_cas_uint.9?query=atomic_cas_uint&sec=9">atomic_cas_uint(9)</a>,
<a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_swap_uint.9?query=atomic_swap_uint&sec=9">atomic_swap_uint(9)</a>,
<a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_add_int.9?query=atomic_add_int&sec=9">atomic_add_int(9)</a>,
<a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_sub_int.9?query=atomic_sub_int&sec=9">atomic_sub_int(9)</a>,
<a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_inc_int.9?query=atomic_inc_int&sec=9">atomic_inc_int(9)</a>, and
<a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_dec_int.9?query=atomic_inc_int&sec=9">atomic_dec_int(9)</a>)
and membar
(<a href="https://man.openbsd.org/OpenBSD-current/man9/membar_sync.9?query=membar_sync&sec=9">membar_sync(9)</a>)
APIs across all supported architectures.
</ul>
<p>
<li>OpenBSD <a href="https://man.openbsd.org/?query=httpd&sektion=8">httpd(8)</a>:
<ul>
<li>SSLv2/3 is not supported anymore; renamed all occurrences of "SSL" to "TLS".
<li>Various TLS improvements with better support for ECDHE/DHE forward secrecy.
<li>Improved support for virtual hosts by supporting name- and IP- based aliases.
<li>Added support for basic authentication by checking against files created with <a href="https://man.openbsd.org/?query=htpasswd&sektion=1">htpasswd(1)</a>.
<li>Added support for custom error codes, blocking and dropping of connections.
<li>Added support for redirections and macros in specified target URLs.
<li>Added the "root strip" option to sanitize PATH_INFO for some CGI scripts.
<li>Added an option to specify an alternative log directory instead of /var/www/logs.
<li>Various FastCGI improvements; <a href="https://man.openbsd.org/?query=httpd&sektion=8">httpd(8)</a> is now compatible with many well-known web applications.
<li>Various other fixes and improvements.
</ul>
<p>
<li>OpenSMTPD 5.4.4:
<ul>
<li>SSLv3 is not supported anymore.
<li>Added support for a new message and headers parser.
<li>Added support for append-domain.
<li>Restricted address lookups to configured address families.
<li>Domain is no longer required when mailing a local user.
<li>Various other fixes and improvements.
</ul>
<p>
<li>OpenSSH 6.8
<ul>
<li>Potentially-incompatible changes:
<ul>
<li><a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
<tt>UseDNS</tt> now defaults to 'no'. Configurations that match
against the client host name (via
<a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>
or <tt>authorized_keys</tt>) may need to re-enable it or convert to
matching against addresses.
</ul>
<li>New/changed features:
<ul>
<li>Much of OpenSSH's internal code has been re-factored to be more
library-like. These changes are mostly not user-visible, but
have greatly improved OpenSSH's testability and internal layout.
<li>Add <tt>FingerprintHash</tt> option to
<a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
and
<a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>,
and equivalent command-line flags to the other tools to control
algorithm used for key fingerprints. The default changes from MD5
to SHA256 and format from hex to base64. Fingerprints now have the
hash algorithm prepended. Please note that visual host keys will also
be different.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>,
<a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
Experimental host key rotation support. Add a protocol extension
for a server to inform a client of all its available host keys after
authentication has completed. The client may record the keys in
<tt>known_hosts</tt>, allowing it to upgrade to better host key
algorithms and a server to gracefully rotate its keys. The client
side of this is controlled by a <tt>UpdateHostkeys</tt> config option
(default off).
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Add a
<a href="https://man.openbsd.org/?query=ssh_config&sektion=5">ssh_config(5)</a>
<tt>HostbasedKeyType</tt> option to control which host public key types
are tried during host-based authentication.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>,
<a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
fix connection-killing host key mismatch errors when
<a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>
offers multiple ECDSA keys of different lengths.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
when host name canonicalisation is enabled, try to parse host names
as addresses before looking them up for canonicalisation. Fixes
bz#2074 and avoiding needless DNS lookups in some cases.
<li><a href="https://man.openbsd.org/?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>,
<a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
<i>Key Revocation Lists</i> (KRLs) no longer require OpenSSH to be
compiled with OpenSSL support.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>,
<a href="https://man.openbsd.org/?query=ssh-keysign&sektion=8">ssh-keysign(8)</a>:
Make ed25519 keys work for host based authentication.
<li><a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
SSH protocol v.1 workaround for the Meyer, et al., <i>Bleichenbacher
Side Channel Attack</i>. Fake up a bignum key before RSA decryption.
<li><a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
Remember which public keys have been used for authentication and
refuse to accept previously-used keys. This allows
<tt>AuthenticationMethods=publickey,publickey</tt> to require that
users authenticate using two <i>different</i> public keys.
<li><a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
add
<a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>
<tt>HostbasedAcceptedKeyTypes</tt> and <tt>PubkeyAcceptedKeyTypes</tt>
options to allow
<a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>
to control what public key types will be accepted. Currently defaults
to all.
<li><a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
Don't count partial authentication success as a failure against
<tt>MaxAuthTries</tt>.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Add <tt>RevokedHostKeys</tt> option for the client to allow text-file
or KRL-based revocation of host keys.
<li><a href="https://man.openbsd.org/?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>,
<a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
Permit KRLs that revoke certificates by serial number or key ID without
scoping to a particular CA.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Add a "Match canonical" criteria that allows
<a href="https://man.openbsd.org/?query=ssh_config&sektion=5">ssh_config(5)</a>
<tt>Match</tt> blocks to trigger only in the second config pass.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Add a <tt>-G</tt> option to
<a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
that causes it to parse its configuration and dump the result to
stdout, similar to "<tt>sshd -T</tt>".
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Allow <tt>Match</tt> criteria to be negated
(e.g. "<tt>Match !host</tt>").
<li>The regression test suite has been extended to cover more OpenSSH
features. The unit tests have been expanded and now cover key
exchange.
</ul>
<li>The following significant bugs have been fixed in this release:
<ul>
<li><a href="https://man.openbsd.org/?query=ssh-keyscan&sektion=1">ssh-keyscan(1)</a>:
<a href="https://man.openbsd.org/?query=ssh-keyscan&sektion=1">ssh-keyscan(1)</a>
has been made much more robust again servers that hang or violate
the SSH protocol.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>,
<a href="https://man.openbsd.org/?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>:
Fix regression bz#2306: Key path names were being lost as comment
fields.
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Allow
<a href="https://man.openbsd.org/?query=ssh_config&sektion=5">ssh_config(5)</a>
<tt>Port</tt> options set in the second config parse phase to be
applied (they were being ignored). (bz#2286)
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Tweak config re-parsing with host canonicalisation—make the
second pass through the config files always run when host name
canonicalisation is enabled (and not whenever the host name changes).
(bz#2267)
<li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
Fix passing of wildcard forward bind addresses when connection
multiplexing is in use. (bz#2324)
<li><a href="https://man.openbsd.org/?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>:
Fix broken private key conversion from non-OpenSSH formats. (bz#2345)
<li><a href="https://man.openbsd.org/?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>:
Fix KRL generation bug when multiple CAs are in use.
<li>Various fixes to manual pages. (bz#2273, bz#2288 and bz#2316)
</ul>
</ul>
<p>
<li>LibreSSL
<ul>
<li>User-visible features:
<ul>
<li>Reluctantly add server-side support for <tt>TLS_FALLBACK_SCSV</tt>.
<li>Import <i>BoringSSL</i>'s crypto bytestring and crypto bytebuilder
APIs.
<li>Jettison DTLS over SCTP.
<li>Move
<a href="https://man.openbsd.org/?query=openssl&sektion=1">openssl(1)</a>
from <tt>/usr/sbin/openssl</tt> to <tt>/usr/bin/openssl</tt>.
<li>Two important cipher suites, GOST and Camellia, have been reworked
or reenabled, providing better interoperability with systems around
the world.
<li>libtls: New API for loading CA chains directly from memory instead
of a file, allowing verification with privilege separation in a
<a href="https://man.openbsd.org/?query=chroot&sektion=8">chroot(8)</a>
without direct access to CA certificate files.
<li>libtls: Ciphers default to TLSv1.2 with AEAD and PFS.
<li>libtls: Improved error handling and message generation.
<li>Added <tt>X509_STORE_load_mem</tt> API for loading certificates from
memory. This facilitates accessing certificates from a chrooted
environment.
<li>New AEAD "MAC alias" allows configuring TLSv1.2 AEAD ciphers by
using 'TLSv1.2+AEAD' as the cipher selection string.
<li>New
<a href="https://man.openbsd.org/?query=openssl&sektion=1">openssl(1)</a>
command '<tt>certhash</tt>' replaces the <tt>c_rehash</tt> script.
<li><i>Application-Layer Protocol Negotiation</i> (ALPN) support.
</ul>
<li>Code improvements:
<ul>
<li>Dead and disabled code removal including MD5, Netscape workarounds,
non-POSIX IO, SCTP, RFC 3779 support, "#if 0" sections, and more.
<li>The ASN1 macros are expanded to aid readability and maintainability.
<li>Various NULL pointer asserts removed in favor of letting the
OS/signal handler catch them.
<li>Dozens of issues found with the <i>Coverity scanner</i> fixed.
</ul>
<li>Security updates:
<ul>
<li>Fix a Bleichenbacher style timing oracle with bad PKCS padding.
<li>Fix memory leaks.
<li>Address POODLE attack by disabling SSLv3 by default.
<li>SHA256 Camellia cipher suites for TLS 1.2 from RFC 5932.
<li>Earlier libtls support for non-blocking sockets and randomized
session ID contexts.
<li>Ensure the stack is marked non-executable for assembly sections.
<li>Multiple CVEs fixed including CVE-2014-3506, CVE-2014-3507,
CVE-2014-3508, CVE-2014-3509, CVE-2014-3510, CVE-2014-3511,
CVE-2014-3570, CVE-2014-3572, CVE-2014-8275, CVE-2015-0205
and CVE-2015-0206.
</ul>
</ul>
<p>
<li>mandoc 1.13.3:
<ul>
<li><a href="https://man.openbsd.org/?query=man&sektion=1">man(1)</a>,
<a href="https://man.openbsd.org/?query=apropos&sektion=1">apropos(1)</a>, and
<a href="https://man.openbsd.org/?query=mandoc&sektion=1">mandoc(1)</a>
now have a unified user interface, all with the same options,
and are in fact all implemented by the same binary program.
<li>For <a href="https://man.openbsd.org/?query=man&sektion=1">man(1)</a>,
this implies new options -l and -IKOTW,
and it now finds manual pages by the names in their NAME sections
even if they lack matching file names.
<li>For <a href="https://man.openbsd.org/?query=apropos&sektion=1">apropos(1)</a>,
this implies new options -acfhklw and -IKOTW.
<li>For <a href="https://man.openbsd.org/?query=mandoc&sektion=1">mandoc(1)</a>,
this implies new options -acfhkl.
<li><a href="https://man.openbsd.org/?query=mandoc&sektion=1">mandoc(1)</a>
now automatically detects and transparently accepts input encoded
in utf-8 and iso-8859-1, and provides a new option -K to explicitly
specify the input encoding.
<li>The <a href="https://man.openbsd.org/?query=mandoc&sektion=1">mandoc(1)</a>
default output mode now is -Tlocale rather than -Tascii.
<li><a href="https://man.openbsd.org/?query=eqn&sektion=7">eqn(7)</a>
now supports in-line equations,
and terminal rendering of equations is considerably improved.
<li><a href="https://man.openbsd.org/?query=mandoc&sektion=1">mandoc(1)</a> -Thtml
now generates polyglot HTML5 and renders
<a href="https://man.openbsd.org/?query=eqn&sektion=7">eqn(7)</a>
using MathML.
<li><a href="https://man.openbsd.org/?query=mandoc&sektion=1">mandoc(1)</a>
can no longer fail with fatal errors, no matter how broken the input
file may be, and the -Wfatal message level no longer has any effect.
A new diagnostic level -Wunsupp is provided. Besides, many
diagnostic messages are now more specific.
<li>Many crashes were fixed that Jonathan Gray found with the
American Fuzzy Lop (afl).
</ul>
<p>
<li>Syslogd:
<ul>
<li>OpenBSD <a href="https://man.openbsd.org/?query=syslogd&sektion=8">syslogd(8)</a>
is based on
<a href="https://man.openbsd.org/?query=event&sektion=3">libevent</a>
now.
<li>Sending and receiving UDP messages works with both IPv4 and IPv6.
<li>Syslog messages can also be sent over TCP or TLS.
The syntax to specify the loghost is documented in
<a href="https://man.openbsd.org/?query=syslog.conf&sektion=5">syslog.conf(5)</a>.
<li>Sending over TCP and TLS is reliable.
If a connection terminates, syslogd tries to reconnect.
When the message buffer in memory gets full, the number of dropped
messages is counted and logged.
<li>With TLS, the x509 certificate of the syslog server is verified.
<li>The maximum message size has been increased according to newer RFC.
</ul>
<p>
<li>Ports and packages:
<ul>
<li>Over 9,000 ports.
</ul>
<p>
<li>Many pre-built packages for each architecture:
<table border=0 cellspacing=0 cellpadding=2 width="95%">
<tr>
<td valign="top" width="25%">
<ul>
<li>i386: 8722
<li>sparc64: 8184
<li>alpha: 6811
<li>sh: 0
</ul></td><td valign=top width="25%"><ul>
<li>amd64: 8745
<li>powerpc: 8286
<li>m88k: 1148
<li>sparc: 4026
</ul></td><td valign=top width="25%"><ul>
<li>arm: 0
<li>hppa: 6718
<li>vax: 1550
</ul></td><td valign=top width="25%"><ul>
<li>mips64: 1595
<li>mips64el: 6914
</ul></td></tr></table>
<p>
<li>Some highlights:
<table border=0 cellspacing=0 cellpadding=2 width="95%">
<tr>
<td valign="top" width="33%"><ul>
<li>Chromium 40.0.2214.115
<li>Emacs 21.4 and 24.4
<li>GCC 4.8.4 and 4.9.2
<li>GHC 7.8.4
<li>GNOME 3.14.2
<li>Go 1.4.1
<li>Groff 1.22.3
<li>JDK 1.7.0.71
<li>KDE 3.5.10 and 4.14.3
<li>LLVM/Clang 3.5 (20140228)
<li>LibreOffice 4.3.5.2
<li>MariaDB 10.0.16
<li>Mono 3.12.0
<li>Mozilla Firefox 31.4.0esr and 35.0.1
<li>Mozilla Thunderbird 31.4.0
</ul></td><td valign=top width="33%"><ul>
<li>Node.js 0.10.35
<li>OpenLDAP 2.3.43 and 2.4.40
<li>PHP 5.3.29, 5.4.38, 5.5.22 and 5.6.5
<li>Postfix 2.11.4
<li>PostgreSQL 9.4.1
<li>Python 2.7.9 and 3.4.2
<li>R 3.1.2
<li>Ruby 1.8.7.374, 1.9.3.551, 2.0.0.598, 2.1.5, and 2.2.0
<li>Sendmail 8.15.1
<li>Tcl/Tk 8.5.16 and 8.6.2
<li>TeX Live 2013
<li>Vim 7.4.475
<li>Xfce 4.10
</ul></td><td valign=top width="34%">
</td></tr></table>
<p>
<li>As usual, steady improvements in manual pages and other documentation.
<p>
<li>The system includes the following major components from outside suppliers:
<ul>
<li>Xenocara (based on X.Org 7.7 with xserver 1.16.4 + patches,
freetype 2.5.5, fontconfig 2.11.1, Mesa 10.2.9, xterm 314,
xkeyboard-config 2.13 and more)
<li>Gcc 4.2.1 (+ patches) and 3.3.6 (+ patches)
<li>Perl 5.20.1 (+ patches)
<li>SQLite 3.8.6 (+ patches)
<li>NSD 4.1.1
<li>Unbound 1.5.2
<li>Sudo 1.7.2p8
<li>Ncurses 5.7
<li>Binutils 2.15 (+ patches)
<li>Gdb 6.3 (+ patches)
<li>Less 458 (+ patches)
<li>Awk Aug 10, 2011 version
</ul>
</ul>
<a name="install"></a>
<hr>
<p>
<h3><font color="#0000e0">How to install</font></h3>
<p>
Following this are the instructions which you would have on a piece of
paper if you had purchased a CDROM set instead of doing an alternate
form of install. The instructions for doing an HTTP (or other style
of) install are very similar; the CDROM instructions are left intact
so that you can see how much easier it would have been if you had
purchased a CDROM instead.
<p>
<hr>
Please refer to the following files on the three CDROMs or mirror site for
extensive details on how to install OpenBSD 5.7 on your machine:
<p>
<ul>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/alpha/INSTALL.alpha">
.../OpenBSD/5.7/alpha/INSTALL.alpha (on CD1)</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/i386/INSTALL.i386">
.../OpenBSD/5.7/i386/INSTALL.i386 (on CD1)</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/hppa/INSTALL.hppa">
.../OpenBSD/5.7/hppa/INSTALL.hppa (on CD1)</a>
<p>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/amd64/INSTALL.amd64">
.../OpenBSD/5.7/amd64/INSTALL.amd64 (on CD2)</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/macppc/INSTALL.macppc">
.../OpenBSD/5.7/macppc/INSTALL.macppc (on CD2)</a>
<p>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sparc64/INSTALL.sparc64">
.../OpenBSD/5.7/sparc64/INSTALL.sparc64 (on CD3)</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sparc/INSTALL.sparc">
.../OpenBSD/5.7/sparc/INSTALL.sparc (on CD3)</a>
<p>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/alpha/INSTALL.alpha">
.../OpenBSD/5.7/alpha/INSTALL.alpha</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/armish/INSTALL.armish">
.../OpenBSD/5.7/armish/INSTALL.armish</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/aviion/INSTALL.aviion">
.../OpenBSD/5.7/aviion/INSTALL.aviion</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/hppa/INSTALL.hppa">
.../OpenBSD/5.7/hppa/INSTALL.hppa</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/landisk/INSTALL.landisk">
.../OpenBSD/5.7/landisk/INSTALL.landisk</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/loongson/INSTALL.loongson">
.../OpenBSD/5.7/loongson/INSTALL.loongson</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/luna88k/INSTALL.luna88k">
.../OpenBSD/5.7/luna88k/INSTALL.luna88k</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/macppc/INSTALL.macppc">
.../OpenBSD/5.7/macppc/INSTALL.macppc</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/octeon/INSTALL.octeon">
.../OpenBSD/5.7/octeon/INSTALL.octeon</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sgi/INSTALL.sgi">
.../OpenBSD/5.7/sgi/INSTALL.sgi</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/socppc/INSTALL.socppc">
.../OpenBSD/5.7/socppc/INSTALL.socppc</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sparc/INSTALL.sparc">
.../OpenBSD/5.7/sparc/INSTALL.sparc</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/vax/INSTALL.vax">
.../OpenBSD/5.7/vax/INSTALL.vax</a>
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/zaurus/INSTALL.zaurus">
.../OpenBSD/5.7/zaurus/INSTALL.zaurus</a>
</ul>
<hr>
<p>
Quick installer information for people familiar with OpenBSD, and the
use of the "disklabel -E" command. If you are at all confused when
installing OpenBSD, read the relevant INSTALL.* file as listed above!
<p>
<h3><font color="#e00000">OpenBSD/i386:</font></h3>
<ul>
The OpenBSD/i386 release is on CD1.
Boot from the CD to begin the install - you may need to adjust
your BIOS options first.
<p>
If your machine can boot from USB, you can write <i>install57.fs</i> or
<i>miniroot57.fs</i> to a USB stick and boot from it.
<p>
If you can't boot from a CD, floppy disk, or USB,
you can install across the network using PXE as described in
the included INSTALL.i386 document.
<p>
If you are planning on dual booting OpenBSD with another OS, you will need to
read INSTALL.i386.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/amd64:</font></h3>
<ul>
The OpenBSD/amd64 release is on CD2.
Boot from the CD to begin the install - you may need to adjust
your BIOS options first.
<p>
If your machine can boot from USB, you can write <i>install57.fs</i> or
<i>miniroot57.fs</i> to a USB stick and boot from it.
<p>
If you can't boot from a CD, floppy disk, or USB,
you can install across the network using PXE as described in the included
INSTALL.amd64 document.
<p>
If you are planning to dual boot OpenBSD with another OS, you will need to
read INSTALL.amd64.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/macppc:</font></h3>
<ul>
Burn the image from a mirror site to a CDROM, and power on your machine
while holding down the <i>C</i> key until the display turns on and
shows <i>OpenBSD/macppc boot</i>.
<p>
Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
/5.7/macppc/bsd.rd</i>
</ul>
<p>
<h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
<ul>
<b>
<a href="errata57.html#001_sparc64_miniroot">5.7 Errata 001</a>:
Unfortunately, 5.7 cannot boot from CDROM on some machines due
a bootloader bug.
</b>
<p>
Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
<p>
If this doesn't work, or if you don't have a CDROM drive, you can write
<i>CD3:5.7/sparc64/floppy57.fs</i> or <i>CD3:5.7/sparc64/floppyB57.fs</i>
(depending on your machine) to a floppy and boot it with <i>boot
floppy</i>. Refer to INSTALL.sparc64 for details.
<p>
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
will most likely fail.
<p>
You can also write <i>CD3:5.7/sparc64/miniroot57.fs</i> to the swap partition on
the disk and boot with <i>boot disk:b</i>.
<p>
If nothing works, you can boot over the network as described in INSTALL.sparc64.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/alpha:</font></h3>
<ul>
<p>Write <i>FTP:5.7/alpha/floppy57.fs</i> or
<i>FTP:5.7/alpha/floppyB57.fs</i> (depending on your machine) to a diskette and
enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
<p>
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
will most likely fail.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/armish:</font></h3>
<ul>
<p>
After connecting a serial port, Thecus can boot directly from the network
either tftp or http. Configure the network using fconfig, reset,
then load bsd.rd, see INSTALL.armish for specific details.
IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
More details are available in INSTALL.armish.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/hppa:</font></h3>
<ul>
<p>
Boot over the network by following the instructions in INSTALL.hppa or the
<a href="hppa.html#install">hppa platform page</a>.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/landisk:</font></h3>
<ul>
<p>
Write <i>miniroot57.fs</i> to the start of the CF
or disk, and boot normally.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/loongson:</font></h3>
<ul>
<p>
Write <i>miniroot57.fs</i> to a USB stick and boot bsd.rd from it
or boot bsd.rd via tftp.
Refer to the instructions in INSTALL.loongson for more details.
</ul>
<p>
<p>
<h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
<ul>
<p>
Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
from the PROM, and the bsd.rd from the bootloader.
Refer to the instructions in INSTALL.luna88k for more details.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/octeon:</font></h3>
<ul>
<p>
After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
Refer to the instructions in INSTALL.octeon for more details.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/sgi:</font></h3>
<ul>
<p>
To install, burn cd57.iso on a CD-R, put it in the CD drive of your
machine and select <i>Install System Software</i> from the System Maintenance
menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
CD-ROM, and need a proper invocation from the PROM prompt.
Refer to the instructions in INSTALL.sgi for more details.
<p>
If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
system type. Refer to the instructions in INSTALL.sgi for more details.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/socppc:</font></h3>
<ul>
<p>
After connecting a serial port, boot over the network via DHCP/tftp.
Refer to the instructions in INSTALL.socppc for more details.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/sparc:</font></h3>
<ul>
Boot from one of the provided install ISO images, using one of the two
commands listed below, depending on the version of your ROM.
<ul><pre>
ok <strong>boot cdrom 5.7/sparc/bsd.rd</strong>
or
> <strong>b sd(0,6,0)5.7/sparc/bsd.rd</strong>
</pre></ul>
<p>
If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
To do so you need to write <i>floppy57.fs</i> to a floppy.
For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
To boot from the floppy use one of the two commands listed below,
depending on the version of your ROM.
<ul><pre>
ok <strong>boot floppy</strong>
or
> <strong>b fd()</strong>
</pre></ul>
<p>
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
will most likely fail.
<p>
If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
setup a bootable tape, or install via network, as told in the
INSTALL.sparc file.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/vax:</font></h3>
<ul>
Boot over the network via mopbooting as described in INSTALL.vax.
</ul>
<p>
<h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
<ul>
<p>
Using the Linux built-in graphical ipkg installer, install the
openbsd57_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
for a few important details.
</ul>
<a name="upgrade"></a>
<hr>
<p>
<h3><font color="#0000e0">How to upgrade</font></h3>
<p>
If you already have an OpenBSD 5.6 system, and do not want to reinstall,
upgrade instructions and advice can be found in the
<a href="faq/upgrade57.html">Upgrade Guide</a>.
<a name="sourcecode"></a>
<hr>
<p>
<h3><font color="#0000e0">Notes about the source code</font></h3>
<p>
src.tar.gz contains a source archive starting at /usr/src. This file
contains everything you need except for the kernel sources, which are
in a separate archive. To extract:
<p>
<ul><pre>
# <strong>mkdir -p /usr/src</strong>
# <strong>cd /usr/src</strong>
# <strong>tar xvfz /tmp/src.tar.gz</strong>
</pre></ul>
<p>
sys.tar.gz contains a source archive starting at /usr/src/sys.
This file contains all the kernel sources you need to rebuild kernels.
To extract:
<p>
<ul><pre>
# <strong>mkdir -p /usr/src/sys</strong>
# <strong>cd /usr/src</strong>
# <strong>tar xvfz /tmp/sys.tar.gz</strong>
</pre></ul>
<p>
Both of these trees are a regular CVS checkout. Using these trees it
is possible to get a head-start on using the anoncvs servers as
described <a href="anoncvs.html">here</a>.
Using these files
results in a much faster initial CVS update than you could expect from
a fresh checkout of the full OpenBSD source tree.
<p>