Age | Commit message (Collapse) | Author |
|
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.
|
|
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''.
|
|
to the real networks, ie simulating an open wire w/ tokens falling down
angelos@ ok
|
|
|
|
during one negotiation session without REJecting
everything from the second REQuest.
|
|
Describe ACFComp correctly.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
diagnostic.
Issue a diagnostic message if the master.passwd file isn't specified as an
absolute path.
|
|
|
|
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
|
|
a pseudo device created by an interactive version of
rlogin/telnet/ssh & friends
|
|
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 [].
|
|
Classical modern C type-checking, signed vs. unsigned.
|
|
Give more precise error messages in case of failure
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
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).
|
|
is aligned for non-i386 architectures.
|
|
|
|
|
|
in FreeBSD-current.
|
|
|
|
|
|
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.
|
|
of /dev/ksyms
|
|
|
|
listed; garath@ntplx.net
|
|
|
|
off - I *think* these were groff bugs.
|
|
|
|
|