ppp.git
13 years agoThis commit was manufactured by cvs2svn to create tag RELEASE_2_4_4
cvs2svn [Wed, 28 Jun 2006 00:21:24 +0000 (00:21 +0000)]
This commit was manufactured by cvs2svn to create tag
'RELEASE_2_4_4'.

13 years agoUpdate patchlevel date
Paul Mackerras [Wed, 28 Jun 2006 00:21:23 +0000 (00:21 +0000)]
Update patchlevel date

13 years agoRestore original EUID rather than 0 during option processing.
Paul Mackerras [Sun, 18 Jun 2006 11:26:00 +0000 (11:26 +0000)]
Restore original EUID rather than 0 during option processing.

When dropping and regaining privileges during option processing,
the seteuid to regain privileges is now the original EUID rather
than a constant zero.  This means that `pppd --version' run without
root privilege prints the version number and exits rather than
giving an "unable to regain privileges" error.

13 years agoNote pppd's behaviour regarding sending signals to its process group.
Paul Mackerras [Fri, 16 Jun 2006 00:01:23 +0000 (00:01 +0000)]
Note pppd's behaviour regarding sending signals to its process group.

13 years agoFix obvious subscript-out-of-range error.
Paul Mackerras [Thu, 15 Jun 2006 23:58:41 +0000 (23:58 +0000)]
Fix obvious subscript-out-of-range error.
Patch from Thomas Woerner via Robert Vogelgesang.

13 years agoPut back a "0" that got deleted somehow. I blame the cat. :)
Paul Mackerras [Sun, 4 Jun 2006 21:56:31 +0000 (21:56 +0000)]
Put back a "0" that got deleted somehow.  I blame the cat. :)

13 years agoCheck the result of seteuid(), just to be paranoid.
Paul Mackerras [Sun, 4 Jun 2006 07:04:57 +0000 (07:04 +0000)]
Check the result of seteuid(), just to be paranoid.

13 years agoCheck the return value of setuid, and make sure that it worked.
Paul Mackerras [Sun, 4 Jun 2006 07:02:37 +0000 (07:02 +0000)]
Check the return value of setuid, and make sure that it worked.
Fixes CVE-2006-2194.

13 years agoAdd $(INSTDIR) to installation paths in Linux makefiles.
Paul Mackerras [Sun, 4 Jun 2006 05:07:46 +0000 (05:07 +0000)]
Add $(INSTDIR) to installation paths in Linux makefiles.
Patch from Robert Vogelgesang.

This patch re-introduces the possibility for package maintainers to
install into a different filesystem tree. This is done by adding
$(INSTROOT) at various places; the package maintainers can then
issue a

        make install INSTROOT=/some/where/else

when they package pppd for their distribution.  In previous versions
of the ppp package this was possible using the variable DESTDIR, but
this variable is now used for a different purpose and cannot be
changed via additional parameters of the make command.

13 years agoFix snafu in run_program(). Patch from Robert Vogelgesang.
Paul Mackerras [Sun, 4 Jun 2006 03:52:50 +0000 (03:52 +0000)]
Fix snafu in run_program().  Patch from Robert Vogelgesang.

This patch splits out the major part of reap_kids() into a new
function, forget_child(), and calls this new function instead of
reap_kids() in run_program(), after having waitpid()'ed for a child.

Rationale:
The waitpid() at the start of reap_kids() has no chance to get the
PID of the child already waited for in run_program().
As a consequence, the PID of that child will stay in the list of all
children until the end of the pppd process, which is bad, because
pppd will then try to kill -TERM that PID (and might kill some
innocent third party at this point).

13 years agoUpdate for 2.4.4 release
Paul Mackerras [Mon, 29 May 2006 23:51:29 +0000 (23:51 +0000)]
Update for 2.4.4 release

13 years agoRemove name checks in the rp-pppoe plugin PPPoEDevnameHook function.
Paul Mackerras [Mon, 29 May 2006 23:29:16 +0000 (23:29 +0000)]
Remove name checks in the rp-pppoe plugin PPPoEDevnameHook function.
Based on a patch from Alin Nastac.  I also made the function only
set the device name and initialize the channel if `doit' is set.

