Home | History | Annotate | only in /src/sbin/pppoectl
History log of /src/sbin/pppoectl
RevisionDateAuthorComments
 1.6 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.5 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.4 23-Sep-2018  maxv Remove the userland part of ISDN. The kernel part is untouched for now.
ipppctl was actually an exact copy of pppoectl; there is no functional
change in pppoectl in this commit.
 1.3 28-May-2007  tls branches: 1.3.76; 1.3.78;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.2 16-Mar-2002  martin Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
 1.1 10-Dec-2001  martin Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.
 1.3.78.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.78.1 10-Jun-2019  christos Sync with HEAD
 1.3.76.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.32 25-Sep-2018  wiz Fix wrong macro, use An.
 1.31 23-Sep-2018  maxv Remove the userland part of ISDN. The kernel part is untouched for now.
ipppctl was actually an exact copy of pppoectl; there is no functional
change in pppoectl in this commit.
 1.30 12-Sep-2016  sevan branches: 1.30.12; 1.30.14;
pppoectl first appeared in NetBSD 1.6.
Bump date.
 1.29 12-Oct-2011  christos fix the date.
 1.28 12-Oct-2011  martin Two small fixes from David H. Gutteridge in PR bin/45454.
 1.27 31-Mar-2010  joerg Kill stray t.
 1.26 30-Mar-2010  joerg Assume o umlaut is transliterated by nroff as needed.
\\ -> \e
 1.25 09-Mar-2009  joerg Fix preamble to match order set out by mdoc(7). Discussed with wiz.
 1.24 19-Feb-2005  christos branches: 1.24.36;
PR/29457: Joachim Kuebart: pppoectl's config file does not allow # in passwords
Fixed, by passing FPARSELN_UNESCALL in parsing.
 1.23 02-Oct-2003  wiz Bump date for previous.
 1.22 02-Oct-2003  itojun use netmask of /32. as discusssed on tech-userlevel
 1.21 06-Sep-2003  wiz Punctuation nits.
 1.20 06-Sep-2003  martin Make LCP keepalive behaviour configurable.
 1.19 22-Mar-2003  mrg bump .Dt [from wiz]
 1.18 22-Mar-2003  mrg add a "-f configfile" option. the config file contains individual lines of
parameter=value pairs normally passed on the command line (# and \
continuation also works, yay fparseln), one per line. now you don't have
to run a program with a password on the command line.
 1.17 19-Dec-2002  wiz Drop trailing whitespace.
 1.16 19-Dec-2002  lukem It's ipppctl not ipppcontrol ...
Also add synopsis for ipppctl.
 1.15 01-Oct-2002  wiz New sentence, new line. By Robert Elz with minimal fixes.
 1.14 01-Sep-2002  wiz Grammar improvement.
 1.13 01-Sep-2002  martin Add a "clear-auth-failure" command to reset the authentication failure
count without changing any (local) authentication settings.

Fixes kern/18071 ( without any kernel change ;-) )
 1.12 16-Aug-2002  itojun style (tab around $NetBSD$)
 1.11 14-Apr-2002  martin Fix copyright notice, sprinkle some $NetBSD$.
 1.10 16-Mar-2002  martin Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
 1.9 04-Mar-2002  wiz Typo fix.
 1.8 04-Mar-2002  wiz Whitespace nit.
 1.7 02-Mar-2002  martin Add a "query-dns" parameter to tell the interface we would like to get
DNS settings from the peer and a "-n" option to retrieve the results
after the PPP connection is established.
 1.6 09-Jan-2002  martin Xref pppoe(4) and ifwatchd(8).
 1.5 07-Jan-2002  martin Display the authentication failure count (if non zero) and make the
limit settable.
 1.4 07-Jan-2002  wiz Fix two typos and a whitespace nit.
 1.3 06-Jan-2002  martin Make idle timeout settable and display it.
Bring the man page closer to reality.
 1.2 10-Dec-2001  wiz Lots of grammar fixes and other slight improvements.
 1.1 10-Dec-2001  martin Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.
 1.24.36.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.30.14.1 10-Jun-2019  christos Sync with HEAD
 1.30.12.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.31 07-Aug-2022  andvar fix various typos in comments, documentation and messages.
