summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Correctly drop existing connections when reopening the diagnosticbrian1999-03-074-14/+20
| | | | socket.
* Read from fd[0] and write to fd[1] where `fd' is thebrian1999-03-071-12/+12
| | | | result of a pipe(). This matters under OpenBSD.
* Use socketpair() instead of pipe()... pipe() doesn't returnbrian1999-03-071-2/+2
| | | | two bi-directional descriptors under OpenBSD.
* Reopen descriptor 0 as /dev/tty when in interactive modebrian1999-03-072-7/+7
| | | | | | in OpenBSD as well as FreeBSD (I still don't know why). Add a debug diagnostic when creating a child process as a link.
* Extend the ``set redial'' command to allow incrementalbrian1999-03-046-112/+287
| | | | redial timeouts.
* Correct some ntohl/htonl bogons in the netmask handling.brian1999-03-036-35/+74
| | | | | | | | | 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.
* Fix reference to rpc.yppasswdd.ghelmer1999-03-021-2/+2
| | | | PR: docs/10171
* Add the ability to print user records in unix version 7 (old) format.davidn1999-03-022-11/+19
|
* When negotiating ACCMAPs, sync our ACCMAP with thebrian1999-03-011-5/+17
| | | | | | | | peers by ORing the two together and NAKing or REQing the result rather than allowing seperate local/peer values. If the peer REJs our ACCMAP and our ACCMAP isn't 0, warn about it and ignore the rejection.
* USB is only on PC's at the minute, don't try and use the MOUSE_IF_USBgpalmer1999-03-011-1/+3
| | | | define on the AXP, 'cos it breaks.
* Comment why we do a TLF when we get a ``Down'' event in statebrian1999-03-011-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | ``closing''. Pointed out by: archie Don't do a TLF when we get a ``Catastrphic Protocol Reject'' event in state ``closed'' or ``stopped''. Pointed out but not suggested by: archie This makes no difference in the current implementation as LcpLayerFinish() does nothing but log the event, but I disagree in principle because it unbalances the TLF/TLS calls which (IMHO) doesn't fit with the intentions of the RFC. Maybe the RFC author had a reason for this. It can only happen in two circumstances: - if LCP has already been negotiated then stopped or closed and we receive a protocol reject, then we must already have done a TLF. Why do one again and stay in the same state ? - if LCP hasn't yet been started and we receive an unsolicted protocol reject, why should we TLF when we haven't done a TLS ?
* When bootstrapping mtree, don't depend on there being a libmd at all.wollman1999-03-011-5/+3
|
* Bring up auto links despite there being no data queued ifbrian1999-03-011-5/+5
| | | | | | | | | | | | we're already in network phase and our autoload values are set with no minimum threshold (the default). Tell the autoload timer that it's ``coming up'' *before* calling AutoLoadTimeout() directly... not after. This prevents the very first demand-dial connection from immediately disconnecting when there are other auto links. Problem diagnosis: Ted Mittelstaedt <tedm@toybox.placo.com>
* Print "usb" for MOUSE_IF_USB, rather than "unknown".yokota1999-02-281-1/+2
|
* Make this work with the new alias library since, evidently, we'rejkh1999-02-271-4/+6
| | | | | not providing the backwards-compatability routines in libalias anymore (which I think may have been a mistake).
* Cleanup usage of err() and warn().kuriyama1999-02-278-45/+50
| | | | | | | Add error handling for ioctl(). Reviewed by: -current Obtained from: PAO
* mtree is a "bootstrap tool", don't use the fancy new world-breaking featuresjkh1999-02-271-2/+6
| | | | if we're building it as part of the bootstrap toolset.
* Allow control over the number of ConfigREQ & TermREQ attemptsbrian1999-02-2617-154/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add support for SHA-1 and RIPEMD160, now that libmd includes them. Makewollman1999-02-267-15/+139
| | | | | all of the hashes (including MD5) conditionalized in case we want to turn one of them off later.
* Finish implementing "setdrv" option. This is intended to be usedrnordier1999-02-262-7/+10
| | | | | | (with care) in those instances where boot0 is not passed the correct drive number by the PC BIOS. (The symptoms are a "F5 Drive 0" line, even though the current drive is drive 0.)
* Parse IP addresses more securely - specifically, don't allowbrian1999-02-254-33/+51
| | | | | | | | a bum name to return as 0.0.0.0... we don't want ``delete xxx'' to delete the default route when xxx doesn't resolve. Support IP number specifications as the host when specifying a tcp-style device (rather than *just* hostnames).
* When our dial timeout is ``random'', display its valuebrian1999-02-254-19/+26
| | | | | | | | | 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
* Don't immediately bring auto links back up in multilinkbrian1999-02-251-3/+3
| | | | | | mode (when there is more than one auto link) if there is no data queued to go out. Reviewed by: Tom Torrance <tom@tomqnx.com>
* Add a prototype to silence warnings.eivind1999-02-231-2/+3
|
* Fix minor nit with command line parsing for pw -V DIR action.davidn1999-02-231-2/+2
|
* Fix tpyo (sic) and missing 'else' (bad cut n' paste).davidn1999-02-231-13/+13
|
* 1) Do not blindly ignore file update errors which may occur due to concurrentdavidn1999-02-2314-155/+725
| | | | | | updating 2) Add -V <etcdir>, which allows maintaining user/group database in alternate locations other than /etc.
* Add a reference to the ypinit(8) command.ghelmer1999-02-231-1/+7
| | | | PR: docs/7679 (in spirit)
* Make various minor corrections.rnordier1999-02-222-5/+5
|
* Activate boot0cfg.rnordier1999-02-211-1/+2
|
* This commit was generated by cvs2svn to compensate for changes in r44196,rnordier1999-02-213-0/+410
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Add boot0cfg: this installs/configures the `boot0' boot manager. Arnordier1999-02-213-0/+410
| | | | | | | | CLI utility to do this has been requested by a few people.
* | World, I'd like you to meet the first FreeBSD token Ring driver.julian1999-02-201-3/+3
| | | | | | | | | | | | | | | | This is for various Olicom cards. An IBM driver is following. This patch also adds support to tcpdump to decode packets on tokenring. Congratulations to the proud father.. (below) Submitted by: Larry Lile <lile@stdio.com>
* | Handle empty PAP & CHAP packets (containing only an FSM header).brian1999-02-203-7/+14
| | | | | | | | | | | | Some CHAP implementations send no welcome message with their SUCCESS/FAILURE packets. This was being mis-identified as a truncated packet by the new authentication code :-(
* | Be a little more verbose about dodgy looking authenticationbrian1999-02-191-4/+9
| | | | | | | | packets before dropping them in the bit-bucket.
* | Document a changed variable name.jkh1999-02-182-6/+6
| |
* | Build correctly when -DNOCRYPT is used.brian1999-02-182-19/+81
| |
* | Don't expect a chap response if we haven't negotiatedbrian1999-02-181-2/+3
| | | | | | | | chap 0x80.
* | Fully support both NT and LANMan CHAP type 0x80 as bothbrian1999-02-1812-173/+444
| | | | | | | | authenticator and authenticatee.
* | Nuke any remaining auth timers when datalinks come back downbrian1999-02-171-9/+17
| | | | | | | | to DATALINK_LCP.
* | Be more forgiving of PnP config saving failures.jkh1999-02-161-4/+7
| |
* | Wait by default for one second after the login scriptbrian1999-02-167-38/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is complete before checking carrier. If it's there, the device supports carrier. If it's not it doesn't. Add the ``set cd'' command for deciding how soon to check for carrier, and for deciding if carrier is REQUIRED. The default has changed: Pre 2.0 versions of ppp waited for 1 second. Version 2 didn't wait, but this causes problems with some (few?) modems that don't assert carrier immediately on reporting CONNECT. The one second delay is back now and can be removed with ``set cd 0''. Bump the ppp version number in case this needs to be changed again....
* | Update to deal with pnp userconfig data.jkh1999-02-151-7/+50
| | | | | | | | Submitted by: abial
* | Add entry for gnome category.jkh1999-02-151-1/+2
| |
* | Write out new boot blocks on upgrade.jkh1999-02-151-1/+3
| |
* | Unbreak the fixit floppy.jkh1999-02-156-53/+50
| | | | | | | | Clean up some of the media handling to use common routines.
* | Cosmetic reformating.obrien1999-02-141-3/+8
| |
* | Put a convenient marker in rc.conf to show updates.jkh1999-02-144-8/+18
| | | | | | | | Better screen saver descriptions.
* | Fix incorrect initial state for two variables.jkh1999-02-144-8/+8
| |
* | Include all the recent screen savers.jkh1999-02-142-4/+20
| |
OpenPOWER on IntegriCloud