13 years agoMake MANDIR directory if not present.
Paul Mackerras [Mon, 22 May 2006 00:16:57 +0000 (00:16 +0000)]
Make MANDIR directory if not present.
Patch from Robert Vogelgesang.

13 years agoThis enables plugins called via hooks/notifiers triggered
Paul Mackerras [Mon, 22 May 2006 00:04:07 +0000 (00:04 +0000)]
This enables plugins called via hooks/notifiers triggered
by the calls to lcp_close() to see the changed "status" value.
Otherwise (i. e. without this patch) the RADIUS plugin cannot set
the attribute PW_ACCT_TERMINATE_CAUSE to the appropriate values.
Patch from Robert Vogelgesang.

13 years agoThis fixes the RADIUS accounting termination cause when
Paul Mackerras [Mon, 22 May 2006 00:01:40 +0000 (00:01 +0000)]
This fixes the RADIUS accounting termination cause when
callback is negotiated via CBCP (report PW_CALLBACK instead of
the default PW_NAS_ERROR).
Patch from Robert Vogelgesang.

13 years agoPass -q option to modprobe, as suggested in PR#1373
Paul Mackerras [Sun, 21 May 2006 12:45:59 +0000 (12:45 +0000)]
Pass -q option to modprobe, as suggested in PR#1373

13 years agoFix bug reported in PR#1302 - doing strtol on "E=..."
Paul Mackerras [Sun, 21 May 2006 11:56:40 +0000 (11:56 +0000)]
Fix bug reported in PR#1302 - doing strtol on "E=..."
Thanks to Daniel Weller for the patch.

13 years agoFix segfault when secret is exactly 32 bytes long.
Paul Mackerras [Sun, 21 May 2006 07:23:15 +0000 (07:23 +0000)]
Fix segfault when secret is exactly 32 bytes long.
Also fixed a potential problem with secrets longer than 64
bytes, and fixed some signed/unsigned warnings in chap_ms.c.

13 years agoAvoid bus errors from unaligned input to SHA1Update
Paul Mackerras [Sun, 21 May 2006 07:21:28 +0000 (07:21 +0000)]
Avoid bus errors from unaligned input to SHA1Update

14 years agoDon't mention radius twice in SUBDIRS
Paul Mackerras [Sun, 28 Aug 2005 23:11:50 +0000 (23:11 +0000)]
Don't mention radius twice in SUBDIRS

14 years agoUp-date.
Paul Mackerras [Sun, 28 Aug 2005 07:10:06 +0000 (07:10 +0000)]
Up-date.

14 years agoDefine DESTDIR when compiling under Solaris.
Paul Mackerras [Sun, 28 Aug 2005 06:49:12 +0000 (06:49 +0000)]
Define DESTDIR when compiling under Solaris.

14 years agoCreate the default route as a device route rather than a gateway route.
Paul Mackerras [Sun, 28 Aug 2005 05:23:26 +0000 (05:23 +0000)]
Create the default route as a device route rather than a gateway route.

14 years agoMake sure we call the channel's cleanup function.
Paul Mackerras [Sun, 28 Aug 2005 05:22:48 +0000 (05:22 +0000)]
Make sure we call the channel's cleanup function.
Without this we don't end up closing the pty slave.

14 years agoDescribe the nolock option in the man page.
Paul Mackerras [Sun, 28 Aug 2005 05:21:24 +0000 (05:21 +0000)]
Describe the nolock option in the man page.

14 years agoupdate for 2.4.4
Paul Mackerras [Fri, 26 Aug 2005 12:56:53 +0000 (12:56 +0000)]
update for 2.4.4

14 years agoDescribe the /etc/ppp/ip-pre-up script.
Paul Mackerras [Fri, 26 Aug 2005 00:06:35 +0000 (00:06 +0000)]
Describe the /etc/ppp/ip-pre-up script.

14 years agoAdded an /etc/ppp/ip-pre-up script, run before the interface
Paul Mackerras [Thu, 25 Aug 2005 23:59:34 +0000 (23:59 +0000)]
Added an /etc/ppp/ip-pre-up script, run before the interface
is brought up.  This necessitated adding a "wait" parameter to
run_program, since we need to wait for this script to finish
before proceeding.

