The NetBSD Project

CVS log for src/external/bsd/ppp/dist/pppd/eap.c

[BACK] Up to [cvs.NetBSD.org] / src / external / bsd / ppp / dist / pppd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 9 16:39:28 2021 UTC (5 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.5: +1069 -132 lines
Diff to previous 1.5 (colored)

merge conflicts

Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Sat Jan 9 16:37:36 2021 UTC (5 months, 1 week ago) by christos
Branch: MACKERRAS
CVS Tags: ppp-2-4-9
Changes since 1.1.1.3: +1074 -129 lines
Diff to previous 1.1.1.3 (colored)

What's new in ppp-2.4.9.
************************

* Support for new EAP (Extensible Authentication Protocol) methods:
  - Support for EAP-TLS, from Jan Just Keijser and others
  - Support for EAP-MSCHAPv2, from Eivind Næss, Thomas Omerzu, Tijs
    Van Buggenhout and others

* New pppd options:
  - chap-timeout
  - chapms-strip-domain
  - replacedefaultroute
  - noreplacedefaultroute
  - ipv6cp-accept-remote
  - lcp-echo-adaptive
  - ip-up-script
  - ip-down-script
  - ca
  - capath
  - cert
  - key
  - crl-dir
  - crl
  - max-tls-version
  - need-peer-eap

* Fixes for CVE-2020-8597 and CVE-2015-3310.

* libpcap is now required when compiling on Linux (previously, if
  libpcap was not present, pppd would be compiled without packet
  filtering support).

* The rp-pppoe plugin has been renamed to pppoe, to distinguish it
  from the upstream rp-pppoe code.  Its options have changed names,
  but the old names are kept as aliases.

* The configure script now supports cross-compilation.

* Many bug fixes and cleanups.


What was new in ppp-2.4.8.
**************************

* New pppd options have been added:
  - ifname, to set the name for the PPP interface device
  - defaultroute-metric, to set the metric for the default route
  - defaultroute6, to add an IPv6 default route (with nodefaultroute6
    to prevent adding an IPv6 default route)
  - up_sdnotify, to have pppd notify systemd when the link is up.

* The rp-pppoe plugin has new options:
  - host-uniq, to set the Host-Uniq value to send
  - pppoe-padi-timeout, to set the timeout for discovery packets
  - pppoe-padi-attempts, to set the number of discovery attempts.

* Added the CLASS attribute in radius packets.

* Sundry bug fixes.

* Fixed warnings and issues found by static analysis.

* Added Submitting-patches.md.


What was new in ppp-2.4.7.
**************************

* Fixed a potential security issue in parsing option files (CVE-2014-3158).

* There is a new "stop-bits" option, which takes an argument of 1 or 2,
  indicating the number of stop bits to use for async serial ports.

* Various bug fixes.


What was new in ppp-2.4.6.
**************************

* Man page updates.

* Several bug fixes.

* Options files can now set and unset environment variables for
  scripts.

* The timeout for chat scripts can now be taken from an environment
  variable.

* There is a new option, master_detach, which allows pppd to detach
  from the controlling terminal when it is the multilink bundle master
  but its own link has terminated, even if the nodetach option has
  been given.

Revision 1.4.16.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:04:12 2020 UTC (14 months, 2 weeks ago) by martin
Branch: phil-wifi
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Merge changes from current as of 20200406

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Wed Feb 12 20:23:39 2020 UTC (16 months, 1 week ago) by martin
Branch: netbsd-7-0
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by christos in ticket #1722):

	external/bsd/ppp/dist/pppd/eap.c: revision 1.5

pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel%ioactive.com@localhost>

Signed-off-by: Paul Mackerras <paulus%ozlabs.org@localhost>

From:
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426

Revision 1.2.14.1 / (download) - annotate - [select for diffs], Wed Feb 12 20:22:07 2020 UTC (16 months, 1 week ago) by martin
Branch: netbsd-7-1
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by christos in ticket #1722):

	external/bsd/ppp/dist/pppd/eap.c: revision 1.5

pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel%ioactive.com@localhost>

Signed-off-by: Paul Mackerras <paulus%ozlabs.org@localhost>

From:
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Wed Feb 12 20:19:10 2020 UTC (16 months, 1 week ago) by martin
Branch: netbsd-7
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by christos in ticket #1722):

	external/bsd/ppp/dist/pppd/eap.c: revision 1.5

pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel%ioactive.com@localhost>

Signed-off-by: Paul Mackerras <paulus%ozlabs.org@localhost>

From:
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Wed Feb 12 20:13:57 2020 UTC (16 months, 1 week ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by christos in ticket #1503):

	external/bsd/ppp/dist/pppd/eap.c: revision 1.5

pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel%ioactive.com@localhost>

Signed-off-by: Paul Mackerras <paulus%ozlabs.org@localhost>

From:
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426

Revision 1.4.18.1 / (download) - annotate - [select for diffs], Wed Feb 12 19:37:33 2020 UTC (16 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by christos in ticket #698):

	external/bsd/ppp/dist/pppd/eap.c: revision 1.5

pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel%ioactive.com@localhost>

Signed-off-by: Paul Mackerras <paulus%ozlabs.org@localhost>

From:
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 12 01:51:52 2020 UTC (16 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

pppd: Fix bounds check in EAP code

Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

From:
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 25 21:11:37 2014 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-9, netbsd-8
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

fix rcsids.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 25 19:06:34 2014 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

merge conflicts

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sat Oct 25 18:47:46 2014 UTC (6 years, 8 months ago) by christos
Branch: MACKERRAS
CVS Tags: PPP2_4_7
Changes since 1.1.1.2: +1 -1 lines
Diff to previous 1.1.1.2 (colored)

* Fixed a potential security issue in parsing option files (CVE-2014-3158).
* There is a new "stop-bits" option, which takes an argument of 1 or 2,
  indicating the number of stop bits to use for async serial ports.
* Various bug fixes.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Oct 25 18:43:28 2014 UTC (6 years, 8 months ago) by christos
Branch: MACKERRAS
Changes since 1.1.1.1: +1 -1 lines
Diff to previous 1.1.1.1 (colored)

import new pppd:
* Fixed a potential security issue in parsing option files (CVE-2014-3158).
* There is a new "stop-bits" option, which takes an argument of 1 or 2,
  indicating the number of stop bits to use for async serial ports.
* Various bug fixes.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Tue Aug 19 23:52:11 2014 UTC (6 years, 10 months ago) by tls
Branch: tls-maxphys
Changes since 1.2.8.1: +2440 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Thu May 22 15:51:08 2014 UTC (7 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.4.1: +2440 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.2.8.1, Thu Nov 28 22:33:42 2013 UTC (7 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.2: +0 -2440 lines
FILE REMOVED

file eap.c was added on branch tls-maxphys on 2014-08-19 23:52:11 +0000

Revision 1.2.4.1, Thu Nov 28 22:33:42 2013 UTC (7 years, 6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -2440 lines
FILE REMOVED

file eap.c was added on branch yamt-pagecache on 2014-05-22 15:51:08 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 28 22:33:42 2013 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Branch point for: yamt-pagecache, tls-maxphys, netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.1: +40 -28 lines
Diff to previous 1.1 (colored)

Merge local changes, add build glue.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Nov 28 21:53:42 2013 UTC (7 years, 6 months ago) by christos
Branch: MACKERRAS
CVS Tags: ppp-2-4-5
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import ppp-2.4.5 from git://ozlabs.org/~paulus/ppp.git

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 28 21:53:42 2013 UTC (7 years, 6 months ago) by christos
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>