mainly s/paramater/parameter/ and s/reduntant/redundant/.
 1.30 14-May-2021  yamaguchi Added a keyword to change keepalive interval
 1.29 11-May-2021  yamaguchi Make authproto not change when "authproto" is not in command option
 1.28 11-May-2021  yamaguchi Added keywords that are ipcp, noipcp, ipv6cp, noipv6cp
for configuring NCP
 1.27 23-Apr-2021  yamaguchi branches: 1.27.2;
Add a new option to enable SPPP_AUTHFLAG_PASSIVEAUTHPROTO flag
 1.26 25-Nov-2020  yamaguchi add -dd option for reference of the parameter about control protocols

reviewed by knakahara@n.o.
 1.25 23-Jan-2016  christos don't need mbuf.h!
 1.24 28-Aug-2011  mbalmer Remove duplicate static.
 1.23 27-Aug-2011  joerg static + __dead
 1.22 01-Jul-2011  joerg Fix memset usage.
 1.21 17-Mar-2006  rumble Check for allocation failures in malloc, calloc, realloc, asprintf, and
vasprintf and try to handle them.
 1.20 27-Jun-2005  christos Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
 1.19 10-May-2005  martin Partly back out previous - do not free the linebuffer while still having
pointers into parts of it. Add a comment explaining why we prefer to
leak memory ;-)
Fixes PR bin/30174.
 1.18 19-Feb-2005  christos branches: 1.18.2;
Skip empty lines, and free the line buffer so that we don't leak.
 1.17 19-Feb-2005  christos PR/29457: Joachim Kuebart: pppoectl's config file does not allow # in passwords
Fixed, by passing FPARSELN_UNESCALL in parsing.
 1.16 01-Sep-2004  jdolecek fix typo
 1.15 13-Feb-2004  wiz Spell length with h after t. Inspired by a commit by brad@openbsd.
 1.14 06-Sep-2003  martin Make LCP keepalive behaviour configurable.
 1.13 12-Jul-2003  itojun use bounded string ops
 1.12 23-Jun-2003  agc Add NetBSD RCS Ids.
 1.11 22-Mar-2003  mrg add a "-f configfile" option. the config file contains individual lines of
parameter=value pairs normally passed on the command line (# and \
continuation also works, yay fparseln), one per line. now you don't have
to run a program with a password on the command line.
 1.10 01-Sep-2002  martin Fix usage(). Noticed by itojun.
 1.9 01-Sep-2002  martin Add a "clear-auth-failure" command to reset the authentication failure
count without changing any (local) authentication settings.

Fixes kern/18071 ( without any kernel change ;-) )
 1.8 16-Aug-2002  itojun style (tab around $NetBSD$)
 1.7 21-Jun-2002  itojun correct usage (-n)
 1.6 02-Mar-2002  martin branches: 1.6.2;
Add a "query-dns" parameter to tell the interface we would like to get
DNS settings from the peer and a "-n" option to retrieve the results
after the PPP connection is established.
 1.5 07-Jan-2002  martin Improve usage message.
 1.4 07-Jan-2002  martin Display the authentication failure count (if non zero) and make the
limit settable.
 1.3 06-Jan-2002  martin Make idle timeout settable and display it.
Bring the man page closer to reality.
 1.2 04-Jan-2002  martin Adapt to new if_sppp.h ioctls.
Add -d option to dump PPPoE session state. XXX need to document this.
 1.1 10-Dec-2001  martin Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.
 1.6.2.1 21-Jun-2002  lukem Pull up revision 1.7 (requested by itojun in ticket #340):
correct usage (-n)
 1.18.2.1 11-May-2005  tron Pull up revision 1.19 (requested by martin in ticket #282):
Partly back out previous - do not free the linebuffer while still having
pointers into parts of it. Add a comment explaining why we prefer to
leak memory ;-)
Fixes PR bin/30174.
 1.27.2.1 31-May-2021  cjep sync with head

RSS XML Feed