summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
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
2001-08-09add m4 preprocessing based on enabled features; ok brian@, inputJason Peel
from todd@
2001-08-02Declare prompt_vPrintf as being printf-link when __GNUC__ is definedbrian
2001-08-02Add a commentbrian
2001-08-02Formatting and whitespace cleanupbrian
2001-08-02Sync with FreeBSD (doesn't apply to obsd)brian
2001-07-31Don't include a NUL at the end of our CHAP SUCCESS packet.brian
When encryption (MPPE) is enabled, WindowsME and Windows98 both fail because of the extra byte, suggesting that they autheticated successfully in their log and then dropping the connection, telling the user that the peer doesn't support compatible encryption options.
2001-07-31Remove an irritating diagnostic emitted to LogPHASE when abrian
static proxy arp entry is deleted. Rename a function (for consistency) and remove some whitespace (for readability).
2001-07-31When we receive a CHAP81 challenge response, we always expect the lastbrian
byte of the packet to contain '\0'. Windows 98 gets this wrong, dropping garbage into the last byte and failing authentication. Now, we notice this and whinge to our log file that we're compensating for the corrupt data.
2001-07-30If the peer REJects our MRU REQ, stop REQing it -- *EVEN* if we'rebrian
doing PPPoE and the default MRU is therefore too big.
2001-07-28If the peer sends a REQ without the IPADDR option, only reject itbrian
once. If they repeat the request (again without the IPADDR option) ACK it.
2001-07-26Handle peer REQ/NAKs of >1500 byte MRUs when we have no preference.brian
2001-07-20we don't like:Mike Pechkin
o) .Pp before/after .Sh; o) .Pp before/after .Sh; o) .Nm without argument in SYNOPSIS;
2001-07-17Ignore (with a warning message) mtu/mru configurations that are greaterbrian
than the maximum physical values.
2001-07-13Perform MSS fixups on incoming packets as well as outgoing.brian
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-09Staticise SHA1_End()brian
2001-07-09Oops, groff still doesn't do more than 8 args :(brian
2001-07-09Add a ``nat proto'' command -- similar to natd(8)'s -redirect_proto switch.brian
2001-07-07Don't try to dereference the -1th ccp algorithm array entry when webrian
open CCP with no algorithm.
2001-07-07When we miss one or more packets in stateful mode *and* need tobrian
perform a key change, *and* our sequence numbers have wrapped, ensure that the number of key changes is calculated correctly. The previous code counted down from a negative number to zero, re-encrypting the current key on each iteration - this took some time and strangely enough got the answer wrong !!! Spell stateful correctly while I'm here.
2001-07-04Make the last fix work properly on descriptors 1 and 2 (not just 0)brian
2001-07-04Handle any of descriptors 0, 1 or 2 being closed when we'rebrian
envoked -- don't use them (as return values from open()), then (say) close(STDIN_FILENO) when daemonising. This is done by grabbing 3 descriptors to /dev/null at startup and releasing them after we've daemonised.
2001-07-03Reduce the interface MTU by 2 when MPPE has been successfully negotiated.brian
This is necessary because MPPE will combine the protocol id with the payload received on the tun interface, encrypt it, then prepend its own protocol id, effectively increasing the payload by two bytes.
2001-07-03Don't accept chap80lm by default - it doesn't work.brian
2001-07-03Silence some gcc warningsbrian
2001-06-27Fix an inverted test; FreeBSDbrian
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