Commit Graph

65 Commits

Author SHA1 Message Date
mrg 8b5da257b3 CHAP is Challenge.... not Cryptographic.... (pr#2446) 1996-05-22 01:41:51 +00:00
cgd 03ba0d2233 if a variable is a u_int32_t, it may never compare equally to -1L on
some machines (because on those (64-bit) machines, -1L is
0xffffffffffffffff, but a u_int32_t will never be sign extended).
Compare to 0xffffffff; that's what was really meant, anyway.
1996-04-09 05:29:25 +00:00
paulus e170d85c0d Minor bug-fixes to pppd; add -ccp option to disable CCP negotiation
if desired; delete interface addresses on exit.
1996-03-28 02:50:57 +00:00
paulus e8f5c6972e Fix problem of printing large numbers (as deltas) when the kernel
ppp stats get reset.
1996-03-28 02:42:29 +00:00
scottr 6bd0c1ff9b In link_down(), give a second arg to the close function. Fixes
a SEGV when pppd closes the link.
1996-03-23 05:43:11 +00:00
jtc cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
jtc 8707bd0e20 Added -I. and -I${.CURDIR} to CFLAGS. 1996-03-19 03:03:04 +00:00
thorpej 280bbabcaa RCS id police. 1996-03-18 22:48:34 +00:00
mrg 25d96569e7 CLEANFILES=y.tab.h grammar.c scanner.c 1996-03-18 09:19:27 +00:00
paulus 0a659c65f3 Files added to pppd to support demand-dialling and packet filtering. 1996-03-15 03:09:08 +00:00
paulus 44c91c8e53 Several enhancements and bug-fixes to the PPP daemon, including new
support for demand dialling, packet filtering, idle timeout, multiple
packet compression schemes (including PPP Deflate), and a limit on
connect time.
1996-03-15 03:03:34 +00:00
paulus 0b316ef301 Cleaned up the output of pppstats a bit, and changed the compression
ratio report to a more intuitive measure (i.e. uncomp / comp).
Corrected the man page.
1996-03-15 02:47:18 +00:00
scottr 38cd25875c Sleep after pulling DTR low when disconnecting. The ensures that the
modem has enough time for a reset or hangup should the line be marked
local, or a non-standard getty pulls DTR high again immediately.
1996-02-02 20:24:54 +00:00
scottr 6a334da2bd Be explicit about the fact that ip-up and ip-down are executed with
a null environment.  Closes PR #1866.
1996-02-02 20:17:53 +00:00
cgd 1d48789579 pull in string.h for protos 1995-08-29 23:07:07 +00:00
paulus 8c0ef60b38 Minor bugfixes and enhancements from the ppp-2.2 release. 1995-08-17 12:03:51 +00:00
paulus b00e161b26 Updated to follow the example of slstats(8) more closely. 1995-08-17 11:44:51 +00:00
paulus fbb77fbf73 Compression Control Protocol (CCP) code for pppd, from ppp-2.2. 1995-07-04 23:54:06 +00:00
paulus 0cac89792c New version of pppd from ppp-2.2. The major new feature is support
for CCP (compression control protocol) and thus packet compression.
Several bugs fixed.
1995-07-04 23:47:29 +00:00
paulus 8d816f6a89 New version of pppstats from ppp-2.2. Optionally prints statistics for
packet compression.  Internally it now uses interface ioctls to get the
statistics, so it doesn't need to grub around in kernel memory any more.
1995-07-04 23:43:52 +00:00
paulus 7af42f4d78 New version of chat from ppp-2.2 distribution. The locking code is
gone, because it didn't belong here (chat doesn't open the serial
device), and there is a new "report" feature to report lines beginning
with specified strings (e.g. "CONNECT").
1995-07-04 23:36:19 +00:00
mycroft cef03fb4dd Fix length of LCP echo and echo reply. 1995-03-21 19:32:13 +00:00
glass f092d07ee7 fix transposed sentences in man page (bin/861). Tim Chase <tim@weasel.alpha.net> 1995-03-11 21:05:17 +00:00
pk 47d7334134 Get netmask from correct location (fix for PR #711). 1995-01-07 10:49:35 +00:00
cgd 9314780732 includes for protos. 1994-12-23 17:00:14 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
glass 6614c5a7b3 pppstats(8) and slstats(8) has been rewritten and merged
semantics and interface now follow the iostat/vmstat standard for
statistics reporting.

man page rewritten to match new semantics and interface.  now shared.
1994-11-15 07:20:52 +00:00
pk 1423112c96 Keep that pointer moving. 1994-10-05 20:19:30 +00:00
mycroft b57ce343c0 Use POSIX form of kill(1). 1994-09-23 23:26:54 +00:00
mycroft 4ded5e85bb Use setuid() and setgid(), not setreuid() and setregid(). 1994-09-19 02:56:37 +00:00
paulus 269208a510 Rudimentary man page for pppstats, derived from slstats.8 1994-08-26 05:13:11 +00:00
deraadt fcfcb79656 do not dump core printing the usage message 1994-07-08 09:20:06 +00:00
deraadt 659ffb49cf devname repair 1994-07-04 19:30:17 +00:00
paulus 277db41ca3 Fix a bug preventing the lcp-echo-failure option from working. 1994-06-28 04:38:40 +00:00
paulus ced723ab44 A warning when the line is looped back is nice, instead of just
a debug message.
1994-06-28 04:32:16 +00:00
paulus b38ac6bdd9 use receive asyncmap = 0 if not negotiated instead of ffffffff (as is
correct according to the RFCs), for compatibility with other, broken
implementations.
1994-06-14 03:21:56 +00:00
paulus 3f66ef1a1e Improvements to chat plus a man page from Al Longyear <longyear@netcom.com>.
In particular, chat will now take the script from a file, which is
vastly preferable if the script contains a password.
1994-05-30 01:38:57 +00:00
paulus 79517a9770 Bring pppd up to the about-to-be-released ppp-2.1.1 release,
mostly security improvements and bug fixes; some new functionality
from the Linux port.
1994-05-30 01:18:44 +00:00
paulus fc1c360234 changed to use routing socket for adding/deleting proxy arp entries
and default route.
1994-05-30 00:45:15 +00:00
cgd 8cecbc9165 update for new kvm 1994-05-14 19:00:35 +00:00
cgd e0cc0639fe paulus (apparently) forgot this 1994-05-14 18:39:39 +00:00
paulus b9b45634ae Latest version of pppstats from ppp-2.1 release 1994-05-08 12:16:52 +00:00
paulus 1a4adaf687 Latest version of pppd from ppp-2.1 release 1994-05-08 12:16:10 +00:00
paulus e332e61cb7 Some fixes so that the local IP address can be assigned by the peer
if no local IP address is specified on the command line (even though
a default local IP address has been determined from the hostname).
1994-02-22 00:11:57 +00:00
cgd d9b6fbc4da needs -lkvm, not -lutil 1994-01-28 00:56:02 +00:00
paulus 0b6c80b292 Changed some includes 1994-01-25 05:58:38 +00:00
paulus fd46d6599a Some minor bugfixes from the ppp-2.0 release. 1994-01-25 05:58:02 +00:00
pk dd98eefe50 `#ifdef sparc' => `#if defined(sun & sparc)'. 1993-12-02 17:37:07 +00:00
paulus 2aacdab786 Added security option: if compiled with -DREQ_SYSOPTIONS=1, pppd won't
run unless /etc/ppp/options is present.
1993-11-28 23:39:35 +00:00
paulus eb40b6f924 Use <paths.h> to get kernel image file name; remove KVMLIB conditional. 1993-11-28 23:36:43 +00:00