christos
d9447f387e
From Stephen Ma, discussed in tech-net and verified by paulus
...
mru computation was off-by-one
1997-09-26 20:24:12 +00:00
christos
16f22c5efc
remove unused variable
1997-09-26 20:23:00 +00:00
christos
a5eb79afe9
PR/4136: Geoff Wing: pppd writes wtmp, but not lastlog.
1997-09-26 20:22:26 +00:00
christos
6272590b95
Fix gcc warnings.
1997-09-26 20:14:42 +00:00
christos
651d523cbe
Resolve conflicts
1997-09-26 19:52:08 +00:00
perry
6db6d0fc76
fix 3905 docubug from Saitoh Masanobu
1997-07-22 15:19:30 +00:00
christos
5d5c4ad42a
PR/3819: enami tsugutomo: pppd; netmask option doesn't actually set netmask
1997-07-01 19:28:01 +00:00
christos
fea2a44541
PR/3798: Dave Huang pap authentication leaks file descriptors.
1997-06-27 14:44:46 +00:00
christos
2916e1d817
Resolve conflicts
1997-05-17 22:14:13 +00:00
christos
f7f066707a
resolve conflicts
1997-05-17 21:33:06 +00:00
christos
63f466a41d
Resolve conflicts
1997-05-17 21:23:04 +00:00
mikel
09e3ffba3e
fix typos; from Dave Huang in PR bin/3611.
1997-05-13 04:55:33 +00:00
mikel
5ea01ec0b8
use ../../Makefile.inc instead of defining BINDIR locally.
...
eliminate redundant SRCS definition.
1997-05-11 05:27:09 +00:00
christos
ffb5f0fbd1
Include ../../Makefile.inc
1997-05-11 01:06:01 +00:00
mycroft
6ae00799f3
Correct .PATH after this was moved down.
1997-05-09 09:36:28 +00:00
mycroft
a7f6387809
Remove the extraneous SUBDIR line.
1997-05-09 04:43:01 +00:00
christos
71cc8337ed
Move pppd in its own directory.
1997-05-08 18:07:28 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
mrg
fbb54fd51b
meantion ppp(4) rather than README.bsd (inspired from PR#3548 from Martin Husemann)
1997-04-28 04:22:24 +00:00
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
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
paulus
2c19da3e82
Fixed typo.
1993-11-28 23:35:34 +00:00
paulus
1687b6cdff
Added RCS ID.
1993-11-10 01:35:21 +00:00
paulus
ef90819423
Added RCS IDs; minor enhancements (default local address to first IP
...
address of host; accumulate asyncmaps); bugfix (pidfile location).
1993-11-10 01:33:51 +00:00
paulus
7250f6a418
Fixed bug where chat would fail if it didn't find the string it was
...
looking for within 1024 characters; some code cleanup.
1993-11-09 04:57:19 +00:00
mycroft
c776e015f6
Clean up deleted files.
1993-11-09 04:54:33 +00:00
paulus
8d1ed68875
New version (2.0) of pppd. It now conforms to RFCs 1331, 1332, 1334,
...
and has vastly improved security features, and other improved functionality
(including an updated man page!).
1993-11-09 04:53:15 +00:00
cgd
7f773f8f4b
we have rand48 now
1993-10-14 01:51:11 +00:00
cgd
ed8d9adecd
needs libcrypt
1993-10-11 10:52:31 +00:00
brezak
7a19417ff8
Cleanup port to NetBSD
1993-08-23 14:36:07 +00:00
brezak
d9d60a264e
Add speeds of 19200, 38400, 57600, 115200
1993-08-18 13:00:39 +00:00
brezak
2326181767
/netbsd is the kernel name.
1993-08-18 12:55:13 +00:00
brezak
9ea8dd1822
Set group to kmem.
1993-08-18 12:54:50 +00:00
brezak
48d617a9d6
Use LOG_INFO instead of LOG_NOTICE for informational messages. Correctly set line speed.
1993-08-18 12:54:16 +00:00