<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>480f31c2 - Add support for encrypted kernel crash dumps.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#480f31c2</link>
        <description>Add support for encrypted kernel crash dumps.Changes include modifications in kernel crash dump routines, dumpon(8) andsavecore(8). A new tool called decryptcore(8) was added.A new DIOCSKERNELDUMP I/O control was added to send a kernel crash dumpconfiguration in the diocskerneldump_arg structure to the kernel.The old DIOCSKERNELDUMP I/O control was renamed to DIOCSKERNELDUMP_FREEBSD11 forbackward ABI compatibility.dumpon(8) generates an one-time random symmetric key and encrypts it usingan RSA public key in capability mode. Currently only AES-256-CBC is supportedbut EKCD was designed to implement support for other algorithms in the future.The public key is chosen using the -k flag. The dumpon rc(8) script can do thisautomatically during startup using the dumppubkey rc.conf(5) variable.  Once thekeys are calculated dumpon sends them to the kernel via DIOCSKERNELDUMP I/Ocontrol.When the kernel receives the DIOCSKERNELDUMP I/O control it generates a randomIV and sets up the key schedule for the specified algorithm. Each time thekernel tries to write a crash dump to the dump device, the IV is replaced bya SHA-256 hash of the previous value. This is intended to make a possibledifferential cryptanalysis harder since it is possible to write multiple crashdumps without reboot by repeating the following commands:# sysctl debug.kdb.enter=1db&gt; call doadump(0)db&gt; continue# savecoreA kernel dump key consists of an algorithm identifier, an IV and an encryptedsymmetric key. The kernel dump key size is included in a kernel dump header.The size is an unsigned 32-bit integer and it is aligned to a block size.The header structure has 512 bytes to match the block size so it was required tomake a panic string 4 bytes shorter to add a new field to the header structure.If the kernel dump key size in the header is nonzero it is assumed that thekernel dump key is placed after the first header on the dump device and the coredump is encrypted.Separate functions were implemented to write the kernel dump header and thekernel dump key as they need to be unencrypted. The dump_write function encryptsdata if the kernel was compiled with the EKCD option. Encrypted kernel textdumpsare not supported due to the way they are constructed which makes it impossibleto use the CBC mode for encryption. It should be also noted that textdumps don&apos;tcontain sensitive data by design as a user decides what information should bedumped.savecore(8) writes the kernel dump key to a key.# file if its size in the headeris nonzero. # is the number of the current core dump.decryptcore(8) decrypts the core dump using a private RSA key and the kerneldump key. This is performed by a child process in capability mode.If the decryption was not successful the parent process removes a partiallydecrypted core dump.Description on how to encrypt crash dumps was added to the decryptcore(8),dumpon(8), rc.conf(5) and savecore(8) manual pages.EKCD was tested on amd64 using bhyve and i386, mipsel and sparc64 using QEMU.The feature still has to be tested on arm and arm64 as it wasn&apos;t possible to runFreeBSD due to the problems with QEMU emulation and lack of hardware.Designed by:	def, pjdReviewed by:	cem, oshogbo, pjdPartial review:	delphij, emaste, jhb, kibApproved by:	pjd (mentor)Differential Revision:	https://reviews.freebsd.org/D4712

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Sat, 10 Dec 2016 16:20:39 +0000</pubDate>
        <dc:creator>Konrad Witaszczyk &lt;def@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>406d87b1 - Explicitly add more files to the &apos;runtime&apos; package.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#406d87b1</link>
        <description>Explicitly add more files to the &apos;runtime&apos; package.Sponsored by:	The FreeBSD Foundation

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Tue, 09 Feb 2016 20:19:31 +0000</pubDate>
        <dc:creator>Glen Barber &lt;gjb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>106d8391 - Switch the default WARNS level for sbin/ to 6.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#106d8391</link>
        <description>Switch the default WARNS level for sbin/ to 6.Submitted by:	Ulrich Sp&#246;rlein

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Mon, 19 Oct 2009 16:00:24 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>9f4ed0f5 - dumpon builds cleanly at WARNS level 6.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#9f4ed0f5</link>
        <description>dumpon builds cleanly at WARNS level 6.

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Sun, 03 Oct 2004 23:39:14 +0000</pubDate>
        <dc:creator>Dag-Erling Sm&#248;rgrav &lt;des@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>604d24db - style.Makefile(5):</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#604d24db</link>
        <description>style.Makefile(5):	Use WARNS?= instead of WARNS=.

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Mon, 23 Feb 2004 20:25:27 +0000</pubDate>
        <dc:creator>Johan Karlsson &lt;johan@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>9e9c1cad - Here follows the new kernel dumping infrastructure.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#9e9c1cad</link>
        <description>Here follows the new kernel dumping infrastructure.Caveats:The new savecore program is not complete in the sense that it emulatesenough of the old savecores features to do the job, but implements noneof the options yet.I would appreciate if a userland hacker could help me out getting savecoreto do what we want it to do from a users point of view, compression,email-notification, space reservation etc etc.  (send me email ifyou are interested).Currently, savecore will scan all devices marked as &quot;swap&quot; or &quot;dump&quot; in/etc/fstab _or_ any devices specified on the command-line.All architectures but i386 lack an implementation of dumpsys(), butlooking at the i386 version it should be trivial for anybody familiarwith the platform(s) to provide this function.Documentation is quite sparse at this time, more to come.Sponsored by:   DARPA, NAI LabsDetails:Dumpon now opens the device and uses ioctl(DIOCGKERNELDUMP) to set itto be the dumpdevice.  When &quot;off&quot; is set, /dev/null is used.

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Sun, 31 Mar 2002 22:24:24 +0000</pubDate>
        <dc:creator>Poul-Henning Kamp &lt;phk@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2d68bf45 - Default to WARNS=2.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#2d68bf45</link>
        <description>Default to WARNS=2.Binary builds that cannot handle this must explicitly set WARNS=0.Reviewed by:	mike

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Tue, 04 Dec 2001 02:19:58 +0000</pubDate>
        <dc:creator>David E. O&apos;Brien &lt;obrien@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>0a5779d4 - - Backout botched attempt to introduce MANSECT feature.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#0a5779d4</link>
        <description>- Backout botched attempt to introduce MANSECT feature.- MAN[1-9] -&gt; MAN.

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Mon, 26 Mar 2001 14:33:27 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>fe655281 - Set the default manual section for sbin/ to 8.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#fe655281</link>
        <description>Set the default manual section for sbin/ to 8.

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Tue, 20 Mar 2001 18:13:31 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7f3dea24 - $Id$ -&gt; $FreeBSD$</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#7f3dea24</link>
        <description>$Id$ -&gt; $FreeBSD$

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Sat, 28 Aug 1999 00:22:10 +0000</pubDate>
        <dc:creator>Peter Wemm &lt;peter@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c0ec1f37 - Revert $FreeBSD$ to $Id$</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#c0ec1f37</link>
        <description>Revert $FreeBSD$ to $Id$

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Sat, 22 Feb 1997 14:40:44 +0000</pubDate>
        <dc:creator>Peter Wemm &lt;peter@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1130b656 - Make the long-awaited change from $Id$ to $FreeBSD$</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#1130b656</link>
        <description>Make the long-awaited change from $Id$ to $FreeBSD$This will make a number of things easier in the future, as well as (finally!)avoiding the Id-smashing problem which has plagued developers for so long.Boy, I&apos;m glad we&apos;re not using sup anymore.  This update would have beeninsane otherwise.

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Tue, 14 Jan 1997 07:20:47 +0000</pubDate>
        <dc:creator>Jordan K. Hubbard &lt;jkh@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>83f9dfab - My utility to specify where you want crash dumps to go.  More user</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/sbin/dumpon/Makefile#83f9dfab</link>
        <description>My utility to specify where you want crash dumps to go.  More userand kernel support to follow.

            List of files:
            /freebsd-13.1/sbin/dumpon/Makefile</description>
        <pubDate>Fri, 12 May 1995 19:10:09 +0000</pubDate>
        <dc:creator>Garrett Wollman &lt;wollman@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
