ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 9534
Committed: Sun Aug 20 00:04:01 2017 UTC (6 years, 9 months ago) by laffer1
File size: 61625 byte(s)
Log Message:
Ryzen workaround #1

File Contents

# Content
1 Updating Information for MidnightBSD users.
2
3 20170819:
4 Heimdal KDC-REP service name validation vulerability patched.
5
6 Introduce a partial fix for AMD Ryzen issues. On Ryzen, move
7 the lower shared page by one.
8
9 20170326:
10 sudo removed from base. Use doas(1) or install sudo from mports
11
12 Stable 0.9 created, continue development on 0.10
13
14 20170305:
15 Add hast module to bsnmpd
16
17 20170302:
18 add a callback to the ada(4) driver so that it knows when
19 GEOM has released references to it.
20
21 20170219:
22 Add /dev/full device.
23
24 The lindev device has been removed since /dev/full has been made a
25 standard device.
26
27 Serf 1.3.9
28 Subversion 1.8.10
29 apr 1.5.2
30 apr-util 1.5.4
31
32 20170129:
33 add doas utility from OpenBSD.
34
35 20161105:
36 BIND 9.9.9-p4
37
38 OpenSSH 7.3p1
39
40 20161103:
41 OpenSSL security patch
42
43 Due to improper handling of alert packets, OpenSSL would consume an excessive
44 amount of CPU time processing undefined alert messages.
45
46 20161015:
47 libarchive 3.2.1
48
49 xz 5.2.2
50
51 20161013:
52 Sync ZFS code with Illuminos/FreeBSD 9.2. Added support for
53 feature flags, pool version 5000. This also includes some
54 bug fixes and performance optimizations.
55
56 20160925:
57 Import NetBSD vis(3) and unvis(3) as well as mtree.
58
59 one-true-awk 20121220
60
61 inetd now honors kern.ipc.somaxconn value.
62
63 netmap synced with FreeBSD 9.2
64
65 linuxolator now has dtrace probes.
66
67 bsdgrep now correctly handles -m to exclude only one file.
68
69 UFS file systems can now be resized in read-write mode due to the new
70 write suspension feature.
71
72 Basic support added for Intel Raid Recover Technology.
73
74 GMIRROR & GRAID3 now mark volumes clean on shutdown earlier to help with ZFS issues.
75
76 Highpoint hpt27xx now in GENERIC kernel.
77
78 20160923:
79 Security update for OpenSSL
80
81 A malicious client can send an excessively large OCSP Status Request extension.
82 If that client continually requests renegotiation, sending a large OCSP Status
83 Request extension each time, then there will be unbounded memory growth on the
84 server. [CVE-2016-6304]
85
86 An overflow can occur in MDC2_Update() either if called directly or through
87 the EVP_DigestUpdate() function using MDC2. If an attacker is able to supply
88 very large amounts of input data after a previous call to EVP_EncryptUpdate()
89 with a partial block then a length check can overflow resulting in a heap
90 corruption. [CVE-2016-6303]
91
92 If a server uses SHA512 for TLS session ticket HMAC it is vulnerable to a
93 DoS attack where a malformed ticket will result in an OOB read which will
94 ultimately crash. [CVE-2016-6302]
95
96 The function BN_bn2dec() does not check the return value of BN_div_word().
97 This can cause an OOB write if an application uses this function with an
98 overly large BIGNUM. This could be a problem if an overly large certificate
99 or CRL is printed out from an untrusted source. TLS is not affected because
100 record limits will reject an oversized certificate before it is parsed.
101 [CVE-2016-2182]
102
103 The function TS_OBJ_print_bio() misuses OBJ_obj2txt(): the return value is
104 the total length the OID text representation would use and not the amount
105 of data written. This will result in OOB reads when large OIDs are presented.
106 [CVE-2016-2180]
107
108 Some calculations of limits in OpenSSL have used undefined pointer arithmetic.
109 This could cause problems with some malloc implementations. [CVE-2016-2177]
110
111 Operations in the DSA signing algorithm should run in constant time in order to
112 avoid side channel attacks. A flaw in the OpenSSL DSA implementation means that
113 a non-constant time codepath is followed for certain operations. [CVE-2016-2178]
114
115 In a DTLS connection where handshake messages are delivered out-of-order those
116 messages that OpenSSL is not yet ready to process will be buffered for later
117 use. Under certain circumstances, a flaw in the logic means that those messages
118 do not get removed from the buffer even though the handshake has been completed.
119 An attacker could force up to approx. 15 messages to remain in the buffer when
120 they are no longer required. These messages will be cleared when the DTLS
121 connection is closed. The default maximum size for a message is 100k. Therefore
122 the attacker could force an additional 1500k to be consumed per connection.
123 [CVE-2016-2179]
124
125 A flaw in the DTLS replay attack protection mechanism means that records that
126 arrive for future epochs update the replay protection "window" before the MAC
127 for the record has been validated. This could be exploited by an attacker by
128 sending a record for the next epoch (which does not have to decrypt or have a
129 valid MAC), with a very large sequence number. This means that all subsequent
130 legitimate packets are dropped causing a denial of service for a specific
131 DTLS connection. [CVE-2016-2181]
132
133 In OpenSSL 1.0.2 and earlier some missing message length checks can result in
134 OOB reads of up to 2 bytes beyond an allocated buffer. There is a theoretical
135 DoS risk but this has not been observed in practice on common platforms.
136 [CVE-2016-6306]
137
138 20160918:
139 With the addition of auditdistd(8), a new auditdistd user is now
140 depended on during installworld. "mergemaster -p" can be used to add
141 the user prior to installworld.
142
143 The VFS KBI was changed with the merge of several nullfs
144 optimizations and fixes. All filesystem modules must be
145 recompiled.
146
147 20160916:
148 The random(4) support for the VIA hardware random number
149 generator (`PADLOCK') is no longer enabled unconditionally.
150 Add the PADLOCK_RNG option in the custom kernel config if
151 needed. The GENERIC kernels on i386 and amd64 do include the
152 option, so the change only affects the custom kernel
153 configurations.
154
155 A new version of ZFS (pool version 5000) has been merged.
156 Starting with this version the old system of ZFS pool versioning
157 is superseded by "feature flags". This concept enables forward
158 compatibility against certain future changes in functionality of ZFS
159 pools. The first two read-only compatible "feature flags" for ZFS
160 pools are "com.delphix:async_destroy" and "com.delphix:empty_bpobj".
161 For more information read the new zpool-features(7) manual page.
162 Please refer to the "ZFS notes" section of this file for information
163 on upgrading boot ZFS pools.
164
165 20160906:
166 Add support for the MosChip MCS9904 four serial ports
167 controller.
168
169 Add support for walltimestamp in DTrace.
170
171 Various gdb improvments.
172
173 ZFS
174 Import the zio nop-write improvement from Illumos. To reduce I/O,
175 nop-write omits overwriting data if the checksum (cryptographically
176 secure) of new data matches the checksum of existing data.
177 It also saves space if snapshots are in use.
178
179 It currently works only on datasets with enabled compression, disabled
180 deduplication and sha256 checksums.
181
182 Add loader(8) tunable to enable/disable nopwrite functionality:
183 vfs.zfs.nopwrite_enabled
184
185 Introduce a new dataset aclmode setting "restricted" to protect ACL's
186 being destroyed or corrupted by a drive-by chmod.
187
188 New loader-only tunables:
189 vfs.zfs.sync_pass_deferred_free
190 vfs.zfs.sync_pass_dont_compress
191 vfs.zfs.sync_pass_rewrite
192
193 chkgrp(8) add support for q flag
194
195 Fix problem with the Samsung 840 PRO series SSD detection.
196 The device reports support for SATA Asynchronous Notification in its
197 IDENTIFY data, but returns error on attempt to enable that feature.
198 Make SATA XPT of CAM only report these errors, but not fail the device.
199
200 20160905:
201 Add a resource limit for the total number of kqueues
202 available to the user. Kqueue now saves the ucred of the
203 allocating thread, to correctly decrement the counter on close.
204 Based on FreeBSD SVN 256849
205
206 Import netcat from OpenBSD 5.2
207
208 20160904:
209 Introduced experimental TCP sysctls starting with
210 net.inet.tcp.experimental.initcwnd10
211
212 20160814:
213 switched default desktop port to midnightbsd-desktop. This gives us flexibility to change it
214 in the release after the fact.
215
216 tzdata 2016a
217
218 20160811:
219 libdispatch 210
220
221 Added quirks for several models of SSDs to enable advanced format/4k mode. List includes
222 Samsung 830, 840, 850 and 750 series, Intel x25 and a few Toshiba models. Also
223 added WD Red drives.
224
225 Updated list of pci device vendors.
226
227 Updated list of usb devices.
228
229 20160807:
230 Implement several changes to libmport to fix some memory corruption issues.
231
232 20160806:
233 sqlite3 3.13.0
234
235 20160805:
236 Merged fixes for libmport that improve error handling when installing packages. Also
237 support mkdir -p like behavior for plist entries.
238
239 20160531:
240 Fix four security issues with MidnightBSD.
241
242 The implementation of TIOCGSERIAL ioctl(2) does not clear the output
243 struct before sending to userland in the linux emulation layer.
244
245 The compat 43 stat(2) system call exposes kernel stack to userland.
246
247 libarchive - CVE-2015-2304 and CVE-2013-0211 fix issues with
248 cpio directory traversal and an integer signedness error in the archive
249 write zip data routine.
250
251
252 20160528:
253 Fixed minor issues with mined(1) and msearch(1).
254
255 20160526:
256 Add support for Ivybridge and Haswell Intel CPUs to hwpmc(4).
257
258 Fix libpmc(3) build with clang compiler.
259
260 20160519:
261 Kernel Security updates
262
263 atkbd(4) - Incorrect signedness comparison in the ioctl(2) handler allows a malicious
264 local user to overwrite a portion of the kernel memory.
265
266 Incorrect argument handling in sendmsg(2)
267
268 Incorrect argument handling in the socket code allows malicious local
269 user to overwrite large portion of the kernel memory.
270
271 20160505:
272 OpenSSL security patch
273
274 The padding check in AES-NI CBC MAC was rewritten to be in constant time
275 by making sure that always the same bytes are read and compared against
276 either the MAC or padding bytes. But it no longer checked that there was
277 enough data to have both the MAC and padding bytes. [CVE-2016-2107]
278
279 An overflow can occur in the EVP_EncodeUpdate() function which is used for
280 Base64 encoding of binary data. [CVE-2016-2105]
281
282 An overflow can occur in the EVP_EncryptUpdate() function, however it is
283 believed that there can be no overflows in internal code due to this problem.
284 [CVE-2016-2106]
285
286 When ASN.1 data is read from a BIO using functions such as d2i_CMS_bio()
287 a short invalid encoding can casuse allocation of large amounts of memory
288 potentially consuming excessive resources or exhausting memory.
289 [CVE-2016-2109]
290
291 20160412:
292 0.8 stable branch created. Continue development as 0.9.
293
294 Fix several issues with wait6 system call addition.
295
296 20160409:
297 libmport now supports two new plist formats:
298 @(root,wheel,4775) myfile
299 @dir(root,wheel,775) mydir
300
301 On delete, absoluate paths are now handled properly.
302
303 20160317:
304 OpenSSH doesn't have the luck of the Irish.
305
306 Fix a security issue with OpenSSH X11 forwarding that can allow an attacker
307 run shell commands on the call to xauth.
308
309 Incorrect argument validation in sysarch(2)
310
311 A special combination of sysarch(2) arguments, specify a request to
312 uninstall a set of descriptors from the LDT. The start descriptor
313 is cleared and the number of descriptors are provided. Due to invalid
314 use of a signed intermediate value in the bounds checking during argument
315 validity verification, unbound zero'ing of the process LDT and adjacent
316 memory can be initiated from usermode.
317
318 Patch obtained from FreeBSD.
319
320 20160229:
321 top now displays information on ZFS arc cache.
322
323 20160228:
324 llvm + clang 3.3 is now the default compiler in MidnightBSD.
325
326 20160222:
327 Introduce pipe2 to linux emulation layer.
328
329 20160114:
330 OpenSSL
331
332 The signature verification routines will crash with a NULL pointer dereference
333 if presented with an ASN.1 signature using the RSA PSS algorithm and absent
334 mask generation function parameter. [CVE-2015-3194]
335
336 When presented with a malformed X509_ATTRIBUTE structure, OpenSSL will leak
337 memory. [CVE-2015-3195]
338
339 If PSK identity hints are received by a multi-threaded client then the values
340 are incorrectly updated in the parent SSL_CTX structure. [CVE-2015-3196]
341
342 Fix security on bsnmpd configuration file during installation.
343
344 TCP MD5 signature denial of service
345
346 A programming error in processing a TCP connection with both TCP_MD5SIG
347 and TCP_NOOPT socket options may lead to kernel crash.
348
349 SCTP
350
351 A lack of proper input checks in the ICMPv6 processing in the SCTP stack
352 can lead to either a failed kernel assertion or to a NULL pointer
353 dereference. In either case, a kernel panic will follow.
354
355 20160102:
356 Happy New Year
357
358 20151101:
359 Increase kern.ipc.somaxconn default to 256.
360
361 20151017:
362 Add initial statistics api to libmport and a driver to print
363 it in mport(1).
364
365 20151002:
366 Revised rpcbind(8) patch to fix issues with NIS
367
368 20150930:
369 In rpcbind(8), netbuf structures are copied directly, which would result in
370 two netbuf structures that reference to one shared address buffer. When one
371 of the two netbuf structures is freed, access to the other netbuf structure
372 would result in an undefined result that may crash the rpcbind(8) daemon.
373
374 20150926:
375 libmport now supports @preexec, @postexec, @preunexec and @postunexec
376 to replace @exec and @unexec.
377
378 pre exec runs afer pre-install scripts but before actual installation
379
380 post exec runs after install but before post install scripts and
381 pkg message.
382
383 pre unexec runs before pre uninstall scripts
384
385 post unexec runs before de-install scripts and after file removal.
386
387 20150917:
388 Fix kqueue write events for files > 2GB
389
390 20150825:
391 kernel:
392 fix a security issue on amd64 where the GS segment CPU register can be changed via
393 userland value in kernel mode by using an IRET with #SS or #NP exceptions.
394
395 openssh:
396 A programming error in the privileged monitor process of the sshd(8)
397 service may allow the username of an already-authenticated user to be
398 overwritten by the unprivileged child process.
399
400 A use-after-free error in the privileged monitor process of he sshd(8)
401 service may be deterministically triggered by the actions of a
402 compromised unprivileged child process.
403
404 A use-after-free error in the session multiplexing code in the sshd(8)
405 service may result in unintended termination of the connection.
406
407 20150818:
408 expat security fix
409
410 20150815:
411 libc changes:
412 setmode(3) now returns errno consistently on error.
413 libc will compile without error using clang
414
415 20150814:
416 wait6 system call added.
417
418 date(1) now handles non numeric numbers passed to -r
419 like GNU coreutils for improved compatibility.
420
421 20150811:
422 ata(4) AMD Hudson2 SATA controller support.
423 Intel lynxpoint SATA.
424
425 Fix some const warnings when building several device drivers
426 with llvm/clang.
427
428 Sync cas(4) with FreeBSD 9-stable.
429
430 Fix some minor issues with ath(4).
431
432 20150809:
433 xz 5.0.8
434
435 20150808:
436 libmport now logs installation and removal of packages to syslog.
437
438 20150805:
439 routed - fix a potential security issue where traffic from outside
440 the network can disrupt routing.
441
442 bsd patch - fix a bug with ed(1) scripts allowing unsanitized input
443 to run.
444
445 20150802:
446 jansson 2.7 library added. (libjansson is a JSON library in C)
447
448 20150728:
449 Heimdal 1.5.2 (kerberos implementation)
450
451 OpenSSL 1.0.1o
452
453 cpucontrol(8) now supports VIA CPUs. Synced with FreeBSD 9.2.
454
455 TCP Resassemly resource exhaustion bug:
456 There is a mistake with the introduction of VNET, which converted the
457 global limit on the number of segments that could belong to reassembly
458 queues into a per-VNET limit. Because mbufs are allocated from a
459 global pool, in the presence of a sufficient number of VNETs, the
460 total number of mbufs attached to reassembly queues can grow to the
461 total number of mbufs in the system, at which point all network
462 traffic would cease.
463 Obtained from: FreeBSD 8
464
465 OpenSSH
466
467 Fix two security vulnerabilities:
468 OpenSSH clients does not correctly verify DNS SSHFP records when a server
469 offers a certificate. [CVE-2014-2653]
470
471 OpenSSH servers which are configured to allow password authentication
472 using PAM (default) would allow many password attempts. A bug allows
473 MaxAuthTries to be bypassed. [CVE-2015-5600]
474
475
476 Switch to bsdpatch (from FreeBSD & OpenBSD)
477
478 20150726:
479 BSD Sort updated
480
481 sqlite 3.8.10.2
482
483 20150725:
484 Import reallocarray from OpenBSD's libc.
485
486 The reallocarray() function is similar to realloc() except it operates on
487 nmemb members of size size and checks for integer overflow in the
488 calculation nmemb * size.
489
490 20150722:
491 Fix a bug where TCP connections transitioning to LAST_ACK
492 state can get stuck. This can result in a denial of service.
493
494 20150715:
495 libmport now supports @shell and @sample in plists. This means that
496 a shell port can automatically add an entry to /etc/shells and remove
497 it upon uninstallation. For sample files, a copy is made without the
498 .sample extension if one does not exist and it is removed automatically
499 only if the md5 hash of the two files is the same.
500
501 20150709:
502 flex 2.5.39
503
504 20150702:
505 ZFS in MidnightBSD now supports lz4 compression. You can enable it
506 with zfs set compression=lz4 pool/path.
507
508 Verify it's working with
509 zfs get compressratio pool/path
510 du -h -s *
511
512 Note you must write new data when turning on compression to see
513 changes. Existing files are not compressed.
514
515 Note: While we used the same basic implementation of lz4 that
516 FreeBSD and OpenZFS uses, we did not yet implement features support
517 and the zfs version still reports 28. This may come in a future update
518 to ZFS.
519
520 20150621:
521 libmport now automatically stops services when deleting packages.
522
523 The package must have installed an rc.d script in /usr/local/etc
524 for this to work. This is equivalent to running service <name> onestop
525
526 20150618:
527 Sendmail
528
529 With the recent changes to OpenSSL to block 512 bit certificates,
530 sendmail can't connect with TLS to some servers.
531
532 Increase the default size to 1024 bit for client connections to
533 match the server configuration.
534
535 ZFS
536
537 Added ZFS TRIM support which is enabled by default. To disable
538 ZFS TRIM support set vfs.zfs.trim.enabled=0 in loader.conf.
539
540 Creating new ZFS pools and adding new devices to existing pools
541 first performs a full device level TRIM which can take a significant
542 amount of time. The sysctl vfs.zfs.vdev.trim_on_init can be set to 0
543 to disable this behaviour.
544
545 ZFS TRIM requires the underlying device support BIO_DELETE which
546 is currently provided by methods such as ATA TRIM and SCSI UNMAP
547 via CAM, which are typically supported by SSD's.
548
549 Stats for ZFS TRIM can be monitored by looking at the sysctl's
550 under kstat.zfs.misc.zio_trim.
551
552 rc.d
553
554 Reworked handling of cleanvar and FILESYSTEMS so that FILESYSTEMS
555 implies everything is mounted and ready to go.
556
557 Changed how ip6addressctl maps IPv6 on startup.
558
559 20150613:
560 tzdata 2015d
561
562 20150612:
563 OpenSSL 0.9.8zg
564
565 20150419:
566 MidnightBSD 0.6 stable branch created. Continue 0.7
567 development.
568
569 20150418:
570 sqlite 3.8.9
571
572 20150407:
573 Fix two security vulnerabilities:
574
575 The previous fix for IGMP had an overflow issue. This has been corrected.
576
577 ipv6: The Neighbor Discover Protocol allows a local router to advertise a
578 suggested Current Hop Limit value of a link, which will replace
579 Current Hop Limit on an interface connected to the link on the MidnightBSD
580 system.
581
582 20150319:
583 OpenSSL 0.9.8.zf
584
585 mksh R50e
586
587 Apple mDNSResponder 561.1.1
588
589 20150306:
590 Upgrade OpenSSL to 0.9.8ze
591
592 20150225:
593 Fix two security vulnerabilities.
594
595 1. BIND servers which are configured to perform DNSSEC validation and which
596 are using managed keys (which occurs implicitly when using
597 "dnssec-validation auto;" or "dnssec-lookaside auto;") may exhibit
598 unpredictable behavior due to the use of an improperly initialized
599 variable.
600
601 CVE-2015-1349
602
603 2. An integer overflow in computing the size of IGMPv3 data buffer can result
604 in a buffer which is too small for the requested operation.
605
606 This can result in a DOS attack.
607
608 20141211:
609 Fix a security issue with file and libmagic that can allow
610 an attacker to create a denial of service attack on any
611 program that uses libmagic.
612
613 20141109:
614 Fix building perl during buildworld when the GDBM port is installed.
615
616 20141106:
617 tzdata 2014i
618
619 20141102:
620 serf 1.3.8
621
622 20141031:
623 tnftp 20141031 fixes a security vulnerability with tnftp,
624 CVE-2014-8517.
625
626 20141028:
627 OpenSSL 0.9.8zc
628
629 20141021:
630 Fix several security vulnerabilities in routed, rtsold,
631 and namei with respect to Capsicum sandboxes looking up
632 nonexistent path names and leaking memory.
633
634 The input path in routed(8) will accept queries from any source and
635 attempt to answer them. However, the output path assumes that the
636 destination address for the response is on a directly connected
637 network.
638
639 Due to a missing length check in the code that handles DNS parameters,
640 a malformed router advertisement message can result in a stack buffer
641 overflow in rtsold(8).
642
643 20141011:
644 mksh R50d - fix field splitting regression and null
645 pointer dereference
646
647 xz 5.0.7
648
649 OpenSSH 6.6p1
650
651 20141004:
652 mksh R50c - security update for environment var bug with
653 foo vs foo+
654
655 20141002:
656 sqlite 3.8.6
657
658 sudo 1.7.8 - some issues with the current version, but we're slowly
659 getting up to date.
660
661 20141001:
662 mksh R50b
663
664 libmport now supports plist commands @dir, @owner, @group, @mode.
665
666 sudo 1.7.6p2
667
668 20140916:
669 Fix a security issue with TCP SYN.
670
671 When a segment with the SYN flag for an already existing connection arrives,
672 the TCP stack tears down the connection, bypassing a check that the
673 sequence number in the segment is in the expected window.
674
675 20140909:
676 Fixed a bug with our clearenv(3) implementation that caused segfaults
677 with some programs including Dovecot.
678
679 OpenSSL security patch:
680
681 The receipt of a specifically crafted DTLS handshake message may cause OpenSSL
682 to consume large amounts of memory. [CVE-2014-3506]
683
684 The receipt of a specifically crafted DTLS packet could cause OpenSSL to leak
685 memory. [CVE-2014-3507]
686
687 A flaw in OBJ_obj2txt may cause pretty printing functions such as
688 X509_name_oneline, X509_name_print_ex et al. to leak some information from
689 the stack. [CVE-2014-3508]
690
691 OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject to
692 a denial of service attack. [CVE-2014-3510]
693
694 20140902:
695 We're now 0.6-CURRENT
696
697 Update USB quirks to support K70 Corsair keyboard, and several
698 other devices.
699
700 20140827:
701 Perl 5.18.2
702
703 20140728:
704 Jails now run shutdown scripts.
705
706 20140710:
707 Fix a vulnerability in the control message API. A buffer is not properly cleared
708 before sharing with userland.
709
710 20140701:
711 MKSH R50
712
713 20140630:
714 File 5.19
715
716 20140605:
717 Fix four security issues with OpenSSL
718
719 20140604:
720 Sendmail failed to properly set close-on-exec for open file descriptors.
721
722 ktrace page fault kernel trace entries were set to an incorrect size which resulted
723 in a leak of information.
724
725 20140430:
726 Fix a TCP reassembly bug that could result in a DOS attack
727 of the system. It may be possible to obtain portions
728 of kernel memory as well.
729
730 20140411:
731 Update zlib to 1.2.7
732
733 20140122:
734 Support for username with length 32. Previous limit was 16
735
736 20140114:
737 Fix two security vulnerabilities.
738
739 bsnmpd contains a stack overflow when sent certain queries.
740
741 bind 9.8 when using NSEC3-signed zones zones, will crash with special
742 crafted packets.
743
744 20131228:
745 Imported FreeBSD 9.2 usb stack (plus z87 patches from stable)
746
747 Updated em(4), igb(4) and ixgbe(4)
748
749 MidnightBSD now works with Z87 Intel chipsets.
750
751 20131207:
752 Remove sparc64 architecture. It hasn't been working for awhile
753 and it's not useful for desktops anymore.
754
755 20131205:
756 OpenSSH 6.4p1
757
758 20131203:
759 Perl 5.18.1 imported.
760
761 Update less to v458
762
763 20131130:
764 Remove named from base. We still include the client utilities for
765 now until replacements can be found.
766
767 20131004:
768 rarpd supports vlan(4) and has a pid flag. (from FreeBSD)
769
770 20130917:
771 Support for 65,536 routing tables was added. A new fib specific
772 field has been added to mbuf. This is an increase from 16.
773
774 20130910:
775 Security updates: (kern.osreldate 5001)
776
777 nullfs(5)
778
779 The nullfs(5) implementation of the VOP_LINK(9) VFS operation does not
780 check whether the source and target of the link are both in the same
781 nullfs instance. It is therefore possible to create a hardlink from a
782 location in one nullfs instance to a file in another, as long as the
783 underlying (source) filesystem is the same.
784
785 ifioctl
786
787 As is commonly the case, the IPv6 and ATM network layer ioctl request
788 handlers are written in such a way that an unrecognized request is
789 passed on unmodified to the link layer, which will either handle it or
790 return an error code.
791
792 Network interface drivers, however, assume that the SIOCSIFADDR,
793 SIOCSIFBRDADDR, SIOCSIFDSTADDR and SIOCSIFNETMASK requests have been
794 handled at the network layer, and therefore do not perform input
795 validation or verify the caller's credentials. Typical link-layer
796 actions for these requests may include marking the interface as "up"
797 and resetting the underlying hardware.
798
799 20130824:
800 Fix a bug in sendmail 8.14.7 that interferes with how it
801 handles AAAA records interoperating with Microsoft DNS servers.
802 FreeBSD has already reported this to Sendmail and a fix
803 will be included in the next release.
804
805 Subversion 1.8.1 is now in the base system as a static
806 binary. It has limited functionality, but can be used to
807 checkout/commit code. It is named svnlite.
808
809 20130822:
810 Fix two security vulnerabilities.
811
812 Fix an integer overflow in IP_MSFILTER (IP MULTICAST).
813 This could be exploited to read memory by a user process.
814
815 When initializing the SCTP state cookie being sent in INIT-ACK chunks,
816 a buffer allocated from the kernel stack is not completely initialized.
817
818 Import xz 5.0.4
819
820 Import sqlite 3.7.17
821
822 Import BIND 9.8.5-P2
823
824 20130814:
825 mksh R48 imported.
826
827 Sendmail 8.14.7 imported.
828
829 20130717:
830 libmport bug was fixed causing hash verification to fail.
831
832 virtio(4) imported from FreeBSD 9-stable. SCSI support not
833 included.
834
835 20130612:
836 RELENG_0_4 created for 0.4. Development continues on 0.5.
837
838 20130402:
839 Update BIND and OpenSSL to resolve security advisories.
840
841 20130305:
842 MKSH R44 imported.
843
844 20130213:
845 MKSH R42b imported
846
847 20130211:
848 MKSH R42 imported
849
850 20130125:
851 MKSH R41 imported
852
853 20130122:
854 OpenSSH 5.8p2 imported
855
856 SQLite 3.7.15.2 imported
857
858 Fixed a longstanding bug in libmport extrating new index files.
859
860 20120710:
861 BSD licensed sort imported from FreeBSD-CURRENT
862
863 For now, GNU sort is installed as gnusort, but it will
864 go away in time.
865
866 20120708:
867 tcsh 6.18.01 imported.
868
869 NetBSD's iconv imported.
870
871 libc gains strnlen(3), memrchr(3), stpncpy(3).
872
873 20120612:
874 BIND security update related to CVE-2012-1667.
875
876 Zero length resource records can cause BIND to crash resulting
877 in a DOS attack or information disclosure.
878
879 20120407:
880 mksh R40f (fixes regression)
881
882 20120328:
883 mksh R40e
884
885 Perl 5.14.2
886
887 20120229:
888 cpucontrol(8) and cpuctl(4) added from FreeBSD 7-stable.
889
890 20120209:
891 mDNSResponder 333.10 imported
892
893 20111227:
894 import raid5 module for GEOM, graid5(8)
895
896 This is experimental and known to use a lot of kernel
897 memory.
898
899 20111223:
900 telnetd: fix a root exploit from a fixed buffer that was not checked
901
902 pam: don't allow escape from policy path. Exploitable in KDE, etc.
903
904 Fix pam_ssh module:
905
906 If the pam_ssh module is enabled, attackers may be able to gain access
907 to user accounts which have unencrypted SSH private keys.
908
909 This has to due with the way that openssl works. It ignores unencrpted data.
910
911 Fix security issue with chroot and ftpd.
912
913 nsdispatch(3) doesn't know it's working in a chroot and some
914 operations can cause files to get reloaded causing a security
915 hole in things like ftpd.
916
917 20111217:
918 libdialog/dialog upgraded to an lgpl version. As it's not
919 backwardly compatable, include the old libdialog as libodialog
920
921 20111212:
922 mksh r40d imported
923
924 20111210:
925 re(4) and rl(4) updated to support new chips.
926
927 GEOM synced with FreeBSD 7-stable.
928
929 MidnightBSD GPT partition types created in sys/gpt.h and
930 setup in boot loader and GEOM.
931
932 amdsbwd(4) (amd watchdog for south bridge) updated to support
933 8xx series chipset.
934
935 20111207:
936 import bsd grep from FreeBSD/OpenBSD.
937
938 MK_BSD_GREP controls which grep is installed
939 as grep with the other as bsdgrep or gnugrep.
940
941 20111122:
942 mksh vR40c imported.
943
944 20111117:
945 BIND 9.6 ESV R5 P1
946
947 20111107:
948 tzdata 2011n
949
950 20111026:
951 mDNSResponder v320
952
953 BIND 9.6 ESV R5
954
955 20111022:
956 cflow 0.0.6 imported
957
958 20111020:
959 less v436 imported
960
961 amdsbwd(4) AMD southbridge watchdog
962
963 20111019:
964 awk 20110810 imported
965
966 et(4) Agere Gigabit Ethernet/Fast Ethernet driver added, but
967 not included in GENERIC kernel. The kernel module needs
968 testing before we can include it in GENERIC.
969
970 intr_bind code ported to allow an IRQ to be bound to one
971 specific CPU core.
972
973 20111017:
974 Time Zone Data v. 2011l (Released 10 October 2011)
975
976 Updated list of countries (iso3166) to work with new timezone data.
977
978 20111015:
979 Introduce CPU Affinity in MidnightBSD. cpuset(1) can be used
980 to control which core or group of cores can be used for a given
981 process. Several new system calls were added to support this
982 functionality in the running kernel and for 32bit binary
983 compatibility on amd64.
984
985 The scheduler default has been changed to ULE in i386 and
986 amd64. Changes were made to both schedulers (4BSD AND ULE)
987 for this feature.
988
989 This work is based on Jeff Roberson's FreeBSD 7.1 patches.
990
991 20111004:
992 Fix a problem with unix socket handling caused by the recent
993 patch to unix socket path handling. This allows network
994 apps to work under the linuxolator again.
995
996 20111001:
997 Import libfetch & fetch(1) from FreeBSD 9. Passive FTP is
998 now default and an environment variable must be set to use
999 active.
1000
1001 20110930:
1002 Introduce quirks handling for several umass devices including
1003 USB cameras. Add workaround for Cyberpower UPS devices.
1004
1005 Bring in further bug fixes from FreeBSD and NetBSD for alc(4).
1006 Stale ip/tcp header pointers are no longer used, lockups fixed
1007 when network cable is unplugged on bootup, enable TX checksum
1008 offloading.
1009
1010 Add a new man page for gcache(8), a useful geom class when
1011 working with large raid3 sets.
1012
1013 Restore previous workaround for Cypress pata storage controller.
1014
1015 20110929:
1016 Sync ath(4) with FreeBSD 7.3.
1017
1018 The following modules are no longer available, and should be
1019 removed from loader.conf:
1020 ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample
1021
1022 alc(4) would hibernate when a cable was unplugged and often
1023 required bring the interface down and up to "wake up" so that
1024 a connection could be established. Disable hibernation.
1025
1026 20110928:
1027 Fix security issues with gzip and compress related to .Z
1028 files that are corrupted.
1029
1030 Fix path validation with unix domain sockets.
1031
1032 20110917:
1033 Remove dependance on mports perl for generating releases as
1034 it's in the base system.
1035
1036 20110914:
1037 Import xz 5.0.3 with liblzma 5.0.3
1038
1039 20110813:
1040 synced the sparc64 GENERIC kernel configuration with amd64.
1041
1042 20110806:
1043 sqlite 3.7.7.1 imported
1044
1045 msearch(1), libmsearch and msearch.import added. msearch(1) provides
1046 a full text search command line tool. libmsearch can also be used
1047 to build a graphical based search in the future. You can enable
1048 index building for msearch in periodic.conf or manually run the
1049 /usr/libexec/msearch.index tool. Full text indexes take considerable
1050 space in /var. I'm using approximately 500MB currently.
1051
1052 Fix a long standing bug with the periodic script to check package
1053 versions. This will be obsolete with mport though.
1054
1055 20110710:
1056 kdb_enter_why added to MidnightBSD to allow the kernel debugger to
1057 know why it's in use and thus script can be run.
1058
1059 Yet another problem with the perl manifest was fixed
1060
1061 20110709:
1062 cpufreq(1) is a new utility to monitor CPU frequency which may change
1063 with use of powerd(8) and cpufreq(4).
1064
1065 20110612:
1066 Update mksh to R40
1067
1068 Catch up ObsoleteFiles.inc to remove Perl 5.10.x. Good to run when
1069 updating current (cd /usr/src && make check-old)
1070
1071 20110528:
1072 Fix CVE-2011-1910 in BIND 9.6.x. This affects caching resolvers.
1073
1074 20110526:
1075 newfs:
1076 Raised the default blocksize for UFS/FFS filesystems from
1077 16K to 32K and the default fragment size from 2K to 4K.
1078
1079 This should slightly imporve performance on "advanced format"
1080 hard drives such as the WD EARS drives. Drives of this type
1081 have emulation modes that slow down with lower sizes. Of course
1082 the drive must still be aligned properly when using fdisk.
1083
1084 20110521:
1085 mport tool now has a deleteall command. This can be used to remove
1086 all packages from a system.
1087
1088 A few bugs with the perl 5.14 import have been fixed.
1089
1090 20110518:
1091 Perl 5.14.0
1092
1093 20110517:
1094 Sendmail 8.14.5
1095
1096 20110314:
1097 DRM/DRI code updated to support newer video cards. (FreeBSD 7.1)
1098
1099 cdevpriv wrappers added
1100
1101 nss_mdns hack introduced to work around linking problem.
1102
1103 dnsextd fixed after update to mDNSResponder code.
1104
1105 20110308:
1106 Introduce liblzma & xz 5.0.1 to the base system
1107
1108 Patch for OpenSSL security issue CVE-2011-0014.
1109
1110 "OSREVISION 4004"
1111
1112 nsswitch module for multicast dns (nss_mdns) added.
1113
1114 tzdata2011c
1115
1116 20110220:
1117 cam(4) syncronized with FreeBSD 7.3.
1118
1119 20110219:
1120 amdtemp(4) updated to support sensors framework.
1121
1122 20110217:
1123 Perl 5.10.1 imported
1124
1125 20110216:
1126 Introduce igb(4) and split Intel Gigabit Ethernet adapters between
1127 igb(4) and em(4). Newer devices use igb(4). The code has moved
1128 to sys/dev/e1000 for both devices in the kernel. igb(4) has
1129 been placed in GENERIC on i386 and amd64.
1130
1131 Update bfe(4) to support newer devices and WOL.
1132
1133 20110215:
1134 age(4) added.
1135
1136 20110208:
1137 BIND 9.6.3 which fixes a bug with DNSSEC records getting added.
1138
1139 20110206:
1140 eeemon(4) added to monitor Asus Eee PC.
1141
1142 20110205:
1143 OpenSSH 5.7p1
1144
1145 GNU sort 6.9 (coreutils)
1146
1147 20110203:
1148 one true awk 20100523 imported
1149
1150 sqlite 3.7.5
1151
1152 OpenSSL 0.9.8q
1153
1154 20110202:
1155 tcsh 6.17.00
1156
1157 file 5.05
1158
1159 20110122:
1160 Import it(4) and lm(4), with support for Super I/O hardware monitors. This
1161 uses the sensors framework ported by Constantine A. Murenin (GSOC2007)
1162
1163 20110120:
1164 BIND 9.6.2-P3
1165
1166 sudo 1.7.4-p6
1167
1168 20110115:
1169 Add experimental jme(4) for Jmicron ethernet devices.
1170
1171 20101130:
1172 A double free exists in the SSL client ECDH handling code, when
1173 processing specially crafted public keys with invalid prime
1174 numbers. [CVE-2010-2939]
1175
1176 20101120:
1177 Several portions of the kernel and userland code related to UFS file
1178 systems (and UFS2) cannot properly handle inode counts above 2^31 due
1179 to use of int types. Based on a patch from FreeBSD, I've modified
1180 our UFS2 implementation to handle unsigned values for inode counts
1181 which should allow for file systems greater than 16TB.
1182
1183 newfs and growfs was also modified.
1184
1185 20101110:
1186 Fix a security issue with pseudofs which could result in running code in kernel
1187 context or a kernel panic depending on system configuration. This affects file
1188 systems such as procfs for instance.
1189
1190 20101021:
1191 sysrc is a utility to print and modify name/value pairs in /etc/rc.conf easily.
1192 This is similar to functions present in many linux distros. The utility was
1193 written by Devin Teske for FreeBSD.
1194
1195 20100920:
1196 bzip2 security patch for integer overflow.
1197
1198 20100905:
1199 MidnightBSD RELENG_0_3 branch created. Aggressive development continues here
1200 for 0.4.
1201
1202 20100902:
1203 Fix a security issue with libutil that allows users to bypass cpu limits in
1204 login.conf in some cases. This combined with OpenSSH for example can allow
1205 the user to get more resources than they're allowed.
1206
1207 20100822:
1208 Import Apple's mDNSResponder (mdnsd).
1209
1210 20100814:
1211 libdispatch added to MidnightBSD. This provides functionality found in
1212 Mac OS X's GCD. We do not have blocks support yet. As this code is
1213 licensed under Apache 2, we create a new MK_APACHE option so that
1214 it's not required for all users to run code under a license they
1215 may not like.
1216
1217 20100713:
1218 mbuf readonly fix related to sendfile(2) data corruption.
1219
1220 20100704:
1221 brainfuck(1) imported from MirBSD.
1222
1223 20100505:
1224 zlib 1.2.5
1225
1226 20100430:
1227 Sudo 1.7.2p6 imported
1228
1229 20100321:
1230 Update zlib to 1.2.4
1231
1232 20100319:
1233 Removed i586 from default i386 generic kernel.
1234
1235 20100317:
1236 Update to tzdata2010e (time zones). This includes changes in
1237 Mexico.
1238
1239 Add support for several newer sound cards via hda including
1240 ATI and Realtek chipsets.
1241
1242 20100313:
1243 CPU detection has been changed. VIA Padlock detection added.
1244
1245 20100312:
1246 Fix a number of bugs and compiler warnings in libmport. Handle
1247 plus signs in paths for mport.check-fake
1248
1249 20100311:
1250 mksh R39c
1251
1252 20100309:
1253 Sudo 1.7.2p5
1254
1255 sqlite3 3.6.23
1256
1257 mksh R39b
1258
1259 libffi (ffi) 3.0.9
1260
1261 20100206:
1262 WITHOUT_LIB32 is no longer needed on AMD64. GCC was fixed to
1263 properly pass arguments to ld.
1264
1265 re(4) and rl(4) have been updated to support several new
1266 realtek chipsets. Performance has been improved on re(4).
1267
1268 20100204:
1269 Fix a bug cropping up on AMD64 MidnightBSD with sftp
1270 segfaulting.
1271
1272 20100116:
1273 Import ash changes from FreeBSD (bin/sh) 8-Stable.
1274
1275 BIND 9.6.1-P2
1276
1277 20100110:
1278 Import Sendmail 8.14.4. Fix for SSL vulnerability.
1279
1280 posix_spawn(3) added to MidnightBSD libc. Users may need to build and
1281 install libc before doing a full buildworld when upating from 0.2 or
1282 older current systems.
1283
1284 kqueue(2) was modified to support portions of libdispatch functionality.
1285
1286 20100106:
1287 Bind security update. Fix a bug with DNSSEC that causes negative
1288 cache entries and thus a possible DNS cache poisoning attack.
1289
1290 Fix a bug in ZFS that can reset permissions on system crashes.
1291
1292 20091228:
1293 amdtemp(4) was added. It allows one to monitor to the temperature
1294 of an AMD CPU such as a Phenom.
1295
1296 20091205:
1297 OpenSSL security fix
1298
1299 The SSL version 3 and TLS protocols support session renegotiation without
1300 cryptographically tying the new session parameters to the old parameters.
1301
1302 20091128:
1303 OpenBSD sensors framework imported including sensorsd(8)
1304
1305 20091126:
1306 OpenNTPD 4.4 import
1307
1308 Update OpenSSH to 5.3p1
1309
1310 mksh R39
1311
1312 20091124:
1313 cpdup updated from DragonFly to 1.15
1314
1315 tzdata2009s updated with latest timezone data for November 2009.
1316
1317 20091010:
1318 amd64 users should use WITHOUT_LIB32=yes in /etc/make.conf for now
1319 to test current.
1320
1321 Revert unicode filename fixes from ntfs code. This was causing chaos
1322 on amd64 systems.
1323
1324 20091006:
1325 Update timezone data with tzdata2009n with the Pakistan and
1326 Argentina changes.
1327
1328 Sync several userland utilities with versions from FreeBSD 7.0 in
1329 sbin and usr.sbin.
1330
1331 20090919:
1332 Update timezone data with tzdate2009m from September 2009.
1333
1334 20090729:
1335 Patch for Bind 9 security vulnerability. a dynmaic update packet
1336 can trigger an assertion and cause named to exit
1337
1338 20090606:
1339 Remove PCC from the base system. This compiler will not work
1340 as a system compiler for us as we've got some userland investment
1341 in C++ code and may have Objective-C in the future. We're stuck
1342 with a solution that supports these three languages at a minimum.
1343
1344 I had wanted to keep it as an optional compiler because it is
1345 fast, however too many users want to try to use it for the base
1346 system which makes no sense.
1347
1348 A hack was added for Cypress based usb hard drive enclosures to
1349 the kernel. This should cut down on commands it claims to support
1350 but does not (at the cam layer). Found while testing ZFS on
1351 an external device.
1352
1353 20090520:
1354 The powerd daemon no longer starts automatically to improve
1355 compatibility with many systems. However, there is a new
1356 installer option in the startup section to enable it. This
1357 makes it easier to enable for users that have working systems. I thought it was only a problem on older hardware, but it freaks
1358 out my new Phenom too.
1359
1360 20090502:
1361 OpenSSH 5.2p1 import
1362
1363 ale(4) connected to the build. (kernel module only)
1364
1365 20090501:
1366 Imported makefs utility from NetBSD/FreeBSD
1367
1368 20090422:
1369 OpenSSL security update
1370
1371 The function ASN1_STRING_print_ex does not properly validate the lengths
1372 of BMPString or UniversalString objects before attempting to print them.
1373
1374 20090415:
1375 Created a Symbol.map for libc/ohash symbols
1376
1377 Updated several usr/bin usr/sbin utilities.
1378
1379 Corrected a bug with Makefile.inc1 causing the bootstrap
1380 tools to fail.
1381
1382 20090405:
1383 xorg 7.4 wants to configure its input devices via hald which does not
1384 yet work with USB. If the keyboard/mouse does not work in xorg then
1385 add
1386 Option "AllowEmptyInput" "off"
1387 to your ServerLayout section. This will cause X to use the configured
1388 kbd and mouse sections from your xorg.conf
1389
1390 20090403:
1391 mksh was disconnected a few day ago do to bugs with
1392 buildworld and mports. Now, connect it back
1393 for use as /bin/sh with a conditional called
1394 MK_ASH. By default, ash is the standard /bin/sh
1395 but we may change this later. This will allow further
1396 testing by users and developers of mksh without
1397 causing an unpleasant default experience. In the
1398 long run, we need to fix mksh compatibility.
1399
1400 20090328:
1401 Bring in mksh R37 from CVS. The dot.mkshrc files for root
1402 and skel were changed. mksh(1) now replaces ash aka sh(1)
1403 as the default /bin/sh. Please report bugs with
1404 ports, etc. The ash code will remain in the repo for awhile
1405 as I decide if we'll add something like MK_SHELL_ASH as
1406 an optional build parameter.
1407
1408 ahd was disconnected from the lint environment until
1409 the compiler bug is sorted (by updating gcc?)
1410
1411 Remove freebsd-tips from fortune files and change the
1412 default for login and profile.
1413
1414 20090327:
1415 Update libarchive to 2.5.5, tar, and add bsdcpio.
1416
1417 Also previously, ctriv has been connecting Perl 5.10
1418 to the build (part of os). This will have an impact
1419 on mports.
1420
1421 20090325:
1422 Update Bind to 9.4.3-P1
1423
1424 Update mksh to R36b
1425
1426 Update tcpdump to 3.9.8, fix libpcap to work with current.
1427
1428 Update pnpinfo, sync with FreeBSD.
1429
1430 20090115:
1431 Fix a problem with DNSSEC and BIND.
1432
1433 20090110:
1434 For applications using OpenSSL for SSL connections, an invalid SSL
1435 certificate may be interpreted as valid. This could for example be
1436 used by an attacker to perform a man-in-the-middle attack.
1437
1438 Other applications which use the OpenSSL EVP API may similarly be
1439 affected.
1440
1441 Stop cross site request forgery attacks in lukemftpd
1442
1443 20090104:
1444 Import GNU libreadline 5.2
1445
1446 20090101:
1447 Update time zone data to 2008i.
1448
1449 20081231:
1450 Correct a problem where bluetooth and netgraph sockets are not
1451 properly initialized.
1452
1453 Happy 2009.
1454
1455 20081206:
1456 Due to the massive change in the underlying system under way,
1457 we're naming the next release 1.0. The sys/sys/param.h was
1458 changed accordingly. ipfilter and ncurses were corrected
1459 using __MidnightBSD__ tests in the code.
1460
1461 The GENERIC kernel config was caught up on i386 today. Consider
1462 i386 still broken, but amd64 is running again.
1463
1464 mdoc.local was updated with the new MidnightBSD version info.
1465
1466 batt(1) was rewritten in C. It now supports several flags and
1467 runs about 8 times faster on my laptop. The default output
1468 shows the number of minutes of battery life remaining and the
1469 percentage. You can use -u to display the number of batteries or
1470 -c to get script friendly output. Consult the man page for more.
1471
1472 20081204:
1473 Work has completed on importing ZFS, jemalloc, several
1474 new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
1475 support, improved locking for file desc., audit (openbsm),
1476 openssl .98e, nfe, imporved intel high def audio, midi, updated
1477 intel gigabit (em), support for several wifi cards (intel), ...
1478
1479 Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
1480 data from param.h instead of the FreeBSD version. This means
1481 testing is now possible in the ports tree for the version
1482 and that any ports or code relying on the FreeBSD version from
1483 sys/sys/param.h will need to be fixed.
1484
1485 20080905:
1486 update nve(4) to support new hardware.
1487
1488 20080801:
1489 Import OpenBSM 1.0
1490
1491 Modify src/release to create 3 isos instead of 2 for packages.
1492
1493 etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
1494
1495 Many ia64, alpha, powerpc items were removed.
1496
1497 The recent diffutils 2.8.7 import was fixed.
1498
1499 20080703:
1500 pcc was not installed properly when setting DESTDIR for live cds,
1501 or posibly jails.
1502
1503 20080627:
1504 Add firmware(9), WEP, CCMP, TKIP to GENERIC.
1505
1506 Add glabel to GENERIC.
1507
1508 Intel ICH8 mobile chipset used on some iMacs included with ata.
1509
1510 pcc connected to the build on i386. (alternative compiler)
1511
1512 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
1513
1514 20080528:
1515 Sendmail 8.14.3
1516
1517 20080516:
1518 ssh-vulnkey allows you to look for vulnerable ssh keys that
1519 were generated on Debian and Ubuntu hosts over the last
1520 few years. sshd can block offending keys with a configuration
1521 option.
1522
1523 The elf note on binaries is now set to MidnightBSD.
1524
1525 20080514:
1526 Fixed a number of problems with pcc. It is not yet connected
1527 to the build, but usable on i386 hosts. You may use it
1528 by make; make install in /usr/src/usr.bin/pcc. It will
1529 install in /usr/local as some of the files conflict with
1530 GCC versions. __MidnightBSD__ is defined in PCC as well.
1531
1532 System headers were fixed to allow pcc to compile many binaries
1533 on MidnightBSD. bin/cp will work now for instance.
1534
1535 20080430:
1536 __MidnightBSD__ is now defined via gcc. This can be tested
1537 to determine we're running on MidnightBSD in the preprocessor.
1538
1539 20080429:
1540 Import bind 9.4.2 with threading
1541
1542 libpthread (KSE) and libthr are built earlier
1543
1544 pcvt(4) removed!
1545
1546 Alias added for core2 cpus.
1547
1548 Alpha and PC98 only utilities removed from usr/sbin
1549
1550 syslogd, adduser, rmuser, mergemaster and mailwrapper have been
1551 improved. See the man pages for info.
1552
1553 periodic scripts will not send emails with empty message bodies.
1554 See mailwrapper fix.
1555
1556 20080410:
1557 Sync cpdup with DragonFly. Add parallel transaction support and
1558 -l flag to line-buffer stdout and stderr.
1559
1560 20080406:
1561 Import bzip2 1.05
1562 Import OpenSSH 4.9p1
1563
1564 20080322:
1565 The default umask was changed to 022.
1566
1567 /usr/X11R6 paths were removed from several config files.
1568
1569 .mkshrc files are now installed for root.
1570
1571 20080316:
1572 FIx a problem with gif0 tunnels and neighbors with IPV6.
1573
1574 20080312:
1575 Add lndir from X.org. This aides in the porting of MirPorts.
1576
1577 New OS versions were added to the mapage code (groff)
1578
1579 20080310:
1580 Correct a buffer overflow in ppp.
1581
1582 20080308:
1583 Remove /usr/X11R6 from manpath config.
1584
1585 20080307:
1586 Atheros driver no longer has several options set
1587 which corrects building in tinderbox on all three platforms.
1588
1589 Added a new macro to sx.h which returns true if the current
1590 thread holds an exclusive lock on a specifix sx.
1591
1592 Removed OS/2's HPFS file system. It's not maintained and
1593 I don't know anyone using OS/2 or ecomstation these days.
1594 My copy is in the closet collecting dust.
1595
1596 20080306:
1597 Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
1598 Developers can now use it to check src builds.
1599
1600 20080303:
1601 Add mksh to /etc/shells, made some adjustments to options
1602 for mksh builds per suggestion upstream.
1603
1604 USB HID table updated with modern hardware list.
1605
1606 Updated BSD family true (we're not in there yet)
1607
1608 iso3166 file updated and import of tzdata2007k for
1609 new time zones.
1610
1611 Updated mksh to latest version R33.
1612
1613 20080228:
1614 Remplaced the random IP id generation code with a new
1615 version by Amit Klein.
1616
1617 20080221:
1618 Sendfile write only permissions fix.
1619
1620 Removed some HPFS and PC98 code.
1621
1622 iso639 file sycned with DragonFly.
1623
1624 20080128:
1625 Changed NTP configuration so that ips aren't cached
1626 so multiple servers are used.
1627
1628 Fix an issue with fork() in libpthread.
1629
1630 20080121:
1631 Add virtualization detection to set the HZ rate
1632 according to a VM present. VMWare and Parallels
1633 should work better like this.
1634
1635 Change to full x11 install in sysinstall. Add
1636 xorg 7 support.
1637
1638 20080115:
1639 Fix the handling of PTY's. CVE-2008-0216
1640
1641 20080105:
1642 mport delete code added, USE_MPORT_TOOLS knob aded.
1643
1644 20080101:
1645 Happy New Year
1646
1647 20071123:
1648 Update sendmail to 8.14.2
1649
1650 20071120:
1651 Update system compiler to gcc 3.4.6.
1652
1653 20071023:
1654 Updated mksh to R31d.
1655
1656 20070911:
1657 Updated mksh to version R31b.
1658
1659 Fixed stderr output in libpthread. Previously it was
1660 written to stdout.
1661
1662 20070831:
1663 Added dot.mkshrc file to support the recent change to
1664 mksh from OpenBSD's ksh derived from pdksh.
1665
1666 Added new firewall configuration. ipfw is enabled by default
1667 with a "desktop" configuration. Consult /etc/rc.firewall
1668 or ipfw show to see the ruleset used. You can disable
1669 ipfw by setting firewall_enable="NO" in /etc/rc.conf This
1670 change only effects IPv4. IPv6 does not have a firewall
1671 enabled by default.
1672
1673 20070814:
1674 Removed GNU tar source. We've been using BSD tar
1675 for awhile.
1676
1677 20070806:
1678 Finished removing umapfs and autofs from the tree.
1679
1680 20070804:
1681 BIND and Tcpdump have been patched for recent vulnerabilities.
1682
1683 We switched to BSD cpio (pax).
1684
1685 20070719:
1686 Imported cpdup from DragonFly as /bin/cpdup
1687
1688 20070716:
1689 Update GNU cpio to 2.8.
1690
1691 20070410:
1692 cvs was updated to 1.12.13. cvsbug was removed.
1693 cvs now behaves similarly to DragonFly's cvs with
1694 most of their local changes.
1695
1696 20070409:
1697 RELENG_0_1 was created. More aggresive changes will
1698 continue here.
1699
1700 20070406:
1701 Back out propolice. propolice caused several problems
1702 with our threading libraries libthr and libpthread.
1703 curthread was often NULL after the patch and many
1704 multithreaded applications would crash. We plan to
1705 work on either bringing in gcc 4.1 or developing a new
1706 patch which also corrects our threading issues later.
1707
1708 It is more important to have a stable system for our
1709 mport work and other projects at this time.
1710
1711 This is not a clean removal. It is recommended that you
1712 have a recently SNAP CD handy. You can either reinstall
1713 or perform a make buildworld and make buildkernel and
1714 make installkernel. Reboot on the cd and copy the contents
1715 of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
1716 /usr/lib, and /usr/libexec to the respective directories on
1717 your disk. Then you should be able to boot into single user
1718 mode and run make installworld. You will need to run
1719 chflags noschg on some of the files if you can't overwrite
1720 them.
1721
1722 You will get __guard missing errors since we had to remove
1723 this from libc.
1724
1725 You will need to rebuild any ports built while propolice was
1726 installed.
1727
1728 20070401:
1729 Importing propolice into MidnightBSD. Propolice is going to
1730 provide us with much greater security and stability in the
1731 long run. If upgrading from a pre-propolice system, please
1732 follow the these instructions:
1733
1734 cd /usr/src/lib/libc && make obj && make && make install
1735 cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
1736 cd /usr/src/lib/libpthread && make obj && make && make install
1737 cd /usr/src/lib/libthr && make obj && make && make install
1738 buildworld and kernel
1739
1740 It is adviced that any mports which were installed and/or built
1741 prior to the propolice update also be updated. If any errors
1742 or issue are encounted, please contact security@midnightbsd.org
1743 and we will be sure to investigate and come up with an expeditious
1744 fix.
1745
1746 20070314:
1747 Remove send-pr from src.
1748
1749 Switch to NetBSD's gzip.
1750
1751 Bump MBSD minor revision.
1752
1753 20070313:
1754 Imported OpenSSH 4.6p1.
1755
1756 Imported FreeBSD's libarchive and updated tar to work with it.
1757
1758 Disabled debug statements cluttering up /var/log/messages for
1759 the tcp autobuf patch applied previously.
1760
1761 20070312:
1762 Synced several audio changes from FreeBSD 6.1. Removed the
1763 BSD Daemon files from src/share.
1764
1765 20070308:
1766 Added mfi which supports LSI Logic MegaRAID SAS devices including
1767 the Dell perc5i.
1768
1769 20070206:
1770 Imported OpenBSD's sudo into source. Please install
1771 /usr/src/usr.bin/sudo/lib first before building.
1772
1773 Those who install from a snapshot after this date
1774 will not be effected.
1775
1776 20070119:
1777 Added audit group. Be sure to add audit to your /etc/group file
1778 before installing world.
1779
1780 hostapd was updated to 0.4.8.
1781
1782 An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
1783 unbreak world.
1784
1785 wpa_supplicant was updated.
1786
1787 For stability and compatibility reasons, it was decided that MidnightBSD
1788 sync with FreeBSD 6.1 Release. Nearly every change between the original
1789 fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
1790 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
1791 will not sync every little change with FreeBSD.
1792
1793 20061231:
1794 Updated COPYRIGHT for 2007.
1795
1796 Updated and bumped libutil after importing NetBSD efun(3) functions.
1797
1798 Added MidnightBSD_version and bumped the FreeBSD version as we've
1799 synced all commits between the fork and that version. It is now safe
1800 to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
1801 Feb 26, 2006.
1802
1803 Added spell(1) and deroff(1) from NetBSD. Also added additional
1804 dict files to work with it. /usr/share/dict/american,
1805 /usr/share/dict/british and /usr/share/dict/special/math
1806
1807 Numerous man page and bug fixes.
1808
1809 20061226:
1810 Setup /usr/share/examples/cvsup SUPfiles for the new
1811 MidnightBSD CVSup server.
1812
1813 Fix a bug in burncd where it would continue forever while
1814 erasing CDRW media.
1815
1816 Add csup to /usr/bin. csup is a CVSup replacement written
1817 in C.
1818
1819 Fixed a bug with bsnmpd build from Oct 30.
1820
1821 Corrected some race conditions and fixed a few bugs in
1822 geom. Imported changes from FreeBSD RELENG_6.
1823
1824 20061225:
1825 Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
1826 that caused long double to long and long long
1827 conversion of negative numbers to always result in -1.
1828
1829 20061221:
1830 Fixed acpi_battery.c to not report an ERROR if no
1831 batteries are present.
1832
1833 Performed some minor updates on the RL and RE NIC drivers.
1834 RL should no longer panic when trying to print errors.
1835
1836 Corrected a bug with TTY.
1837
1838 20061218:
1839 Corrected a bug with libpthread where newly created suspended
1840 threads don't get scheduled.
1841
1842 20061206:
1843 Fixed a typo with the firewire security patch.
1844
1845 20061129:
1846 Minor cleanups to utilities in bin.
1847
1848 Fixed msdos file system short file name behavior to match
1849 FreeBSD.
1850
1851 20061031:
1852 Updated man pages in section 7.
1853
1854 20061030:
1855 Updated sys/dev/drm to support intel 915 and radeon
1856 r300 cards properly.
1857
1858 Synced snmpd with FreeBSD-stable.
1859
1860 Fixed a bug in rm which could cause data loss.
1861
1862 20061027:
1863 Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
1864 random, kbdmux, atkbd, and usb were updated. Changes
1865 to clearing registers on SSE enabled processors (i386)
1866 commited.
1867
1868 lukemftpd updated.
1869
1870 openssh rc script was altered which effects initial
1871 seeding.
1872
1873 20061014:
1874 Workaround for em driver problem on shared IRQ.
1875
1876 Started removal of alpha support.
1877
1878 20061013:
1879 ATA driver was updated. USB/USB1/USB2 types added.
1880
1881 20061010:
1882 OpenSSH was updated to 4.4p1.
1883
1884 20060909:
1885 OpenNTPD was added to MidnightBSD. Run make delete-old to remove
1886 the old ntpd daemon.
1887
1888 cat has a new option -D which allows you to timestamp output
1889 on a per line basis.
1890
1891 The kernel has a keyboard mux which allows you to have multiple
1892 keyboard connected simultaneously. USB keyboard support was also
1893 improved with this patch.
1894
1895 The Intel em driver was updated. Network performance was greatly
1896 increased on many systems. Additional models are supported.
1897
1898 The ATA driver was patched to fix a potential deadlock.
1899
1900 Bind was patched to fix a potential denial of service condition.
1901
1902 20060817:
1903 ksh has been added to the base system. If you previously had
1904 the port installed, it will be overwritten on the next buildworld.
1905
1906
1907
1908 To build a kernel
1909 -----------------
1910 If you are updating from a prior version of MidnightBSD (even one just
1911 a few days old), you should follow this procedure. With a
1912 /usr/obj tree with a fresh buildworld,
1913 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
1914 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
1915
1916 To test a kernel once
1917 ---------------------
1918 If you just want to boot a kernel once (because you are not sure
1919 if it works, or if you want to boot a known bad kernel to provide
1920 debugging information) run
1921 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
1922 nextboot -k testkernel
1923
1924 To just build a kernel when you know that it won't mess you up
1925 --------------------------------------------------------------
1926 This assumes you are already running a 6.X system. Replace
1927 ${arch} with the architecture of your machine (e.g. "i386",
1928 "amd64", "ia64", "pc98", "sparc64", etc).
1929
1930 cd src/sys/${arch}/conf
1931 config KERNEL_NAME_HERE
1932 cd ../compile/KERNEL_NAME_HERE
1933 make depend
1934 make
1935 make install
1936
1937 If this fails, go to the "To build a kernel" section.
1938
1939 To rebuild everything and install it on the current system.
1940 -----------------------------------------------------------
1941 # Note: sometimes if you are running current you gotta do more than
1942 # is listed here if you are upgrading from a really old current.
1943
1944 <make sure you have good level 0 dumps>
1945 make buildworld
1946 make kernel KERNCONF=YOUR_KERNEL_HERE
1947 [1]
1948 <reboot in single user> [3]
1949 mergemaster -p [5]
1950 make installworld
1951 make delete-old
1952 mergemaster [4]
1953 <reboot>
1954
1955
1956 To cross-install current onto a separate partition
1957 --------------------------------------------------
1958 # In this approach we use a separate partition to hold
1959 # current's root, 'usr', and 'var' directories. A partition
1960 # holding "/", "/usr" and "/var" should be about 2GB in
1961 # size.
1962
1963 <make sure you have good level 0 dumps>
1964 <boot into -stable>
1965 make buildworld
1966 make buildkernel KERNCONF=YOUR_KERNEL_HERE
1967 <maybe newfs current's root partition>
1968 <mount current's root partition on directory ${CURRENT_ROOT}>
1969 make installworld DESTDIR=${CURRENT_ROOT}
1970 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
1971 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
1972 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
1973 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
1974 <reboot into current>
1975 <do a "native" rebuild/install as described in the previous section>
1976 <maybe install compatibility libraries from src/lib/compat>
1977 <reboot>
1978
1979
1980 To upgrade in-place from 5.x-stable or higher to 6.x-stable
1981 -----------------------------------------------------------
1982 <make sure you have good level 0 dumps>
1983 make buildworld [9]
1984 make kernel KERNCONF=YOUR_KERNEL_HERE [8]
1985 [1]
1986 <reboot in single user> [3]
1987 mergemaster -p [5]
1988 make installworld
1989 make delete-old
1990 mergemaster -i [4]
1991 <reboot>
1992
1993 Make sure that you've read the UPDATING file to understand the
1994 tweaks to various things you need. At this point in the life
1995 cycle of current, things change often and you are on your own
1996 to cope. The defaults can also change, so please read ALL of
1997 the UPDATING entries.
1998
1999 Also, if you are tracking -current, you must be subscribed to
2000 freebsd-current@freebsd.org. Make sure that before you update
2001 your sources that you have read and understood all the recent
2002 messages there. If in doubt, please track -stable which has
2003 much fewer pitfalls.
2004
2005 [1] If you have third party modules, such as vmware, you
2006 should disable them at this point so they don't crash your
2007 system on reboot.
2008
2009 [3] From the bootblocks, boot -s, and then do
2010 fsck -p
2011 mount -u /
2012 mount -a
2013 cd src
2014 adjkerntz -i # if CMOS is wall time
2015 Also, when doing a major release upgrade, it is required that
2016 you boot into single user mode to do the installworld.
2017
2018 [4] Note: This step is non-optional. Failure to do this step
2019 can result in a significant reduction in the functionality of the
2020 system. Attempting to do it by hand is not recommended and those
2021 that pursue this avenue should read this file carefully, as well
2022 as the archives of freebsd-current and freebsd-hackers mailing lists
2023 for potential gotchas.
2024
2025 [5] Usually this step is a noop. However, from time to time
2026 you may need to do this if you get unknown user in the following
2027 step. It never hurts to do it all the time.
2028
2029 [8] In order to have a kernel that can run the 5.x binaries
2030 needed to do an installworld, you must include the COMPAT_FREEBSD5
2031 option in your kernel. Failure to do so may leave you with a system
2032 that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
2033 is required to run the 5.x binaries on more recent kernels.
2034
2035 Make sure that you merge any new devices from GENERIC since the
2036 last time you updated your kernel config file.
2037
2038 [9] When checking out sources, you must include the -P flag to have
2039 cvs prune empty directories.
2040
2041 If CPUTYPE is defined in your /etc/make.conf, make sure to use the
2042 "?=" instead of the "=" assignment operator, so that buildworld can
2043 override the CPUTYPE if it needs to.
2044
2045 MAKEOBJDIRPREFIX must be defined in an environment variable, and
2046 not on the command line, or in /etc/make.conf. buildworld will
2047 warn if it is improperly defined.
2048
2049 Copyright information:
2050
2051 Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
2052
2053 Redistribution, publication, translation and use, with or without
2054 modification, in full or in part, in any form or format of this
2055 document are permitted without further permission from the author.
2056
2057 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
2058 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2059 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2060 DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
2061 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2062 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2063 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2064 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2065 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2066 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2067 POSSIBILITY OF SUCH DAMAGE.
2068
2069 If you find this document useful, and you want to, you may buy the
2070 author a beer.
2071
2072 Contact Warner Losh if you have any questions about your use of
2073 this document.
2074
2075 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
2076 $MidnightBSD$

Properties

Name Value
svn:keywords MidnightBSD=%H