summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
Commit message (Collapse)AuthorAgeFilesLines
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Fix all the spelling mistakes I could find in the man pages for wordskeramida2005-07-311-2/+2
| | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these.
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* Correct two bugs that may result in incorrect CBCP response fordelphij2004-12-061-5/+3
| | | | | | | | | | | | | | | | | | administrator specified number. The implementation in our version transmits extra zero byte that is a violation of the Microsoft PPP Callback Control Protocol section 3.2[1]. This can lead to incorrect behavior on certain devices, as reported in bin/50613. Confirmed with: cbcp.c in ppp's cvs, rev. 1.4 and 1.15 [2] Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua> PR: bin/50613 [1] http://www.dsl.gr.jp/~manabe/PPxP/doc/Standards/draft-gidwani-ppp-callback-cp-00.txt [2] http://cvs.samba.org/cgi-bin/cvsweb/ppp/pppd/cbcp.c http://www.samba.org/cvs.html
* Correct a potential DoS vulnerability, as described atdelphij2004-11-101-6/+10
| | | | | | | | | | http://www.securityfocus.com/archive/1/379450 This patch is based on dillon's patch on DragonFlyBSD, which is in turn derived from OpenBSD's src/usr.sbin/pppd/cbcp.c,v 1.6. Obtained from: OpenBSD via DragonFlyBSD Encouraged by: nectar
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-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
* o SIOCGIFCONF->getifaddrs(2) conversion.maxim2004-04-091-76/+51
| | | | | PR: bin/9379 Obtained from: NetBSD
* o Now when the Cold War is ended we can confess our pppd(8) supportsmaxim2004-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
* Disclaim ownership of pppd/chat. It is vendor code, but has been badlypeter2003-10-291-2/+2
| | | | neglected here.
* Fix a 64 bit time_t bogon that I missed from before. lastlog.ll_time ispeter2003-10-261-1/+1
| | | | not a time_t.
* Don't check for the existance of src/crypto/ for building items thatmarkm2003-07-241-1/+1
| | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient.
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* Add __amd64__ to an ifdef set so that pppd compiles. Reactivate on amd64.peter2003-05-121-1/+1
| | | | Approved by: re (amd64 "safe" ifdefs etc)
* RFC1548, section 5.8:fjoe2003-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
* style.Makefile(5)obrien2003-04-041-2/+2
|
* 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
|
OpenPOWER on IntegriCloud