ppp.git
20 years agoclock32_t is clock_t (long)
Adi Masputra [Fri, 18 Feb 2000 10:00:58 +0000 (10:00 +0000)]
clock32_t is clock_t (long)

20 years agoclock32_t should be typedef'd to clock_t on OS'es which don't define
Adi Masputra [Wed, 16 Feb 2000 20:39:24 +0000 (20:39 +0000)]
clock32_t should be typedef'd to clock_t on OS'es which don't define
such type, like SunOS 5.6 and earlier.

20 years agoOn synchronous links, typically the following options are set on the command
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.

20 years agoWhen 'sync' option is present, the ppp_ahdl module isn't plumbed, so
Adi Masputra [Fri, 28 Jan 2000 01:51:19 +0000 (01:51 +0000)]
When 'sync' option is present, the ppp_ahdl module isn't plumbed, so
it wouldn't make sense to send down an ioctl belonging to it.

20 years agoFixed compilation problems on SunOS 4.x
Adi Masputra [Fri, 28 Jan 2000 01:50:14 +0000 (01:50 +0000)]
Fixed compilation problems on SunOS 4.x

20 years agoFixed many bugs related to synchronous links under Solaris platform. Mostly
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.

20 years agoAdded some sample scripts and options files for connecting PPP
Adi Masputra [Mon, 24 Jan 2000 23:05:14 +0000 (23:05 +0000)]
Added some sample scripts and options files for connecting PPP
over rsh and ssh, along with short descriptions in README

20 years agoAdded compile option that the user may enable to use the /var/run
Adi Masputra [Mon, 24 Jan 2000 20:42:18 +0000 (20:42 +0000)]
Added compile option that the user may enable to use the /var/run
facility provided by Solaris 8 and later

20 years agoRe-wrote async HDLC encoding/decoding algorithms, mostly due to some
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.

20 years agoThis is main.c from ppp-2.3.11.tar.gz distribution to fix compilation errors.
Adi Masputra [Tue, 18 Jan 2000 19:49:52 +0000 (19:49 +0000)]
This is main.c from ppp-2.3.11.tar.gz distribution to fix compilation errors.

20 years agoupdate for 2.3.11
Paul Mackerras [Thu, 23 Dec 1999 01:48:45 +0000 (01:48 +0000)]
update for 2.3.11

20 years agoupdate for 2.3.11
Paul Mackerras [Thu, 23 Dec 1999 01:41:08 +0000 (01:41 +0000)]
update for 2.3.11

20 years agoupdate from Sowmini
Paul Mackerras [Thu, 23 Dec 1999 01:40:51 +0000 (01:40 +0000)]
update from Sowmini

20 years agoupdate from debian maintainer
Paul Mackerras [Thu, 23 Dec 1999 01:39:54 +0000 (01:39 +0000)]
update from debian maintainer

20 years agocope with EAGAIN return from poll
Paul Mackerras [Thu, 23 Dec 1999 01:38:19 +0000 (01:38 +0000)]
cope with EAGAIN return from poll

20 years agoupdate from Sowmini
Paul Mackerras [Thu, 23 Dec 1999 01:35:28 +0000 (01:35 +0000)]
update from Sowmini

20 years agocope with /proc not being in mtab
Paul Mackerras [Thu, 23 Dec 1999 01:35:13 +0000 (01:35 +0000)]
cope with /proc not being in mtab
get packets from tty as well as /dev/ppp if new_style_driver

20 years ago[dis]connector -> [dis]connect_script
Paul Mackerras [Thu, 23 Dec 1999 01:29:42 +0000 (01:29 +0000)]
[dis]connector -> [dis]connect_script
connect_delay option
callback infrastructure

20 years agoconnect_delay option
Paul Mackerras [Thu, 23 Dec 1999 01:29:11 +0000 (01:29 +0000)]
connect_delay option

20 years ago[dis]connector -> [dis]connect_script
Paul Mackerras [Thu, 23 Dec 1999 01:28:52 +0000 (01:28 +0000)]
[dis]connector -> [dis]connect_script
add connect_delay

20 years agoinfrastructure for callback
Paul Mackerras [Thu, 23 Dec 1999 01:28:27 +0000 (01:28 +0000)]
infrastructure for callback
add list of protocol names
connect_delay option

