From owner-svn-src-head@FreeBSD.ORG Wed May 27 16:30:35 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CD7C1065673; Wed, 27 May 2009 16:30:34 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 19D7C8FC28; Wed, 27 May 2009 16:30:34 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4RGUXoi003533; Wed, 27 May 2009 16:30:33 GMT (envelope-from bms@svn.freebsd.org) Received: (from bms@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4RGUXTX003532; Wed, 27 May 2009 16:30:33 GMT (envelope-from bms@svn.freebsd.org) Message-Id: <200905271630.n4RGUXTX003532@svn.freebsd.org> From: Bruce M Simpson Date: Wed, 27 May 2009 16:30:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192904 - head/share/man/man4 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 16:30:36 -0000 Author: bms Date: Wed May 27 16:30:33 2009 New Revision: 192904 URL: http://svn.freebsd.org/changeset/base/192904 Log: Add mld(4) man page. Added: head/share/man/man4/mld.4 (contents, props changed) Added: head/share/man/man4/mld.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/mld.4 Wed May 27 16:30:33 2009 (r192904) @@ -0,0 +1,107 @@ +.\" +.\" Copyright (c) 2009 Bruce Simpson. +.\" +.\" 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. +.\" 3. Neither the name of the project nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT 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 PROJECT 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 May 27, 2009 +.Dt MLD 4 +.Os +.Sh NAME +.Nm mld +.Nd Multicast Listener Discovery Protocol +.Sh SYNOPSIS +.In sys/types.h +.In sys/socket.h +.In netinet/in.h +.In netinet/in_systm.h +.In netinet/ip6.h +.In netinet/icmp6.h +.In netinet6/mld6.h +.Ft int +.Fn socket AF_INET6 SOCK_RAW IPPROTO_ICMPV6 +.Sh DESCRIPTION +.Tn MLD +is a control plane protocol used by IPv6 hosts and routers to +propagate multicast group membership information. +Normally this protocol is not used directly, except by the kernel +itself, in response to multicast membership requests by user +applications. +Multicast routing protocol daemons may open a raw socket to directly +interact with +.Nm +and receive membership reports. +.Pp +As of +.Fx 8.0 , +MLD version 2 is implemented. +This adds support for Source-Specific Multicast (SSM), whereby +applications may communicate to upstream multicast routers that +they are only interested in receiving multicast streams from +particular sources. +The retransmission of state-change reports adds some robustness +to the protocol. +.\" +.Sh SYSCTL VARIABLES +.Pp +.Bl -tag -width indent +.\" +.It net.inet6.mld.stats +This opaque read-only variable exposes the stack-wide MLDv2 +protocol statistics to +.Xr netstat 1 . +.\" +.It net.inet6.mld.ifinfo +This opaque read-only variable exposes the per-link MLDv2 status to +.Xr ifmcstat 8 . +.\" +.It net.inet6.mld.gsrdelay +This variable specifies the time threshold, in seconds, for processing +Group-and-Source Specific Queries (GSR). +As GSR query processing requires maintaining state on the host, +it may cause memory to be allocated, and is therefore a potential +attack point for Denial-of-Service (DoS). +If more than one GSR query is received within this threshold, +it will be dropped, to mitigate the potential for DoS. +.\" +.It net.inet6.mld.v1enable +If this variable is non-zero, then MLDv1 membership queries (and host +reports) will be processed by this host, and backwards compatibility +will be enabled until the v1 'Older Version Querier Present' timer expires. +This sysctl is normally enabled by default. +.\" +.El +.Sh SEE ALSO +.Xr ifmcstat 8 , +.Xr inet 4 , +.Xr multicast 4 , +.Xr netstat 1 , +.Xr sourcefilter 3 +.Sh HISTORY +The +.Nm +manual page appeared in +.Fx 8.0 .