]> git.ozlabs.org Git - ppp.git/log
ppp.git
20 years agoFixed the old chap.c so that it works with the new auth.c, since
James Carlson [Mon, 28 Jul 2003 12:25:41 +0000 (12:25 +0000)]
Fixed the old chap.c so that it works with the new auth.c, since
existing makefiles still refer to chap.c for all but Linux.
Fixed unsolicited Configure-Nak handling in *_nakci -- usenet report
that 'while' loop terminates too early if there's a boolean.
Fixed tiny typo in chap-new.c comment.

20 years agoskip response length byte before handling the response itself,
Frank Cusack [Thu, 10 Jul 2003 17:59:33 +0000 (17:59 +0000)]
skip response length byte before handling the response itself,
thx to Paul Flinders

20 years ago#include <linux/string.h> for mem*()
Frank Cusack [Mon, 7 Jul 2003 08:23:43 +0000 (08:23 +0000)]
#include <linux/string.h> for mem*()

20 years ago#elif, not #else if
Frank Cusack [Mon, 7 Jul 2003 08:21:36 +0000 (08:21 +0000)]
#elif, not #else if

20 years agodon't barf on RH directory suffixes (-release)
Frank Cusack [Mon, 7 Jul 2003 08:21:20 +0000 (08:21 +0000)]
don't barf on RH directory suffixes (-release)

20 years agoFix a couple of state transitions
Paul Mackerras [Sun, 29 Jun 2003 10:06:14 +0000 (10:06 +0000)]
Fix a couple of state transitions
Make sure we only call np_finished once

20 years agoFix a couple of errors pointed out by Andrew Benham <adsb@adsb.co.uk>.
Paul Mackerras [Sun, 29 Jun 2003 10:04:50 +0000 (10:04 +0000)]
Fix a couple of errors pointed out by Andrew Benham <adsb@adsb.co.uk>.

20 years agoUpdate the what's new list
Paul Mackerras [Sun, 29 Jun 2003 10:04:10 +0000 (10:04 +0000)]
Update the what's new list

20 years agoNew CHAP implementation, rewritten from scratch to avoid the code
Paul Mackerras [Wed, 11 Jun 2003 23:56:26 +0000 (23:56 +0000)]
New CHAP implementation, rewritten from scratch to avoid the code
copyrighted by the uncontactable Gregory Christy.  The new code is
much cleaner and splits out all the digest-specific code to separate
files.  Thus the CHAP-MD5 stuff is now in chap-md5.c and all the
CHAP-MS and CHAP-MSv2 stuff has moved into chap_ms.c, instead of
having half of it in chap.c.

There are a few minor differences in this implementation; we don't
retransmit responses, but instead just wait for a new challenge.
The success/failure messages are more boring as well.  In fact the
digest code now sets the success/failure message.

CHAP_DIGEST_MD5 has been renamed to CHAP_MD5 for consistency.
There is a new function random_bytes() in magic.c, which generates
a string of random bytes.

20 years agoFix a bug where we would keep asking for MS-CHAP v2 even though
Paul Mackerras [Wed, 11 Jun 2003 23:50:53 +0000 (23:50 +0000)]
Fix a bug where we would keep asking for MS-CHAP v2 even though
the peer NAK'd with MD5.

20 years agoAdd copyright notice and rewrite all sections which are identifiably
Paul Mackerras [Wed, 11 Jun 2003 00:11:11 +0000 (00:11 +0000)]
Add copyright notice and rewrite all sections which are identifiably
from the original pppd.8.

20 years agos/opad/xpad/ to be consistent with other vars (r=recv,x=xmit)
Frank Cusack [Sun, 25 May 2003 01:56:23 +0000 (01:56 +0000)]
s/opad/xpad/ to be consistent with other vars (r=recv,x=xmit)

20 years agosmall padding change
Frank Cusack [Sun, 25 May 2003 01:50:12 +0000 (01:50 +0000)]
small padding change

