ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 12034
Committed: Wed Sep 12 13:51:38 2018 UTC (5 years, 7 months ago) by laffer1
File size: 64433 byte(s)
Log Message:
Insufficient validation was performed in the ELF header parser, and malformed
or otherwise invalid ELF binaries were not rejected as they should be.

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H