aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/options.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove if_ppp(4) and if_sl(4).Ed Schouten2009-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. Notes: svn path=/head/; revision=190751
* Cleanup of userland __P useKevin Lo2007-11-071-123/+123
| | | | Notes: svn path=/head/; revision=173412
* Teach an IPV6CP to pppd(8).Hajimu UMEMOTO2006-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 Notes: svn path=/head/; revision=164222
* inet_aton returns 0 on failure, not -1.David Malone2002-05-061-1/+1
| | | | | | | | | PR: 37680 Submitted by: Scott Bertilson <scott@nts.umn.edu> MFC after: 2 weeks Notes: svn path=/head/; revision=96104
* Fix typo: compatability -> compatibility.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | Compatability is not an existing english word. Notes: svn path=/head/; revision=72093
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-5/+6
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* ConstifyKris Kennaway2000-11-271-1/+1
| | | | Notes: svn path=/head/; revision=69260
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.Peter Wemm1998-06-201-15/+29
| | | | Notes: svn path=/head/; revision=37069
* ppp-2.3.x ships with a bad compression number for deflate. It uses numberPeter Wemm1998-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. Notes: svn path=/head/; revision=34775
* Merge ppp-2.3.3 changes onto mainlinePeter Wemm1998-03-221-3/+4
| | | | Notes: svn path=/head/; revision=34773
* Revive the connect-max-attempts option. When running in persist mode,Peter Wemm1997-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. Notes: svn path=/head/; revision=30264
* Revive some things that were lost during the ppp-2.3.1 update.Peter Wemm1997-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). :-) Notes: svn path=/head/; revision=30256
* Turn on client callback support (CBCP), it seems to be complete.Peter Wemm1997-08-221-1/+1
| | | | Notes: svn path=/head/; revision=28601
* *gulp* First pass at merging in ppp-2.3.0's pppd. (this hasPeter Wemm1997-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. Notes: svn path=/head/; revision=28429
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Previously, if the dial script had any problems, pppd would simplyPaul Traina1996-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. Notes: svn path=/head/; revision=17519
* Use libmd.Poul-Henning Kamp1996-03-011-1/+45
| | | | | | | | Add support for negotiating (more like "informing peer") about DNS. Various cleanup of warnings. Notes: svn path=/head/; revision=14313
* Recover lost support for netmask 255.255.255.255 that was lost in the merge.Peter Wemm1995-11-041-5/+5
| | | | | | | Submitted by: Michael Butler <imb@scgt.oz.au> Notes: svn path=/head/; revision=12062
* Whoops.. ppp-comp.h -> ppp_comp.h...Peter Wemm1995-10-311-2/+2
| | | | Notes: svn path=/head/; revision=11984
* Bring pppd from ppp-2.2 onto the mainline..Peter Wemm1995-10-311-218/+504
| | | | | | | (more work needs to be done here, I'm trying to beat the supscan) Notes: svn path=/head/; revision=11983
* Recode mask logic to use inet_ntoa() so host routes are valid.Paul Traina1995-09-061-5/+5
| | | | Notes: svn path=/head/; revision=10595
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-11/+11
| | | | Notes: svn path=/head/; revision=8857
* Add missing arg to fprintf() error message.David Greenman1995-05-241-2/+2
| | | | | | | Submitted by: Mike Grupenhoff Notes: svn path=/head/; revision=8716
* Most of the ``modified'' files really aren't. This is my (simple)Garrett Wollman1994-09-251-1/+3
| | | | | | | port of pppd. Notes: svn path=/head/; revision=3072
* Initial revisionGarrett Wollman1994-09-251-0/+1452
Notes: svn path=/head/; revision=3065