ppp.git
17 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.

17 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).

17 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.

17 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)

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

17 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

17 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

17 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

17 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 ...

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

17 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".)

17 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

17 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.

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

17 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.

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

17 years agotypo
Frank Cusack [Sat, 5 Oct 2002 04:39:05 +0000 (04:39 +0000)]
typo

17 years agoradrealms plugin from Ben McKeegan
Frank Cusack [Sat, 5 Oct 2002 04:35:24 +0000 (04:35 +0000)]
radrealms plugin from Ben McKeegan

17 years agoSend NAS-Identifier attribute instead of NAS-IP-Address, if configured.
Frank Cusack [Tue, 1 Oct 2002 09:51:01 +0000 (09:51 +0000)]
Send NAS-Identifier attribute instead of NAS-IP-Address, if configured.
Set some reasonable defaults for various options, if not supplied.
Patch from Ben McKeegan.

17 years agoAdd PW_CALLING_STATION_ID for CHAP auth also.
Frank Cusack [Tue, 1 Oct 2002 09:27:50 +0000 (09:27 +0000)]
Add PW_CALLING_STATION_ID for CHAP auth also.

17 years agoAdd option 'avpair' to send arbitrary RADIUS attributes to the server.
Frank Cusack [Tue, 1 Oct 2002 08:36:49 +0000 (08:36 +0000)]
Add option 'avpair' to send arbitrary RADIUS attributes to the server.

17 years ago+ Allow rc_avpair_insert() to insert lists instead of just single vp's.
Frank Cusack [Tue, 1 Oct 2002 08:35:21 +0000 (08:35 +0000)]
+ Allow rc_avpair_insert() to insert lists instead of just single vp's.
+ Set vendorcode in rc_avpair_parse().

17 years agoLose the poorly thought out OPT_A3OR option flag. Fix a CHAP negotiation bug
Frank Cusack [Tue, 24 Sep 2002 11:35:22 +0000 (11:35 +0000)]
Lose the poorly thought out OPT_A3OR option flag.  Fix a CHAP negotiation bug
along the way -- if the peer nak'd with an chap digest we didn't support, we
would continue to offer our first choice digest.

17 years agotypo
Frank Cusack [Fri, 20 Sep 2002 06:53:19 +0000 (06:53 +0000)]
typo

17 years agoFixed some interface lint detected on Solaris.
James Carlson [Wed, 18 Sep 2002 02:49:46 +0000 (02:49 +0000)]
Fixed some interface lint detected on Solaris.

17 years agoRepaired handling of multiple mblks on rput side.
James Carlson [Wed, 18 Sep 2002 02:17:20 +0000 (02:17 +0000)]
Repaired handling of multiple mblks on rput side.

17 years agoRepaired handling of multiple chained mblks on rput side.
James Carlson [Wed, 18 Sep 2002 02:14:10 +0000 (02:14 +0000)]
Repaired handling of multiple chained mblks on rput side.

17 years agoGet rid of a couple of unnecessary OPT_A2COPYs and one wrong one.
Paul Mackerras [Sun, 15 Sep 2002 12:51:05 +0000 (12:51 +0000)]
Get rid of a couple of unnecessary OPT_A2COPYs and one wrong one.
The chap options still need fixing.

17 years agoAdded Linux support for the ipv6cp-use-persistent option.
Russell Coker [Sat, 14 Sep 2002 08:10:11 +0000 (08:10 +0000)]
Added Linux support for the ipv6cp-use-persistent option.

