summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* where_arge is allocated on stack and return address is overwrittenjkh1999-06-091-3/+3
| | | | | | by buffer overflow. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Remove apple.com from time server list.jkh1999-06-092-12/+6
| | | | Submitted by: Mike Haro
* Use the correct pid when substituting PROCESSID.brian1999-06-095-18/+22
| | | | Problem reported by: Amedeo Beck Peccoz <gea@gressoney.it>
* Don't use static variables if we don't have to.brian1999-06-082-8/+11
|
* Don't drop the last character from lines in ppp.secret unless it's '\n'.brian1999-06-081-3/+5
|
* Don't IPCP TLD if we're already doing it. This preventsbrian1999-06-081-19/+23
| | | | | recursion by doing something like ``down'' or ``quit all'' in ppp.linkdown.
* Make the ``load'', ``dial'' and ``open'' commands a big clearer.brian1999-06-082-52/+100
| | | | Requested by: Michael Heitmeier <MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com>
* Correct the way ppp transfers links on the server side in MPbrian1999-06-0511-35/+137
| | | | | | | | | mode by padding out the ``struct device'' to the maximum device size. Bump the ppp version number to indicate the transfer format change. This should make MP over tty and udp devices functional again.
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofarchie1999-06-051-6/+9
| | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofarchie1999-06-051-5/+5
| | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
* Switch to proper mbr.ru1999-06-044-48/+4
| | | | OK'ed by: jkh,rnordier
* Check and warn about unknown devices in the config file along the samepeter1999-06-031-2/+12
| | | | | lines as the pseudo-device checking. Previously 'device xyz0' would have been silently accepted without comment.
* Fix some MP sequence number comparison bogons that are tickled bybrian1999-06-031-6/+8
| | | | | | | having different speed links in a bundle. This would manifest itself by having the link occasionally hang, but revive when a new connection is made.... Make ``show mp'' a bit prettier.
* Mention that 8x8 font is required for 43, 50 and 60 line text modes,yokota1999-06-031-8/+57
| | | | and that font files can be specified in /etc/rc.conf[.local].
* Make it clear that PS/2 type mice will work only with "auto" andyokota1999-06-031-2/+14
| | | | | "ps/2" protocol types, and that serial mouse protocols shouldn't be specified for these mice.
* Fix PS/2 MouseMan+ protocol. We have been looking at a wrong placeyokota1999-06-031-2/+2
| | | | for the sign bit for roller movement!
* Oops, quieten a compiler warning.brian1999-06-021-1/+2
|
* Mention physical and sync logging in the ``set log''brian1999-06-021-3/+3
| | | | usage message.
* o Alter the mbuf type as it's processed by different layers.brian1999-06-0224-127/+241
| | | | | | | | o Show more information about missing MP fragments in ``show mp''. o Do away with mbuf_Log(). It was showing mbuf stats twice on receipt of LCP/CCP/IPCP packets.... ???!!? o Pre-allocate a bit extra when creating LQR packets to avoid having to allocate another mbuf in mbuf_Prepend().
* Introduce the ``keep-session'' option. Refer to the manbrian1999-06-026-18/+99
| | | | | | page for details. This allows MP over non-tty devices where the original ppp process must not exit (such as sshd-spawned ppp sessions).
* Increase the length of an individual device name to LINE_LEN.brian1999-06-014-11/+15
| | | | | Adjust the base physical device name correctly after a link transfer (allowing correct multilink callbacks).
* Make async/sync/physical/hdlc dumps prettier by showing printablebrian1999-06-011-12/+23
| | | | characters at the end of the line in hexdump style.
* Mention that using MYADDR and HISADDR with ``set filter''brian1999-06-012-2/+34
| | | | | will result in the rules being updated any time MYADDR or HISADDR change.
* Remember if MYADDR or HISADDR is used in a filter add tweak allbrian1999-05-318-43/+110
| | | | filters any time either value changes.
* Xref mountd in text.kris1999-05-291-2/+3
| | | | Submitted by: Philippe Charnier
* Don't forget to free the mbufs that get processed bybrian1999-05-281-1/+2
| | | | | mp_Assemble(). Leak spotted by: louqi
* Add missing -s option.ghelmer1999-05-281-1/+5
| | | | PR: docs/10378
* Handle unterminated quoted strings without dup'ing the last characterbrian1999-05-271-3/+3
| | | | with an out-by-one-memcpy.
* Do a clean-up pass on error/warning messages.jkh1999-05-2710-78/+60
|
* Add some comments, optimise out a few strlen()s andbrian1999-05-271-16/+23
| | | | remove a few extraneous assignments.
* Call tty_Offline() from tty_Cooked() and tty_Free(), just inbrian1999-05-271-1/+4
| | | | | case ppp is abending and hasn't called physical_Offline() already.
* Move the code for tweaking interface flags into one function.brian1999-05-273-64/+62
|
* Correct the ``ignoring sync/async'' warnings so that they showbrian1999-05-246-34/+30
| | | | | | up with the correct device type. Reassign the correct tcpdevice or execdevice after transfering a link in MP server mode.
* Don't warn about ``!'' lines being unindented commands in ppp.conf.brian1999-05-241-5/+7
|
* getopt(3) returns -1 not EOF.imp1999-05-239-18/+18
|
* Initialize exit code so that the program exits with code 0 on success.jmz1999-05-221-2/+2
| | | | | PR: bin/10904 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* Port pnpinfo to alpha.dfr1999-05-222-3/+7
|
* - Fix up some comments in if_wi.c (no code changes)wpaul1999-05-222-9/+27
| | | | | | | - Mention that the 6Mbps turbo adapters are supported in HARDWARE.TXT and RELNOTES.TXT and the wi.4 man page - Mention turbo adapters in the wicontrol.8 man page and provide a complete table of available transmit speed settings
* Fix hostname lookup problems on 64-bit machines.jdp1999-05-214-9/+9
|
* Fix a sign-extension bug in xntpdc's "kerninfo" output for on 64-bitjdp1999-05-211-1/+1
| | | | | machines. Negative pll offset values were printed as large positive numbers.
* Don't do anything on alpha machines.jkh1999-05-211-1/+12
|
* ftp3.fr.freebsd.org (UVSQ, Versailles, France) has been available for a longroberto1999-05-212-2/+6
| | | | | | time. Submitted by: Rémy Card <Remy.Card@csi.uvsq.fr>
* This commit adds driver support for PCI fast ethernet cards based on thewpaul1999-05-212-2/+4
| | | | | | | | | | | | | | | | | | | | | | | ADMtek AL981 "Comet" chipset. The AL981 is yet another DEC tulip clone, except with simpler receive filter options. The AL981 has a built-in transceiver, power management support, wake on LAN and flow control. This chip performs extremely well; it's on par with the ASIX chipset in terms of speed, which is pretty good (it can do 11.5MB/sec with TCP easily). I would have committed this driver sooner, except I ran into one problem with the AL981 that required a workaround. When the chip is transmitting at full speed, it will sometimes wedge if you queue a series of packets that wrap from the end of the transmit descriptor list back to the beginning. I can't explain why this happens, and none of the other tulip clones behave this way. The workaround this is to just watch for the end of the transmit ring and make sure that al_start() breaks out of its packet queuing loop and waiting until the current batch of transmissions completes before wrapping back to the start of the ring. Fortunately, this does not significantly impact transmit performance. This is one of those things that takes weeks of analysis just to come up with two or three lines of code changes.
* upgrade isdn4bsd from version 0.71 to the just released version 0.81hm1999-05-2039-580/+974
|
* Add CHAP/PAP question to the ppp setup dialog, simplifying things considerablyjkh1999-05-192-17/+43
| | | | | | for some. Submitted by: Jack O'Neill <jack@germanium.xtalwind.net>
* Add ftp5.uk.freebsd.orgjkh1999-05-192-2/+6
| | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
* Move the tty locking stuff back out to physical.c sobrian1999-05-182-152/+156
| | | | | | that we lock the device *before* we open it. We still open the device only once - and then ask all our handlers if they know how to handle it.
* deal with a.out ldconfig paths also.jkh1999-05-183-7/+12
|
* Mention ``show layers''brian1999-05-162-2/+6
|
* Initialise ttydevice::Timerbrian1999-05-161-1/+2
|
OpenPOWER on IntegriCloud