mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-27 05:23:38 +08:00
7bb8beb860
- If encryption is required, don't bring up IP/IPv6/IPX until the encryption negotiation has completed. - Shut down LCP if the peer sends an LCP ConfRej instead of CCP ConfRej to our MPPE offer. This fixes a bug where the server could not enforce use of encryption in some cases. - Don't send the M=<message> part of an MS-CHAPv2 success packet to peers that don't know how to deal with it. This allows pre-win2k systems to authenticate. - Don't shut down lcp if MPPE was present in peer's CCP offer along with other options. This allows pre-win2k systems to do MPPE (they offer Stac LZS with MPPE). - Add the beginnings of ecp.c. - Other minor changes.
49 lines
973 B
Makefile
49 lines
973 B
Makefile
#
|
|
# Makefile for pppd under Solaris 2.
|
|
# $Id: Makefile.sol2,v 1.21 2002/05/21 17:26:48 dfs Exp $
|
|
#
|
|
|
|
include ../solaris/Makedefs
|
|
|
|
COPTS += -xO2 -xspace -W0,-Lt
|
|
CFLAGS = -I../include -DSVR4 -DSOL2 $(COPTS)
|
|
LIBS = -lsocket -lnsl
|
|
|
|
OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o tty.o \
|
|
ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o tdb.o
|
|
|
|
#
|
|
# uncomment the following to enable plugins
|
|
#
|
|
CFLAGS += -DPLUGIN
|
|
LIBS += -ldl
|
|
|
|
#
|
|
# Solaris 8 and above accomodates /var/run, so uncomment the
|
|
# following to place pppd process IDs on that location
|
|
#
|
|
#CFLAGS += -D_PATH_VARRUN='"/var/run/"'
|
|
|
|
#
|
|
# uncomment the following to enable IPv6
|
|
#
|
|
# Solaris 8 and on includes support for IPv6
|
|
#
|
|
#CFLAGS += -DINET6
|
|
#OBJS += ipv6cp.o eui64.o
|
|
|
|
#
|
|
# Make targets
|
|
#
|
|
all: pppd
|
|
|
|
pppd: $(OBJS)
|
|
$(CC) -o pppd $(OBJS) $(LIBS)
|
|
|
|
install:
|
|
$(INSTALL) -f $(BINDIR) -m 4755 -u root pppd
|
|
$(INSTALL) -f $(MANDIR)/man8 -m 444 pppd.8
|
|
|
|
clean:
|
|
rm -f $(OBJS) pppd *~ core y.tab.c y.tab.h
|