20 years agobail on dirs not of the form linux-x.y.z
Frank Cusack [Sun, 25 May 2003 01:46:25 +0000 (01:46 +0000)]
bail on dirs not of the form linux-x.y.z

20 years agomodify ppp_generic patch to avoid an if() test and extra additions on
Frank Cusack [Tue, 13 May 2003 01:25:36 +0000 (01:25 +0000)]
modify ppp_generic patch to avoid an if() test and extra additions on
every pass through ppp_send_frame(); make a 2.4.19+ version of it;
improve mppeinstall.sh.

20 years agotypo
Frank Cusack [Mon, 12 May 2003 08:37:21 +0000 (08:37 +0000)]
typo

20 years agoRemove an extraneous HAVE_CRYPT_H definition
Frank Cusack [Mon, 12 May 2003 08:18:54 +0000 (08:18 +0000)]
Remove an extraneous HAVE_CRYPT_H definition

20 years agouse librcrypt if available (crypt(3) is apparently in libcrypt on Linux)
Frank Cusack [Mon, 12 May 2003 08:13:24 +0000 (08:13 +0000)]
use librcrypt if available (crypt(3) is apparently in libcrypt on Linux)

20 years agoquiet the compiler, at the expense of #ifdef madness
Frank Cusack [Mon, 12 May 2003 07:47:06 +0000 (07:47 +0000)]
quiet the compiler, at the expense of #ifdef madness

20 years agoWhen not in demand mode, defer create_linkpidfile() until we successfully
Frank Cusack [Mon, 12 May 2003 07:31:36 +0000 (07:31 +0000)]
When not in demand mode, defer create_linkpidfile() until we successfully
get a ppp interface.  This fixes a bug reported by belle_eden@caramail.com
where pppd might wipe out a still-running previous pppd's pid file.

20 years agoRepaired bad LCP Configure-Nak generated to request EAP instead of PAP.
James Carlson [Fri, 9 May 2003 11:49:46 +0000 (11:49 +0000)]
Repaired bad LCP Configure-Nak generated to request EAP instead of PAP.

20 years agoUpdate
Paul Mackerras [Thu, 1 May 2003 12:47:55 +0000 (12:47 +0000)]
Update

20 years agoUpdate.
Paul Mackerras [Thu, 1 May 2003 12:43:16 +0000 (12:43 +0000)]
Update.

20 years agotty_recv_config doesn't return a value any more.
Paul Mackerras [Thu, 1 May 2003 12:42:39 +0000 (12:42 +0000)]
tty_recv_config doesn't return a value any more.

20 years agoFix the case where we get a CCP conf-rej for the old deflate option.
Paul Mackerras [Thu, 1 May 2003 12:30:28 +0000 (12:30 +0000)]
Fix the case where we get a CCP conf-rej for the old deflate option.
Previously we incorrectly thought this was bogus.

20 years agoadd note about allow-number and remotenumber
Frank Cusack [Wed, 30 Apr 2003 04:55:19 +0000 (04:55 +0000)]
add note about allow-number and remotenumber

20 years agoccp_nakci(), ccp_reqci(): If refusing MPPE stateful mode, log an error
Frank Cusack [Fri, 25 Apr 2003 09:41:58 +0000 (09:41 +0000)]
ccp_nakci(), ccp_reqci(): If refusing MPPE stateful mode, log an error
message with a hint.

20 years agoDocument the 'password' option (with warning).
Frank Cusack [Fri, 25 Apr 2003 08:57:58 +0000 (08:57 +0000)]
Document the 'password' option (with warning).

20 years agopromptpass(): handle EINTR (bug report from Damian Gruszka)
Frank Cusack [Fri, 25 Apr 2003 08:21:47 +0000 (08:21 +0000)]
promptpass(): handle EINTR (bug report from Damian Gruszka)

20 years agopromptpass(): read(2) returns ssize_t, not size_t. (Damien Gruszka)
Frank Cusack [Fri, 25 Apr 2003 08:16:46 +0000 (08:16 +0000)]
promptpass(): read(2) returns ssize_t, not size_t.  (Damien Gruszka)

