Paul Mackerras [Mon, 24 Jul 2000 14:58:15 +0000 (14:58 +0000)]
fix allow-ip option, allow @login for secret meaning authenticate against
login database, update to 2.4.0b5, update man page for multilink options,
fix restoring device permissions
Paul Mackerras [Sat, 29 Apr 2000 12:32:09 +0000 (12:32 +0000)]
Accept the endpoint discriminator from the peer unless the
noendpoint option is given, even if we're not doing multilink.
Include the noendpoint option even if !HAVE_MULTILINK.
Adi Masputra [Thu, 27 Apr 2000 03:51:18 +0000 (03:51 +0000)]
MP-related code should be wrapped within HAVE_MULTILINK pre-processor
conditional blocks, otherwise the build breaks on platforms where
HAVE_MULTILINK is not defined.
Adi Masputra [Tue, 18 Apr 2000 23:51:29 +0000 (23:51 +0000)]
1) Created a subdirectory called 'solaris'. Currently it contains a replica
of the 'svr4' directory. However, over time, files in this directory
will contain the same code as the kernel-portion of pppd in future
releases of Solaris, hence they most probably will change in contents
and/or sub-structure.
2) Changed the 'configure' script to not create symbolic link Makefiles
when the OS is SunOS 4.x. Under 'SunOS' category, only SunOS 5.x (or
Solaris 2.x) is currently enabled.
3) Changed the rest of the utilities + pppd daemon Makefile.sol2 to point
to the solaris/Makedefs instead of the one in svr4 directory.
Adi Masputra [Sat, 15 Apr 2000 01:30:53 +0000 (01:30 +0000)]
Removed '-w' cc flag, since it practically disables all warnings. This
may not be good for future development. Plus, warnings should be fixed
instead of ignored.
Paul Mackerras [Thu, 13 Apr 2000 11:59:40 +0000 (11:59 +0000)]
Changes for ppp-2.4.0 beta 1 release.
We are only including Linux, Solaris & SunOS in 2.4 unless
some maintainers start popping up out of the woodwork.
Adi Masputra [Thu, 6 Apr 2000 23:11:05 +0000 (23:11 +0000)]
Added the following:
1. Two versions of get_first_ethernet() function, one with a short
version of ifreq (before Solaris 8) and the other with a long
version of ifreq (Solaris 8 and beyond). This is needed to support
multilink.c
2. get_if_hwaddr() function, which is really a wrapper function which
calls get_hw_addr_dlpi() in order to obtain the Ethernet interface
address(es) via DLPI mechanism.
Adi Masputra [Thu, 6 Apr 2000 23:08:18 +0000 (23:08 +0000)]
Since this file needs to be included as part of the compilation, whether
or not HAVE_MULTILINK is defined, certain functions need to be wrapped
within HAVE_MULTILINK conditional preprocessor blocks. So far, everything
but the epdisc_to_str() function needs to be excluded when HAVE_MULTILINK
is not defined. This is because epdisc_to_str() seems to be called
unconditionally from within lcp.c, specifically from lcp_printpk().
Paul Mackerras [Tue, 4 Apr 2000 07:06:53 +0000 (07:06 +0000)]
Multilink support.
We now put details of each connection in a tdb database.
At present the values we put in the database are just
the same as the environment strings.
Adi Masputra [Mon, 6 Mar 2000 19:38:12 +0000 (19:38 +0000)]
The usage of intptr_t was completely a bad choice, since it's not
defined in 2.5.1 and earlier, including SunOS 4.x. A type definition
is now added (with support for LP64 as well) in order to avoid this
compilation problem across older Solaris releases.
Adi Masputra [Fri, 11 Feb 2000 03:09:19 +0000 (03:09 +0000)]
On synchronous links, typically the following options are set on the command
line: novj noccp noaccomp nopcomp. However, even so, the comp STREAMS module
was always pushed on the stream. This behavior has been changed, such that
when those options are set, the stream will be comp-less. This is not
specific to synchronous cases by the way, as it also applies on async
as well.
Adi Masputra [Tue, 25 Jan 2000 03:25:36 +0000 (03:25 +0000)]
Fixed many bugs related to synchronous links under Solaris platform. Mostly
they are due to the assumption that ppp_ahdl module is plumbed, which in
fact is not true when 'sync' option is specified.
Adi Masputra [Fri, 21 Jan 2000 01:04:56 +0000 (01:04 +0000)]
Re-wrote async HDLC encoding/decoding algorithms, mostly due to some
inconsistencies of behavior across different hardware platforms - previously
this code was generating an invalid HDLC frame (bad fcs) on Solaris x86
platform.
Adi Masputra [Fri, 19 Nov 1999 09:46:08 +0000 (09:46 +0000)]
Allow compile-time flags definitions to define the root path of config files
and also the location of /var/run. If no definitions found, then the
defaults will take place (unchanged as previously done). To change it,
define _ROOT_PATH (prefix of /etc/ppp) and _PATH_VARRUN (location of /var/run)
on the compiler options.