summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Revert SEE ALSO ordering to version 1.124brian1998-09-182-28/+28
| | | | | Patched correctly by: wosch Blunder pointed out by: bde
* Sync with OpenBSD ifdefsbrian1998-09-177-25/+53
|
* Alphabeticalize SEE ALSO section.brian1998-09-172-28/+28
|
* Correct ua_ntohs.brian1998-09-151-4/+4
|
* Reflect realitybrian1998-09-091-11/+5
|
* Initialise lcp::his_mru to the ``set mtu'' value if it's lessbrian1998-09-091-2/+4
| | | | | than DEF_MRU, allowing our interface mtu to be decreased despite negotiation with the peer.
* Don't cast potentially unaligned addresses to pointers tobrian1998-09-045-53/+134
| | | | | non-char types on non-i386 architectures. On Alpha and Sparc we get a bus error if we do.
* Sort cross references.wosch1998-08-312-28/+28
|
* Remove OpenBSD build support - let the Makefile vary perbrian1998-08-311-13/+1
| | | | | | OS rather than making it a mess and potentially screwing up cross builds. Suggested by: bde
* Add OpenBSD build supportbrian1998-08-301-1/+7
|
* Don't use ``-width 20'', it's misleading. Use ``-width XX''brian1998-08-292-20/+20
| | | | instead.
* Don't claim that the alias library isn't loaded untilbrian1998-08-292-14/+6
| | | | used.
* Add the following word substitutions when running a shellbrian1998-08-293-35/+109
| | | | | | | | | command: AUTHNAME: The local authname ENDDISC: The local endpoint discriminator LABEL: The configuration label in use PEER_ENDDISC: The peers endpoint discriminator USER: The peers authname
* Allow the use of HISADDR, MYADDR and INTERFACE as wordsbrian1998-08-291-15/+78
| | | | | | | | embedded in the args of a "shell" or "!bg" command, and only accept upper case versions. We can now do: ! sh -c "ifconfig INTERFACE >/tmp/myfile"
* Mention ``cbcp'' in ``set log ?''brian1998-08-291-4/+4
|
* Fix some OpenBSD/alpha warningsbrian1998-08-267-11/+16
|
* Remove redundant include file.brian1998-08-261-2/+1
|
* Put the IP buffer queues into struct ipcp.brian1998-08-2614-57/+62
| | | | Forgotten by: me
* The protocol must be in network byte order (OpenBSD only).brian1998-08-261-3/+3
|
* Mention what ``set authname'' does in -direct mode.brian1998-08-252-2/+16
|
* If we've got a full output buffer queue and cannot sendbrian1998-08-2515-17/+180
| | | | | | | | anything for two mintues (see ``set choked'' and ``show bundle''), nuke the ip, mp and link level buffer queues. This should fix problems where ``ppp -auto'' seems to stop responding after failing to connect to the peer a few times.
* Consolidate the two malloc()s that are done when allocatingbrian1998-08-213-20/+13
| | | | an mbuf.
* Make ``show mem'' display the number of packets allocated as well as thebrian1998-08-211-11/+15
| | | | number of octets.
* Destroy any existing chat timeouts in datalink_ComeDown()brian1998-08-181-1/+2
| | | | | If we're told to close/down while in DIAL or LOGIN state, we don't want to keep our timeout running :-/
* Don't lose an allocated pointer if realloc() fails.brian1998-08-171-4/+9
| | | | | Free it instead. Pointed out by: Theo de Raadt
* Be careful about using ``.Bd -literal'' as groff sometimes keepsbrian1998-08-112-36/+36
| | | | | | | the `-literal' after the closing .Ed. Where this happens, use ``.Bd -unfilled'' with ``.It Li'' to dodge the problem - it looks better too. Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
* `dns' option defaults to disabled, not enabled.brian1998-08-092-4/+4
|
* Add missing .Elbrian1998-08-092-2/+4
|
* /var/run/tunX.pid is created regardless of ppps mode.brian1998-08-092-14/+4
| | | | Spotted by: Alex <garbanzo@hooked.net>
* Use IFT_PPP from net/if_types.h rather than hard-coding it.brian1998-08-091-2/+3
|
* When entering ``term'' mode, don't output any messages untilbrian1998-08-096-19/+29
| | | | | | | the device is successfully opened. If we fail to open it, mention the fact. Also go back into command mode as soon as the device is closed rather than waiting for the user to type something before noticing.
* Don't forget to call PacketAliasInit().brian1998-08-091-1/+7
| | | | PR: 7515
* Missed these...brian1998-08-072-0/+757
|
* o Support callback types NONE, E.164, AUTH and CBCP.brian1998-08-0735-123/+841
| | | | | | | | | | | | | | (see the new ``set callback'' and ``set cbcp'' commands) o Add a ``cbcp'' log level and mbuf type. o Don't dump core when \T is given in ``set login'' or ``set hangup''. o Allow ``*'' and blanks as placeholders in ppp.secret and allow a fifth field for specifying auth/cbcp dialback parameters. o Remove a few extraneous #includes o Define the default number of REQs (restart counter) in defs.h rather than hardcoding ``5'' all over the place. o Fix a few man page inconsistencies.
* PR: 7469brian1998-08-023-4/+11
| | | | | | Be careful that the current or next prompt in the list that we're iterating through doesn't get changed by descriptor_Read().
* On receipt of a sig 15, do a full bundle_Close() even ifbrian1998-08-022-7/+3
| | | | | our current phase is PHASE_DEAD as it's possible that there are links stuck in OPENING waiting for a redial timer.
* When we receive an LCP config REQ in Opened state,brian1998-08-011-6/+8
| | | | | | | | do TLD *before* processing the config request as TLD initialises the peers LCP values. It's strange that an IRC isn't required here - but I'll bow to the wisdom of the rfc.
* Cosmetic: Diagnostic wording (Unknown -> Unexpected)brian1998-08-011-4/+14
|
* Always dial immediately on ``open'', ``dial'' and ``call''.brian1998-07-313-31/+12
| | | | We don't need a ``!''.
* Allow an optional ``!'' in the open, dial & call commands.brian1998-07-295-59/+109
| | | | | When used, the redial timer is ignored and the modem is opened immediately.
* Use tcsetattr TCSANOW instead of TCSADRAIN so that dedicated mode doesn'tbrian1998-07-291-2/+3
| | | | end up blocking indefinitely when there's no carrier.
* Silence ``Network unreachable'' warnings when usingbrian1998-07-284-19/+20
| | | | | | | | | | | | | | | | | | ``add .... HISADDR''. The network will never be reachable at this point unless we're in -auto or reading the command from ppp.linkup. We can now run the following lines and get the expected results: set ifaddr 1.2.3.4/0 5.6.7.8/0 add default HISADDR where a route is added immediately in auto mode and the whole thing is delayed 'till the IP numbers have been agreed in other modes. Essentially, ppp.linkup is no longer required.
* o Tidy up PAP and CHAP diagnostics. They're now all logged as PHASEbrian1998-07-282-21/+31
| | | | | | | diagnostics (which are on by default). o Deal correctly with both sides wanting CHAP. o Output a warning if we're using an empty ``authname''. This is *not* what we want to do.
* Add missing braces - without them, the IP & label were mis-selectedbrian1998-07-191-7/+4
| | | | | from ppp.secret. Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
* Correct enable/disable handling (broken when ironing outbrian1998-07-121-3/+3
| | | | 32/64 bit issues recently).
* Check the ``alive'' filter for a packet *before* thebrian1998-07-111-2/+2
| | | | mbuf is deallocated by vj_SendFrame().
* Change MIN_LQRPERIOD from 5 to 2.brian1998-07-111-3/+3
|
* Don't disable ^D in interactive mode.brian1998-07-041-2/+4
| | | | Wished for by: pkh
* Don't require context when there's only one linkbrian1998-07-041-6/+8
| | | | for ``open lcp''
OpenPOWER on IntegriCloud