20 years agorc_get_seqnbr(): Avoid "fscanf failure" errors if the sequence file was
Frank Cusack [Fri, 25 Apr 2003 08:10:46 +0000 (08:10 +0000)]
rc_get_seqnbr(): Avoid "fscanf failure" errors if the sequence file was
empty.  This avoids a spurious error at startup if the sequence file is
kept in /var/run, which is cleared on reboot.

20 years agotypo
Frank Cusack [Fri, 25 Apr 2003 07:33:20 +0000 (07:33 +0000)]
typo

21 years agoFix stack overflow. Bug report and fix from Alexandar Atanasov.
Frank Cusack [Wed, 16 Apr 2003 05:55:35 +0000 (05:55 +0000)]
Fix stack overflow.  Bug report and fix from Alexandar Atanasov.

21 years agoupdate
Paul Mackerras [Tue, 8 Apr 2003 13:05:36 +0000 (13:05 +0000)]
update

21 years agoRevert the previous change that required channel send_config and
Paul Mackerras [Mon, 7 Apr 2003 00:01:46 +0000 (00:01 +0000)]
Revert the previous change that required channel send_config and
recv_config routines to return a status code.  Instead we consider
that an error has occurred if the channel routine calls error()
or bumps error_count explicitly.

21 years agoMade path to 'ld' explicit when building kernel modules. This avoids
James Carlson [Mon, 31 Mar 2003 12:07:28 +0000 (12:07 +0000)]
Made path to 'ld' explicit when building kernel modules.  This avoids
trouble with systems that have GNU ld installed and on the path before
the normal /usr/ccs/bin/ld that comes with the system.

21 years agoAdd complete_read(), an EINTR-proof and partial-read-proof read,
Paul Mackerras [Sun, 30 Mar 2003 08:26:56 +0000 (08:26 +0000)]
Add complete_read(), an EINTR-proof and partial-read-proof read,
and use it for reading synchronization pipes.

21 years agofix typo reported by Thomas Klausner.
Frank Cusack [Tue, 25 Mar 2003 09:33:32 +0000 (09:33 +0000)]
fix typo reported by Thomas Klausner.

21 years agoBrian May's Perl script to auto-dial ppp. Has exponentially increasing delays
Russell Coker [Sun, 9 Mar 2003 10:04:35 +0000 (10:04 +0000)]
Brian May's Perl script to auto-dial ppp.  Has exponentially increasing delays
on connect failures to avoid excessive costs.

21 years agoMerging tiny patch from John R.Daily <jdaily@progeny.com> for bug in processing
Russell Coker [Sun, 9 Mar 2003 09:52:19 +0000 (09:52 +0000)]
Merging tiny patch from John R.Daily <jdaily@progeny.com> for bug in processing
results from getnetbyname().

21 years agoadd debugging for coherency count
Frank Cusack [Fri, 7 Mar 2003 05:50:55 +0000 (05:50 +0000)]
add debugging for coherency count

21 years agoIf the peer offers mppe stateful mode (H bit clear), accept it if
Frank Cusack [Wed, 5 Mar 2003 23:01:28 +0000 (23:01 +0000)]
If the peer offers mppe stateful mode (H bit clear), accept it if
mppe-stateful was an option.

This bug wasn't discovered earlier because I haven't seen a system
that offers stateful mode "only".  A bug report from Dmitry Glushenok
shows that Windows RRAS refuses stateless mode for dialup connections.
For dialup, it almost makes sense that one could use stateful mode safely,
but if you accept that argument (difficult to attack a dialup connection)
then it also follows that mppe as a whole is not useful over dialup.

21 years agoclean(): Fix buffer overflow.
Frank Cusack [Tue, 4 Mar 2003 06:17:21 +0000 (06:17 +0000)]
clean(): Fix buffer overflow.

