Browse Source

hostapd: add patches for fix KRACK issue

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11211 ec354946-7b23-47d6-9f5a-488ba84defc7
iwamoto 6 years ago
parent
commit
e768705a6f
1 changed files with 21 additions and 1 deletions
  1. 21 1
      h/hostapd/hostapd-vl.spec

+ 21 - 1
h/hostapd/hostapd-vl.spec

@@ -1,6 +1,6 @@
 %define         base_name       hostapd
 %define         pkg_version     2.6
-%define         pkg_release     1%{?_dist_release}
+%define         pkg_release     2%{?_dist_release}
 
 Summary:        IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
 Summary(ja):    IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS 認証局
@@ -10,6 +10,15 @@ Release:        %{pkg_release}
 Source0:        %{base_name}-%{version}.tar.gz
 Source1:        %{base_name}-init.sh
 Source2:        %{base_name}-%{version}.config
+
+Patch11:	0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch
+Patch12:	0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch
+Patch13:	0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch
+Patch14:	0004-Prevent-installation-of-an-all-zero-TK.patch
+Patch15:	0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch
+Patch16:	0006-TDLS-Reject-TPK-TK-reconfiguration.patch
+Patch18:	0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch
+
 License:        GPL2
 Group:          System Environment/Daemons
 URL:            http://hostap.epitest.fi/hostapd/
@@ -36,6 +45,14 @@ IEEE 802.11 アクセスポイント管理、IEEE 802.1X/WPA/WPA2/EAP 認証局
 
 %prep
 %setup -q
+%patch11 -p1 -b .0001-hostapd-Avoid-key-reinstallation-in-FT-handshake
+%patch12 -p1 -b .0002-Prevent-reinstallation-of-an-already-in-use-group-ke
+%patch13 -p1 -b .0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM
+%patch14 -p1 -b .0004-Prevent-installation-of-an-all-zero-TK
+%patch15 -p1 -b .0005-Fix-PTK-rekeying-to-generate-a-new-ANonce
+%patch16 -p1 -b .0006-TDLS-Reject-TPK-TK-reconfiguration
+%patch18 -p1 -b .0008-FT-Do-not-allow-multiple-Reassociation-Response-fram
+
 cp %{SOURCE1} .
 cp %{SOURCE2} ./%{base_name}/.config
 
@@ -95,6 +112,9 @@ fi
 %{_mandir}/man1/hostapd_cli.1.gz
 
 %changelog
+* Fri Oct 20 2017 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6-2
+- add patch11-18 for fix "KRACK" issue
+
 * Sat Feb 04 2017 Masahiro INOUE <miyabi.-.inoue@nifty.com> 2.6-1
 - new upstream release