From owner-svn-src-user@freebsd.org  Tue Mar  6 21:15:01 2018
Return-Path: <owner-svn-src-user@freebsd.org>
Delivered-To: svn-src-user@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FFBAF3000F
 for <svn-src-user@mailman.ysv.freebsd.org>;
 Tue,  6 Mar 2018 21:15:01 +0000 (UTC)
 (envelope-from markj@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 28DE86BE4D;
 Tue,  6 Mar 2018 21:15:01 +0000 (UTC)
 (envelope-from markj@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 23D64182FB;
 Tue,  6 Mar 2018 21:15:01 +0000 (UTC)
 (envelope-from markj@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w26LF1OV028375;
 Tue, 6 Mar 2018 21:15:01 GMT (envelope-from markj@FreeBSD.org)
Received: (from markj@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id w26LF0vt028373;
 Tue, 6 Mar 2018 21:15:00 GMT (envelope-from markj@FreeBSD.org)
Message-Id: <201803062115.w26LF0vt028373@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: markj set sender to
 markj@FreeBSD.org using -f
From: Mark Johnston <markj@FreeBSD.org>
Date: Tue, 6 Mar 2018 21:15:00 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-user@freebsd.org
Subject: svn commit: r330549 - user/markj/netdump/share/man/man4
X-SVN-Group: user
X-SVN-Commit-Author: markj
X-SVN-Commit-Paths: user/markj/netdump/share/man/man4
X-SVN-Commit-Revision: 330549
X-SVN-Commit-Repository: base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-user@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: "SVN commit messages for the experimental &quot; user&quot;
 src tree" <svn-src-user.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-user>,
 <mailto:svn-src-user-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-user/>
List-Post: <mailto:svn-src-user@freebsd.org>
List-Help: <mailto:svn-src-user-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-user>,
 <mailto:svn-src-user-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Mar 2018 21:15:01 -0000

Author: markj
Date: Tue Mar  6 21:15:00 2018
New Revision: 330549
URL: https://svnweb.freebsd.org/changeset/base/330549

Log:
  Add a rudimentary netdump.4.

Added:
  user/markj/netdump/share/man/man4/netdump.4
Modified:
  user/markj/netdump/share/man/man4/Makefile

Modified: user/markj/netdump/share/man/man4/Makefile
==============================================================================
--- user/markj/netdump/share/man/man4/Makefile	Tue Mar  6 21:14:24 2018	(r330548)
+++ user/markj/netdump/share/man/man4/Makefile	Tue Mar  6 21:15:00 2018	(r330549)
@@ -323,6 +323,7 @@ MAN=	aac.4 \
 	ncv.4 \
 	${_ndis.4} \
 	net80211.4 \
+	netdump.4 \
 	netfpga10g_nf10bmac.4 \
 	netgraph.4 \
 	netintro.4 \

Added: user/markj/netdump/share/man/man4/netdump.4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/markj/netdump/share/man/man4/netdump.4	Tue Mar  6 21:15:00 2018	(r330549)
@@ -0,0 +1,72 @@
+.\"-
+.\" Copyright (c) 2018 Mark Johnston <markj@FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd March 6, 2018
+.Dt netdump 4
+.Os
+.Sh NAME
+.Nm netdump
+.Nd protocol for transmitting kernel dumps to a remote server
+.Sh SYNOPSIS
+To compile netdump client support into the kernel, place the following line in
+your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "options NETDUMP"
+.Ed
+.Pp
+Debug output can be enabled by adding the following line:
+.Bd -ragged -offset indent
+.Cd "options NETDUMP_DEBUG"
+.Ed
+.Sh DESCRIPTION
+netdump is a UDP-based protocol for transmitting kernel dumps to a remote host.
+A netdump client is a panicking kernel, and a netdump server is a host
+running the
+.Nm
+daemon, available in ports as
+.Pa ports/ftp/netdumpd .
+.Nm
+clients are configured using the
+.Xr dumpon 8
+utility.
+.Pp
+The following network drivers support netdump:
+.Xr alc 4 ,
+.Xr bge 4 ,
+.Xr em 4 ,
+.Xr igb 4 ,
+.Xr ix 4 ,
+.Xr re 4 ,
+.Xr vtnet 4 .
+.Sh SEE ALSO
+.Xr dumpon 8
+.Sh HISTORY
+.Nm
+client support first appeared in
+.Fx 12.0 .
+.Sh BUGS
+Only IPv4 is supported.