2 .\" Copyright (c) 1999-2001 Brian Somers <brian@Awfulhak.org>
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" $FreeBSD: src/libexec/pppoed/pppoed.8,v 1.2.6.11 2002/03/26 11:40:37 brian Exp $
33 .Nd handle incoming PPP over Ethernet connections
39 .Op Fl e Ar exec | Fl l Ar label
46 program listens to the given
48 for PPP over Ethernet (PPPoE) service request packets, and actions them
49 by negotiating a session then invoking a
52 The negotiation is implemented by the
60 will only offer services to clients requesting services from the given
62 which is taken as an empty name if not provided.
65 is given, any PPPoE requests will be offered service.
69 will be given as the access concentrator name when establishing the connection.
72 is given, the current base hostname is used.
74 After receiving a request (PADI) from the PPPoE netgraph node,
77 a child process and returns to service further requests.
78 The child process offers service
83 indication from the PPPoE node.
90 .D1 Ic exec Pa /usr/sbin/ppp Fl direct Ar label
92 as a shell sub-process.
95 has not been specified, it defaults to
97 It is possible to specify another command using the
105 The child process will have standard input and standard output
113 The environment variables
117 are made available to the child process and are set to the MAC address of
118 the peer and the name of the AC respectively.
124 netgraph node to the relevant
127 .Dq Ar interface Ns \&:
128 as the node name, and then connect that
135 option has not been given,
137 will then go into the background and disassociate itself from the controlling
143 stays in the foreground.
147 option is given, additional diagnostics are provided (see the
154 is called with an argument of
161 will write its process ID to this file on startup.
163 After creating the necessary
165 nodes as described above,
169 to report all incoming connections.
174 will report on the child processes creation of a new netgraph socket, it's
175 service offer and the invocation of the
180 option is given, netgraph diagnostic messages are also redirected to
183 It is sometimes useful to add the following to
184 .Pa /etc/syslog.conf :
185 .Bd -literal -offset indent
187 *.* /var/log/pppoed.log
191 .Pa /etc/newsyslog.conf :
193 .Dl "/var/log/pppoed.log 640 3 100 * Z"
206 program was written by
207 .An Brian Somers Aq Mt brian@Awfulhak.org
208 and first appeared in
211 If another netgraph node is using the given interface,
216 does not currently allow node chaining.
217 This may change in the future.