21 years agosafe_fork(): trap EINTR on pipe read
Frank Cusack [Tue, 4 Mar 2003 05:37:22 +0000 (05:37 +0000)]
safe_fork(): trap EINTR on pipe read

21 years ago*_send_config and *_recv_config now return int instead of calling fatal().
Frank Cusack [Tue, 4 Mar 2003 05:21:38 +0000 (05:21 +0000)]
*_send_config and *_recv_config now return int instead of calling fatal().

21 years agostyle
Frank Cusack [Tue, 4 Mar 2003 05:13:59 +0000 (05:13 +0000)]
style

21 years agoA bunch of fixes mostly aimed at fixing the problems we have been
Paul Mackerras [Mon, 3 Mar 2003 05:11:46 +0000 (05:11 +0000)]
A bunch of fixes mostly aimed at fixing the problems we have been
having with leaking fds and with fatal errors occurring when the link
goes down.
Updated patchlevel.h to 2.4.2b2.
Moved open of /dev/ppp to generic_establish_ppp; we now close the
ppp_dev_fd in generic_disestablish_ppp rather than trying to use
PPPIOCDETACH.
*_send_config and *_recv_config now return 0 for success or -1 for
error, rather than calling fatal() when an error occurs.
Added a notifier for when we fork so plugins can close their fds in
the child.
Added a safe_fork() which does a fork and then closes stuff in the
child; the parent waits until the child has done that.
On detach, the parent rewrites the pid files rather than the child,
and the child waits for the parent to die.
Fixed some potential FILE * leaks.
Also moved auth_number() check into auth_check_options.

21 years agostyle
Frank Cusack [Wed, 26 Feb 2003 10:18:10 +0000 (10:18 +0000)]
style

21 years agomake pap_auth_hook docs match code. Reported by David Ananian-Cooper.
Frank Cusack [Tue, 25 Feb 2003 07:43:09 +0000 (07:43 +0000)]
make pap_auth_hook docs match code.  Reported by David Ananian-Cooper.

21 years agoupdate timestamp
Frank Cusack [Mon, 24 Feb 2003 14:06:42 +0000 (14:06 +0000)]
update timestamp

21 years agodevice_script(): fix our close() action for the case where in or out <= 2;
Frank Cusack [Mon, 24 Feb 2003 12:46:37 +0000 (12:46 +0000)]
device_script(): fix our close() action for the case where in or out <= 2;
also don't leak [the original fd of] a dup()'d log_to_fd, when log_to_fd
is > 2.

21 years agoDon't leak ppp_fd to scripts. Bug reported by Alexander Bergolth.
Frank Cusack [Mon, 24 Feb 2003 12:07:26 +0000 (12:07 +0000)]
Don't leak ppp_fd to scripts.  Bug reported by Alexander Bergolth.

21 years agoDon't leak an extra pipe descriptor to ptycommand. Bug report by Steve Grubb.
Frank Cusack [Mon, 24 Feb 2003 11:29:53 +0000 (11:29 +0000)]
Don't leak an extra pipe descriptor to ptycommand.  Bug report by Steve Grubb.

21 years agodevice_script(): dont leak the dup'd in&out fds to scripts.
Frank Cusack [Mon, 24 Feb 2003 11:26:57 +0000 (11:26 +0000)]
device_script(): dont leak the dup'd in&out fds to scripts.

21 years agoDon't leak tdb file descriptor to scripts. Bug reported by Steve Grubb.
Frank Cusack [Mon, 24 Feb 2003 10:28:00 +0000 (10:28 +0000)]
Don't leak tdb file descriptor to scripts.  Bug reported by Steve Grubb.

21 years agomake it compile correctly if CHAPMS is not enabled
Paul Mackerras [Sun, 16 Feb 2003 22:32:14 +0000 (22:32 +0000)]
make it compile correctly if CHAPMS is not enabled

21 years agoupdate the date
Paul Mackerras [Sun, 16 Feb 2003 22:31:41 +0000 (22:31 +0000)]
update the date

