martin
58a5eedc83
If SMALLPROG is set, do not build in PAM support. While there, depend
...
USE_INET6 on SMALLPROG/SMALLPROG_INET6 like ftp does it.
This fixes the build of install media (pc532 and sparc64) that include
ppp support.
2005-03-22 22:20:27 +00:00
he
8e8728c45c
Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling
...
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications. The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.
Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.
Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.
Discussed with thorpej and christos.
2005-03-04 20:41:08 +00:00
christos
bc42aa47c9
Add PAM hooks.
2005-02-22 00:34:27 +00:00
cube
88aa34aadf
Include <bsd.own.mk> to get NETBSDSRCDIR definition before we use it in
...
.PATH. Reported by Geoff Wing.
2005-02-21 06:41:20 +00:00
cube
44a5931b78
Add the compile hook for passwordfd plugin.
2005-02-20 11:14:37 +00:00
cube
f0a7dc0094
Make this use the new pppd version.
...
A few notes:
o pppd/sys-bsd.c, pppdump/pppdump.h are local file, they're kept
here. It is the case for the status plugin, too.
o tdb.[ch] is the TDB implementation we will use, from previous
pppd versions.
2005-02-20 11:12:42 +00:00
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