Bring the description of the sysctl(8) variable
net.graph.nonstandard_pppoe into accord with the reality. MFC after: 1 week
This commit is contained in:
parent
e883537ce7
commit
db2db5fe18
@ -182,22 +182,26 @@ This node shuts down upon receipt of a
|
|||||||
control message, when all session have been disconnected or when the
|
control message, when all session have been disconnected or when the
|
||||||
.Dv ethernet
|
.Dv ethernet
|
||||||
hook is disconnected.
|
hook is disconnected.
|
||||||
.Sh SYSCTLs
|
.Sh SYSCTL VARIABLES
|
||||||
If you are one of the unfortunate people who have an ISP that
|
The variable
|
||||||
uses some "PPPoE" equipment from (I believe) 3com, and who have to
|
.Va net.graph.nonstandard_pppoe
|
||||||
use a different ethertype on PPPoE packets
|
controls certain aspects of
|
||||||
(hey why not change it from the standard for
|
.Nm
|
||||||
no reason?) then after you have kldloaded or compiled in your PPPoE node,
|
operation.
|
||||||
you may have to do the following sysctl:
|
Its default value of \-1 corresponds to standard mode
|
||||||
.Bd -literal
|
and should suit nearly all purposes.
|
||||||
(kldload netgraph)
|
A value of 1 will turn on compatibility with some particularly
|
||||||
(kldload ng_pppoe)
|
broken PPPoE implementations using nonstandard "ethertypes"
|
||||||
sysctl net.graph.nonstandard_pppoe=1
|
in PPPoE packets.
|
||||||
.Ed
|
When in this mode, your PPPoE node will be unable to communicate
|
||||||
.Pp
|
with standard nodes.
|
||||||
to enable the alternate ethertypes.
|
A value of 0 is deprecated.
|
||||||
Then phone your ISP and ask them
|
It was intended to turn on autodetection of the proper mode.
|
||||||
why you need to set that option for you to be able to connect.
|
.Bf -emphasis
|
||||||
|
It will make your entire PPPoE network vulnerable
|
||||||
|
to a denial-of-service attack,
|
||||||
|
therefore its use is strongly discouraged.
|
||||||
|
.Ef
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
The following code uses
|
The following code uses
|
||||||
.Dv libnetgraph
|
.Dv libnetgraph
|
||||||
|
Loading…
Reference in New Issue
Block a user