14 years agoSet the outbound indicator on candidate dial-on-demand packets.
Paul Mackerras [Thu, 25 Aug 2005 12:14:18 +0000 (12:14 +0000)]
Set the outbound indicator on candidate dial-on-demand packets.
Bug pointed out by Alin Nastac.

14 years agoSome minor clarifications and amendments.
Paul Mackerras [Thu, 25 Aug 2005 12:10:18 +0000 (12:10 +0000)]
Some minor clarifications and amendments.

14 years agoDon't override the user's choice of mtu/mru < 1492,
Paul Mackerras [Thu, 25 Aug 2005 10:51:27 +0000 (10:51 +0000)]
Don't override the user's choice of mtu/mru < 1492,
and don't warn about the fact that pppoe can't do mru=1500.

14 years agoChange DLT_PPP_WITHDIRECTION to DLT_PPP_PPPD since that seems
Paul Mackerras [Wed, 13 Jul 2005 12:31:36 +0000 (12:31 +0000)]
Change DLT_PPP_WITHDIRECTION to DLT_PPP_PPPD since that seems
to be what libpcap has finally settled on.

14 years agoLog a message when we succeed or fail in authenticating ourselves
Paul Mackerras [Wed, 13 Jul 2005 10:41:58 +0000 (10:41 +0000)]
Log a message when we succeed or fail in authenticating ourselves
to the peer.  The message in the success case is printed in
auth_withpeer_success, but the message in the failure case is
printed by the caller of auth_withpeer_fail (since there are
many possible reasons for failure).

14 years agoUpdate with info about chap_verify_hook, which has replaced
Paul Mackerras [Tue, 12 Jul 2005 08:56:07 +0000 (08:56 +0000)]
Update with info about chap_verify_hook, which has replaced
chap_auth_hook.

14 years agoUpdate to 2.4.4b1
Paul Mackerras [Tue, 12 Jul 2005 07:45:15 +0000 (07:45 +0000)]
Update to 2.4.4b1

14 years agoClean up base64_encode a bit more.
Paul Mackerras [Tue, 12 Jul 2005 07:44:47 +0000 (07:44 +0000)]
Clean up base64_encode a bit more.

14 years agoAssume that we have libcrypt if we have /usr/include/crypt.h.
Paul Mackerras [Tue, 12 Jul 2005 01:50:23 +0000 (01:50 +0000)]
Assume that we have libcrypt if we have /usr/include/crypt.h.
This should fix linking on 64-bit architectures.

14 years agoStop the charshunt process after running the disconnector,
Paul Mackerras [Tue, 12 Jul 2005 01:09:05 +0000 (01:09 +0000)]
Stop the charshunt process after running the disconnector,
rather than immediately a signal is received.  With this change
we can send a SIGHUP to pppd and actually have it do the
LCP TermReq/TermAck exchange.

14 years agoBring up the link on an explicit call from main() rather than
Paul Mackerras [Tue, 12 Jul 2005 01:07:59 +0000 (01:07 +0000)]
Bring up the link on an explicit call from main() rather than
doing it in link_required().  With the old way, it was restarting
the link in the middle of link_terminated().

14 years agoAdd a bit more space to the output buffer for base64 encoding,
Paul Mackerras [Sun, 10 Jul 2005 11:43:25 +0000 (11:43 +0000)]
Add a bit more space to the output buffer for base64 encoding,
to prevent 4-character usernames getting truncated.

14 years agoGet the plugins from the right directory when DESTDIR isn't /usr.
Paul Mackerras [Sun, 10 Jul 2005 11:19:10 +0000 (11:19 +0000)]
Get the plugins from the right directory when DESTDIR isn't /usr.

14 years agoReturn the message from the radius server to the peer.
Paul Mackerras [Sun, 10 Jul 2005 10:28:55 +0000 (10:28 +0000)]
Return the message from the radius server to the peer.

14 years agoFix the rechallenge behaviour. Previously, once it sent a rechallenge,
Paul Mackerras [Sun, 10 Jul 2005 07:31:26 +0000 (07:31 +0000)]
Fix the rechallenge behaviour.  Previously, once it sent a rechallenge,
it would ignore the response (except to send a reply with a bogus
message) and retransmit the rechallenge every 3 seconds until it
eventually timed out and took down the link.

