christos
847e9d2e3b
resolve conflicts
1999-08-25 03:00:12 +00:00
christos
46a65cb807
resolve conflicts.
1999-08-25 02:52:15 +00:00
christos
b384567c88
merge changes.
1999-08-25 02:07:41 +00:00
christos
7cd19ad6f7
New pppd, post 2.3.9 directly from the repository.
1999-08-24 20:25:43 +00:00
mjl
2a12a3e76d
Correct typo in option name. Fixes PR 7645 by Paul Shupak <paul@plectere.com>
1999-05-25 20:46:54 +00:00
thorpej
7e3a0bf0c5
Decouple inbound and outbound filters. Now instead of using "active-filter"
...
and "pass-filter" and "inbound" and "outbound" qualifiers in the filter
expression, use new "active-filter-in", "active-filter-out", "pass-filter-in",
and "pass-filter-out" without these qualifiers.
This is necessary due to the horrible, awful way "inbound" and "outbound"
were specified for the filter programs when a packet was passed through them.
Basically, the "address" byte in the serial PPP header was overwritten with
a value to indicate the direction. However, the "address" byte doesn't even
exist on PPP headers for all other PPP encaps! So, this old method worked
only for serial encaps, and corrupted packets for all others (PPPoE, ATM, etc.)
1999-05-12 18:50:51 +00:00
jeremy
60d83bcb76
[PR/5685] Set ONLCR bit in oflags of tty mode to prevent hanging in
...
absence of carrier. From Simon J. Gerraty <sjg@quick.com.au>.
1999-05-06 08:59:21 +00:00
ross
9f0dbe1852
Keep the example strings on one line.
1999-01-24 06:27:06 +00:00
msaitoh
89dc16d4dc
fix a roff bug
1998-11-22 23:30:29 +00:00
christos
dd9db0b0d4
Our MD4Update takes number of bytes not bits. This should fix NT authentication
1998-10-24 18:14:13 +00:00
christos
b5b77bba54
Back out accidental removal of CDTRCTS and fix rcsid's
1998-09-04 19:13:04 +00:00
christos
44d3b0974b
Apply diffs from patchlevel 5.
1998-09-02 20:55:55 +00:00
christos
73270b4cf4
Add the default route as static, so that routed does not delete it.
1998-08-27 06:55:16 +00:00
kleink
ee14eecc51
Change the primary/secondary WINS Configuration Option Type IDs (128, 130) to
...
match those specified by RFC1877 (130, 132); from Terry Moore <tmm@mcci.com>
in PR bin/5701.
1998-08-06 20:13:14 +00:00
mycroft
1f86e5830d
const poisoning.
1998-07-27 00:52:00 +00:00
mycroft
160249f79c
const poisoning.
1998-07-26 15:48:43 +00:00
mrg
32f519716b
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
lukem
e31c1515a6
divide (not multiply) ratio by 256
1998-06-18 08:03:08 +00:00
kleink
cf82cd0b86
Need <stdlib.h> for setkey() prototype.
1998-06-01 14:00:11 +00:00
christos
a6551c37bd
Resolve conflicts
1998-05-02 14:55:19 +00:00
christos
1e38977381
Resolve conflicts
1998-05-02 14:31:10 +00:00
christos
30402427a8
Import the readme files, setup and FAQ
1998-05-02 14:21:43 +00:00
christos
57daeb39d8
Resolve conflicts.
1998-05-02 14:19:13 +00:00
christos
ffb419d374
Enable CHAPMS and MSLANMAN. Make them compile. I don't have access to a test
...
setup to verify that it works.
1997-11-19 11:59:58 +00:00
lukem
0a94f4f077
use CPPFLAGS instead of CFLAGS
1997-10-25 06:57:53 +00:00
drochner
2b0cbc07da
include <sys/cdefs> before __RCSID
1997-10-20 17:18:04 +00:00
scottr
94cf433266
Add support for DTR/CTS flow control, from Bill Studenmund.
1997-10-20 08:07:47 +00:00
mikel
af641bd13a
xref tcpdump(8), not nonexistent tcpdump(1)
1997-10-18 07:01:38 +00:00
lukem
149f1867d1
rcsid fascism
1997-10-18 04:36:50 +00:00
lukem
2b042c28d8
add Makefile.inc to use ../Makefile.inc, and cleanup subdir Makefiles
1997-10-17 12:07:28 +00:00
mellon
8e6f88f680
Fix command-line argument processing
1997-10-14 20:38:09 +00:00
christos
16848faf66
PR/4145: Dave Huang: pppd unable to change interface addr when demand dialing
...
w/unspecified local address
1997-09-30 16:45:16 +00:00
christos
6a39b449bc
Add back the NetBSD specific lack of ppp in kernel message, and remove a
...
NetBSD1_2 ifdef
1997-09-29 19:05:53 +00:00
christos
ac0debcff2
Set clocal while processing chat scripts [this was changed on 2.3.1 and
...
broke all existing chat scripts].
1997-09-29 16:57:51 +00:00
christos
2f3fcf9d35
Enable CBCP support by default.
1997-09-29 03:53:38 +00:00
christos
64b94f4c92
PR/2705: Jim Bernard: pppd exits with 0 error code when connection fails
1997-09-29 03:52:37 +00:00
christos
3e6d71d911
We don't have if_ether.h...
1997-09-26 20:28:47 +00:00
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
mycroft
377989dc53
__386BSD__ --> __NetBSD__
1993-08-16 00:47:33 +00:00
deraadt
3604916e13
ppp from paul mackerras
1993-08-14 06:29:28 +00:00