21 years agodon't compile the radius plugin by default
Paul Mackerras [Sun, 16 Feb 2003 22:31:24 +0000 (22:31 +0000)]
don't compile the radius plugin by default

21 years agofix silly syntax error
Paul Mackerras [Sun, 16 Feb 2003 22:29:50 +0000 (22:29 +0000)]
fix silly syntax error

21 years agotake out the addr3 field from the options struct, not used any more
Paul Mackerras [Sun, 16 Feb 2003 22:26:27 +0000 (22:26 +0000)]
take out the addr3 field from the options struct, not used any more

21 years agoHonour the allow-ip option even with noauth
Paul Mackerras [Sun, 16 Feb 2003 22:25:49 +0000 (22:25 +0000)]
Honour the allow-ip option even with noauth

21 years agofirst-cut update for 2.4.2
Paul Mackerras [Sun, 16 Feb 2003 22:19:47 +0000 (22:19 +0000)]
first-cut update for 2.4.2

21 years agotell the decompressor about the extra bytes we allocated
Frank Cusack [Thu, 30 Jan 2003 11:22:08 +0000 (11:22 +0000)]
tell the decompressor about the extra bytes we allocated

21 years agoverify enough buffer space to decompress a packet
Frank Cusack [Thu, 30 Jan 2003 11:13:47 +0000 (11:13 +0000)]
verify enough buffer space to decompress a packet

21 years agoDon't include delay field when responding to CBCP req with "NoCallback".
Frank Cusack [Fri, 17 Jan 2003 07:23:35 +0000 (07:23 +0000)]
Don't include delay field when responding to CBCP req with "NoCallback".
Bug noted by Radu Greab.

21 years agopass-filter is supported on Linux
Frank Cusack [Thu, 16 Jan 2003 10:22:35 +0000 (10:22 +0000)]
pass-filter is supported on Linux

21 years agoMSLANMAN off by default
Frank Cusack [Mon, 13 Jan 2003 08:17:04 +0000 (08:17 +0000)]
MSLANMAN off by default

21 years agoupdate copyright
Frank Cusack [Fri, 10 Jan 2003 07:12:36 +0000 (07:12 +0000)]
update copyright

21 years agoAdd support for RADIUS MPPE policy and enctype attributes.
Frank Cusack [Tue, 24 Dec 2002 03:43:35 +0000 (03:43 +0000)]
Add support for RADIUS MPPE policy and enctype attributes.

21 years agoImprove MPPE rejection logic.
Frank Cusack [Tue, 24 Dec 2002 00:34:13 +0000 (00:34 +0000)]
Improve MPPE rejection logic.

When doing MPPE, if the peer doesn't agree to it, we need to terminate
LCP.  Older win* clients request Stac/LZS along with MPPE (because
MPPE overloads MPPC ... sigh).  So if sending CONFREJ, we would keep
LCP up if we saw a CI_MPPE *at all*, because the CONFREJ may may have
been due to the Stac/LZS option.  Now, we only keep LCP up if the MPPE
offer is acceptable.

Thanks to James Cameron for showing this problem in action.

21 years agoEnsure that MPPE keys are available when using a plugin.
Frank Cusack [Mon, 23 Dec 2002 23:24:37 +0000 (23:24 +0000)]
Ensure that MPPE keys are available when using a plugin.

21 years agoMake sure we don't do FD_SET(fd, set) with fd >= FD_SETSIZE since
Paul Mackerras [Fri, 6 Dec 2002 12:06:45 +0000 (12:06 +0000)]
Make sure we don't do FD_SET(fd, set) with fd >= FD_SETSIZE since
that could corrupt memory, and maybe could form the basis of an
attack on pppd.  The problem was pointed out by Jun-ichiro itojun
Hagino.

