OpenBSD CVS

CVS log for src/share/man/man4/pppoe.4


[BACK] Up to [local] / src / share / man / man4

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36 / (download) - annotate - [select for diffs], Fri May 27 15:45:02 2022 UTC (2 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.35: +30 -54 lines
Diff to previous 1.35 (colored)

rework the text on mtu and mss, according to some notes from sthen;
ok sthen

Revision 1.35 / (download) - annotate - [select for diffs], Tue Mar 16 13:53:39 2021 UTC (3 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.34: +16 -7 lines
Diff to previous 1.34 (colored)

Describe what happens when RFC 4638 is not supported.
With help from sthen@.  OK sthen@ jmc@

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 16 10:58:43 2017 UTC (6 years, 11 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.33: +19 -12 lines
Diff to previous 1.33 (colored)

In sppp(4), allow additional 'wildcard' addresses for the destination.
Any address within the range 0.0.0.1 - 0.0.0.255 can now be used.
This allows for multiple pppoe(4) interfaces with dynamic addresses within
the same routing table. Which used to work before OpenBSD 5.8, but since 5.8
only one interface in a routing table can use destination address 0.0.0.1.

Problem first reported by Steve (fiverings04 at australian yahoo) on misc@.
I ran into it on an EdgeRouter lite which is supposed to serve two ADSL lines.
ok sthen@ mpi@
man page help from jmc@ for an earlier variant of this change

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 22 21:37:24 2017 UTC (7 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.32: +13 -23 lines
Diff to previous 1.32 (colored)

less verbose KERNEL OPTIONS section; help/ok sthen

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 16 08:56:28 2016 UTC (7 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

In the IPv6 default route example, use a gateway that corresponds to a
RTF_HOST route and is always on the correct interface.

The gateway value doesn't really matter for routes on p2p interfaces
but this allow us to tighten the checks when adding RTF_GATEWAY routes.

ok stsp@, sthen@

Revision 1.31 / (download) - annotate - [select for diffs], Fri Apr 1 05:47:34 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 (colored)

no Pp before Sh;

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 1 04:03:35 2016 UTC (8 years, 2 months ago) by jsg
Branch: MAIN
Changes since 1.29: +2 -15 lines
Diff to previous 1.29 (colored)

Building kernels with PPPOE_SERVER enabled has been broken for at least
eleven years, remove it.

Despite what the wildly outdated time(9) claims, there is no longer
globally visible "struct timeval mono_time" or "struct timeval time".

ok mpi@ sthen@ mikeb@

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 12 09:15:49 2015 UTC (8 years, 9 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Update the IPv6 example to something that works...

...although this create a race condition pointed by sthen@ where the
other side might try to negotiave IPv6 before it is enable.

This is *another* fallback of the no IPv6 by default policy.  Since
setting an address implicitly brings the underlying interface UP.

And pppoe(4) (which is special) starts singing as soon as it is UP
even if no proto or parent device has been specified.  Obviously this
cannot work.

Better have a working and racy example than a non-working one.

Diff submitted by Delan Azabani, thanks!

ok naddy@

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 16 16:38:54 2015 UTC (9 years, 3 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Replace \*(Lt \*(Le \*(Gt \*(Ge with literal < <= > >= respectively,
except for instances where \*(Le and \*(Ge are clearly understood as
mathematical symbols.  Discussed with schwarze@

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 8 12:57:51 2014 UTC (9 years, 8 months ago) by sthen
Branch: MAIN
Changes since 1.26: +5 -1 lines
Diff to previous 1.26 (colored)

At present (since NOINET6-by-default), pppoe(4) does not request IPV6CP unless
the pppoe interface already has a link-local address. Add to the config sample
showing how to do this with "inet6 eui64". Not ideal and may want further
changes in the driver, but since v6 over pppoe is broken for some people let's
at least document it for now. Also show the not-easy-to-guess "route add" line
that's needed. ok deraadt@ jmc@

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 17 21:55:05 2014 UTC (10 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.25: +2 -13 lines
Diff to previous 1.25 (colored)

some userland pppoe cleaning;

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 17 17:07:45 2014 UTC (10 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +3 -5 lines
Diff to previous 1.24 (colored)

the userland ppp(9) code goes awa.  Having too much ppp choice in the
tree results in one-true-ppp not coming into existance.  This code is
essentially un-audited and quite dangerous.
ok claudio sthen

Revision 1.24 / (download) - annotate - [select for diffs], Wed Sep 26 17:34:38 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.23: +17 -4 lines
Diff to previous 1.23 (colored)

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 19 23:29:24 2012 UTC (12 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.22: +39 -8 lines
Diff to previous 1.22 (colored)

Document RFC 4638 support in pppoe(4). Incorporates parts from Matt Dainty
and myself, with help from jmc@ and feedback from phessler@.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 12 18:42:36 2010 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

better word MSS in pf.conf.5, from Lars Nooden;
the changes in pppoe.4 are just to keep things consistent...

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 6 13:53:53 2009 UTC (15 years, 2 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Adapt PF rule to new scrub syntax.

input from and ok henning@

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:07 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.19: +1 -8 lines
Diff to previous 1.19 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 27 18:00:42 2007 UTC (16 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.18: +9 -2 lines
Diff to previous 1.18 (colored)

On jmc@'s request add a bit that mentions that the pf(4) mssfix up is only
needed on pppoe(4) and not needed with pppoe(8) because it is done by ppp(8)
by default. OK jmc@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 27 12:33:29 2007 UTC (16 years, 6 months ago) by claudio
Branch: MAIN
Changes since 1.17: +2 -26 lines
Diff to previous 1.17 (colored)

Don't give bad advice. The MTU/MSS issue is not solvable by changing the MTU
of any interface of the pppoe router. The best way to get a reliable network
connection is to use pf(4) and the max-mss scrub option.
OK henning@, mbalmer@ Yes please! sthen@

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 31 19:19:51 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

convert to new .Dd format;

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 10 22:07:02 2007 UTC (17 years, 1 month ago) by kili
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)


PPP Over Ethernet (not "over"). More consistent with pppoe(8) and the rfc.

ok jmc@

Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 17 21:36:58 2007 UTC (17 years, 1 month ago) by mpf
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Add support for setting the address of the ppp peer.
Use the proper in_ifscrub() / in_ifinit() calls for
address changes to generate routing messages.
The correct way to set the default route now
needs the -ifp option, e.g.
 route add default -ifp pppoe0 0.0.0.1
Since the route is set right after bringing
the interface up, it still works w/out -ifp though.

Changes mostly from NetBSD.

Tested by Matthias Bauer and bluhm@
OK canacar@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 4 08:53:46 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

wrap authname and authkey args in quotes to prevent problems
when using special chars;

from andreas bihlmaier

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 18 18:05:04 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.12: +5 -3 lines
Diff to previous 1.12 (colored)

change the example hostname.pppoe0 to match the format
documented in hostname.if(5). although it is more complex,
we at least document how and why it works;

complaints on a postcard...

ok reyk canacar

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 8 19:06:41 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

correct SYNOPSIS;

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 18 20:17:42 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.10: +6 -8 lines
Diff to previous 1.10 (colored)

tweak previous; ok reyk

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 18 15:38:57 2006 UTC (18 years ago) by reyk
Branch: MAIN
Changes since 1.9: +9 -1 lines
Diff to previous 1.9 (colored)

the physical interface must be marked UP

ok naddy@

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 17 11:50:23 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

sort SEE ALSO;

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 17 03:29:55 2006 UTC (18 years ago) by reyk
Branch: MAIN
Changes since 1.7: +6 -10 lines
Diff to previous 1.7 (colored)

implement support for sppp(4) in ifconfig. have a look at the updated
manual pages pppoe(4) and sppp(4) for examples.

the spppcontrol(8) utility is not required anymore and will probably
be removed in the near future.

ok deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 6 15:30:50 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.6: +6 -1 lines
Diff to previous 1.6 (colored)

note that /etc/mygate will cause conflict with pppoe(4)
and advise against it;

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 29 10:39:54 2004 UTC (19 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.5: +89 -30 lines
Diff to previous 1.5 (colored)

reinstate a (rewritten) MTU/MSS ISSUES section;
better layout and other tweaks;

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 30 12:42:21 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

mcintyre learns the hard way that $int should be \$if when passed to
ifconfig(8);

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 30 10:13:57 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

correct path for spppcontrol;
from bernd ahlers;

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 30 09:46:52 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

`option' keyword, not `options';

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 30 09:39:15 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

one more ifconfig.if -> hostname.if;

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 29 22:56:04 2004 UTC (19 years, 6 months ago) by canacar
Branch: MAIN

Add missing pppoe(4) manual page. Adapted from NetBSD version.
Reminded by mickey@, with help from jmc@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.