summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ppp.8.m4
Commit message (Collapse)AuthorAgeFilesLines
* Add the -unit command line switch for specifying the tun device.brian1999-10-191-1/+17
| | | | | | Warn about -alias being depricated (but still allow it). Don't moan twice about failing to open any tun device. Fix a diagnostic and add the -quiet switch to the usage message.
* Support ``set cd off'' to tell ppp not to even look for carrier on thebrian1999-09-261-5/+13
| | | | device.
* Typobrian1999-09-241-1/+1
| | | | Submitted by: Alex Nash <nash@mcs.net>
* Correct spelling : ascii -> ASCIIphantom1999-09-201-1/+1
| | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
* Introduce a forth IP packet queue. Urgent packets withbrian1999-09-071-4/+18
| | | | | | | | | ip_tos == IPTOS_LOWDELAY now get precidence over urgent packets with ip_tos != IPTOS_LOWDELAY and non-urgent packets with ip_tos == IPTOS_LOWDELAY. Enhance the ``set urgent'' syntax to allow for urgent UDP packets as well as urgent TCP packets.
* o Split the two IPCP queues into three - one for FSM databrian1999-09-041-2/+28
| | | | | | | | | | | | (LCP/CCP/IPCP), one for urgent IP traffic and one for everything else. o Add the ``set urgent'' command for adjusting the list of urgent port numbers. The default urgent ports are 21, 22, 23, 513, 514, 543 and 544 (Ports 80 and 81 have been removed from the default priority list). o Increase the buffered packet threshold from 20 to 30. o Report the number of packets in the IP output queue and the list of urgent ports under ``show ipcp''.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix some mdoc(7) style inconsistencesbrian1999-08-251-8/+16
| | | | Submitted by: Alexey M. Zelkin" <phantom@cris.net>
* o Add the -foreground switch. This switch behaves like -background exceptbrian1999-08-191-46/+76
| | | | | | | | | that ppp stays in the foreground. o Add the -quiet switch to quieten ppps startup o Add the -nat flag and discourage the use of the -alias flag. Both do the same thing. o Correct some nat usage strings. o Change the internal ``alias'' command to ``nat''.
* Mention ``alias enable no'', not ``alias enable off''.brian1999-08-181-2/+2
|
* Implement a minimum idle time value as an optional second argumentbrian1999-08-171-2/+9
| | | | | | to ``set timeout''. This is useful for situations where your minimum call charge is (say) 5 minutes (like mine is)
* Add ISDN support via isdnd & i4b. This requires versionbrian1999-08-061-10/+41
| | | | | | | | | | | | | | | | | | | | | | | | | 0.81.1 of the i4b code - namely support of the I4B_VR_REQ ioctl via the i4brbchX device. Ppp controls the phone number, but idle timers and SYNC/RAW decisions are still made by isdnd (in isdnd.rc). This involves a new datalink state machine phase. The ``wait for carrier'' phase happens after dialing but before logging in. The whole dial state should really be abstracted so that each device type can deal with it in its own way (thinking about PPPoE) - but that'll have to wait. The ``set cd'' symantics remain the same for tty devices, but we now delay until we either get CD or timeout waiting (at which time we drop the link if we require CD). For i4b devices we always insist on carrier. Thanks to hm@ for his help, and especially for pointing out that I *don't* need to re-implement isdnd (that was a huge waste of time !) :-]
* o Obsolete the undocumented ``set weight'' command.brian1999-08-051-24/+36
| | | | | | | | | | | | | | | | | | | | | | | o If we're using RADIUS and the RADIUS mtu is less than our peers mru/mrru, reduce our mtu to this value for NetBSD too. o Make struct throughput's sample period dynamic and tweak the ppp version number to reflect the extra stuff being passed through the local domain socket as a result (MP mode). o Measure the current throughput based on the number of samples actually taken rather than on the full sample period. o Keep the throughput statisics persistent while being passed to another ppp invocation through the local domain socket. o When showing throughput statistics after the timer has stopped, use the stopped time for overall calculations, not the current time. Also show the stopped time and how long the current throughput has been sampled for. o Use time() consistently in throughput.c o Tighten up the ``show bundle'' output. o Introduce the ``set bandwidth'' command. o Rewrite the ``set autoload'' command. It now takes three arguments and works based on a rolling bundle throughput average compared against the theoretical bundle bandwidth over a given period (read: it's now functional).
* Reorganise ppp's usage to avoid some mandoc limitations.brian1999-08-031-124/+100
| | | | Suggested by: wollman
* Mention that ospf is a possible filter protocol.brian1999-08-021-2/+3
|
* Mention which rfc the DNS/NBNS IPCP extensions come from.brian1999-07-291-2/+2
|
* Fix a load of typosbrian1999-07-281-11/+11
| | | | | | Use sizeof, not a hardcode value. Some of it submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
* o Overhaul filtering, adding facilities to jump over rules and tobrian1999-07-271-11/+29
| | | | | | | | | negate the sense of rules. o Remove the redundant (and undocumented) ``host'' and ``port'' words (README.changes updated). o Don't permit (and ignore) garbage instead of the protocol. Mostly submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
* If we've negotiated CBCP and have also specified ``none'' as a possiblebrian1999-07-271-2/+12
| | | | | | | | callback option, and the server sends us CBCP_NONUM, proceed directly to the network phase rather than insisting on our configured CBCP option. Mostly submitted by: kkphang <phang@dgate.po.my>
* Be a bit more consistent with variable names.brian1999-07-271-5/+5
|
* Fix an off-by-one error and correct the man page WRT clearingbrian1999-07-261-2/+6
| | | | | | | filters. Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> PR: 12437
* Fix a typobrian1999-07-171-2/+2
| | | | Submitted by: Rich Wood <rich@chugaboom.net>
* Support `igmp' filters.brian1999-06-231-2/+3
| | | | Mostly submitted by: Timo Geusch <freebsd@sleepycat.ukpeople.net>
* Come up with something useful when someone searches forbrian1999-06-141-2/+3
| | | | ``dynamic IP''.
* Describe why a ``magic'' enddisc is not always a good idea.brian1999-06-111-2/+11
|
* Allow a remote IP and port range specification in thebrian1999-06-101-12/+25
| | | | ``alias port'' command.
* Allow our endpoint discriminator to be enabled, disabled, acceptedbrian1999-06-091-2/+13
| | | | | | and denied. This is necessary for some MP implementations that get confused if you accept their endpoint discriminator but reject their MRRU.
* Make the ``load'', ``dial'' and ``open'' commands a big clearer.brian1999-06-081-26/+50
| | | | Requested by: Michael Heitmeier <MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com>
* Introduce the ``keep-session'' option. Refer to the manbrian1999-06-021-1/+37
| | | | | | page for details. This allows MP over non-tty devices where the original ppp process must not exit (such as sshd-spawned ppp sessions).
* Mention that using MYADDR and HISADDR with ``set filter''brian1999-06-011-1/+17
| | | | | will result in the rules being updated any time MYADDR or HISADDR change.
* Mention ``show layers''brian1999-05-161-1/+3
|
* Allow ``host:port/udp'' devices and support ``host:port/tcp'' asbrian1999-05-121-15/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | being the same as the previous (still supported) ``host:port'' syntax for tcp socket devices. A udp device uses synchronous ppp rather than async, and avoids the double-retransmit overhead that comes with ppp over tcp (it's usually a bad idea to transport IP over a reliable transport that itself is using an unreliable transport). PPP over UDP provides througput of ** 1.5Mb per second ** with all compression disabled, maxing out a PPro/200 when running ppp twice, back-to-back. This proves that PPPoE is plausable in userland.... This change adds a few more handler functions to struct device and allows derivations of struct device (which may contain their own data etc) to pass themselves through the unix domain socket for MP. ** At last **, struct physical has lost all the tty crud ! iov2physical() is now smart enough to restore the correct stack of layers so that MP servers will work again. The version number has bumped as our MP link transfer contents have changed (they now may contain a `struct device'). Don't extract the protocol twice in MP mode (resulting in protocol rejects for every MP packet). This was broken with my original layering changes. Add ``Physical'' and ``Sync'' log levels for logging the relevent raw packets and add protocol-tracking LogDEBUG stuff in various LayerPush & LayerPull functions. Assign our physical device name for incoming tcp connections by calling getpeername(). Assign our physical device name for incoming udp connections from the address retrieved by the first recvfrom().
* o Redesign the layering mechanism and make the aliasing code part ofbrian1999-05-081-19/+19
| | | | | | | | | | | | | | | | | | | | | the layering. We now ``stack'' layers as soon as we open the device (when we figure out what we're dealing with). A static set of `dispatch' routines are also declared for dealing with incoming packets after they've been `pulled' up through the stacked layers. Physical devices are now assigned handlers based on the device type when they're opened. For the moment there are three device types; ttys, execs and tcps. o Increment version number to 2.2 o Make an entry in [uw]tmp for non-tty -direct invocations (after pap/chap authentication). o Make throughput counters quad_t's o Account for the absolute number of mbuf malloc()s and free()s in ``show mem''. o ``show modem'' becomes ``show physical''.
* Mention ``show mp''.brian1999-05-021-3/+12
| | | | Describe ACFComp correctly.
* Spelling policebrian1999-04-231-2/+2
|
* Allow port ranges in ``alias port''.brian1999-03-251-21/+26
|
* Do away with some literal text that is never switchedbrian1999-03-191-7/+6
| | | | off - I *think* these were groff bugs.
* Replace hardcoded quoting with Sq or Dq.brian1999-03-191-19/+35
|
* Use ``Sx'' when xref'ing sections.brian1999-03-181-6/+8
|
* Remove all remaining [ and ] characters (and do things properly).brian1999-03-181-12/+53
|
* Remove all hardcoded [...] syntax.brian1999-03-171-72/+201
| | | | With help from: Daniel C. Sobral <dcs@newsguy.com>
* Add leading 0 in front of octal file permissions number.ghelmer1999-03-071-2/+2
| | | | | OK'ed by: Brian Somers <brian@freebsd.org> PR: docs/9843
* Support PPTP via libalias (``alias pptp addr'').brian1999-03-071-1/+24
|
* Support proxying & transparent proxying curtesy of libalias(3).brian1999-03-071-18/+28
| | | | | Order the alias command descriptions. Order the SEE ALSO entries.
* Correctly drop existing connections when reopening the diagnosticbrian1999-03-071-4/+4
| | | | socket.
* Extend the ``set redial'' command to allow incrementalbrian1999-03-041-27/+86
| | | | redial timeouts.
* Correct some ntohl/htonl bogons in the netmask handling.brian1999-03-031-5/+22
| | | | | | | | | This was pretty harmless as netmasks on a POINTOPOINT interface are pretty much ignored, but it looked funny. Mention the configured netmask in ``show ipcp''. Describe in more detail what a proxy arp entry is.
* Allow control over the number of ConfigREQ & TermREQ attemptsbrian1999-02-261-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that are made in each of the FSMs (LCP, CCP & IPCP) and the number of REQs/Challenges for PAP/CHAP by accepting more arguments in the ``set {c,ip,l}cpretry'' and ``set {ch,p}apretry'' commands. Change the non-convergence thresholds to 3 times the number of configured REQ tries (rather than the previous fixed ``10''). We now notice repeated NAKs and REJs rather than just REQs. Don't suggest that CHAP 0x05 isn't supported when it's not configured. Fix some bugs that expose themselves with smaller numbers of retries: o Handle instantaneous disconnects (set device /dev/null) correctly by stopping all fsm timers in fsm2initial. o Don't forget to uu_unlock() devices that are files but are not ttys (set device /dev/zero). Fix a *HORRENDOUS* bug in RFC1661 (already fixed for an Open event in state ``Closed''): According to the state transition table, a RCR+ or RCR- received in the ``Stopped'' state are supposed to InitRestartCounter, SendConfigReq and SendConfig{Ack,Nak}. However, in ``Stopped'', we haven't yet done a TLS (or the last thing we did is a TLF). We must therefore do the TLS at this point ! This was never noticed before because LCP and CCP used not use LayerStart() for anything interesting, and IPCP tends to go into Stopped then get a Down because of an LCP RTR rather than getting a RCR again.
* When our dial timeout is ``random'', display its valuebrian1999-02-251-5/+5
| | | | | | | | | correctly by invoking the timer to get the value before displaying the message. Don't assume that a value of 0 is ``random'' in ``show datalink''. Make the random value between 1 and DIAL_TIMEOUT rather than between 0 and DIAL_TIMEOUT-1
* Fully support both NT and LANMan CHAP type 0x80 as bothbrian1999-02-181-3/+50
| | | | authenticator and authenticatee.
OpenPOWER on IntegriCloud