17 years agoFix a SEGV on printing options error (previously a MTU of 65535 in the options
Russell Coker [Sat, 14 Sep 2002 08:05:27 +0000 (08:05 +0000)]
Fix a SEGV on printing options error (previously a MTU of 65535 in the options
file would cause a SEGV).

17 years agoMake sure the interface MTU is not higher than the link MRU.
Paul Mackerras [Thu, 12 Sep 2002 22:51:06 +0000 (22:51 +0000)]
Make sure the interface MTU is not higher than the link MRU.

17 years agoGive the interface name rather than the name of the remote machine
Paul Mackerras [Thu, 12 Sep 2002 22:38:47 +0000 (22:38 +0000)]
Give the interface name rather than the name of the remote machine
as the 3rd argument to logwtmp.

17 years agoCall sys_close in the child when starting charshunt to make sure
Paul Mackerras [Thu, 12 Sep 2002 22:34:47 +0000 (22:34 +0000)]
Call sys_close in the child when starting charshunt to make sure
we don't leak PPP fds to the charshunt.

17 years agoadd missing parameter to a warn call
Paul Mackerras [Thu, 12 Sep 2002 22:32:32 +0000 (22:32 +0000)]
add missing parameter to a warn call

17 years agoAdd support for radius Class attribute. Possibly broken if chap is set to
Frank Cusack [Thu, 12 Sep 2002 05:41:49 +0000 (05:41 +0000)]
Add support for radius Class attribute.  Possibly broken if chap is set to
re-authenticate and the radius server decides to change or add the Class
attribute on a subsequent (non-initial) authentication, but no more broken
than not handling it at all.

17 years ago484: make IPCP put all options in increasing numeric order in all cases.
James Carlson [Mon, 9 Sep 2002 04:19:57 +0000 (04:19 +0000)]
484: make IPCP put all options in increasing numeric order in all cases.
Also fixed unrelated problem found during testing: the reqci handling
for the deprecated IP-Addresses option was setting go->ouraddr rather
than wo->ouraddr.  This caused us to get confused about the meaning of
any subsequent Configure-{Ack,Reject} from the peer, since it made it
look as though the option was illegally modified by the peer.

17 years agoUpdated Solaris-related READMEs for the current code.
James Carlson [Sat, 7 Sep 2002 06:07:48 +0000 (06:07 +0000)]
Updated Solaris-related READMEs for the current code.

17 years agoAdded ability to detect and use either gcc or Sun WorkShop C compiler
James Carlson [Sat, 7 Sep 2002 05:15:25 +0000 (05:15 +0000)]
Added ability to detect and use either gcc or Sun WorkShop C compiler
on Solaris.  Added support for Solaris 10.  Quieted down warning in
ppp_comp.c due to bad preprocessor usage.  Quieted WorkShop warnings
in options.c (casting of void * to function) and pppd.h (constant too
large).  Tested in 32 and 64 bit modes with gcc and WorkShop.

17 years agobuild fix
Alexandr D. Kanevskiy [Fri, 6 Sep 2002 22:11:12 +0000 (22:11 +0000)]
build fix

17 years agoPatches from Frank Cusack.
David F. Skoll [Sun, 1 Sep 2002 12:00:15 +0000 (12:00 +0000)]
Patches from Frank Cusack.

17 years agofoggotten ? fix
Alexandr D. Kanevskiy [Sun, 1 Sep 2002 08:56:01 +0000 (08:56 +0000)]
foggotten ? fix

17 years agoMake sure $(MANDIR)/man8 exists.
David F. Skoll [Thu, 25 Jul 2002 22:21:14 +0000 (22:21 +0000)]
Make sure $(MANDIR)/man8 exists.

17 years agoAdded support for Acct-Interim-Interval attribute. We can now ask
David F. Skoll [Thu, 25 Jul 2002 16:29:16 +0000 (16:29 +0000)]
Added support for Acct-Interim-Interval attribute.  We can now ask
pppd to send interim RADIUS accounting reports.

17 years agoAdded Acct-Interim-Interval RADIUS attribute.
David F. Skoll [Thu, 25 Jul 2002 15:58:38 +0000 (15:58 +0000)]
Added Acct-Interim-Interval RADIUS attribute.

17 years agoStarted adding support for interim RADIUS accounting updates.
David F. Skoll [Wed, 24 Jul 2002 20:13:12 +0000 (20:13 +0000)]
Started adding support for interim RADIUS accounting updates.

17 years agoFixed typo in options.c so it compiles.
David F. Skoll [Thu, 18 Jul 2002 15:25:04 +0000 (15:25 +0000)]
Fixed typo in options.c so it compiles.

17 years agosync constant and attributes names with
Alexandr D. Kanevskiy [Tue, 16 Jul 2002 13:11:43 +0000 (13:11 +0000)]
sync constant and attributes names with
andrew pavlov <and@kremenchug.net>

17 years agomake Octets-Direction flag accept value=4.
Alexandr D. Kanevskiy [Mon, 15 Jul 2002 11:04:18 +0000 (11:04 +0000)]
make Octets-Direction flag accept value=4.
For NAS - it same as Octets-Direction = Maximum (3)
but on radius side maximum can be computed as
maximum in/out overal or per session/day/month/year...

17 years agoExperemental per session traffic limiting.
Alexandr D. Kanevskiy [Sat, 13 Jul 2002 06:24:36 +0000 (06:24 +0000)]
Experemental per session traffic limiting.
Usefull for VPN with per megabyte billing.
(Works for me)

17 years agoDon't drop connection if CCP not supported
Alexandr D. Kanevskiy [Wed, 10 Jul 2002 20:04:35 +0000 (20:04 +0000)]
Don't drop connection if CCP not supported

17 years agoCosmetic fix.
David F. Skoll [Tue, 25 Jun 2002 12:29:58 +0000 (12:29 +0000)]
Cosmetic fix.

17 years agoPatches from Frank Cusack:
David F. Skoll [Mon, 24 Jun 2002 12:57:15 +0000 (12:57 +0000)]
Patches from Frank Cusack:
- Avoid infinite loop (eventually running out of stack space) when doing
  callback into ccp with MPPE enabled, by updating lcp_fsm state *before*
  doing callbacks.  Problem noted by Rustem Yumaev <rust@vostok-inc.com>.

- Add missing accounting attributes

- Update for newer automake; required to compile on RH 7.3

17 years agoCheck return code of mmap (bug reported by Nick Bane)
David F. Skoll [Mon, 24 Jun 2002 12:42:24 +0000 (12:42 +0000)]
Check return code of mmap (bug reported by Nick Bane)

17 years agoAdded "install-devel" Makefile target to install pppd headers required to
David F. Skoll [Mon, 10 Jun 2002 13:46:28 +0000 (13:46 +0000)]
Added "install-devel" Makefile target to install pppd headers required to
build pppd plugins.  NOTE: Only works on Linux Makefiles; must be added for
other supported OS's.

17 years agoactive-filter is available on linux too.
Michael Beattie [Sat, 1 Jun 2002 08:47:34 +0000 (08:47 +0000)]
active-filter is available on linux too.

17 years agoAdded an option to enable CBCP.
Michael Beattie [Sat, 1 Jun 2002 08:47:03 +0000 (08:47 +0000)]
Added an option to enable CBCP.

17 years agoFrank Cusack's latest patch.
David F. Skoll [Tue, 28 May 2002 17:00:57 +0000 (17:00 +0000)]
Frank Cusack's latest patch.

17 years agoAdding files which I forgot to do as part of Frank Cusack's ECP patch.
David F. Skoll [Wed, 22 May 2002 18:16:54 +0000 (18:16 +0000)]
Adding files which I forgot to do as part of Frank Cusack's ECP patch.

17 years agoECP patches from Frank Cusack:
David F. Skoll [Tue, 21 May 2002 17:26:49 +0000 (17:26 +0000)]
ECP patches from Frank Cusack:
- If encryption is required, don't bring up IP/IPv6/IPX until the
  encryption negotiation has completed.
- Shut down LCP if the peer sends an LCP ConfRej instead of CCP ConfRej
  to our MPPE offer.  This fixes a bug where the server could not enforce
  use of encryption in some cases.
- Don't send the M=<message> part of an MS-CHAPv2 success packet to peers
  that don't know how to deal with it.  This allows pre-win2k systems to
  authenticate.
- Don't shut down lcp if MPPE was present in peer's CCP offer along with
  other options.  This allows pre-win2k systems to do MPPE (they offer
  Stac LZS with MPPE).
- Add the beginnings of ecp.c.
- Other minor changes.

17 years agoApplied patch from Nerijus Baliunas <nerijus@users.sourceforge.net> to
David F. Skoll [Fri, 10 May 2002 14:57:26 +0000 (14:57 +0000)]
Applied patch from Nerijus Baliunas <nerijus@users.sourceforge.net> to
document callback option.

17 years agoFixed PoPToP URL
David F. Skoll [Tue, 2 Apr 2002 23:25:38 +0000 (23:25 +0000)]
Fixed PoPToP URL

17 years agoCorrected Linux MPPE kernel modules (Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:15:07 +0000 (14:15 +0000)]
Corrected Linux MPPE kernel modules (Frank Cusack)
Corrected minor bug in chap.c (Frank Cusack)
Allow domain\user in MSCHAPv2 (Frank Cusack)

17 years agoCorrected version of MPPE kernel support (Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:12:48 +0000 (14:12 +0000)]
Corrected version of MPPE kernel support (Frank Cusack)

17 years agoFixed Linux 2.2.20 kernel MPPE patch (Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:11:04 +0000 (14:11 +0000)]
Fixed Linux 2.2.20 kernel MPPE patch (Frank Cusack)

17 years agoAdded RADIUS support for MPPE (patch from Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:09:35 +0000 (14:09 +0000)]
Added RADIUS support for MPPE (patch from Frank Cusack)

17 years agoAdded kernel MPPE patches (2.2.20 kernel only!) from Frank Cusack.
David F. Skoll [Tue, 2 Apr 2002 14:01:37 +0000 (14:01 +0000)]
Added kernel MPPE patches (2.2.20 kernel only!) from Frank Cusack.

17 years agoAdd README.MPPE
David F. Skoll [Tue, 2 Apr 2002 13:55:48 +0000 (13:55 +0000)]
Add README.MPPE

17 years agoFirst large MPPE patch from Frank Cusack.
David F. Skoll [Tue, 2 Apr 2002 13:55:00 +0000 (13:55 +0000)]
First large MPPE patch from Frank Cusack.

17 years agoFix double-free bug in common/zlib.c. DOES NOT FIX pppdump's copy, though.
David F. Skoll [Tue, 2 Apr 2002 13:34:03 +0000 (13:34 +0000)]
Fix double-free bug in common/zlib.c.  DOES NOT FIX pppdump's copy, though.

17 years agoInstall Microsoft dictionaries (patch from Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 13:17:13 +0000 (13:17 +0000)]
Install Microsoft dictionaries (patch from Frank Cusack)

17 years agoAdd "nic-xxx" hack to rp-pppoe plugin.
David F. Skoll [Tue, 2 Apr 2002 13:11:00 +0000 (13:11 +0000)]
Add "nic-xxx" hack to rp-pppoe plugin.

17 years agoFixed plugin installation path.
David F. Skoll [Sun, 24 Mar 2002 13:23:08 +0000 (13:23 +0000)]
Fixed plugin installation path.

17 years agoCorrect (really!) implementation of device name hook in PPPoE plugin.
David F. Skoll [Thu, 14 Mar 2002 21:54:06 +0000 (21:54 +0000)]
Correct (really!) implementation of device name hook in PPPoE plugin.

17 years agoFixed bug in device-name hook in PPPoE plugin. Thanks to Russ Couturier
David F. Skoll [Thu, 14 Mar 2002 20:32:41 +0000 (20:32 +0000)]
Fixed bug in device-name hook in PPPoE plugin.  Thanks to Russ Couturier
of Synthetic Networks for finding this bug.

17 years agoHandle RADIUS Session-Timeout attribute.
David F. Skoll [Tue, 12 Mar 2002 00:28:56 +0000 (00:28 +0000)]
Handle RADIUS Session-Timeout attribute.

17 years agoFixed incorrect order of args in option list (Frank Cusack)
David F. Skoll [Wed, 6 Mar 2002 15:00:30 +0000 (15:00 +0000)]
Fixed incorrect order of args in option list (Frank Cusack)

17 years agoForgot to add dictionary.microsoft.
David F. Skoll [Wed, 6 Mar 2002 13:23:09 +0000 (13:23 +0000)]
Forgot to add dictionary.microsoft.

17 years agoMerged check for buffer overflow from radiusclient 0.3.2.
David F. Skoll [Tue, 5 Mar 2002 15:36:17 +0000 (15:36 +0000)]
Merged check for buffer overflow from radiusclient 0.3.2.

17 years agoPatch from Frank Cusack to add support for MSCHAPv2.
David F. Skoll [Tue, 5 Mar 2002 15:14:06 +0000 (15:14 +0000)]
Patch from Frank Cusack to add support for MSCHAPv2.
Enhanced radiusclient to support INCLUDE lines in dictionary.

17 years agoPatch from Frank Cusack to make RADIUS plugin support MS-CHAP authentication.
David F. Skoll [Mon, 4 Mar 2002 14:59:52 +0000 (14:59 +0000)]
Patch from Frank Cusack to make RADIUS plugin support MS-CHAP authentication.

17 years agoCheck for vendor code before trying to interpret RADIUS attributes.
David F. Skoll [Fri, 1 Mar 2002 15:16:51 +0000 (15:16 +0000)]
Check for vendor code before trying to interpret RADIUS attributes.

17 years agoLarge patch from Frank Cusack <fcusack@fcusack.com> to add proper
David F. Skoll [Fri, 1 Mar 2002 14:39:19 +0000 (14:39 +0000)]
Large patch from Frank Cusack <fcusack@fcusack.com> to add proper
support for MS-CHAP (client and server are now supported.)

Allow another plugin to select a different RADIUS server.

Modified radiusclient library to include two new APIs:
rc_acct_using_server and rc_auth_using_server in which caller specifies
which RADIUS servers to use, instead of using the default ones in the
config file.  The /etc/radiusclient/servers file must still contain
secrets for those servers.

17 years agoAdded CHAP-challenge attribute to dictionary.
David F. Skoll [Thu, 28 Feb 2002 13:43:25 +0000 (13:43 +0000)]
Added CHAP-challenge attribute to dictionary.

17 years agoService-name was not being set correctly in PPPoE plugin.
David F. Skoll [Wed, 27 Feb 2002 16:00:30 +0000 (16:00 +0000)]
Service-name was not being set correctly in PPPoE plugin.

17 years agoWhitespace tidying.
David F. Skoll [Wed, 27 Feb 2002 15:51:20 +0000 (15:51 +0000)]
Whitespace tidying.

17 years agoAdd newline to ppp.pam (courtesy Frank Cusack)
David F. Skoll [Tue, 26 Feb 2002 03:17:34 +0000 (03:17 +0000)]
Add newline to ppp.pam (courtesy Frank Cusack)

17 years agoAnother patch from Frank Cusack to fix install: target.
David F. Skoll [Wed, 20 Feb 2002 02:22:35 +0000 (02:22 +0000)]
Another patch from Frank Cusack to fix install: target.

17 years agoMinor patches as suggested by Frank Cusack <fcusack@fcusack.com> to ensure
David F. Skoll [Tue, 19 Feb 2002 22:10:17 +0000 (22:10 +0000)]
Minor patches as suggested by Frank Cusack <fcusack@fcusack.com> to ensure
everything gets installed in $(DESTDIR)

17 years agoAdded new hooks:
David F. Skoll [Tue, 12 Feb 2002 20:07:10 +0000 (20:07 +0000)]
Added new hooks:
snoop_send_hook and snoop_recv_hook allow plugins to watch the flow
of frames (typically we're interested in LCP frames).  This is useful for
implementing L2TP, because the L2TP access concentrator would like to collect
some information from LCP and perhaps authentication protocols and forward
the information to the LNS.

17 years agoEnable more verbose PPPoE plugin output
Michal Ostrowski [Tue, 12 Feb 2002 04:36:00 +0000 (04:36 +0000)]
Enable more verbose PPPoE plugin output

17 years agoPlugin for supplying CHAP password via a dedicated fd. (Arvin Schnell <arvin@suse...
Michal Ostrowski [Tue, 12 Feb 2002 00:55:25 +0000 (00:55 +0000)]
Plugin for supplying CHAP password via a dedicated fd. (Arvin Schnell <arvin@suse.de>)

17 years agoAdded radius_pre_auth_hook to let additional plugins stacked on top
David F. Skoll [Fri, 8 Feb 2002 17:28:31 +0000 (17:28 +0000)]
Added radius_pre_auth_hook to let additional plugins stacked on top
of RADIUS do interesting things.

18 years agoUpdated config.h.in
David F. Skoll [Tue, 22 Jan 2002 16:15:41 +0000 (16:15 +0000)]
Updated config.h.in

18 years agoAdded RADIUS suppport.
David F. Skoll [Tue, 22 Jan 2002 16:03:05 +0000 (16:03 +0000)]
Added RADIUS suppport.

18 years agoMade proxyarp search for the best matching interface (the one with the highest
David F. Skoll [Tue, 22 Jan 2002 16:01:33 +0000 (16:01 +0000)]
Made proxyarp search for the best matching interface (the one with the highest
netmask) instead of the first matching interface.

18 years agoFixed reversal of arguments to strlcpy.
David F. Skoll [Mon, 14 Jan 2002 15:31:34 +0000 (15:31 +0000)]
Fixed reversal of arguments to strlcpy.

18 years agoNoted that multilink implies the use of TDB.
David F. Skoll [Mon, 14 Jan 2002 14:26:31 +0000 (14:26 +0000)]
Noted that multilink implies the use of TDB.

18 years agoMade multilink and tdb code compile-time options. By default, they are
David F. Skoll [Mon, 14 Jan 2002 14:25:10 +0000 (14:25 +0000)]
Made multilink and tdb code compile-time options.  By default, they are
included, so the default build is unchanged.

18 years agoMade setipaddr() non-static so it can be called from plugins (particularly
Russell Coker [Fri, 11 Jan 2002 18:31:42 +0000 (18:31 +0000)]
Made setipaddr() non-static so it can be called from plugins (particularly
portslave).
Also fix a trivial multiple-definition warning in ppp/pppd/ipcp.c and a
comma-at-end-of-enum warning in ppp/pppd/pppd.h.

18 years agoFix for locking on Linux and related systems, particularly for devfs.
Russell Coker [Fri, 11 Jan 2002 18:27:17 +0000 (18:27 +0000)]
Fix for locking on Linux and related systems, particularly for devfs.
Also include <time.h> to avoid some warnings.