Paul Mackerras [Thu, 8 Mar 2001 05:16:38 +0000 (05:16 +0000)]
Make the example plugins here export the version number that they
were compiled against; add an install target to put the plugins in
/usr/lib/pppd/<version>/.
Paul Mackerras [Thu, 8 Mar 2001 05:14:26 +0000 (05:14 +0000)]
Separate out the setting of the interface MTU from the setting of
lower level things like the asyncmap and proto/AC compression.
Renamed ppp_send/recv_config to tty_send/recv_config.
At this point we have a structure of channel operations and a pointer
to the currently set (the_channel) which a plugin can override if
desired.
Paul Mackerras [Thu, 8 Mar 2001 05:11:16 +0000 (05:11 +0000)]
New options system with priorities for option values, with options
grouped into groups where necessary, so the command line overrides
the per-tty options file, plus the ability to print out the set of
options currently in effect. Some options moved from lcp.c to tty.c.
Paul Mackerras [Thu, 22 Feb 2001 03:16:26 +0000 (03:16 +0000)]
Implement delayed bringup for LCP for the case where we want to
wait for a short time to hear something from the peer before sending
anything ourselves.
Paul Mackerras [Thu, 22 Feb 2001 03:15:21 +0000 (03:15 +0000)]
Rework options processing stuff to implement option priorities
so the per-tty options file gets processed correctly.
Moved stuff out of options.c into other files (e.g. setipaddr)
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.