14 years agoDon't set the interface MTU in PPPOESendConfig, in fact get rid of
Paul Mackerras [Sat, 9 Jul 2005 09:12:48 +0000 (09:12 +0000)]
Don't set the interface MTU in PPPOESendConfig, in fact get rid of
it altogether, and instead set the wanted MRU and allowed MTU to
1492 before starting negotiation.

14 years agoClear the wtmp entry in plogout whether or not USE_PAM is defined,
Paul Mackerras [Sat, 9 Jul 2005 05:49:44 +0000 (05:49 +0000)]
Clear the wtmp entry in plogout whether or not USE_PAM is defined,
for symmetry with plogin, which creates it whether or not USE_PAM
is defined.

14 years agoFix the return value from setpassfilter and setactivefilter - it
Paul Mackerras [Sat, 9 Jul 2005 04:58:36 +0000 (04:58 +0000)]
Fix the return value from setpassfilter and setactivefilter - it
should be 1 if the value was OK or 0 if it wasn't.

14 years agoFixed kernel memory leaks reported by Jin Jiang along with some
James Carlson [Mon, 27 Jun 2005 00:59:57 +0000 (00:59 +0000)]
Fixed kernel memory leaks reported by Jin Jiang along with some
readability and commenting problems that led to the leaks.

14 years agoAdded support for x64 (AMD Opteron/Athlon and Intel EM64T) on Solaris
James Carlson [Sun, 26 Jun 2005 23:53:17 +0000 (23:53 +0000)]
Added support for x64 (AMD Opteron/Athlon and Intel EM64T) on Solaris
using Sun WorkShop or gcc.

14 years agoFixed configure breakage in $archvariant support for Solaris
James Carlson [Sun, 26 Jun 2005 19:34:41 +0000 (19:34 +0000)]
Fixed configure breakage in $archvariant support for Solaris
introduced by fix in RCS ID 1.33 -- failed to configure for WorkShop C
compiler correctly because test was changed from -f (file exists) to
"$archvariant" (variable is non-null).

Fixed ccp.c compilation warnings due to missing argument type in RCS
ID 1.48 fix.

14 years agoFix for Sun CR 6257917: the right prefix length for an interface token
James Carlson [Wed, 4 May 2005 21:31:20 +0000 (21:31 +0000)]
Fix for Sun CR 6257917: the right prefix length for an interface token
is 64 bits, not 10.  (10 came from the prefix length of a link-layer
address, but it's not actually used by SIOCSLIFADDR, so it wasn't right
in any case.)

14 years agoMake the description of the call option more verbose, and
Paul Mackerras [Tue, 22 Mar 2005 10:48:37 +0000 (10:48 +0000)]
Make the description of the call option more verbose, and
allegedly clearer.  From Marco D'Itri.

14 years agoFrom Marco D'Itri: fix for an earlier patch from him.
Paul Mackerras [Tue, 22 Mar 2005 10:27:07 +0000 (10:27 +0000)]
From Marco D'Itri: fix for an earlier patch from him.

14 years agoFrom Marco D'Itri.
Paul Mackerras [Tue, 22 Mar 2005 10:22:32 +0000 (10:22 +0000)]
From Marco D'Itri.

