summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/options.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove if_ppp(4) and if_sl(4).ed2009-04-051-2683/+0
| | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists.
* Cleanup of userland __P usekevlo2007-11-071-123/+123
|
* Teach an IPV6CP to pppd(8).ume2006-11-121-0/+113
| | | | | | | | | | | The eui64.[ch] and ipv6cp.[ch] were taken from ppp-2.3.11. However, our stock pppd(8) doesn't provide option_t nor some utility functions. So, I made some hacks to adjust to our stock pppd(8). The sys_bsd.c part was taken from NetBSD with some modifications to adjust to our stock pppd(8). MFC after: 1 week
* inet_aton returns 0 on failure, not -1.dwmalone2002-05-061-1/+1
| | | | | | PR: 37680 Submitted by: Scott Bertilson <scott@nts.umn.edu> MFC after: 2 weeks
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+1
| | | | Compatability is not an existing english word.
* Add `_PATH_DEVZERO'.obrien2000-12-091-5/+6
| | | | Use _PATH_* where where possible.
* Constifykris2000-11-271-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.peter1998-06-201-15/+29
|
* ppp-2.3.x ships with a bad compression number for deflate. It uses numberpeter1998-03-221-1/+20
| | | | | | | 24 (which is magnalink!) rather than the correct (according to the rfc) 26. Initial attempt at a compatability kludge that will negotiate for either but will prefer to use the correct deflate compression type.
* Merge ppp-2.3.3 changes onto mainlinepeter1998-03-221-3/+4
|
* Revive the connect-max-attempts option. When running in persist mode,peter1997-10-101-1/+11
| | | | | this limits the number of retries before aborting. This can save expensive phone bills. :-) See rev 1.6 of main.c for original.
* Revive some things that were lost during the ppp-2.3.1 update.peter1997-10-101-3/+6
| | | | | | | | | - (see auth.c rev 1.13) allow the pap/chap secrets file to specify an override for the otherwise hard coded IP addresses. This allows specific users to dial in on a rotary which would otherwise get a dynamic address forced to authenticate and get their own fixed addresses. - (see options.c rev 1.9) recognize the old dns1 and dns2 options. This is a hack (TM). :-)
* Turn on client callback support (CBCP), it seems to be complete.peter1997-08-221-1/+1
|
* *gulp* First pass at merging in ppp-2.3.0's pppd. (this haspeter1997-08-191-262/+991
| | | | | | | | | | | | | | | dial-on-demand, packet filtering, idle timeouts, etc). The IPX support is pretty much there but more work needs to be done in sys-bsd.c for the interface ioctls (Linux has a very different way of configuring IPX interfaces). Along the way some things have temporarily been lost due to very messy conflicts. I will recover them shortly when I can think clearer. The main one is the local:remote address override in pap-secrets and chap-secrets. Some other home-grown features (dns1,dns2) have been implemented differently. Microsoft's chap client auth hacks have been implemented. There are bound to be more rough edges... The changes for connect-max-retries doesn't fit well with the dial-on-demand code.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Previously, if the dial script had any problems, pppd would simplypst1996-08-111-1/+10
| | | | | | | | | | bomb out. Unfortunately, FreeBSD's sio driver and certain internal modems don't get along very well, which can cause the serial port to wedge until it is closed and reopened. Add new variable, connect-max-attempts, default = 1 (to mimic previous behavior). If > 1, will try up to "n" times to dial remote site before aborting.
* Use libmd.phk1996-03-011-1/+45
| | | | | Add support for negotiating (more like "informing peer") about DNS. Various cleanup of warnings.
* Recover lost support for netmask 255.255.255.255 that was lost in the merge.peter1995-11-041-5/+5
| | | | Submitted by: Michael Butler <imb@scgt.oz.au>
* Whoops.. ppp-comp.h -> ppp_comp.h...peter1995-10-311-2/+2
|
* Bring pppd from ppp-2.2 onto the mainline..peter1995-10-311-218/+504
| | | | (more work needs to be done here, I'm trying to beat the supscan)
* Recode mask logic to use inet_ntoa() so host routes are valid.pst1995-09-061-5/+5
|
* Remove trailing whitespace.rgrimes1995-05-301-11/+11
|
* Add missing arg to fprintf() error message.dg1995-05-241-2/+2
| | | | Submitted by: Mike Grupenhoff
* Most of the ``modified'' files really aren't. This is my (simple)wollman1994-09-251-1/+3
| | | | port of pppd.
* Initial revisionwollman1994-09-251-0/+1452
OpenPOWER on IntegriCloud