summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
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
2005-07-12rev 1.14Brad Smith
Though manpage says that 0.0.0.0 can be used as HISADDR for gw in Framed-Route, it didn't work. Since ncprange_aton() treats 0.0.0.0 and :: as prefixlen=0, we need to care the case. From ume FreeBSD
2005-07-11rev 1.12Brad Smith
When session is over, IPv6 default route to tun should be removed, too. From ume FreeBSD
2005-07-11rev 1.30Brad Smith
If IPCP is disabled, susccess of IPV6CP negotiation is sufficient to communicate by IPv6. So, the prompt should be `PPP' rather than `PPp'. From ume FreeBSD ok deraadt@
2005-07-11Don't install wrong IPv6 route by add command.Brad Smith
From ume FreeBSD ok deraadt@
2005-07-11rev 1.32Brad Smith
Add IPv6 support to pppctl by using getaddrinfo() and trying each address it returns. This allows it to connect to the server side again, which has been listening on IPv6 addresses exclusively for more than 3 years. From tjr FreeBSD Fixes the issue noted in PR's 2780, 3570 and 3751. ok deraadt@
2005-07-09rev 1.85Brad Smith
Ignore case when comparing CHAP/CHAP81 responses rev 1.84 Do a case insensitive comparison when comparing the ms-chap response string. From brian FreeBSD ok canacar@
2005-07-09rev 1.45Brad Smith
Use the length of the interface name, not the length of its address when printing the name. From brooks FreeBSD