21 years agoMore copyright updates. The new CMU copyright notice is from CMU and
Paul Mackerras [Fri, 6 Dec 2002 12:03:44 +0000 (12:03 +0000)]
More copyright updates.  The new CMU copyright notice is from CMU and
now explicitly allows modifications.  I have an acknowledgement from
ANU that the work I have done on pppd belongs to me and not to ANU,
so I have changed the ANU copyright notices to reflect this.

21 years agoMore copyright updates. The new CMU copyright notice is from CMU and
Paul Mackerras [Fri, 6 Dec 2002 09:49:16 +0000 (09:49 +0000)]
More copyright updates.  The new CMU copyright notice is from CMU and
now explicitly allows modifications.  I have an acknowledgement from
ANU that the work I have done on pppd belongs to me and not to ANU,
so I have changed the ANU copyright notices to reflect this.

21 years agoUpdate copyrights. The new CMU copyright notice is from CMU and now
Paul Mackerras [Wed, 4 Dec 2002 23:03:33 +0000 (23:03 +0000)]
Update copyrights.  The new CMU copyright notice is from CMU and now
explicitly allows modifications.  I have an acknowledgement from ANU
that the work I have done on pppd belongs to me and not to ANU, so I
have changed the ANU copyright notices to reflect this.  I have emails
from Pedro Roque Marques, Tommi Komulainen and Eric Rosenquist giving
me permission to change their copyright notices to be similar to the
CMU notice.

21 years agoAdded a man page for pon/poff/plog and plog to display the end of the ppp log.
Russell Coker [Sun, 24 Nov 2002 23:36:25 +0000 (23:36 +0000)]
Added a man page for pon/poff/plog and plog to display the end of the ppp log.

21 years agoAdded an alternate pair of scripts for starting and stopping ppp connections.
Russell Coker [Sun, 24 Nov 2002 23:30:44 +0000 (23:30 +0000)]
Added an alternate pair of scripts for starting and stopping ppp connections.

21 years agoAdded a fix for a situation where pppd would hang indefinately on exit.
Russell Coker [Sun, 24 Nov 2002 12:02:02 +0000 (12:02 +0000)]
Added a fix for a situation where pppd would hang indefinately on exit.

21 years agoAdded documentation for the "unit" parameter.
Russell Coker [Sun, 24 Nov 2002 11:31:46 +0000 (11:31 +0000)]
Added documentation for the "unit" parameter.

21 years agosuppress compiler warning about unused SRP var
Frank Cusack [Thu, 14 Nov 2002 21:50:12 +0000 (21:50 +0000)]
suppress compiler warning about unused SRP var

21 years agoadd rc_avpair_copy() and use it when sending user-specified av's. This
Frank Cusack [Wed, 13 Nov 2002 18:19:26 +0000 (18:19 +0000)]
add rc_avpair_copy() and use it when sending user-specified av's.  This
fixes a bug with a dangling pointer.  Thanks to Peter Kjellerstedt for
the report and suggested fix.

21 years agoChapMS_LANMan(): update for new definition MS_ChapResponse/ChallengeResponse().
Frank Cusack [Wed, 13 Nov 2002 12:26:03 +0000 (12:26 +0000)]
ChapMS_LANMan(): update for new definition MS_ChapResponse/ChallengeResponse().

21 years agoFixed compilation problem with undefined SHA1_SIGNATURE_SIZE
David F. Skoll [Tue, 5 Nov 2002 16:36:31 +0000 (16:36 +0000)]
Fixed compilation problem with undefined SHA1_SIGNATURE_SIZE

21 years agoTurn off USE_SRP by default.
James Carlson [Tue, 5 Nov 2002 11:52:07 +0000 (11:52 +0000)]
Turn off USE_SRP by default.

21 years agoAdded EAP support with MD5-Challenge and SRP-SHA1 methods. Tested
James Carlson [Sat, 2 Nov 2002 19:48:13 +0000 (19:48 +0000)]
Added EAP support with MD5-Challenge and SRP-SHA1 methods.  Tested
on Linux (with both methods) and on Solaris (just MD5-Challenge).
Fixed several Makefiles that were missing references to required
modules such as tty.o.

