Commit Graph

30 Commits

Author SHA1 Message Date
yamaguchi fe63e5c41b Added a keyword to change keepalive interval 2021-05-14 09:08:59 +00:00
yamaguchi 428f5be81d Make authproto not change when "authproto" is not in command option 2021-05-11 06:58:03 +00:00
yamaguchi aa069c4991 Added keywords that are ipcp, noipcp, ipv6cp, noipv6cp
for configuring NCP
2021-05-11 05:51:42 +00:00
yamaguchi 861187a72c Add a new option to enable SPPP_AUTHFLAG_PASSIVEAUTHPROTO flag 2021-04-23 02:28:40 +00:00
yamaguchi d29dd4c534 add -dd option for reference of the parameter about control protocols
reviewed by knakahara@n.o.
2020-11-25 10:32:54 +00:00
christos b8e29fa636 don't need mbuf.h! 2016-01-23 15:41:47 +00:00
mbalmer eba5829387 Remove duplicate static. 2011-08-28 08:43:02 +00:00
joerg eccb2789c7 static + __dead 2011-08-27 18:44:44 +00:00
joerg 017dd250ef Fix memset usage. 2011-07-01 02:46:24 +00:00
rumble e948e1b17f Check for allocation failures in malloc, calloc, realloc, asprintf, and
vasprintf and try to handle them.
2006-03-17 15:53:46 +00:00
christos 2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
martin 7b4b4385c1 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.
2005-05-10 06:49:10 +00:00
christos 6cc7a7474f Skip empty lines, and free the line buffer so that we don't leak. 2005-02-19 20:50:26 +00:00
christos 5422e51834 PR/29457: Joachim Kuebart: pppoectl's config file does not allow # in passwords
Fixed, by passing FPARSELN_UNESCALL in parsing.
2005-02-19 18:26:09 +00:00
jdolecek 56afb5b885 fix typo 2004-09-01 19:38:09 +00:00
wiz e365329be5 Spell length with h after t. Inspired by a commit by brad@openbsd. 2004-02-13 18:02:05 +00:00
martin cf6d36c7b6 Make LCP keepalive behaviour configurable. 2003-09-06 19:35:34 +00:00
itojun d99433c2b5 use bounded string ops 2003-07-12 14:48:10 +00:00
agc c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
mrg f3b8a67c63 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.
2003-03-22 14:38:15 +00:00
martin 2a2b8d06ad Fix usage(). Noticed by itojun. 2002-09-01 11:28:07 +00:00
martin 470a3cfc76 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 ;-) )
2002-09-01 09:42:05 +00:00
itojun 27dfc9236f style (tab around $NetBSD$) 2002-08-16 23:54:52 +00:00
itojun 53daf81056 correct usage (-n) 2002-06-21 07:48:53 +00:00
martin 8c33bf88e8 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.
2002-03-02 16:27:02 +00:00
martin 3b1c9c16b0 Improve usage message. 2002-01-07 12:22:02 +00:00
martin 74801af62d Display the authentication failure count (if non zero) and make the
limit settable.
2002-01-07 11:10:25 +00:00
martin 28ae1fab38 Make idle timeout settable and display it.
Bring the man page closer to reality.
2002-01-06 20:23:55 +00:00
martin 3fd75e2cd7 Adapt to new if_sppp.h ioctls.
Add -d option to dump PPPoE session state. XXX need to document this.
2002-01-04 12:23:00 +00:00
martin b7af7aeccd 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.
2001-12-10 17:22:09 +00:00