summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
2001-06-20Avoid using too many args for ``set m[tr]u''brian
2001-06-19Handle hardware-imposed MTU/MRU limitations.brian
Add an optional ``max'' specifier to ``set m[rt]u'', ie. ``set mtu max 1492'' for PPPoE. Bump the ppp version number. Add support for stateful MPPE (microsoft encryption) providing encryption compatibility with Windows 2000. Stateful encryption uses less CPU but is bad on lossy transports. The ``set mppe'' command has been expanded. If it's used with any arguments, ppp will insist on encryption, closing LCP if the other end refuses. Sponsored by: Monzoon Networks AG and FreeBSD Services Limited
2001-06-15Correct the arg count after parsing a line with an unescaped # that isn'tbrian
preceeded with whitespace.
2001-06-13Convert IIJ copyrights to BSD copyrights; ok tohno@sirius.ocn.ne.jpbrian
2001-06-13va_start/end for every call to vfprintf, ok brian@Markus Friedl
2001-06-07Depricate the -alias option (it's been -nat for a long time)brian
Handle carriage-return/line-feed stuff for ftp natting more generically Fix an alignment bug when logging DNS traffic Fix/add some copyrights
2001-06-04Show the correct dial timeout when a random pause is configuredbrian
Understand ipencap traffic properly Optimise out SIOCIFADDR ioctls that aren't necessary Handle peers that don't send an initial IFADDR option during IPCP negotiations Fix markup for the /etc/ttys example Always use 4 arguments in examples of ``set ifaddr''
2001-04-05When we change the interface MTU, run through the routing table and tweakbrian
all route MTUs too.
2001-04-03Be a bit more persistent when the NET_RT_IFLIST sysctl returns ENOMEMbrian
rather than dropping out immediately.
2001-04-03Don't say ``PPP enabled'' if we're given the -quiet switchbrian
2001-04-01Don't assume challenges and responses don't contain embedded '\0's.brian
Mschapv2 response generation may produce embedded NULs... causing us to send a bogus response to the radius server and end up failing the client's valid response. Problem pointed out by: Eugene Vigovskiy <vigov@com2com.ru>
2001-03-28Bring the netgraph PPPoE interface UP if required (only applies to FreeBSD)brian
2001-03-25Remove an extraneous declbrian
2001-03-25Add some style(9) to alias*.hbrian
2001-03-25If we're adding an interface address that is already one of the interface'sbrian
aliases with the same netmask and destination, don't remove it and then re-add exactly the same thing.
2001-03-24Remove some unprotected prototype variable namesbrian
MAXPATHLEN -> PATH_MAX Handle ENOENT from opening /dev/tun* properly Rename _PATH_PPP -> PPP_CONFDIR and allow it to be redefined at compile time Reduce MIN_LQRPERIOD and MIN_FSMRETRY to 1 second Be smarter about identifying sockets on stdin Allow primary DNS IP negotiation when the secondary IP has been rejected Fix the call to PacketAliasProxyRule() properly. Add/fix some comments Fix man page markups; ru@FreeBSD.org Use localhost when no hostname is configured
2001-03-22Grok NetBSD's version of el_init() (#ifdef NetBSD only)brian
Submitted by: martin.hopkins@insignia.com
2001-03-09Talk a little more about the differences between PPPoE on FreeBSD & OpenBSD.brian
2001-03-05Avoid a core-dump under NetBSDbrian
2001-02-13Don't even look at af_family if accept() returns sa->sa_len == 0brian
2001-02-04Add a ``Usable'' function to the ccp switch. The functionbrian
is called prior to sending a CCP configure request for a given protocol. The default is to send the request, but this is overridden for MPPE which checks to see if the lcp negotiations agreed CHAP81, and if not fails. Use the same function to decide if we should reject peer requests for MPPE. This should get rid of those boring messages about not being able to initialise MPPE when we don't negotiate CHAP81.
2001-02-04MPPE_MasterKeyValid is only there if HAVE_DES is definedbrian
2001-02-04Don't send an authentication failure response if we fail sendingbrian
a radius accounting packet.
2001-02-04Make the MPPE MasterKey Invalid messages a bit clearer (it nowbrian
complains that you can't do MPPE without CHAP81). Reset MasterKeyValid to zero when we hit phase DEAD.
2001-02-04Untangle some cunfusion between the CLOSE_STAYDOWN, CLOSE_LCP andbrian
CLOSE_NORMAL meanings. CLOSE_NORMAL doesn't change the currently required state, the others do. This should stop ppp from entering DATALINK_READY when LCP shutdown doesn't end up happening cleanly. Bump our version number to reflect this change.
2001-01-29Add a few ``const''s to silence some -Wwrite-strings warningsbrian
2001-01-29Fix some log_Printf() casting; NetBSD (pkgsrc)brian
2001-01-29Only remove socket files with ``set server open''.brian
Only show the mask in ``show bundle'' when it's been specified. Complain about unexpected arguments after ``set server {none,open,closed}'' Log re-open failures as warnings rather than phase messages. Fix some markup for the ``set server'' man page description.
2001-01-29Ignore leading witespace in the string given to PacketAliasProxyRule().brian
2001-01-28Don't pass a buffer with leading spaces to PacketAliasProxyRule()brian
2001-01-26Fix arg countbrian
2001-01-26Allow ``set server closed'' to close the diagnostic socket.brian
Allow ``set server open'' to re-open the diagnostic socket. Handle SIGUSR1 by re-opening the diagnostic socket When receiving SIGUSR2 (and in ``set server none''), don't forget the socket details so that ``set server open'' and SIGUSR1 open it again. Don't create the diagnostic socket as uid 0 ! It's far to dangerous.
2001-01-26If executing the stuff from ppp.linkdown results in a state change,brian
don't continue adjusting the ipcp state machine. This allows ``down'' to work in ppp.linkdown - useful for a tunnel setup.
2001-01-22NetBSD can't handle ``.Oc Oc^M.Xc''.brian
2000-12-29Log the ``MPPE: MasterKey is invalid...'' message as a CCPbrian
diagnostic rather than a warning.
2000-12-29Forwarding is set in sysctl.conf, not rc.conf (madey@openbsd.pl)Angelos D. Keromytis
2000-12-15Correct documented defaults for mppe, chap80 and chap81brian
2000-12-14Display MSCHAP as CHAP80 in ``show cpp''brian
Display the interface mtu in ``show iface''
2000-11-29Spelling and punctuation fixes; FreeBSDbrian
2000-11-28Add ``enable/disable'' tcpmssfixup - enabled by default.brian
2000-11-28Use only the bit after the ``\'' when hashing the challenge inbrian
MSChapv2 Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
2000-11-22Enable and accept MPPE by default (deflate & pred1 are preferred)brian
Accept MSCHAPv2 by default. Hard sentence breaks Describe tunneling more clearly Some cosmetic netgraph fixes (Not used in OpenBSD)
2000-11-16Fix password clearing bug; FreeBSDbrian
2000-11-16Be more consistent with .Bl tagsbrian
2000-11-16Be a bit more precise about what ``nat deny_incoming yes'' does.brian
2000-11-11Increase M_MAXBUF so that it's greater than HDLCSIZEbrian
2000-11-07Don't assume that a SOCK_DGRAM descriptor in -direct mode is anbrian
unconnected socket.
2000-11-07Pass the correct option data to the compression modules Init functionbrian
rather than the data associated with the first protocol REQuested. Initiate MPPE session keys correctly based on whether we're client or server
2000-11-02Some whitespace changesbrian
Some slightly better diagnostics Add MPPE and chapv2 support; Ustimenko Semen <semen@iclub.nsu.ru> Bump the version number Add ``all'' logging; perhaps@yes.no Handle quoted hash characters properly Honour ``nat deny_incoming'' properly Fix radius accounting initialisation Moan about tcsetattr() failures
2000-11-02Improvements for ICMP and GRE/PPTP; FreeBSDbrian