christos
4062b8f15f
PR/10566: Brian Stark: explicitly document all ipv6 options.
...
While I am there, fix dup {+,-}ipv6 description.
2002-06-05 13:12:05 +00:00
wiz
565b0695e4
Add RCS Id, and drop a trailing space.
2002-05-30 16:07:59 +00:00
agc
4e784ca27b
Include <string.h> to get the prorotype for memset(3).
2002-05-30 12:52:29 +00:00
agc
7ad2a4aeb4
Include <string.h> to get the prorotype for memset(3).
2002-05-30 12:29:04 +00:00
agc
0bb4958e16
Cast the difference of two pointers to an int so that it can be compiled
...
on more esoteric architectures.
2002-05-30 11:45:02 +00:00
christos
d2b4e689bf
more ### removal.
2002-05-29 21:47:35 +00:00
christos
24e2c85e3d
grr, remove error ###
2002-05-29 21:47:08 +00:00
christos
db34dc6d9c
new files
2002-05-29 19:07:12 +00:00
christos
2e3d854ebd
Resolve conflicts.
2002-05-29 19:06:30 +00:00
christos
2aa61ebdb8
import pppd-2.4.1
2002-05-29 18:30:02 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
wiz
d30b208c5a
Drop an unnecessary empty line.
2002-02-02 01:33:55 +00:00
thorpej
ebc45776d2
vslprintf: Slight hack (?) to make "%r" work with the stdarg
...
implementation on x86-64.
2002-01-23 18:23:02 +00:00
wiz
a2d753e3ef
Whitespace nits.
2002-01-19 11:44:57 +00:00
wiz
55e6492076
Explicitly write explicitly without a second e.
2001-11-21 17:33:26 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
itojun
338143f0e5
follow kame p2p interface management rule. use /128 when we specify
...
both src and dst addr on p2p interface. sync with kame
2001-07-21 02:28:06 +00:00
christos
e01ff467fb
order the eE options as the others.
2001-06-21 20:58:18 +00:00
he
ccc114118a
Add `E' to getopt string, so the -E option is recognized.
...
Should fix PR#13008.
2001-05-26 21:20:28 +00:00
wiz
ad64d63177
Remove reference to pppdump(8), because it's not in our tree.
2001-04-09 17:38:10 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
wiz
96078f3a14
tcpdump(8), not (1), and syslogd(8), not syslog(1). Whitespace fixes.
2001-04-05 11:52:18 +00:00
wiz
f1eb267290
uucico(8), not (1). Whitespace fixes.
2001-04-05 11:50:48 +00:00
cgd
3e8fb298b1
Avoid accidental use of trigraphs. Pointed out by development version of gcc.
2001-01-16 02:37:03 +00:00
cgd
d87582beba
avoid use of ANSI C trigraph ??)
2000-12-20 01:29:21 +00:00
is
d8302e2d73
More format string cleanups by sommerfeld.
2000-10-11 20:23:46 +00:00
christos
b181f2aa02
- resolve conflicts
...
- adjust 2.4.0 new tty subsystem back to bsd.
- start on multilink stubs
- clean up warnings
Status:
- paulus knows about the fixes, but he has not responded yet as to if
I should commit them or not].
- I've tested ipv4 connectivity and itojun tested ipv6 [many thanks!]
- Missing from this are pluggin examples and pppdump code because they
are contain gpl code.
- This version of pppd is again gpl free now!
2000-09-23 22:39:29 +00:00
christos
5f5270c935
import of a cropped down pppd-2.4.0 circa sept 10 directly from the cvs
...
repository.
2000-09-23 22:14:39 +00:00
hubertf
d3bf5ce16a
add missing .TP
2000-08-01 18:46:22 +00:00
tron
eb738db50f
Resolve conflicts from import.
2000-07-16 22:10:10 +00:00
matt
3ab02a8704
More #include <stdlib.h> string, etc. cleanup
2000-07-04 20:27:35 +00:00
itojun
98c66bf5bf
don't exit even if socket(AF_INET6) fails.
...
check if sock6_fd is available at runtime.
2000-04-20 03:28:15 +00:00
itojun
ba2e61715a
turn on IPv6 when ipv6 ifid is present (from 2.3.11)
...
don't check for Ipv6 ifid readiness on on-demand dialing, when IPv6CP
is disabled. From: Fong Siu Lung Gordon <ein@hkstar.com>
2000-04-17 08:55:33 +00:00
itojun
d31184e2a7
disable IPv6CP by default, to be friendly with old (IPv4-only) config file.
...
add "+ipv6" which enables IPv6CP. it is necessary if you want IPv6CP.
option name in sync with ppp-2.3.11.
2000-04-17 06:13:18 +00:00
itojun
0a68a1147f
enable IPv6 ppp.
2000-04-12 10:38:46 +00:00
deberg
3a9315446b
clarify syslog facility, fixes bin/9693
2000-03-29 06:04:49 +00:00
tsubai
80c282dde0
We don't need #ifdef __powerpc__ part now. Remove it.
2000-03-03 15:05:47 +00:00
itojun
57f7502caf
inet_pton() error must be checked with 1. see inet_pton(3).
...
will notify the original author.
2000-01-20 04:55:52 +00:00
christos
716b39b67a
PR/9245: Feico Dillema: ip6 support in pppd doesn't compile/work
2000-01-19 20:23:46 +00:00
is
6f86d72282
Document the callback option, in a way similar to what John A. Maier
...
suggested in PR 8550.
1999-10-28 09:41:56 +00:00
erh
c98f493f90
Fix arguments to printf string. Was causing a crash on out of range mtu settings.
1999-10-14 18:29:02 +00:00
itojun
2df1b7b510
make it compilable with -DINET6.
...
-DINET6 is not enabled, as i run no test yet.
1999-08-25 16:28:41 +00:00
christos
6103aa4e65
forgot two #endif's :-(
1999-08-25 03:15:00 +00:00
christos
62f0521dee
new docs
1999-08-25 03:10:28 +00:00
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