summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
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
2001-10-24Use CMSG_DATA and CMSG_SPACE macros; FreeBSDbrian
2001-10-24Write static arp entries as uid 0.brian
2001-10-24Fix a PASV bug; FreeBSDbrian
2001-09-13Fix some return code checks (FreeBSD only)brian
2001-09-13Be a bit more paranoid about CTCP traffic; FreeBSDbrian
2001-09-13Add TFTP support; FreeBSDbrian
2001-09-13Spell syslog.conf correctly; FreeBSDbrian
2001-09-08The generated ppp.8 should be removed by 'make clean'. brian@ ok.Hakan Olsson
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2001-09-04Fix a diagnosticbrian
2001-09-04Consider alignment requirements when moving data about.brian
Mostly submitted by: kamath@cesa.opbu.xerox.com
2001-08-27Send a reset request for every packet received when our encryptionbrian
dictionaries are out of sync. This avoids the complications that happen when our original reset request gets lost in transit (quite likely in hind sight, given a lossy link) when we end up ignoring the peer for the next (up to) 256 packets.
2001-08-21Enable IFF_MULTICAST when first opening the tun devicebrian
Don't bring the interface up immediately Don't complain about unrecognised interface flags in ``show iface''.
2001-08-21Add some comments to make it clearer how we're handling signals.brian
2001-08-21Treat an interface address as conflicting if it's destination addressbrian
matches any existing destination addresses on the interface. This unbreaks ``enable iface-alias''.
2001-08-21Handle snprintf() returning < -1brian
2001-08-21Restore whitespace clobbered with the last commitbrian
2001-08-21Remove some conflicting copyright lines.brian
2001-08-20Powered by @mantoya.Mike Pechkin
o) we don't like .Nd without argument, except next line starts with a new tag; millert@ ok
2001-08-20When attempting to change the default route under FreeBSD, don't writebrian
the gateway and mask to the routing socket, otherwise the update fails. The code here was broken for FreeBSD when IPv6 support was added, but worked for OpenBSD. OpenBSD expects the gateway and mask to be supplied and fails the update otherwise.
2001-08-19Add IPv6 support.brian
IPV6CP support is crude for now, and hasn't been tested against any other implementations. RADIUS and IPv6 are independent of eachother for now. ppp.linkup/ppp.linkdown aren't currently used by IPV6CP Understand all protocols(5) in filter rules rather than only a select few. Allow a mask specification for the ``delete'' command. It's now possible to specifically delete one of two conflicting routes. When creating and deleting proxy arp entries, do it for all IPv4 interface addresses rather than doing it just for the ``current'' peer address. When iface-alias isn't in effect, don't blow away manually (via ``iface add'') added interface addresses. When listening on a tcp server (diagnostic) socket, bind so that a tcp46 socket is created -- allowing both IPv4 and IPv6 connections. When displaying ICMP traffic, don't display the icmp type twice. When display traffic, display at least some information about unrecognised traffic. Bump version
2001-08-18Deal with snprintf returns properlybrian
2001-08-18Deal with snprintf() return codes properlybrian
2001-08-18A better fixbrian
2001-08-18Fix a possible buffer overflow; theobrian
2001-08-17o) {Open,Net,Free}BSD -> .{O,N,F}x;Mike Pechkin
o) "start sentence on new line" issues; o) minimal -mdoc improvements; millert@ ok
2001-08-15When updating the MTU for the default route, pass the mask and gatewaybrian
to the routing socket. Submitted by: Russell T Hunt <alaric@MIT.EDU>
2001-08-10Change copyright to BSD-style copyright.brian
Ok'd by: Gabor Kincses <gabor@acm.org>
2001-08-09Grrr...here it is.Jason Peel