summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
1999-05-27Handle unterminated quoted strings without dup'ing the last characterbrian
with an out-by-one-memcpy.
1999-05-27Add some comments, optimise out a few strlen()s andbrian
remove a few extraneous assignments.
1999-05-27Call tty_Offline() from tty_Cooked() and tty_Free(), just inbrian
case ppp is abending and hasn't called physical_Offline() already.
1999-05-27Move the code for tweaking interface flags into one function.brian
1999-05-26Work-around: egcs ICE on m68kMarc Espie
1999-05-26need string.hTheo de Raadt
1999-05-24new mdoc ipftest(1) man page; kwesterback@home.comAaron Campbell
1999-05-24init exit code; ben@scientia.demon.co.ukTheo de Raadt
1999-05-24Correct the ``ignoring sync/async'' warnings so that they showbrian
up with the correct device type. Reassign the correct tcpdevice or execdevice after transfering a link in MP server mode.
1999-05-24repair; d@Aaron Campbell
1999-05-24Don't warn about ``!'' lines being unindented commands in ppp.conf.brian
1999-05-24use strlcpy instead of strncpyJason Wright
1999-05-23getopt(3) returns -1, not EOFAaron Campbell
1999-05-23.Nm macros should have an argument in SYNOPSIS sectionAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-05-22Update for new vmswap code.Tobias Weingartner
1999-05-21typoMarc Espie
1999-05-19document tcp.sack and tcp.mssdflt for sysctlNiels Provos
1999-05-18Move the tty locking stuff back out to physical.c sobrian
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.
1999-05-17Typos; Suzanne M. Lea <smlea@uncg.edu>Jason Wright
1999-05-16Cleanup xrefs under SEE ALSO. Specifically:Alex Feldman
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
1999-05-16Mention ``show layers''brian
1999-05-16Initialise ttydevice::Timerbrian
1999-05-16Mention new option. More diagnostics.Hakan Olsson
1999-05-16Added 'permanent' keyword for non-overwritable static ARP entries.Hakan Olsson
1999-05-15Add ``show layers'' to see the protocol layering for a link.brian
1999-05-15ethernet -> Ethernet, other repairsAaron Campbell
1999-05-15repairAaron Campbell
1999-05-14Handle LCP echo reqs properly again (broken with thebrian
layering changes).
1999-05-14Ensure that we're not going to overflow our ``struct tun''brian
when we mbuf_Read() into it. Add the link name to a few diagnostics.
1999-05-13Initialise the struct device part of struct ttydevice.brian
1999-05-13Fix a bum pointer dereference and make some variablebrian
names more consistent. Stack trace supplied by: Joe Clarke <jclarke@cisco.com>
1999-05-13Ignore repeated signals sent to the parent in backgroundbrian
mode.
1999-05-12Adjust our first timer delta according to the returnbrian
from getitimer() so that times are correct for ``show timer''.
1999-05-12grammar police: do not hyphenate compound words that act as adjectives if theAaron Campbell
first word ends in -ly i.e., fully-qualified, newly-created, globally-visible, etc. are wrong
1999-05-12Allow ``host:port/udp'' devices and support ``host:port/tcp'' asbrian
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().
1999-05-09Revert to the previous behaviour of only doing a utmpbrian
login if we're -direct on a tty device.
1999-05-09Deal with the fact that as we now mbuf_Read the fsmbrian
header in fsm_Input() we often end up with a NULL mbuf. Deal with a possible NULL mbuf being passed into mbuf_Prepend(). Adjust some spacing to make things more consistent.
1999-05-08o Redesign the layering mechanism and make the aliasing code part ofbrian
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''.
1999-05-03drop packets silently while the link is down, which is a better approximationMichael Shalayeff
to the real networks, ie simulating an open wire w/ tokens falling down angelos@ ok
1999-05-03include ms-chap support; brad@Todd C. Miller
1999-05-02Handle receiving more than one acceptable CCP REQbrian
during one negotiation session without REJecting everything from the second REQuest.
1999-05-02Mention ``show mp''.brian
Describe ACFComp correctly.
1999-05-01Make ports 80 & 81 ``interactive''.brian
1999-05-01typo; krw@tcn.netTheo de Raadt
1999-04-30upgrade Arla to fresher code. Too many new features and bugfixes.Artur Grabowski
1999-04-30Import of arla-0.35.7Artur Grabowski
1999-04-28check correct arg; garath@ntplx.netTheo de Raadt
1999-04-27Change ``set device'' so that it parses its arguments as onebrian
device per argument rather than the old way of concatenating everything then splitting the result at commas and whitespace. Old syntax of ``set device /dev/cuaa0, /dev/cuaa1'' may no longer contain the comma, but syntax such as ``set device "!ssh host ppp -direct label"'' is now possible.
1999-04-26Add support for NetBSDbrian