aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pppd
Commit message (Collapse)AuthorAgeFilesLines
* MFC 1.7: Correct two bugs that may result in incorrect CBCP response forXin LI2004-12-111-5/+3
| | | | | | | administrator specified number. Notes: svn path=/stable/5/; revision=138677
* MFC 1.5:Xin LI2004-11-181-6/+10
| | | | | | | | | Correct a potential DoS vulnerability, as described at http://www.securityfocus.com/archive/1/379450 Notes: svn path=/stable/5/; revision=137864
* Join the 21st century: Cryptography is no longer an optional componentColin Percival2004-08-061-1/+0
| | | | | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004 Notes: svn path=/head/; revision=133196
* o SIOCGIFCONF->getifaddrs(2) conversion.Maxim Konovalov2004-04-091-76/+51
| | | | | | | | PR: bin/9379 Obtained from: NetBSD Notes: svn path=/head/; revision=128062
* o Now when the Cold War is ended we can confess our pppd(8) supportsMaxim Konovalov2004-02-281-0/+6
| | | | | | | | | | CBCP (Call Back Configuration Protocol). Document 'callback phone_number'. Obtained from: NetBSD (pppd/pppd.8, rev. 1.26) MFC after: 3 weeks Notes: svn path=/head/; revision=126384
* Disclaim ownership of pppd/chat. It is vendor code, but has been badlyPeter Wemm2003-10-291-2/+2
| | | | | | | neglected here. Notes: svn path=/head/; revision=121701
* Fix a 64 bit time_t bogon that I missed from before. lastlog.ll_time isPeter Wemm2003-10-261-1/+1
| | | | | | | not a time_t. Notes: svn path=/head/; revision=121557
* Don't check for the existance of src/crypto/ for building items thatMark Murray2003-07-241-1/+1
| | | | | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient. Notes: svn path=/head/; revision=117978
* Retire the useless NOSECURE knob.Dag-Erling Smørgrav2003-05-191-1/+1
| | | | | | | Approved by: re (scottl) Notes: svn path=/head/; revision=115157
* Add __amd64__ to an ifdef set so that pppd compiles. Reactivate on amd64.Peter Wemm2003-05-121-1/+1
| | | | | | | Approved by: re (amd64 "safe" ifdefs etc) Notes: svn path=/head/; revision=114954
* RFC1548, section 5.8:Max Khon2003-04-071-0/+2
| | | | | | | | | | | | | Echo-Request and Echo-Reply packets may only be sent in the LCP Opened state. Echo-Request and Echo-Reply packets received in any state other than the LCP Opened state SHOULD be silently discarded. PR: 45760 Submitted by: Eugene Grosbein MFC after: 2 weeks Notes: svn path=/head/; revision=113221
* style.Makefile(5)David E. O'Brien2003-04-041-2/+2
| | | | Notes: svn path=/head/; revision=113091
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-013-6/+8
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-302-2/+2
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* utmp.ut_time and lastlog.ll_time are explicitly int32_t rather thanPeter Wemm2002-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) Notes: svn path=/head/; revision=106966
* Test for the existance of kernel ppp support by seeing if the kernel hasBrooks Davis2002-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. Notes: svn path=/head/; revision=106444
* Check for FD_SET overruns.Jacques Vidrine2002-09-171-0/+8
| | | | | | | Approved by: peter Notes: svn path=/head/; revision=103493
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-3/+3
| | | | Notes: svn path=/head/; revision=102413
* Use fchmod() to restore the tty modes.Peter Wemm2002-07-301-1/+1
| | | | Notes: svn path=/head/; revision=100900
* 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
* Unbreak PAP-only authentication.Maxim Konovalov2002-03-051-5/+11
| | | | | | | | | | | PR: i386/34607 Not objected by: peter Approved by: ru Obtained from: ppp-2.4.1b2 MFC after: 1 week Notes: svn path=/head/; revision=91675
* Put a complete set of pppd(8) sample configuration files inCrist J. Clark2002-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. Notes: svn path=/head/; revision=89936
* Logging should wind up in /var/log, not /etc/ppp/.Jeroen Ruigrok van der Werven2001-07-311-1/+1
| | | | | | | | | PR: 11989 Submitted by: Phil Homewood <phil@rivendell.apana.org.au> MFC after: 1 week Notes: svn path=/head/; revision=80739
* Install this mode 4550 owned by group dialer; there is unsafe codeKris Kennaway2001-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 Notes: svn path=/head/; revision=80244
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-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. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-151-4/+4
| | | | Notes: svn path=/head/; revision=79755
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* 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-092-7/+9
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* ConstifyKris Kennaway2000-11-271-1/+1
| | | | Notes: svn path=/head/; revision=69260
* Remove the last vestiges of libRSAglue now that it's an empty stub.Kris Kennaway2000-03-111-4/+0
| | | | | | | | | This should fix the buildworld problems some people were seeing. Approved by: jkh Notes: svn path=/head/; revision=57921
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLKris Kennaway2000-03-091-1/+1
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=57841
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-031-21/+43
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57711
* Update DISTRIBUTION for new crypto world order.Mark Murray2000-02-291-1/+1
| | | | Notes: svn path=/head/; revision=57625
* Use libcrypto instead of libdes.Mark Murray2000-02-242-3/+7
| | | | Notes: svn path=/head/; revision=57451
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2829-29/+29
| | | | Notes: svn path=/head/; revision=50479
* Add a knob to avoid DES code when making crunched binary. This isn't a beautyAndrzej Bialecki1999-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> Notes: svn path=/head/; revision=48830
* Reset our start time when the link comes up, correctingBrian Somers1999-06-171-1/+2
| | | | | | | | | | the reported connection time. PR: 11943 Submitted by: Peter Mutsaers <plm@xs4all.nl> Notes: svn path=/head/; revision=47988
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofArchie Cobbs1999-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. Notes: svn path=/head/; revision=47754
* pppd/Makefile:John Polstra1999-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. Notes: svn path=/head/; revision=46179
* Fix the MS-CHAP support. The code was passing a bit count toJohn Polstra1998-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. Notes: svn path=/head/; revision=40236
* Remove useless `BINOWN=root' now that it is the default.David E. O'Brien1998-09-191-2/+1
| | | | Notes: svn path=/head/; revision=39496
* Forgot to resync the RELNOTES to 2.3.5Peter Wemm1998-06-231-3/+56
| | | | Notes: svn path=/head/; revision=37122
* remove old hack that's no longer needed and now breaks the compilePeter Wemm1998-06-211-5/+2
| | | | Notes: svn path=/head/; revision=37083
* Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.Peter Wemm1998-06-2014-354/+487
| | | | Notes: svn path=/head/; revision=37069
* ppp-2.3.x ships with a bad compression number for deflate. It uses numberPeter Wemm1998-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. Notes: svn path=/head/; revision=34775
* Merge ppp-2.3.3 changes onto mainlinePeter Wemm1998-03-2214-250/+105
| | | | Notes: svn path=/head/; revision=34773
* Update from ppp-2.3.3Peter Wemm1998-03-211-6/+36
| | | | Notes: svn path=/head/; revision=34767