summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd
AgeCommit message (Collapse)Author
2016-06-24use crypt_checkpass to simplify password checking logic.Ted Unangst
2016-05-17remove pam and shadow code that's not used. ok deraadt jcaTed Unangst
2016-05-09need to use shadow passwd function here, reminded by sthenTed Unangst
2016-04-05Move more fcntl(,F_GETFL,0) -> fcntl(,F_GETFL).Kenneth R Westerback
No functional change. ok guenther@
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer. Use (char *)NULL consistently instead of scattering a few (char *)0 and (void *)NULL into the mix. Prompted by and probably ok deraadt@ millert@ kettenis@ Definitely ok mestre@ ratchov@
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
Feedback millert@ kettenis@
2016-01-25(hidden) is more readable than (??????) and avoid trigraphGleydson Soares
suggested by & OK claudio@ OK daniel@ jsg@ initial review millert@ and tb@ thanks.
2015-12-26Use pread/pwrite instead separate lseek+read/write for lastlog.Philip Guenther
Cast to off_t before multiplication to avoid truncation on ILP32 ok kettenis@ mmcc@
2015-12-14s/begining/beginning/gmmcc
2015-12-06Use __progname instead of manually handling argv[0].Tobias Stoeckmann
ok deraadt, mmcc, tedu
2015-10-28pid removal; from jan staryJason McIntyre
2015-10-26stop saving a pidfile; ok jung zhukTheo de Raadt
2015-09-14Avoid .Ns right after .Pf, it's pointless.Ingo Schwarze
In some cases, do additional cleanup in the immediate vicinity.
2015-09-12Remove dead get_host_seed() function; Martin NatanoMiod Vallat
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado
ok jmc@
2015-06-12Perform a copy with a memmove for potentially overlapping regions.Mike Belopuhov
Reported and fixed by Sergey Ryazanov <ryazanov ! s ! a at gmail ! com>, thanks!
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
ok florian
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2015-01-15fully remove disabled mschap support, which does weird DES things.Ted Unangst
(already won't build for some time since the removal of md4) ok naddy
2014-12-10Fix a potential integer overflow in pppd options file parsing.Jonathan Gray
From Paul Mackerras in 7658e8257183f062dc01f87969c140707c7e52cb This issue is CVE-2014-3158.
2014-11-13remove networks(5) support; it wasn't even documented to exist;Ingo Schwarze
"just go ahead" deraadt@
2014-10-08easy obvious use of reallocarray(); ok dougTheo de Raadt
2014-05-17remove unused variableCharles Longeau
ok tedu@
2014-03-21Disable MS-CHAPv1 (RFC 2433) support. Undocumented; Microsoft droppedChristian Weisgerber
support in 2007 (Windows Vista); requires MD4, which will be removed. ok sthen@
2014-03-17the userland ppp(9) code goes awa. Having too much ppp choice in theTheo de Raadt
tree results in one-true-ppp not coming into existance. This code is essentially un-audited and quite dangerous. ok claudio sthen
2014-01-21use arc4random for chap generation; ok teduTheo de Raadt
2014-01-21include stdlib.h for drand48()Jonathan Gray
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-10-27If a constant string needs a name, use a static const array instead of aPhilip Guenther
pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. ok deraadt@
2013-09-29purge compat junk related to drand48; ok guentherTheo de Raadt
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-04-21delete (uncompiled) hacked usleep function.Ted Unangst
young minds should not be exposed to such code.
2013-04-20casts of (time_t *) lead to bugsTheo de Raadt
2013-04-15scripts should be run as root, but are not; add a BUGS entry to thatJason McIntyre
effect, and comment out the text that says they are run as root isue pointed out by creamy
2013-01-17some simple macro fixes;Jason McIntyre
2012-08-29- document rfc 1994Jason McIntyre
- sections in conventional order - some minor tweaking
2011-10-02Delete unused variables, from Michael W Bombardieri.Nicholas Marriott
2011-07-25document syslog facility/level; from Stefan UnterwegerJason McIntyre
ok dcoppa
2011-04-30Remove some unused code, from Michael W Bombardieri. ok yasuokaNicholas Marriott
2010-10-28knock out some "-*- nroff -*-" lines;Jason McIntyre
2010-09-20according to ingo, it isn;t a problem to have empty [BDS]q macros, soJason McIntyre
revert that part of yesterday's diffs;
2010-09-19more wacky macro fixing;Jason McIntyre
2010-08-12Use symbolic names for the file descriptors rather than numeric values.Kevin Lo
Some from damien@, millert@ ok phessler@, millert@
2010-05-10Various comment typos. 'wether' -> 'whether' (most popular), 'possiblity' ->Kenneth R Westerback
'possibility', 'optins' -> 'options', 'resposne' -> 'response', 'unecessary' -> 'unnecessary', 'desination' -> 'destination'. Collected from various misc@ and tech@ postings, many by Brad Tilley.
2010-05-01incomming -> incomingMichael Knudsen
The ones found in gnu/ left out by intention. ok jmc
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-08-08better synopsis;Jason McIntyre
2009-08-08add a real synopsis to chat(8); synchronize synopsis and usage;Igor Sobrado
sort flags in the DESCRIPTION section of the manual page. synopsis tweaked by jmc@ ok jmc@, martynas@