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 $
27 .\" $DragonFly: src/libexec/pppoed/pppoed.8,v 1.3 2006/02/17 19:33:31 swildner Exp $
34 .Nd handle incoming PPP over Ethernet connections
40 .Op Fl e Ar exec | Fl l Ar label
47 program listens to the given
49 for PPP over Ethernet (PPPoE) service request packets, and actions them
50 by negotiating a session then invoking a
53 The negotiation is implemented by the
61 will only offer services to clients requesting services from the given
63 which is taken as an empty name if not provided.
66 is given, any PPPoE requests will be offered service.
70 will be given as the access concentrator name when establishing the connection.
73 is given, the current base hostname is used.
75 After receiving a request (PADI) from the PPPoE netgraph node,
78 a child process and returns to service further requests.
79 The child process offers service
84 indication from the PPPoE node.
91 .D1 Ic exec Pa /usr/sbin/ppp Fl direct Ar label
93 as a shell sub-process.
96 has not been specified, it defaults to
98 It is possible to specify another command using the
106 The child process will have standard input and standard output
114 The environment variables
118 are made available to the child process and are set to the MAC address of
119 the peer and the name of the AC respectively.
125 netgraph node to the relevant
128 .Dq Ar interface Ns \&:
129 as the node name, and then connect that
136 option has not been given,
138 will then go into the background and disassociate itself from the controlling
144 stays in the foreground.
148 option is given, additional diagnostics are provided (see the
155 is called with an argument of
162 will write its process ID to this file on startup.
164 After creating the necessary
166 nodes as described above,
170 to report all incoming connections.
175 will report on the child processes creation of a new netgraph socket, it's
176 service offer and the invocation of the
181 option is given, netgraph diagnostic messages are also redirected to
184 It is sometimes useful to add the following to
185 .Pa /etc/syslog.conf :
186 .Bd -literal -offset indent
188 *.* /var/log/pppoed.log
192 .Pa /etc/newsyslog.conf :
194 .Dl "/var/log/pppoed.log 640 3 100 * Z"
207 program was written by
208 .An Brian Somers Aq brian@Awfulhak.org
209 and first appeared in
212 If another netgraph node is using the given interface,
217 does not currently allow node chaining.
218 This may change in the future.