summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
2002-07-18Remove unused calls to inet_addr()brian
2002-07-04Back out the previous revisionbrian
Objected to by: Andre Oppermann <oppermann@pipeline.ch> After Andre's objection, I've re-examined rfc 2759 and noted that it says that the domain name shouldn't be used when generating the NT-Response field. So it looks like the bug is in freeradius rather than in ppp.
2002-07-03If we've given a domain name prefix as the authentication name, stripbrian
it off before passing it on to the RADIUS server for authentication.
2002-07-02Remove whitespace at eolbrian
2002-07-02Don't trust the MPPE key lengths passed back from the RADIUS server.brian
Instead, use the correct values based on the number of bits actually negotiated.
2002-07-02Remove some misleading/wrong diagnosticsbrian
2002-07-01Fix a FreeBSD specific latency problem.brian
2002-07-01typobrian
2002-07-01Don't allow the use of MPPE with RADIUS unless the RADIUS server has providedbrian
keys.
2002-07-01Handle mis-formatted messages from RADIATOR (now fixed in RADIATOR)brian
2002-07-01Spellingbrian
2002-06-28Don't use SignalBundle if it's not setbrian
Submitted by: Federico G. Schwindt <fgsch@olimpo.com.br>
2002-06-17Compensate for dodgy Win98/WinME MSCHAPv2 responses later in the codebrian
path... after we've talked to any RADIUS servers involved, so that we haven't touched the data before it gets to the server.
2002-06-15Cast a format parambrian
2002-06-15Tidy up end of line whitespacebrian
2002-06-15Understand MS-MPPE-Encryption-Policy, MS-MPPE-Encryption-Types,brian
MS-MPPE-Recv-Key and MS-MPPE-Send-Key RADIUS attributes, making MPPE work properly with RADIUS & MSCHAPv2. Do something with the Filter-Id RADIUS attribute. Handle MS-CHAP-Error and MS-CHAP2-Success correctly rather than bogusly including the Ident field in the text passed back to the client. Bump the max FSM option length to 52 (was 20) Add some missing includes.
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-02Don't send a RAD_NAS_IP_ADDRESS attribute as RAD_NAS_IDENTIFIER isbrian
sufficient.
2002-05-27and this one, brianTheo de Raadt
2002-05-27Coerce pid_t to long rather than int for better portability; theobrian
2002-05-19Document RAD_MICROSOFT_MS_CHAP2_SUCCESS.brian
2002-05-17Bump the version number to reflect the latest MS-CHAP2 changesbrian
2002-05-17Put back <string.h>brian
2002-05-16Remove some unused includesbrian
2002-05-16Handle MS-CHAPv2 authentication correctly via the RADIUS server (if it'sbrian
configured). This doesn't yet work with MPPE. More to follow.
2002-05-16o Bump the version numberbrian
o Tidy up includes o Fix macros in auth.h o Insist on context for ``set mru'' in MP mode o Usage -> usage o Don't intialise after processing config requests o Show FSM values for ConfigAcks o Make ident output prettier o Fix some Id keywords o Handle RADIUS pool address 255.255.255.254 o Support RADIUS Session-Timeout attributes o Support RADIUS Reply-Message attributes o Support RADIUS CHAP-Error attributes o Store RADIUS Filter-Id attributes o Provide a NAS-Port-Type attribute to RADIUS servers o Provide a better NAS-Port attribute to RADIUS servers o Support MS-CHAP with RADIUS o Improve FSM decode functions o Support an OCTETSIN variable o Support an OCTETSOUT variable o Support an PACKETSIN variable o Support an PACKETSOUT variable o Support an IPOCTETSIN variable o Support an IPOCTETSOUT variable o Support an IPPACKETSIN variable o Support an IPPACKETSOUT variable o Support an IPV6OCTETSIN variable o Support an IPV6OCTETSOUT variable o Support an IPV6PACKETSIN variable o Support an IPV6PACKETSOUT variable o Support a SOCKNAME variable
2002-05-14Don't corrupt MP fragments when they're put back on the front of ourbrian
inbound queue; Amit K. Rao <arao@niksun.com>
2002-05-14Calculate the number of open links properly when deciding on whether tobrian
just send PROTO_IP packets when we've got only one link up in multi-link mode.
2002-05-11Add missing libraries to bsd.prog.mk (mostly kerberosV)Marc Espie
Use them in DPADD throughout the tree. Fix a few mispells (LIBMATH -> LIBM...) Wipe obsolete lib (LIBRESOLV) Sort added missing libraries, move obsolete stuff apart. Synch documentation in bsd.README ok deraadt@
2002-03-31Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency.brian
Notice if the IP header length changes when doing transparent proxying; FreeBSD Handle domain\\user entries in ppp.secret Add some mp_Down() calls to ensure that our multi-link NCP goes away properly Miscellaneous #ifdef'd out FreeBSD changes (mostly netgraph stuff).
2002-03-25Fix a typobrian
2002-03-13Use the return value from snprintf() to keep a track of the length ofbrian
the display string in MPPEDispOpts.
2002-03-12Handle B460800 and B921600 being defined in <termios.h>brian
2002-03-05Don't drop the last character from ut_line in ID0logout()brian
2002-03-04Don't blow away ``set escape'' settings when we've completed thebrian
login phase. Just initialise the correct parts
2002-02-21use sizeof w/ defines; niklas@ millert@ ok.Federico G. Schwindt
2002-01-24Fix `necesary' typos; Alexander YurchenkoTodd C. Miller
Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
2002-01-23Detect if a udp socket on STDIN_FILENO is connected by callingbrian
getpeername() and don't set PASSIVE mode if it's is.
2002-01-16socket()s first argument should be a protocol family rather than anbrian
address family.
2002-01-16socket's first argument is an address family, not a protocol family.brian
2001-12-09Consider PROTO_IPV6 as compressible by CCP.brian
2001-11-23Remove the hack that ensures that rt_Update() works on FreeBSD. Nowbrian
that the ncpaddr code doesn't create default routes with non-zero masks, everything works as it should.
2001-11-23When writing messages to the routing socket, round sockaddr sizesbrian
up in the same way that we expect them to be when we read them. This is a no-op on i386 and probably on alphas, as we currently only support AF_INET and AF_INET6.
2001-11-23Be paranoid about non-zero netmasks being associated with INET addressesbrian
of 0.0.0.0. The OpenBSD PF_ROUTE/NET_RT_DUMP sysctl is sending back routes with RTAX_NETMASK set, but the corresponding sockaddr being 4 zero bytes (with an address family of zero). ppp was getting confused by this and ending up interpreting it as a 0.0.0.0/32 routing table destination and subsequently failing to do anything with the route. Specifically, after this fix, ppp under OpenBSD can successfully change and delete the default route again !
2001-11-23Removed an unsed variable (oops)brian
2001-11-23Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr orbrian
ncprange structure. Don't write() the netmask for IPv6 sockaddrs to the routing socket if the prefixlen is 128. It seems that messages written to the routing socket with the scopeid set for link local addresses are not understood. Instead, we have to put the scopeid in the 5th and 6th bytes of the address (see adjust_linklocal() in ncpaddr.c). I think this may be a bug in the KAME implementation - it should really understand both forms.
2001-11-23cmott@scientech.com -> cm@linktel.netbrian
Add the UPTIME variable CCP protocol ``0xffffffff'' -> ``none'' Don't leak memory when expanding command arguments and not exec()ing Make some functions static Add the ``log'' command for manual logging Fix some log text bogons
2001-10-24If the peer refuses to provide an MRU, don't insist (even if 1500 isbrian
too big).
2001-10-24Some NetBSD/i4b ifdefsbrian
2001-10-24Handle ``set reconnect 0 0'' properly in -ddial mode.brian