20 years agoremove warnings
Paul Mackerras [Thu, 23 Dec 1999 01:27:28 +0000 (01:27 +0000)]
remove warnings
ask for chap microsoft

20 years agoadd ip_{up,down}_hook
Paul Mackerras [Thu, 23 Dec 1999 01:25:33 +0000 (01:25 +0000)]
add ip_{up,down}_hook

20 years agoadd pap_logout_hook
Paul Mackerras [Thu, 23 Dec 1999 01:25:13 +0000 (01:25 +0000)]
add pap_logout_hook

20 years agoupdate from debian maintainer
Paul Mackerras [Thu, 23 Dec 1999 01:23:07 +0000 (01:23 +0000)]
update from debian maintainer

20 years agomake hide_password the default
Paul Mackerras [Sat, 20 Nov 1999 05:11:47 +0000 (05:11 +0000)]
make hide_password the default

20 years agodefault to noauth if privileged
Paul Mackerras [Sat, 20 Nov 1999 05:11:01 +0000 (05:11 +0000)]
default to noauth if privileged
improve error messages if no secrets
free wordlists for allowed IP-addresses

20 years agoAllow compile-time flags definitions to define the root path of config files
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.

20 years agosync ppp update for new driver
Paul Mackerras [Wed, 17 Nov 1999 03:51:14 +0000 (03:51 +0000)]
sync ppp update for new driver

20 years agofix typo
Paul Mackerras [Wed, 17 Nov 1999 03:50:57 +0000 (03:50 +0000)]
fix typo

20 years agomention /etc/ppp/resolv.conf
Paul Mackerras [Wed, 17 Nov 1999 03:49:56 +0000 (03:49 +0000)]
mention /etc/ppp/resolv.conf

20 years agoadd passprompt plugin
Paul Mackerras [Wed, 17 Nov 1999 03:49:28 +0000 (03:49 +0000)]
add passprompt plugin

20 years agocreate log file safely, don't create world-writable files
Paul Mackerras [Mon, 15 Nov 1999 03:55:37 +0000 (03:55 +0000)]
create log file safely, don't create world-writable files

20 years agomention modules.conf as well as conf.modules
Paul Mackerras [Mon, 15 Nov 1999 01:56:58 +0000 (01:56 +0000)]
mention modules.conf as well as conf.modules

20 years agounspace
Paul Mackerras [Mon, 15 Nov 1999 01:56:26 +0000 (01:56 +0000)]
unspace

20 years agoget rid of a few compile warnings
Paul Mackerras [Mon, 15 Nov 1999 01:51:54 +0000 (01:51 +0000)]
get rid of a few compile warnings

20 years agodon't try to open /dev/ppp unless the kernel is >= 2.3.13
Paul Mackerras [Mon, 15 Nov 1999 01:50:49 +0000 (01:50 +0000)]
don't try to open /dev/ppp unless the kernel is >= 2.3.13

20 years agotrim the challenge length a bit
Paul Mackerras [Mon, 15 Nov 1999 01:44:41 +0000 (01:44 +0000)]
trim the challenge length a bit

20 years agoFixed bug related to mux_dev_name being used before initialized, causing
Adi Masputra [Sat, 13 Nov 1999 19:19:17 +0000 (19:19 +0000)]
Fixed bug related to mux_dev_name being used before initialized, causing
core dump on Solaris 2.6 and earlier.

20 years agoAdded additional high baud rates for newer serial ports on Sun Sparc machines.
Adi Masputra [Fri, 29 Oct 1999 00:30:26 +0000 (00:30 +0000)]
Added additional high baud rates for newer serial ports on Sun Sparc machines.

20 years agoAdded comments for dynamic STREAMS support, along with additions to the
Adi Masputra [Fri, 8 Oct 1999 01:11:04 +0000 (01:11 +0000)]
Added comments for dynamic STREAMS support, along with additions to the
existing snoop and ipv6 comments

20 years agoTook <netinet/in.h> out of PRIOQ block because we need htons defined when
Adi Masputra [Fri, 8 Oct 1999 01:10:12 +0000 (01:10 +0000)]
Took <netinet/in.h> out of PRIOQ block because we need htons defined when
not compiling with PRIOQ

20 years agoAdded support for dynamic STREAMS re-plumbing in Solaris
Adi Masputra [Fri, 8 Oct 1999 01:09:03 +0000 (01:09 +0000)]
Added support for dynamic STREAMS re-plumbing in Solaris