21 years agoUpdate for mschapv2 and clarify client/server (authenticatee/authenticator).
Frank Cusack [Sun, 27 Oct 2002 13:19:37 +0000 (13:19 +0000)]
Update for mschapv2 and clarify client/server (authenticatee/authenticator).

21 years agoSet current_option for error reporting. Bug and fix by Clive Nicolson.
Frank Cusack [Sun, 27 Oct 2002 13:00:13 +0000 (13:00 +0000)]
Set current_option for error reporting.  Bug and fix by Clive Nicolson.

21 years ago__linux__ (already defined by compiler) not _linux_ (manually defined)
Frank Cusack [Sun, 27 Oct 2002 12:56:26 +0000 (12:56 +0000)]
__linux__ (already defined by compiler) not _linux_ (manually defined)

21 years agoAdd $(DESTDIR) prefix
Frank Cusack [Sun, 27 Oct 2002 12:44:41 +0000 (12:44 +0000)]
Add $(DESTDIR) prefix

21 years agolink_connect_time is now unsigned
Frank Cusack [Sun, 27 Oct 2002 12:30:54 +0000 (12:30 +0000)]
link_connect_time is now unsigned

21 years agochange link_connect_time to unsigned
Frank Cusack [Sun, 27 Oct 2002 12:19:58 +0000 (12:19 +0000)]
change link_connect_time to unsigned

21 years agoupdate_link_stats(): treat link stats as unsigned, not signed
Frank Cusack [Sun, 27 Oct 2002 12:04:07 +0000 (12:04 +0000)]
update_link_stats(): treat link stats as unsigned, not signed

21 years agoccp_addci(): Restore behavior of only testing kernel support for the first
Frank Cusack [Sun, 27 Oct 2002 11:46:24 +0000 (11:46 +0000)]
ccp_addci(): Restore behavior of only testing kernel support for the first
compression method being offered.  That way the kernel will actually use
the method being offered ...

21 years agoChapReceiveResponse(): "clean" remote name.
Frank Cusack [Sat, 12 Oct 2002 20:09:36 +0000 (20:09 +0000)]
ChapReceiveResponse(): "clean" remote name.

21 years agoLog calling number failed authorization at warn instead of error, to be
Frank Cusack [Sat, 12 Oct 2002 02:30:21 +0000 (02:30 +0000)]
Log calling number failed authorization at warn instead of error, to be
consistent with chap/pap failed authentication log level.  (And it doesn't
merit "error".)

21 years ago- more authentication logging uniformity
Frank Cusack [Sat, 12 Oct 2002 01:28:05 +0000 (01:28 +0000)]
- more authentication logging uniformity
  . remove duplicate logging from auth.c, now in upap.c
  . auth success logs at info, auth fail at warn, auth with_peer fail at error
- add remote number checks after authentication in case a plugin modifies
  authorization info
- log remote number on successful/no auth
- streamline null termination of remote name for logging

21 years agoMake authentication success/failure messages uniform.
Frank Cusack [Fri, 11 Oct 2002 22:11:13 +0000 (22:11 +0000)]
Make authentication success/failure messages uniform.

21 years agotypo
Frank Cusack [Thu, 10 Oct 2002 06:12:04 +0000 (06:12 +0000)]
typo

21 years agoAdd 'remotenumber' and 'allow-number' options, for CNID purposes.
Frank Cusack [Thu, 10 Oct 2002 05:47:34 +0000 (05:47 +0000)]
Add 'remotenumber' and 'allow-number' options, for CNID purposes.
In practice, the admin can configure allow-number settings, and getty
or other programs can call ppp with the remotenumber option.  remotenumber
is also available to plugins; for example the radius plugin will pass this
on as the Calling-Station-Id attribute and the radius server can make an
authentication decision based on that.

21 years agotypo
Frank Cusack [Sat, 5 Oct 2002 17:49:00 +0000 (17:49 +0000)]
typo