#
51e16cb8 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sbin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl
sbin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
b2c76c41 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
3c405c7e |
| 17-Aug-2022 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Indicate which port gdb.1 and kgdb.1 come from.
|
Revision tags: release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
af06ff55 |
| 08-Mar-2021 |
Mark Johnston <markj@FreeBSD.org> |
dumpon.8: Ask DDB to call doadump() rather than calling it directly
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
e5a84dc8 |
| 28-Dec-2020 |
Gordon Bergling <gbe@FreeBSD.org> |
dumpon(8): Add missing section arguments
MFC after: 3 days
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
7575e5c4 |
| 23-Apr-2020 |
Conrad Meyer <cem@FreeBSD.org> |
dumpon.8: Update minimum key size language
dumpon(8) has not accepted 1024-bit RSA keys since prior to r339784 (2018-10). The manual page language was not updated at that time (oops). The minimum a
dumpon.8: Update minimum key size language
dumpon(8) has not accepted 1024-bit RSA keys since prior to r339784 (2018-10). The manual page language was not updated at that time (oops). The minimum accepted is 2048 bits, which is also a good default choice.
Sponsored by: Dell EMC Isilon
show more ...
|
Revision tags: release/12.1.0, release/11.3.0 |
|
#
0269ae4c |
| 06-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @348740
Sponsored by: The FreeBSD Foundation
|
#
82985292 |
| 23-May-2019 |
Conrad Meyer <cem@FreeBSD.org> |
EKCD: Add Chacha20 encryption mode
Add Chacha20 mode to Encrypted Kernel Crash Dumps.
Chacha20 does not require messages to be multiples of block size, so it is valid to use the cipher on non-block
EKCD: Add Chacha20 encryption mode
Add Chacha20 mode to Encrypted Kernel Crash Dumps.
Chacha20 does not require messages to be multiples of block size, so it is valid to use the cipher on non-block-sized messages without the explicit padding AES-CBC would require. Therefore, allow use with simultaneous dump compression. (Continue to disallow use of AES-CBC EKCD with compression.)
dumpon(8) gains a -C cipher flag to select between chacha and aes-cbc. It defaults to chacha if no -C option is provided. The man page documents this behavior.
Relnotes: sure Sponsored by: Dell EMC Isilon
show more ...
|
#
48faa24b |
| 22-May-2019 |
Mark Johnston <markj@FreeBSD.org> |
Update the example added in r348082 to specify a dump device priority.
Event: Waterloo Hackathon 2019
|
#
73cc1694 |
| 22-May-2019 |
Mark Johnston <markj@FreeBSD.org> |
Provide an example of using dhclient-script(5) to configure netdump.
Reviewed by: cem MFC after: 1 week Event: Waterloo Hackathon 2019 Differential Revision: https://reviews.freebsd.org/D20345
|
#
7648bc9f |
| 13-May-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @347527
Sponsored by: The FreeBSD Foundation
|
#
6b6e2954 |
| 06-May-2019 |
Conrad Meyer <cem@FreeBSD.org> |
List-ify kernel dump device configuration
Allow users to specify multiple dump configurations in a prioritized list. This enables fallback to secondary device(s) if primary dump fails. E.g., one mi
List-ify kernel dump device configuration
Allow users to specify multiple dump configurations in a prioritized list. This enables fallback to secondary device(s) if primary dump fails. E.g., one might configure a preference for netdump, but fallback to disk dump as a second choice if netdump is unavailable.
This change does not list-ify netdump configuration, which is tracked separately from ordinary disk dumps internally; only one netdump configuration can be made at a time, for now. It also does not implement IPv6 netdump.
savecore(8) is already capable of scanning and iterating multiple devices from /etc/fstab or passed on the command line.
This change doesn't update the rc or loader variables 'dumpdev' in any way; it can still be set to configure a single dump device, and rc.d/savecore still uses it as a single device. Only dumpon(8) is updated to be able to configure the more complicated configurations for now.
As part of revving the ABI, unify netdump and disk dump configuration ioctl / structure, and leave room for ipv6 netdump as a future possibility. Backwards-compatibility ioctls are added to smooth ABI transition, especially for developers who may not keep kernel and userspace perfectly synced.
Reviewed by: markj, scottl (earlier version) Relnotes: maybe Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D19996
show more ...
|
Revision tags: release/12.0.0 |
|
#
3d5db455 |
| 24-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340427 through r340868.
|
#
e5fff57d |
| 18-Nov-2018 |
Mark Johnston <markj@FreeBSD.org> |
Change dumpon(8)'s handling of -g.
Rather than using a special value to denote "use the default router", treat the absence of the -g option to mean the same thing. The in-kernel netdump client will
Change dumpon(8)'s handling of -g.
Rather than using a special value to denote "use the default router", treat the absence of the -g option to mean the same thing. The in-kernel netdump client will always attempt to reach the server directly before falling back to the configured gateway anyway. This change makes it cleaner to support a hostname value for -g.
Reviewed by: cem MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D18025
show more ...
|
#
fda9adaf |
| 27-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339670 through r339812.
|
#
0fb8835b |
| 26-Oct-2018 |
Conrad Meyer <cem@FreeBSD.org> |
dumpon.8: Significantly revamp page
Start with a short summary and cover the options in a standard list style.
Organize sections by common focus and prioritize more useful information closer to the
dumpon.8: Significantly revamp page
Start with a short summary and cover the options in a standard list style.
Organize sections by common focus and prioritize more useful information closer to the top.
Flesh out authors, history, caveats, and security considerations sections.
Reviewed by: markj, eadler (previous version) Differential Revision: https://reviews.freebsd.org/D17679
show more ...
|
#
f27d255c |
| 26-Oct-2018 |
Conrad Meyer <cem@FreeBSD.org> |
dumpon(8): Provide seatbelt against weak RSA keys
The premise of dumpon -k foo.pem is that dump contents will be confidential except to anyone holding the corresponding RSA private key.
This guaran
dumpon(8): Provide seatbelt against weak RSA keys
The premise of dumpon -k foo.pem is that dump contents will be confidential except to anyone holding the corresponding RSA private key.
This guarantee breaks down when weak RSA keys are used. Small RSA keys (e.g. 512 bits) can be broken on a single personal computer in tractible time. Marginal RSA keys (768 bits) can be broken by EC2 and a few dollars. Even 1024 bit keys can probably be broken by sophisticated and wealthy attackers.
NIST SP800-57 (2016) recommends a minimum of 2048 bit RSA keys, and estimates this provides 112 bits of security.
It would also be good to protect users from weak values of 'e' (i.e., 3) and perhaps sanity check that their public key .pem does not accidentally contain their private key as well. These considerations are left as future work.
Reviewed by: markj, darius AT dons.net.au (previous version) Discussed with: bjk Differential Revision: https://reviews.freebsd.org/D17678
show more ...
|
Revision tags: release/11.2.0 |
|
#
3330a6d9 |
| 13-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
dumpon(8): improve the examples a bit
While here, remove extraneous extraneous Pp
Reviewed by: jhb (older version)
|
#
6d6e62dc |
| 23-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
dumpon: point to better kernel debug symbols.
The objdir is temporary, and the current example points to GENERIC. Instead point to the installed location of the debug symbols that are supposed to ma
dumpon: point to better kernel debug symbols.
The objdir is temporary, and the current example points to GENERIC. Instead point to the installed location of the debug symbols that are supposed to match the kernel you are using.
PR: 223993 Submitted by: Trond.Endrestol@ximalas.info
show more ...
|
#
0ff40d3d |
| 06-May-2018 |
Mark Johnston <markj@FreeBSD.org> |
Add netdump support to dumpon(8).
A new usage is added so that parameters for netdump may be specified. Specifically, one configures an interface for netdump with:
# dumpon -c <client IP> -s <serve
Add netdump support to dumpon(8).
A new usage is added so that parameters for netdump may be specified. Specifically, one configures an interface for netdump with:
# dumpon -c <client IP> -s <server IP> [-g <gateway IP>] <iface name>
Reviewed by: bdrewery, cem (earlier versions), sbruno MFC after: 1 month Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D15254
show more ...
|
#
6026dcd7 |
| 13-Feb-2018 |
Mark Johnston <markj@FreeBSD.org> |
Add support for zstd-compressed user and kernel core dumps.
This works similarly to the existing gzip compression support, but zstd is typically faster and gives better compression ratios.
Support
Add support for zstd-compressed user and kernel core dumps.
This works similarly to the existing gzip compression support, but zstd is typically faster and gives better compression ratios.
Support for this functionality must be configured by adding ZSTDIO to one's kernel configuration file. dumpon(8)'s new -Z option is used to configure zstd compression for kernel dumps. savecore(8) now recognizes and saves zstd-compressed kernel dumps with a .zst extension.
Submitted by: cem (original version) Relnotes: yes Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D13101, https://reviews.freebsd.org/D13633
show more ...
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
#
5ff880dc |
| 26-Oct-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r325004
|
#
64a16434 |
| 25-Oct-2017 |
Mark Johnston <markj@FreeBSD.org> |
Add support for compressed kernel dumps.
When using a kernel built with the GZIO config option, dumpon -z can be used to configure gzip compression using the in-kernel copy of zlib. This is useful o
Add support for compressed kernel dumps.
When using a kernel built with the GZIO config option, dumpon -z can be used to configure gzip compression using the in-kernel copy of zlib. This is useful on systems with large amounts of RAM, which require a correspondingly large dump device. Recovery of compressed dumps is also faster since fewer bytes need to be copied from the dump device.
Because we have no way of knowing the final size of a compressed dump until it is written, the kernel will always attempt to dump when compression is configured, regardless of the dump device size. If the dump is aborted because we run out of space, an error is reported on the console.
savecore(8) is modified to handle compressed dumps and save them to vmcore.<index>.gz, as it does when given the -z option.
A new rc.conf variable, dumpon_flags, is added. Its value is added to the boot-time dumpon(8) invocation that occurs when a dump device is configured in rc.conf.
Reviewed by: cem (earlier version) Discussed with: def, rgrimes Relnotes: yes Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D11723
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
348238db |
| 01-Mar-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r314420 through r314481.
|