Apparently some French ISPs really send PADO packets from
multicast MAC addresses. :-(

14 years agoFrom Marco D'Itri.
Paul Mackerras [Tue, 22 Mar 2005 09:53:53 +0000 (09:53 +0000)]
From Marco D'Itri.

This is a fix for #294232.

If pppd recognized the peer not to ask for encryption in
his initial offer, it refused any further negotiation.

This change tells the peer using a ConfNak what
encryption options we're able to accept.
This makes the peer send a new ConfReq, usually with
one of the options we're able to accept.

14 years agoDo an lcp_close whenever the link terminates, not just if it
Paul Mackerras [Mon, 21 Mar 2005 09:20:16 +0000 (09:20 +0000)]
Do an lcp_close whenever the link terminates, not just if it
terminates because of an error.  This is needed for persist
to work properly.

14 years agoCall lcp_close(0) in link_required if the channel connect or
Paul Mackerras [Fri, 31 Dec 2004 11:58:56 +0000 (11:58 +0000)]
Call lcp_close(0) in link_required if the channel connect or
establish_ppp functions fail.  It's a bit grotty but it is needed
to get lcp back into closed state so that a future lcp_open will
do what it should.

14 years agoDon't close pty_slave and real_ttyfd in connect_tty if an error
Paul Mackerras [Fri, 31 Dec 2004 11:49:22 +0000 (11:49 +0000)]
Don't close pty_slave and real_ttyfd in connect_tty if an error
occurs; link_required calls cleanup_tty if connect_tty returns
an error, and that does the closing.  Doing the closes in connect_tty
meant that the disconnector couldn't run and the tty mode couldn't
be restored.

14 years agoDLT_PPP_WITH_DIRECTION should be DLT_PPP_WITHDIRECTION.
Paul Mackerras [Fri, 31 Dec 2004 06:19:27 +0000 (06:19 +0000)]
DLT_PPP_WITH_DIRECTION should be DLT_PPP_WITHDIRECTION.
Thanks to Stefan Petersen for pointing this out.

14 years agoGet rid of the MS_ChapResponse and MS_Chap2Response structures.
Paul Mackerras [Mon, 15 Nov 2004 22:13:26 +0000 (22:13 +0000)]
Get rid of the MS_ChapResponse and MS_Chap2Response structures.
Using a struct to represent an on-the-wire format is basically
broken, since the compiler can add padding between members or
assume alignment for the struct.  Instead we just use arrays
of unsigned char and define offsets in the arrays for the various
fields.

14 years agoCut down on spam from Solaris ppp kernel bits: unknown DLPI primitives
James Carlson [Mon, 15 Nov 2004 00:57:54 +0000 (00:57 +0000)]
Cut down on spam from Solaris ppp kernel bits: unknown DLPI primitives
(as encountered on Solaris 10) aren't errors, and need to flush out any
queued up (undecoded) data on the read side after pushing ppp_ahdlc.

14 years agoAdded log messages for LCP Identification, Time-Remaining, and other
James Carlson [Sun, 14 Nov 2004 22:53:42 +0000 (22:53 +0000)]
Added log messages for LCP Identification, Time-Remaining, and other
more obscure protocols.

14 years agoUse the ipparam value as the PW_CALLING_STATION_ID value
Paul Mackerras [Sun, 14 Nov 2004 10:27:57 +0000 (10:27 +0000)]
Use the ipparam value as the PW_CALLING_STATION_ID value
if no value has been set for remote_number.

14 years agoAdd radius to the list of plugins to be compiled by default
Paul Mackerras [Sun, 14 Nov 2004 07:58:58 +0000 (07:58 +0000)]
Add radius to the list of plugins to be compiled by default

14 years agomake sure plugins get installed in the right place
Paul Mackerras [Sun, 14 Nov 2004 07:58:37 +0000 (07:58 +0000)]
make sure plugins get installed in the right place

14 years agoMake sure we install plugins in the right place
Paul Mackerras [Sun, 14 Nov 2004 07:33:45 +0000 (07:33 +0000)]
Make sure we install plugins in the right place

14 years agoSimplified and cleaned up the radiusclient implementation, and
Paul Mackerras [Sun, 14 Nov 2004 07:26:26 +0000 (07:26 +0000)]
Simplified and cleaned up the radiusclient implementation, and
made it use pppd facilities where relevant.  All the bits of
radiusclient that we actually need are now in the plugins/radius
directory.

14 years agoAdd these files, used with TDB.
Paul Mackerras [Sat, 13 Nov 2004 12:34:20 +0000 (12:34 +0000)]
Add these files, used with TDB.

14 years agoApparently the IBM patent on LZW is still pending.
Paul Mackerras [Sat, 13 Nov 2004 12:25:54 +0000 (12:25 +0000)]
Apparently the IBM patent on LZW is still pending.

14 years agoCorrectly escape or unescape hypens in the man pages.
Paul Mackerras [Sat, 13 Nov 2004 12:22:49 +0000 (12:22 +0000)]
Correctly escape or unescape hypens in the man pages.
Without this patch "-" is rendered as the endash in unicode
consoles and then bad things happen.  From Marco d'Itri.

14 years agoAdd pppoe-discovery program, from Marco D'Itri
Paul Mackerras [Sat, 13 Nov 2004 12:14:59 +0000 (12:14 +0000)]
Add pppoe-discovery program, from Marco D'Itri

14 years agoUpdate
Paul Mackerras [Sat, 13 Nov 2004 12:08:01 +0000 (12:08 +0000)]
Update

14 years agoExit with an error if both demand and notty are given.
Paul Mackerras [Sat, 13 Nov 2004 12:07:29 +0000 (12:07 +0000)]
Exit with an error if both demand and notty are given.
Don't require a connect script with demand if we are using
the pty or socket options.
Enforce the connect_delay if we are using the socket option.

14 years agoMake SIGHUP just take down the link now, not the bundle.
Paul Mackerras [Sat, 13 Nov 2004 12:05:48 +0000 (12:05 +0000)]
Make SIGHUP just take down the link now, not the bundle.
Be a bit more careful about quitting when we get a SIGTERM
or SIGINT.

14 years agoUpdate for the recent multilink fixes
Paul Mackerras [Sat, 13 Nov 2004 12:04:02 +0000 (12:04 +0000)]
Update for the recent multilink fixes

14 years agoTerminate IPCP if the peer refuses to agree to our IP address.
Paul Mackerras [Sat, 13 Nov 2004 12:03:26 +0000 (12:03 +0000)]
Terminate IPCP if the peer refuses to agree to our IP address.

14 years agoNew version of TDB code, borrowed from samba.
Paul Mackerras [Sat, 13 Nov 2004 12:02:22 +0000 (12:02 +0000)]
New version of TDB code, borrowed from samba.

14 years agoMention multilink and TDB updates
Paul Mackerras [Sat, 13 Nov 2004 12:00:38 +0000 (12:00 +0000)]
Mention multilink and TDB updates

14 years agoAdd a 'treat as reject' parameter to the nakci functions.
Paul Mackerras [Sat, 13 Nov 2004 02:28:15 +0000 (02:28 +0000)]
Add a 'treat as reject' parameter to the nakci functions.
Use it to make sure we don't keep requesting the same IP
address over and over when it keeps getting nacked.

14 years agoDon't allow the client to ask for callback, since we don't
Paul Mackerras [Fri, 12 Nov 2004 11:42:46 +0000 (11:42 +0000)]
Don't allow the client to ask for callback, since we don't
support it.

14 years agoCreate link pid file (from the linkname option value) straight
Paul Mackerras [Fri, 12 Nov 2004 11:21:41 +0000 (11:21 +0000)]
Create link pid file (from the linkname option value) straight
away when starting pppd.  Suggested by Shun-ichi TAHARA.

14 years agoMultilink improvements. This involved moving some logic from the
Paul Mackerras [Fri, 12 Nov 2004 10:30:51 +0000 (10:30 +0000)]
Multilink improvements.  This involved moving some logic from the
main loop in main.c into link_required() and link_terminated() in
auth.c and adding code to multilink.c.  We now make a tdb entry
with the list of pppd pids for all the links in the bundle, and the
master pppd uses this to send a SIGHUP to each one when the bundle
is terminated.

We still have one pppd controlling both the bundle and the first link,
but when that link goes down, assuming that other links still exist,
the first link's pppd will clean up after that link but then stay
running until all the links have disconnected.  So it is possible to
lose the first link without losing the bundle.

This requires a small kernel patch which I will be sending to the
kernel maintainers shortly.

14 years agosquish a compile warning
Paul Mackerras [Fri, 12 Nov 2004 09:57:43 +0000 (09:57 +0000)]
squish a compile warning

14 years agoWhen using the notty option, close off stdin and stdout once the
Paul Mackerras [Fri, 12 Nov 2004 09:51:23 +0000 (09:51 +0000)]
When using the notty option, close off stdin and stdout once the
charshunt has been started.  Also close off stderr unless it is the
log_to_fd.

14 years agoCope with /proc/net/ipx/interface as well as /proc/net/ipx_interface.
Paul Mackerras [Tue, 9 Nov 2004 22:50:18 +0000 (22:50 +0000)]
Cope with /proc/net/ipx/interface as well as /proc/net/ipx_interface.
Added a couple of unrelated comments as well.

14 years agoAdd __attribute__((__packed__)) to the MS-CHAP response structures
Paul Mackerras [Tue, 9 Nov 2004 22:49:05 +0000 (22:49 +0000)]
Add __attribute__((__packed__)) to the MS-CHAP response structures
since they may be unaligned and may not be padded.

14 years agoAdd an underscore to the MD5 routine names so they can more
Paul Mackerras [Tue, 9 Nov 2004 22:39:25 +0000 (22:39 +0000)]
Add an underscore to the MD5 routine names so they can more
easily be replaced by the openssl versions.

14 years agoMove sys_init call after we have occupied fds 0, 1, 2.
Paul Mackerras [Tue, 9 Nov 2004 22:35:02 +0000 (22:35 +0000)]
Move sys_init call after we have occupied fds 0, 1, 2.

14 years agoArrange for holdoff_specified to be set if the holdoff option
Paul Mackerras [Tue, 9 Nov 2004 22:33:35 +0000 (22:33 +0000)]
Arrange for holdoff_specified to be set if the holdoff option
is used; make child-timeout option use OPT_PRIO.

14 years agoCorrect my email address.
Paul Mackerras [Mon, 8 Nov 2004 11:50:00 +0000 (11:50 +0000)]
Correct my email address.

14 years agoFix an infinite negotiation loop where we would respond to a
Paul Mackerras [Mon, 8 Nov 2004 11:45:59 +0000 (11:45 +0000)]
Fix an infinite negotiation loop where we would respond to a
configure-reject for the IPCP Addresses option with another
IPCP configure-request containing the Addresses option.

14 years agoNew pppoatm plugin, sent in by David Woodhouse.
Paul Mackerras [Sat, 6 Nov 2004 11:36:54 +0000 (11:36 +0000)]
New pppoatm plugin, sent in by David Woodhouse.

14 years agoMention winbind plugin
Paul Mackerras [Sat, 6 Nov 2004 05:59:42 +0000 (05:59 +0000)]
Mention winbind plugin

14 years agoRun ntlm_auth as the user that invoked pppd.
Paul Mackerras [Sat, 6 Nov 2004 05:44:55 +0000 (05:44 +0000)]
Run ntlm_auth as the user that invoked pppd.
Make the ntlm_auth-helper option privileged.
Use safe_fork to manage fds over the fork.

14 years agoExtend safe_fork to include the shuffling of fds to get the
Paul Mackerras [Sat, 6 Nov 2004 05:42:29 +0000 (05:42 +0000)]
Extend safe_fork to include the shuffling of fds to get the
ones we want on fds 0, 1, 2.

14 years agoDon't ask for CHAP if we don't have any digests to use.
Paul Mackerras [Sat, 6 Nov 2004 05:39:23 +0000 (05:39 +0000)]
Don't ask for CHAP if we don't have any digests to use.

14 years agoAdd winbind plugin from Andrew Bartlet.
Paul Mackerras [Thu, 4 Nov 2004 12:00:07 +0000 (12:00 +0000)]
Add winbind plugin from Andrew Bartlet.
Changes to chap_ms.[ch] needed by winbind.

14 years agoUpdate for 2.4.3b1 release
Paul Mackerras [Thu, 4 Nov 2004 11:58:14 +0000 (11:58 +0000)]
Update for 2.4.3b1 release

14 years agoUpdate patch level to 2.4.3b1
Paul Mackerras [Thu, 4 Nov 2004 10:08:28 +0000 (10:08 +0000)]
Update patch level to 2.4.3b1

14 years agoFix an fd leak on the discovery socket.
Paul Mackerras [Thu, 4 Nov 2004 10:07:37 +0000 (10:07 +0000)]
Fix an fd leak on the discovery socket.
Remove some unused code.

14 years agoTake out some ancient debugging code.
Paul Mackerras [Thu, 4 Nov 2004 10:05:23 +0000 (10:05 +0000)]
Take out some ancient debugging code.