Commit Graph

234 Commits

Author SHA1 Message Date
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
christos
37d722af2b Now that ppp is a cloning interface, detect if we have support for it in
the kernel by examining if it is in the list of cloning devices.
2004-12-05 04:16:22 +00:00
dsl
9efede97a9 Add (unsigned char) cast to ctype functions 2004-10-30 15:04:45 +00:00
christos
28c9afd120 Complete check for packet length, and add verbose errors for malformed
packets.
2004-10-28 17:07:27 +00:00
itojun
e2426ca020 re-enable a length check which was commented out (why?).
http://www.securitylab.ru/49043.html
2004-10-28 07:50:34 +00:00
itojun
981eb66521 cbcp option length is too long, stop parsing.
http://www.securitylab.ru/49043.html
2004-10-28 07:45:21 +00:00
mycroft
b96803cc00 Revert part of rev 1.31. It is *not* necessary to leave the executable
unstripped to load modules.  The symbol table that we strip isn't even loaded
or used by the dynamic linker.
2004-07-21 07:00:27 +00:00
christos
eba562cd86 PR/20066: John F. Woods: Supply a loadable lcpstatus command. 2004-05-13 19:37:58 +00:00
christos
1345b8cdf5 PR/20066: John F. Woods: Add plugin lcp hooks. 2004-05-13 17:31:57 +00:00
christos
18289afe56 PR/21178: Christian Biere: Potential misuse of ctype functions [pppd] 2004-05-13 17:02:32 +00:00
elric
a4f71a0494 np->h_net is not a pointer. 2004-05-09 15:54:59 +00:00
itojun
26e2172ca7 MAX_IFS is no longer needed. Maxim Konovalov 2004-02-28 19:27:49 +00:00
lukem
804acb39e4 be more explicit in describing how the default local IP address is determined 2004-02-22 11:34:16 +00:00
christos
4576b16a9b Increase the buffer size for result strings. Reported by Sergey Svishchev
svs at ropnet dot ru
2003-11-02 08:54:06 +00:00
fvdl
e7e0e9e521 Don't return NULL for an integer. 2003-10-21 02:49:07 +00:00
itojun
686afb7f65 safer use of realloc 2003-10-16 06:22:09 +00:00
christos
27a8c2abc5 PR/22776 : Andreas Wrede: proxyarp in pppd is broken 2003-09-13 18:55:17 +00:00
christos
b03d86adf3 Use PPPIOCGRAWIN to get the last characters the remote sent, if we are not
8 bit clean.
2003-09-01 16:54:27 +00:00
itojun
f4c0491af5 one more SIOCGIFCONF->getifaddrs conversion 2003-08-17 21:43:29 +00:00
itojun
0f6ff2de74 rewrite SIOCGIFCONF into getifaddrs(3) 2003-08-17 21:36:56 +00:00
agc
326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
itojun
63b4a66b0f strlcpy is prototyped in string.h 2003-07-13 14:02:23 +00:00
christos
b4f029d21d revert to revision 1.41, since 1.42 did not fix the problem and made the
code more complicated. Fix the real issue which was setting the dst addr
incorrectly.
2003-06-09 13:35:10 +00:00
christos
7eec87e751 previous fix had trouble deleting routes; try to delete a more generic
default route.
2003-06-05 19:48:49 +00:00
christos
a23e290bac Specify the interface where to place the default route, otherwise we sometimes
can put it in the wrong place.
2003-05-28 13:43:26 +00:00
itojun
ef713a2fe9 use strlcat 2003-05-17 21:00:57 +00:00
itojun
9e390651ee remove local copy of strl{cat,cpy} 2003-05-17 20:49:28 +00:00
itojun
272c80e349 avoid possible buffer overrun 2003-05-16 18:15:34 +00:00
christos
367ffb5e14 PR/3272: Wailer: Don't send lcp echo's if we are not opened. 2003-04-01 15:12:12 +00:00
perry
bbf77a1edf dialling->dialing (from me)
substition->substitution (from Igor Sobrado, PR misc/20744)
2003-03-31 01:09:08 +00:00
perry
893cb2b5a6 spelling fixes, including some pointed out by Igor Sobrado in
PR misc/20745
I've submitted the changes back to paulus@samba.org
2003-03-31 01:00:13 +00:00
wiz
3425830569 Uppercase ULTRIX. Igor Sobrado in PR 19678. 2003-03-30 21:20:17 +00:00
wiz
46ebb6111a Correct spelling of "overridden". Found in follow-up to PR 20718. 2003-03-15 19:24:02 +00:00
christos
c5011d1086 PR/20065: John F. Woods: Fix pluggin compilation 2003-01-26 17:34:19 +00:00
taca
eb37d628b3 Fix compile error with DEBUGMAIN. 2003-01-07 15:04:54 +00:00
tron
7c891035f6 Use "%u" instead "%d" in format string for bytes count reported at
termination. This should fix PR bin/19713.
2003-01-07 09:02:21 +00:00
thorpej
4c278745df Avoid conflict with reserved identifier "logf". 2002-12-06 15:17:18 +00:00
wiz
a125d07668 Fix typos. Found by Adrian Mrva. 2002-10-29 16:12:25 +00:00
lukem
c52b93f508 minor makefile delint 2002-09-18 13:31:52 +00:00
lukem
17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
itojun
0319b78e54 copyright clarification. from openbsd
1.
Paul Mackerras and the Australian National University have worked things
out, and as a result, Paul now owns copyright on all these files, with the
proper terms.

2.
and... we managed to contact "Eric Rosenquist" <eric@rosenquist.com> through
the help of people who found him: first one was nick.stott@cogeco.ca
This now has a better license.  Two authors left to go.
2002-09-13 14:32:11 +00:00
itojun
98e97a1b2b die if fd_set overruns. 2002-08-09 02:43:58 +00:00
soren
236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
christos
c9bffd0130 fix argument order. 2002-08-02 14:06:07 +00:00
christos
4be5fa5155 no need to include utmp everywhere.
add utmpx support
2002-08-02 02:52:07 +00:00
christos
8fece071ac don't try to chmod if fchmod fails when restoring the original tty modes.
It could cause a symlink race. Just report the fchmod failure. Reported
by itojun, found in FreeBSD.
2002-07-31 14:59:10 +00:00
fredb
d9aaf825ea Unset connect-time timer on disconnect, as discussed briefly on
tech-userlevel. Without this, using "demand" and "max-connect NNN"
together subjects the user to rather arbitrary disconnects.
2002-07-10 15:00:35 +00:00
itojun
93b1b1c2c9 avoid trigraph. From: Matt Fredette <fredette@theory.lcs.mit.edu> 2002-07-06 18:21:43 +00:00
itojun
2a1f4932a0 new CMU boilerplate, from openbsd 2002-07-01 22:19:30 +00:00
itojun
d56d2a76af new copyright notice for VJ. via openbsd.
update copyright notice.  mckusick says that Van signed the standard
  Berkeley copyright assignment form, therefore the new license should
  be on these files. I just copied in the notice that Kirk mailed me.
2002-06-18 22:32:16 +00:00