20 years agoPreviously, the calls to execute up/down scripts were commented out for Solaris,
Adi Masputra [Fri, 8 Oct 1999 01:08:18 +0000 (01:08 +0000)]
Previously, the calls to execute up/down scripts were commented out for Solaris,
and now they are enabled

20 years agoAdded snoop support comments
Adi Masputra [Wed, 6 Oct 1999 23:08:44 +0000 (23:08 +0000)]
Added snoop support comments

20 years agoSnoop now works with ppp
Adi Masputra [Wed, 6 Oct 1999 23:00:43 +0000 (23:00 +0000)]
Snoop now works with ppp

20 years agoAdded plumbing code (plus interface configuration) for IPv6.
Adi Masputra [Thu, 30 Sep 1999 19:59:06 +0000 (19:59 +0000)]
Added plumbing code (plus interface configuration) for IPv6.

20 years agoDocument the ipv6cp-use-persistent option
Adi Masputra [Thu, 30 Sep 1999 19:58:21 +0000 (19:58 +0000)]
Document the ipv6cp-use-persistent option

20 years agoAdded ipv6cp-use-persistent option for obtaining a unique, persistent
Adi Masputra [Thu, 30 Sep 1999 19:57:45 +0000 (19:57 +0000)]
Added ipv6cp-use-persistent option for obtaining a unique, persistent
EUI-64 derived from the Ethernet MAC address (for now).

20 years agoAdded Solaris-specific variables
Adi Masputra [Thu, 30 Sep 1999 19:56:37 +0000 (19:56 +0000)]
Added Solaris-specific variables

20 years agoAdded IPv6 compilation flag and object files - these things are disabled
Adi Masputra [Thu, 30 Sep 1999 19:55:52 +0000 (19:55 +0000)]
Added IPv6 compilation flag and object files - these things are disabled
by default.

20 years agoAdded IPv6 support so that IPv4 and IPv6 packets can be mux'ed correctly
Adi Masputra [Thu, 30 Sep 1999 19:54:44 +0000 (19:54 +0000)]
Added IPv6 support so that IPv4 and IPv6 packets can be mux'ed correctly
on their respective streams based on the sap that IP gives during plumbing.

20 years agoAdded notes on IPv6 over PPP on Solaris
Adi Masputra [Thu, 30 Sep 1999 19:52:59 +0000 (19:52 +0000)]
Added notes on IPv6 over PPP on Solaris

20 years agoClean up the rest of objects during make clean.
Adi Masputra [Wed, 22 Sep 1999 23:57:57 +0000 (23:57 +0000)]
Clean up the rest of objects during make clean.

20 years agoSome people with older machine architectures have complained about not
Adi Masputra [Wed, 22 Sep 1999 18:40:53 +0000 (18:40 +0000)]
Some people with older machine architectures have complained about not
needing the 64-bit support, so now the decision is based on the
architecture, not machine.

20 years agoA couple of fixes:
Adi Masputra [Tue, 21 Sep 1999 20:37:20 +0000 (20:37 +0000)]
A couple of fixes:
a) 64-bit compilation flags were insufficient. Additional ones were added
   so that the generated binaries are correct (64-bit relocation issues).
b) Cleaned up some lint flags.

20 years agoPreviously, 64-bit compilation was dependent upon the version of the OS,
Adi Masputra [Tue, 21 Sep 1999 20:35:18 +0000 (20:35 +0000)]
Previously, 64-bit compilation was dependent upon the version of the OS,
e.g., Solaris 7 and above. This certainly will not work on machines
other than Sparc, i.e., x86. Therefore, until Merced (IA-64) is supported,
64-bit compilation will only be done on Sparc-based machines.

20 years agomention pppd/plugins example directory
Paul Mackerras [Fri, 17 Sep 1999 06:02:45 +0000 (06:02 +0000)]
mention pppd/plugins example directory

20 years agoneed the os variable when NO_DLPI is defined
Paul Mackerras [Fri, 17 Sep 1999 05:59:00 +0000 (05:59 +0000)]
need the os variable when NO_DLPI is defined

20 years agofix shell if statement (bombed when lp64="")
Paul Mackerras [Fri, 17 Sep 1999 05:30:57 +0000 (05:30 +0000)]
fix shell if statement (bombed when lp64="")

