summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
1999-04-26#include <errno.h>, not <sys/errno.h>brian
1999-04-26Add support for NetBSD (history() from libedit is different).brian
1999-04-22fix mktemp trash, indent; bug spotted by bmw@visgen.comTheo de Raadt
1999-04-21seperate -> separate, people really need to learn how to spell this wordAaron Campbell
1999-04-21Don't display the string associated with errno for "basedir too long"Alex Feldman
diagnostic. Issue a diagnostic message if the master.passwd file isn't specified as an absolute path.
1999-04-21int -> size_tbrian
1999-04-21Split the recorded chap challenge into two - one for thebrian
receiver and one for the sender. This allows two simultaneous chap conversations - something that I *thought* I was already doing on a daily basis myself until the existence of the problem was Beaten into me by: sos@FreeBSD.org
1999-04-21If ioctl TIOCMGET fails, continue. The device may bebrian
a pseudo device created by an interactive version of rlogin/telnet/ssh & friends
1999-04-19Escape stuff in the peers accmap as well as our own when asyncbrian
encoding, and back out the negotiation strategy that didn't quite have the right effect with some (bad?) ppp implementations. Drop unexpected PAP/CHAP packets (if not in NETWORK or ESTABLISH phase). Make sure that we enter PHASE_ESTABLISH when we need to. Detect HDLC frames correctly, not just when the whole header is obtained by a single read(). Don't convert \r\n to \r\r\n in tty raw mode. Use the correct macros for `', ``'', () and [].
1999-04-18Make -W -Wall happier.Marc Espie
Classical modern C type-checking, signed vs. unsigned.
1999-04-18Document -vMarc Espie
Give more precise error messages in case of failure
1999-04-11Introduce net.inet.{ah,esp}.enable sysctl controls that are off by default.Niklas Hallqvist
If you are going to use either of AH or ESP or both, enable these in /etc/sysctl.conf. Also correct the IPSec debugging sysctl code, it is now named net.inet.ip.encdebug. Some corrected function signatures too.
1999-04-09The userland parts of a sysctl that can switch on/off IP-in-IP (protocol 4)Niklas Hallqvist
1999-04-02all .Nm macros should have an argument in SYNOPSIS; also misc cleanupAaron Campbell
1999-03-31Avoid a few warnings on the alphabrian
1999-03-31Oops - remove register keywordbrian
1999-03-31Another alignment bogon.brian
1999-03-31name default if, plus another bug; garath@ntplx.netTheo de Raadt
1999-03-31more examplesJason Wright
1999-03-30Point at cs.slcs_u.csu_ip instead of the just-copied ``cp''brian
when recalculating the ip checksum. cp is not guaranteed to be aligned. It now doesn't matter that cp isn't aligned as the caller does another mbuf_Alloc() regardless.
1999-03-30Maintain a `necessary' marker to indicate that we *probably*brian
need to process a signal (usually a SIGALRM). Check to see if we need to process a signal both before *and* after calling select() as older (pre-2.0) versions of ppp used to. This handles the possibility that ppp may block at some point (maybe due to an open() of a misconfigured device). Previously, we'd potentially lock up in select(). The `necessary' marker reduces the increased signal checking overhead so that at full speed with no compression transferring an 83Mb file via a ``!ppp -direct'' device, we get a 1% throughput gain.
1999-03-29Only print "already up to date" if in verbose modeTodd C. Miller
1999-03-29If we adjust our required ACCMAP due to a more restrictivebrian
ACCMAP being REQuested by the peer, also increment our FSM id so that we don't end up sending out a new REQ with the same ID and different data (the changed ACCMAP).
1999-03-29Ensure that the thing we're casting to struct ipbrian
is aligned for non-i386 architectures.
1999-03-27Upgrade to 2.5.4. Mopprobe is working again, and some linux support. -mojMats O Jansson
1999-03-25Allow port ranges in ``alias port''.brian
1999-03-25Undo possible damage done by the new TUNSIFMODE ioctlbrian
in FreeBSD-current.
1999-03-24Remove duplicate line; FreeBSDbrian
1999-03-24Add a ``const'' and remove some inconsistent prototype args.brian
1999-03-24Only exit in nlist.c due to a memory error, otherwise just return. A return ↵Todd C. Miller
value of 1 indicates an incorrect executable type, a return value of -1 indicates some other problem. This gives us better fallback from /dev/ksyms to /bsd.
1999-03-24Better fallback from /dev/ksyms to /bsd if there are problems with an nlist ↵Todd C. Miller
of /dev/ksyms
1999-03-23never spit out two error messages, it is bad styleTheo de Raadt
1999-03-22set default if to something more reasonable; fix SIGSEGV when no options ↵Theo de Raadt
listed; garath@ntplx.net
1999-03-19Add flag to allow some interfaces to not see packets with unknown destination.Jason Wright
1999-03-19Do away with some literal text that is never switchedbrian
off - I *think* these were groff bugs.
1999-03-19Add the ability to mark an interface as "non-learning"Jason Wright
1999-03-19Replace hardcoded quoting with Sq or Dq.brian