ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 9227
Committed: Sat Nov 5 21:44:57 2016 UTC (7 years, 7 months ago) by laffer1
File size: 60962 byte(s)
Log Message:
OpenSSH 7.3p1

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H