20 years agoupdate for 2.3.10
Paul Mackerras [Fri, 17 Sep 1999 05:21:01 +0000 (05:21 +0000)]
update for 2.3.10

20 years agoadd extra semicolon at end of case clause
Paul Mackerras [Fri, 17 Sep 1999 04:20:10 +0000 (04:20 +0000)]
add extra semicolon at end of case clause

20 years agorename Makefile to Makefile.linux, now we have Makefile.sol2
Paul Mackerras [Fri, 17 Sep 1999 04:19:34 +0000 (04:19 +0000)]
rename Makefile to Makefile.linux, now we have Makefile.sol2

20 years agoAdded plugins support for Solaris
Adi Masputra [Thu, 16 Sep 1999 01:17:00 +0000 (01:17 +0000)]
Added plugins support for Solaris

20 years agoAdded extra lint exceptions so that files like bsd-comp.c and vjcompress.c
Adi Masputra [Wed, 15 Sep 1999 23:51:56 +0000 (23:51 +0000)]
Added extra lint exceptions so that files like bsd-comp.c and vjcompress.c
don't get too noisy.

20 years agoCleaned up major lint warnings.
Adi Masputra [Wed, 15 Sep 1999 23:49:06 +0000 (23:49 +0000)]
Cleaned up major lint warnings.

20 years agoForgot to remote *.ln files (made by lint) when doing make clean.
Adi Masputra [Wed, 15 Sep 1999 22:21:57 +0000 (22:21 +0000)]
Forgot to remote *.ln files (made by lint) when doing make clean.

20 years agoCleaned up Makefiles, and added lint target for both 32- and 64-bits.
Adi Masputra [Wed, 15 Sep 1999 22:10:16 +0000 (22:10 +0000)]
Cleaned up Makefiles, and added lint target for both 32- and 64-bits.

20 years agoAdded comments for 64-bit environment.
Adi Masputra [Mon, 13 Sep 1999 21:33:18 +0000 (21:33 +0000)]
Added comments for 64-bit environment.

20 years agoModifed configure to point to 64-bit Makefile extension for Sol 7 and later
Adi Masputra [Mon, 13 Sep 1999 20:57:54 +0000 (20:57 +0000)]
Modifed configure to point to 64-bit Makefile extension for Sol 7 and later
Added sparcv9 subdirectory into svr4/.cvsignore
Cleaned up svr4/Makefile.sol2
Added svr4/Makefile.sol2-64

20 years agoadd an example plugin
Paul Mackerras [Sat, 11 Sep 1999 12:13:11 +0000 (12:13 +0000)]
add an example plugin

20 years agoadd these examples
Paul Mackerras [Sat, 11 Sep 1999 12:11:46 +0000 (12:11 +0000)]
add these examples

20 years agoupdate version numbers
Paul Mackerras [Sat, 11 Sep 1999 12:09:31 +0000 (12:09 +0000)]
update version numbers
add description of plugin interface

20 years agoAdd plugin support plus an initial selection of hooks.
Paul Mackerras [Sat, 11 Sep 1999 12:09:00 +0000 (12:09 +0000)]
Add plugin support plus an initial selection of hooks.
Add the allow-ip option as a better way of specifying what
IP addresses an unauthenticated peer may use.
Translate unprintable chars in PAP user/password into visible form.
Clean up the processing of extra options in the secrets files.
Add ktune/noktune options to enable/disable changing kernel settings.

20 years agoturn on IPV6 if you give the ipv6 option
Paul Mackerras [Sat, 11 Sep 1999 12:04:22 +0000 (12:04 +0000)]
turn on IPV6 if you give the ipv6 option

20 years agoComments on 64-bitness and IPv6 on Sol 8
Adi Masputra [Wed, 8 Sep 1999 01:28:28 +0000 (01:28 +0000)]
Comments on 64-bitness and IPv6 on Sol 8

20 years agoChanged #if __STDC__ to #if defined(__STDC__)
Adi Masputra [Wed, 8 Sep 1999 01:13:46 +0000 (01:13 +0000)]
Changed #if __STDC__ to #if defined(__STDC__)

20 years agoAdd IF_UNITSEL ioctl to set ppa since driver is DLPI style 2. Solaris 8 is
Adi Masputra [Wed, 8 Sep 1999 01:11:16 +0000 (01:11 +0000)]
Add IF_UNITSEL ioctl to set ppa since driver is DLPI style 2. Solaris 8 is
very picky about this.

