summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
2008-10-02Repair "set reconnect random 0" from PR 5368. This bug report was ignoredTheo de Raadt
since Feb 2007, even though it had a patch. How did this happen??
2008-08-07Fix a typo, inteface -> interface.Brad Smith
From Gleydson Soares <gsoares at gmail dot com>
2008-07-19Use the IPv6 documentation prefix 2001:db8::/32 from RFC 3849 insteadReyk Floeter
of the deprecated 3ffe::/16 6bone test address space. Deprecated or public IPv6 allocations should not be used for documentation; we have the same approach for IPv4 by using RFC 1918 private addresses. ok jmc@ todd@
2008-05-21punctuation fix;Jason McIntyre
2008-05-21Do not mention pccom any longer.Miod Vallat
2008-05-06More missing RTM_VERSION checks. OK henning@Claudio Jeker
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-15Repair more msg_controllen dealing with structures or arrays ofTheo de Raadt
descriptors; ok hshoexer, also looked at by kettenis and henning
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
an extensive discussion with otto, kettenis, millert, and hshoexer
2008-03-02another extra endpwent() not neededTheo de Raadt
2008-03-02Pass a buffer size to InterpretArg() and do not let it overflow it, savesMiod Vallat
propolice some work in command_Expand_Interpret(). Inspired by FreeBSD; ok deraadt@
2008-02-26Allow a range of baud rates in a manner similiar to tip/cu,Jonathan Gray
fixes PR 5734 as tested by Sergey Prysiazhnyi <apelsin@atmnis.com>. Fix suggested by and ok deraadt@, "diff is correct" miod@
2007-09-25handle empty strings returned by fgetsCharles Longeau
ok ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-07-26Remove the space after "Password:" in password prompts where echo isTodd C. Miller
turned off. This is consistent with historic UNIX behavior.
2007-06-02safer snprintf construct with more paranoid length calculationPeter Valchev
ok millert
2007-05-31convert to new .Dd format;Jason McIntyre
2006-12-11If the peer rejects my MRU request and our request is smaller then whatClaudio Jeker
the peer accepts, set the MRU anyway. Smaller packets are always accepted. From brian@FreeBSD via brad@ ok canacar@
2006-11-02Check that last character is a newline before truncating; preventsRay Lai
negative index array access. OK moritz@.
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which leads to surprising results. Spotted by from Paul Stoeber, more to come. ok jaredy@
2006-02-06typos from alexey dobriyan;Jason McIntyre
2005-09-22consistency fixes, spotted by brian at awfulhak org;Jason McIntyre
2005-09-22add missing phrase;Jason McIntyre
ok brad@
2005-09-22add a few flags to CDIAGFLAGSBrad Smith
2005-09-21grammar, spelling, formatting fixes...Jason McIntyre
2005-09-21Added some missing defines.Brad Smith
From ru FreeBSD
2005-09-21Add a radius_Flush() function that waits for the response (or timeout) toBrad Smith
any pending RADIUS transaction. Use this before sending RAD_STOP RADIUS messages so that we definitely ``stop'' the session. It was discovered that sometimes when the link timed out, we got lucky enough to have an un-ACK'd RADIUS accounting transaction in progress, resulting in the RAD_STOP message failing to send. From brian FreeBSD
2005-09-21Support a ``set rad_alive N'' command to enable periodic RADIUS accountingBrad Smith
information being sent to the RADIUS server. Logging of RADIUS accounting information moves to a ``set log [+-]radius'' level, along with the RADIUS alive info. From brian FreeBSD
2005-09-21Send NAS-IP-Address as well as NAS-IdentifierBrad Smith
Add ``disable NAS-IP-Address'' and ``disable NAS-Identifier'' options to support pre-rfc2865 RADIUS servers. This pushes our enable/disable items over the 32 bit limit, so reoganise things to allow a bunch more options. From brian FreeBSD
2005-09-21Avoid casts as lvalues.Brad Smith
From kan FreeBSD
2005-09-21If HISMACADDR is set in the environment, pass the value toBrad Smith
the RADIUS server as RAD_CALLING_STATION_ID. From brian FreeBSD
2005-09-21Send RADIUS gigaword data when OctetsIn or OctetsOut go over UINT32_MAX.Brad Smith
From dds FreeBSD
2005-09-21name union.Brad Smith
From ume FreeBSD
2005-09-21IPV6PREFIX is set when Framed-IPv6-Prefix is defined, You mayBrad Smith
want to pass the value to upper layer protocol such as DHCPv6 for prefix delegation. From ume FreeBSD
2005-09-21Do RADIUS accounting on IPV6CP.Brad Smith
From ume FreeBSD
2005-09-21Install routes specified by Framed-IPv6-Route. Since the formatBrad Smith
of Framed-IPv6-Route is user defined, it follows Framed-IP-route. From ume FreeBSD
2005-09-21Add IPv6 related attributes defined in RFC3162.Brad Smith
From ume FreeBSD
2005-09-19Since ppp.link{up,down} is invoked at the end of IPCP negotiation, ifBrad Smith
we need ppp.link{up,down}, we couldn't disable IPCP. Now, if IPCP is disabled, ppp.link{up,down} is invoked at the end of IPV6CP negotiation. From FreeBSD
2005-09-19rev 1.8Brad Smith
made ppp compliant to RFC 2472 (based on a patch from another contributor) rev 1.10 Once ppp session is over, the route to ff02::tun0/32 was deleted, and never came back. Now, the route to ff02::tun0/32 is installed at the end of IPV6CP negitiaton. From FreeBSD Tested by aanriot@ and a few end-users
2005-09-12file is out of date;Jason McIntyre
started by a mail from xavier venient; discussed with brian at awfulhak org; ok brad@
2005-09-07add stdlib.hBrad Smith
2005-07-26- setup -> set upJason McIntyre
- new sentence, new line
2005-07-26make sure the option is boldBrad Smith
2005-07-26Add Cisco Skinny Station Protocol translation support to libaliasBrad Smith
and supporting applications (ppp). From marcus FreeBSD
2005-07-25document ipv6cpretry and ipv6cpretriesBrad Smith
2005-07-19remove trailing whitespace;Jason McIntyre
2005-07-19rev 1.7Brad Smith
Correct the FAQ url From brian FreeBSD
2005-07-18Add a ``force-scripts'' option for using chat scripts with -direct andBrad Smith
-dedicated links. From brian FreeBSD
2005-07-17another malloc() check.Brad Smith
From brian FreeBSD