summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
Commit message (Collapse)AuthorAgeFilesLines
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-013-6/+8
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-302-2/+2
| | | | Add FreeBSD Id tag where missing.
* english(4) police.schweikh2002-12-271-1/+1
|
* utmp.ut_time and lastlog.ll_time are explicitly int32_t rather thanpeter2002-11-151-1/+1
| | | | | | | | | | | | time_t. Deal with the possibility that time_t != int32_t. This boils down to this sort of thing: - time(&ut.ut_time); + ut.ut_time = time(NULL); and similar for ctime(3) etc. I've kept it minimal for the stuff that may need to be portable (or 3rd party code), but used Matt's time32 stuff for cases where that isn't as much of a concern. Approved by: re (jhb)
* Test for the existance of kernel ppp support by seeing if the kernel hasbrooks2002-11-051-12/+14
| | | | | | the module compiled in or loaded instead of bogusly checking for ppp0. Also if and only if the caller is actually root and the kernel does not have ppp support, try to load the ppp module before giving up.
* Check for FD_SET overruns.nectar2002-09-171-0/+8
| | | | Approved by: peter
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-3/+3
|
* Use fchmod() to restore the tty modes.peter2002-07-301-1/+1
|
* 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
* Unbreak PAP-only authentication.maxim2002-03-051-5/+11
| | | | | | | | PR: i386/34607 Not objected by: peter Approved by: ru Obtained from: ppp-2.4.1b2 MFC after: 1 week
* Put a complete set of pppd(8) sample configuration files incjc2002-01-291-0/+3
| | | | | | | | | | | | | | | | | | /usr/share/examples/pppd. Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8. Remove the out-of-place pppd(8) configuration files in etc/ppp, ppp.shells.sample and ppp.deny. Make the appropriate changes to the build process, etc/Makefile and etc/mtree/BSD.usr.mtree, so it all works. The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved with a repo copy. Note it in the logs with a forced commit to these two. Submitted by: Maxim Konovalov <maxim@macomnet.ru> provided the new samples.
* Logging should wind up in /var/log, not /etc/ppp/.asmodai2001-07-311-1/+1
| | | | | | PR: 11989 Submitted by: Phil Homewood <phil@rivendell.apana.org.au> MFC after: 1 week
* Install this mode 4550 owned by group dialer; there is unsafe codekris2001-07-241-1/+3
| | | | | | | | in the signal handlers which may pose a risk when executable by untrusted users. Submitted by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl> MFC After: 3 days
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-9/+9
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+1
| | | | Compatability is not an existing english word.
* Add `_PATH_DEVZERO'.obrien2000-12-092-7/+9
| | | | Use _PATH_* where where possible.
* Constifykris2000-11-271-1/+1
|
* Remove the last vestiges of libRSAglue now that it's an empty stub.kris2000-03-111-4/+0
| | | | | | This should fix the buildworld problems some people were seeing. Approved by: jkh
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLkris2000-03-091-1/+1
| | | | Approved by: jkh
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-031-21/+43
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Update DISTRIBUTION for new crypto world order.markm2000-02-291-1/+1
|
* Use libcrypto instead of libdes.markm2000-02-242-3/+7
|
* $Id$ -> $FreeBSD$peter1999-08-2829-29/+29
|
* Add a knob to avoid DES code when making crunched binary. This isn't a beautyabial1999-07-151-2/+11
| | | | | | | | | incarnated, it just matches other deficiencies related to crunchgen and friends... and we already have similar code in ppp/Makefile. RELEASE_CRUNCH should be axed, but for now let's be consistent. Submitted by: Patrick Powell <papowell@astart.com>
* Reset our start time when the link comes up, correctingbrian1999-06-171-1/+2
| | | | | | | the reported connection time. PR: 11943 Submitted by: Peter Mutsaers <plm@xs4all.nl>
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofarchie1999-06-051-6/+9
| | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
* pppd/Makefile:jdp1999-04-291-5/+8
| | | | | | | | | Enable MS-CHAP support. release/Makefile: Build a separate NOCRYPT version of pppd, to keep This Great Nation's top-secret cryptographic tools out of the filthy hands of those evil furriners.
* Fix the MS-CHAP support. The code was passing a bit count tojdp1998-10-112-3/+9
| | | | | | | | | | MD4Update(), but our version in libmd expects a byte count. This code is not currently compiled or linked into pppd, so I'm reasonably sure I didn't break anything. :-) I added the necessary statements to the Makefile, but left them commented out because we are in feature freeze. When the code is enabled, we must be careful to build it only if the DES library is available.
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Forgot to resync the RELNOTES to 2.3.5peter1998-06-231-3/+56
|
* remove old hack that's no longer needed and now breaks the compilepeter1998-06-211-5/+2
|
* Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.peter1998-06-2014-355/+488
|
* ppp-2.3.x ships with a bad compression number for deflate. It uses numberpeter1998-03-223-4/+186
| | | | | | | 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-2214-250/+105
|
* Update from ppp-2.3.3peter1998-03-211-6/+36
|
* Removed most unused includes of <net/if_var.h> outside the kernel.bde1998-01-161-2/+1
|
* Fix a segmentation violation that happened if "auth" was in thejdp1997-12-131-2/+3
| | | | options file but there was no suitable secret in the secrets file.
* Don't logwtmp(), login() already does it.brian1997-10-281-3/+5
| | | | | Log us out of utmp & wtmp if we're already in there. PR: 4862
* Don't say that the filtering options are only available under NetBSD, andpeter1997-10-181-4/+5
| | | | | | | don't claim that _any_ serial speed is settable, mention that it has to be supported by the device driver. Some have very flexible baud rate selection (ie: based on divisors etc, such as the com ports), while others have explicit baud rate choices.
* Give PPP_FILTER a whirl.peter1997-10-101-3/+8
|
* Revive the connect-max-attempts option. When running in persist mode,peter1997-10-104-5/+31
| | | | | this limits the number of retries before aborting. This can save expensive phone bills. :-) See rev 1.6 of main.c for original.
* Revive rev 1.10, which documents the secrets files overrides for thepeter1997-10-101-2/+6
| | | | local:remote IP addresses on the command line or the options.ttynn files.
* Revive some things that were lost during the ppp-2.3.1 update.peter1997-10-103-6/+57
| | | | | | | | | - (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). :-)
* Oops, that'll teach me to edit the makefile after testing... Removepeter1997-08-221-2/+2
| | | | duplicate cbcp.c in SRCS... :->
* Turn on client callback support (CBCP), it seems to be complete.peter1997-08-222-2/+10
|
* Update to include 2.3.1 details (this is not an imported file, it's apeter1997-08-221-0/+30
| | | | | | composite of other files) Reminded by: pst
* Update to pppd-2.3.1, except for the CLOCAL changes while running thepeter1997-08-224-13/+27
| | | | connect script to main.c that can cause problems on bsd-style tty systems.
OpenPOWER on IntegriCloud