20 years agoadd -E option to use environment variables, from Andreas Arens
Paul Mackerras [Mon, 6 Sep 1999 05:10:23 +0000 (05:10 +0000)]
add -E option to use environment variables, from Andreas Arens

20 years agoIPV6 update from Tommi Komulainen
Paul Mackerras [Wed, 25 Aug 1999 04:15:52 +0000 (04:15 +0000)]
IPV6 update from Tommi Komulainen

20 years agofix buglet
Paul Mackerras [Tue, 24 Aug 1999 05:59:15 +0000 (05:59 +0000)]
fix buglet

20 years agoadd -a option to print absolute times (instead of relative)
Paul Mackerras [Tue, 24 Aug 1999 05:32:48 +0000 (05:32 +0000)]
add -a option to print absolute times (instead of relative)

20 years agoRest of IPV6 merge which got lost somehow, plus some minor fixes.
Paul Mackerras [Tue, 24 Aug 1999 05:31:12 +0000 (05:31 +0000)]
Rest of IPV6 merge which got lost somehow, plus some minor fixes.

20 years agofix for junky peers from James Carlson
Paul Mackerras [Tue, 24 Aug 1999 05:29:26 +0000 (05:29 +0000)]
fix for junky peers from James Carlson

20 years agoChanged maintainer for Sol 2/SunOS 4.x to Adi Masputra <adi.masputra@sun.com>
Adi Masputra [Thu, 19 Aug 1999 19:26:03 +0000 (19:26 +0000)]
Changed maintainer for Sol 2/SunOS 4.x to Adi Masputra <adi.masputra@sun.com>

20 years agotypo
Michael K. Johnson [Fri, 13 Aug 1999 13:42:35 +0000 (13:42 +0000)]
typo

20 years agoFix the rcsid's for non-ansi compilers
Paul Mackerras [Fri, 13 Aug 1999 06:46:23 +0000 (06:46 +0000)]
Fix the rcsid's for non-ansi compilers

20 years agoadded files for IPV6
Paul Mackerras [Fri, 13 Aug 1999 01:58:43 +0000 (01:58 +0000)]
added files for IPV6

20 years agoupdate
Paul Mackerras [Fri, 13 Aug 1999 01:58:31 +0000 (01:58 +0000)]
update

20 years agomake /dev/ppp if necessary
Paul Mackerras [Fri, 13 Aug 1999 01:57:55 +0000 (01:57 +0000)]
make /dev/ppp if necessary

20 years agoadd linkname option
Paul Mackerras [Fri, 13 Aug 1999 01:57:37 +0000 (01:57 +0000)]
add linkname option

20 years agoadd PPP_IPV6 case
Paul Mackerras [Fri, 13 Aug 1999 01:56:03 +0000 (01:56 +0000)]
add PPP_IPV6 case

20 years agoadd PPP_IPV6CP
Paul Mackerras [Fri, 13 Aug 1999 01:55:40 +0000 (01:55 +0000)]
add PPP_IPV6CP

20 years agoup to 2.3.9 now
Paul Mackerras [Fri, 13 Aug 1999 01:55:21 +0000 (01:55 +0000)]
up to 2.3.9 now

20 years agofix problem with REPORTing last line
Paul Mackerras [Fri, 13 Aug 1999 01:54:32 +0000 (01:54 +0000)]
fix problem with REPORTing last line

20 years agoupdate for 2.3.9 final
Paul Mackerras [Fri, 13 Aug 1999 01:54:02 +0000 (01:54 +0000)]
update for 2.3.9 final

20 years agotypo
Paul Mackerras [Thu, 12 Aug 1999 04:26:43 +0000 (04:26 +0000)]
typo

20 years agokill warning
Paul Mackerras [Thu, 12 Aug 1999 04:25:57 +0000 (04:25 +0000)]
kill warning

20 years agouse $(INSTALL) not install
Paul Mackerras [Thu, 12 Aug 1999 04:25:39 +0000 (04:25 +0000)]
use $(INSTALL) not install

20 years agomake default maxfail 10
Paul Mackerras [Thu, 12 Aug 1999 04:25:10 +0000 (04:25 +0000)]
make default maxfail 10