Commit Graph

83 Commits

Author SHA1 Message Date
is 00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
christos 95e251ee4e Better fix for the va_list problem from paulus. 1997-03-14 01:53:29 +00:00
christos 28b883a7db put back filtering options, and rcsid police. 1997-03-13 19:08:15 +00:00
christos aae03a189a Fix for the void * arg hack; reported by cgd 1997-03-13 19:05:51 +00:00
cgd f919d5c499 fix an 'if' that could never be true to do what it really meant to do. 1997-03-13 18:23:19 +00:00
christos 86276488dc Resolve conflicts cleanup warnings. 1997-03-12 20:17:18 +00:00
christos e287272422 Import the latest pppd from Paul Mackerras. 1997-03-12 19:38:04 +00:00
is dd80c3d309 Back out the back-out. Don't ask. 1997-03-10 20:21:01 +00:00
is 9d29e526db backout previos change; was not intended for trunk. 1997-03-10 19:36:40 +00:00
mouse ee6a5b2cd6 alternate -> alternative, per PR 2643 1997-03-08 14:24:19 +00:00
matthias 470161650e compression ratio was computed wrong. 1997-01-30 09:14:50 +00:00
christos bdde499b0c PR/3042: filter parsing broke after libpcap upgrade causing infinite loops.
- removed all code stolen from libpcap and used the library functions directly,
  linking -lpcap.
- added a pdebug option to turn on pcap optimization debugging, if libpcap
  was compiled with debugging turned on.
1996-12-18 16:54:57 +00:00
mikel 1668cf2082 Enable 255.255.255.255 netmasks. Fixes bin/2954.
Also RCSID police.
1996-11-26 08:19:29 +00:00
mikel f27059eb04 Read TTY-specific options after generic and command-line options.
Fixes PRs bin/2554, bin/2728, and bin/2935.
Also RCSID police.
1996-11-26 07:53:02 +00:00
jtk 2822e47b0e fix PR #2623: read the idle time from the kernel to determine whether
to wake up.  This is needed because the active filter applied in user
space may fail to match VJ compressed packets.  (The kernel applies its
copy of the filter before it runs VJ compression.)
1996-10-16 00:15:51 +00:00
explorer 2ff0386692 allow comments in chat scripts. pr misc/2450 1996-08-10 23:57:22 +00:00
explorer 75f3d0f63c Reference the new ppp(4) page 1996-08-10 21:25:45 +00:00
explorer aa3ab1608c demand.c: fixed a very minor problem where the top of the file claimed
to be auth.c.  pr bin/2539
main.c:  don't try to delete pid file "", since that will end up being
	a directory.  pr bin/2388 and bin/2551
1996-08-10 20:39:35 +00:00
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