summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
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
2005-07-17don't call adjust_linklocal() since this function does not do anything.Brad Smith
this was part of a really big cleanup commit. From brian FreeBSD
2005-07-17Replace various spelling with FALLTHROUGH which is lint()ableBrad Smith
From charnier FreeBSD
2005-07-17rev 1.55Brad Smith
Report the number of bytes not written when complaining about failed writes From brian FreeBSD
2005-07-17rev 1.52Brad Smith
Show the port number (tty slot, pppoe session id etc) under ``show physical''. From brian FreeBSD
2005-07-17Include the correct file (stdarg.h) and use va_list rather than _BSD_VA_LIST_Brad Smith
From brian FreeBSD
2005-07-17rev 1.91Brad Smith
We need filling scopeid to install routes for link-local scope addresses. From ume FreeBSD
2005-07-17Implement an ``enable/disable echo'' option, defaults to off.Brad Smith
This allows LCP ECHOs to be enabled independently of LQR reports. Note: This introduces a change in the default behaviour (search for lqr and echo in the man page). From brian FreeBSD
2005-07-12rev 1.305Brad Smith
Use the correct length when copying trailing data!! From brian FreeBSD
2005-07-12rev 1.298Brad Smith
Fix ``set ifaddr''. The code was actually using an uninitialised variable, but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to ncpaddr_getip4addr() became a no-op leaving the local address as it was (defaulting to whatever my hostname resolves to). From brian FreeBSD
2005-07-12rev 1.45Brad Smith
Add a missing memcpy From brian FreeBSD
2005-07-12rev 1.117Brad Smith
If the peer gives us 0.0.0.0 as his IP number, NAK it rather than accepting it as being in range. set ifaddr 1.2.3.4/0 5.6.7.8/0 no longer allows 0.0.0.0 as a valid IP. From brian FreeBSD
2005-07-12- support ipv6cpretry and ipv6cpretries, which are IPv6 versionsBrad Smith
of ipcpretry and ipcpretries. - improve handling of IPv6 link-local addresses From brian FreeBSD