summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_pppoe.4
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2003-12-19 16:42:35 +0000
committeryar <yar@FreeBSD.org>2003-12-19 16:42:35 +0000
commit4a91dcfee21a95871a1db5fe47ee966e03f47703 (patch)
treef356de98c26bd7962c0c950748e95fe8174d1783 /share/man/man4/ng_pppoe.4
parent127f4e3f65c121e8bb91a1713dbac4a67166016b (diff)
downloadFreeBSD-src-4a91dcfee21a95871a1db5fe47ee966e03f47703.zip
FreeBSD-src-4a91dcfee21a95871a1db5fe47ee966e03f47703.tar.gz
Bring the description of the sysctl(8) variable
net.graph.nonstandard_pppoe into accord with the reality. MFC after: 1 week
Diffstat (limited to 'share/man/man4/ng_pppoe.4')
-rw-r--r--share/man/man4/ng_pppoe.436
1 files changed, 20 insertions, 16 deletions
diff --git a/share/man/man4/ng_pppoe.4 b/share/man/man4/ng_pppoe.4
index 2cf8813..924e3f3 100644
--- a/share/man/man4/ng_pppoe.4
+++ b/share/man/man4/ng_pppoe.4
@@ -182,22 +182,26 @@ This node shuts down upon receipt of a
control message, when all session have been disconnected or when the
.Dv ethernet
hook is disconnected.
-.Sh SYSCTLs
-If you are one of the unfortunate people who have an ISP that
-uses some "PPPoE" equipment from (I believe) 3com, and who have to
-use a different ethertype on PPPoE packets
-(hey why not change it from the standard for
-no reason?) then after you have kldloaded or compiled in your PPPoE node,
-you may have to do the following sysctl:
-.Bd -literal
-(kldload netgraph)
-(kldload ng_pppoe)
-sysctl net.graph.nonstandard_pppoe=1
-.Ed
-.Pp
-to enable the alternate ethertypes.
-Then phone your ISP and ask them
-why you need to set that option for you to be able to connect.
+.Sh SYSCTL VARIABLES
+The variable
+.Va net.graph.nonstandard_pppoe
+controls certain aspects of
+.Nm
+operation.
+Its default value of \-1 corresponds to standard mode
+and should suit nearly all purposes.
+A value of 1 will turn on compatibility with some particularly
+broken PPPoE implementations using nonstandard "ethertypes"
+in PPPoE packets.
+When in this mode, your PPPoE node will be unable to communicate
+with standard nodes.
+A value of 0 is deprecated.
+It was intended to turn on autodetection of the proper mode.
+.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
The following code uses
.Dv libnetgraph
OpenPOWER on IntegriCloud