Commit Graph

95 Commits

Author SHA1 Message Date
Vladimír Beneš
12a60c2bff tests: add NetworkManager tests
We have a NetworkManager test suite (aka NMCI) ready where we use
hostapd for wireless and 802.1x tests. We have almost 60 of them.
Covering from 802.1x peap, tls, ttls (with md5, mschapv2, pap, chap,
gtc) over to simulated wifi wehre wpa2-psk, tls, ttls, peap is used.
Wpa3 is used in psk, h2e, owe and enterprise too.

Tests are listed here:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/blob/main/run/osci/hostapd.tests?ref_type=heads

the feature file where the tests are is here:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/blob/main/features/scenarios/wifi_hwsim.feature?ref_type=heads
and
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/blob/main/features/scenarios/ethernet.feature?ref_type=heads#L404
2023-10-11 16:26:57 +02:00
Miroslav Suchý
91a4900aba Migrate to SPDX license
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
2023-09-12 05:05:16 +00:00
Fedora Release Engineering
a57ad684c9 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 06:23:55 +00:00
John W. Linville
04d281b5c5 Correct path for example hostapd.conf cited in hostapd.conf.5
Bug reported by: Tom Sobczynski <tsobczynski@gmail.com>

https://bugzilla.redhat.com/show_bug.cgi?id=2185893

Signed-off-by: John W. Linville <linville@redhat.com>
2023-04-11 15:25:56 -04:00
Fedora Release Engineering
033f5d7ca8 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 12:11:48 +00:00
Fedora Release Engineering
5eb786f8a5 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 13:42:59 +00:00
Fedora Release Engineering
c0e5404e05 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 12:24:38 +00:00
John W. Linville
f2fa29ff23 Bump N-V-R for rebuild 2022-01-19 10:18:32 -05:00
John W. Linville
766c7396d4 Enable CONFIG_OCV build option to fight multi-channel MITM attacks 2022-01-19 10:17:04 -05:00
John W. Linville
29bb7b10bc Update to version 2.10 from upstream
Enable support for IEEE802.11ax
2022-01-17 13:30:34 -05:00
Sahana Prasad
9f60fca033 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:04:12 +02:00
Davide Caratti
d8f950fbab backport fix that restores functionality with openssl-3.0.0
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
2021-09-03 14:06:03 +02:00
Fedora Release Engineering
75c4450066 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 07:41:38 +00:00
John W. Linville
2f34a35b41 Enable CONFIG_OWE build option in order to provide WPA3 capability 2021-05-11 14:23:56 -04:00
Zbigniew Jędrzejewski-Szmek
7054fbbfba Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:40 +01:00
Davide Caratti
2692cea480 hostapd.spec: fix epel8 build
Wen Liang reports broken epel-8 build:

 warning: bogus date in %changelog: Wed Feb 10 2020 John W. Linville <linville@redhat.com> - 2.9-8
 error: %changelog not in descending chronological order
 Building target platforms: x86_64
 Building for target x86_64
 Child return code was: 1
 EXCEPTION: [Error()]
 Traceback (most recent call last):
   File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace
     result = func(*args, **kw)
   File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status
     raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
 mockbuild.exception.Error: Command failed:
  # /usr/bin/systemd-nspawn -q -M 4eae1262853849cb90a68b2530c56ec9 -D /var/lib/mock/epel-8-x86_64-1614259728.189540/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dwh8zvk0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hostapd.spec

fixing a bogus year (2020 -> 2021) proved to restore buildability.

Reported-by: Wen Liang <wenliang@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
2021-02-25 15:06:40 +01:00
John W. Linville
b4896ec838 Correct some name typos in the changelog... 2021-02-10 10:52:44 -05:00
John W. Linville
98c3ed927a Add hostapd.conf.5 man file, with content borrowed from NetBSD 2021-02-10 10:51:44 -05:00
Fedora Release Engineering
d43dbfdc3d - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 13:32:22 +00:00
Tom Stellard
0c2a977c82 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 00:29:50 +00:00
John W. Linville
6da5b3f4d5 Revert "Borrow hostapd.conf.5 man page from OpenBSD"
OpenBSD's hostapd is completely different codebase...

	https://en.wikipedia.org/wiki/Hostapd

This reverts commit 5630ca5ea8.
2020-12-16 14:55:55 -05:00
John W. Linville
5630ca5ea8 Borrow hostapd.conf.5 man page from OpenBSD 2020-12-16 14:47:58 -05:00
John W. Linville
d692d381a9 Enable environment file in hostapd service definition 2020-12-10 10:13:45 -05:00
Fedora Release Engineering
ec8b44120d - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 00:56:50 +00:00
John W. Linville
c583bcd4dd Fix CVE-2020-12695 (UPnP SUBSCRIBE misbehavior in hostapd WPS AP) 2020-06-24 13:31:07 -04:00
Fedora Release Engineering
8c86980eff - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 04:21:41 +00:00
John W. Linville
a5e2a251a7 Fix CVE-2019-16275 (AP mode PMF disconnection protection bypass) 2019-10-30 14:24:05 -04:00
John W. Linville
51c18ab85b Update to version 2.9 from upstream 2019-08-09 10:13:57 -04:00
Fedora Release Engineering
a668fdefc1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 08:31:52 +00:00
Lubomir Rintel
5eebed3c4f Enable SAE
Used for WPA3-Personal.
2019-07-03 16:52:30 +02:00
John W. Linville
dc7f38e87e Update to version 2.8 from upstream
Drop obsoleted patches
2019-05-15 15:49:56 -04:00
John W. Linville
3dada5d43b Bump N-V-R for rebuild 2019-04-12 13:44:37 -04:00
John W. Linville
82095b53ff Fix typo in changelog (2.6 -> 2.7) 2019-04-12 13:43:04 -04:00
John W. Linville
aeb7fa69dd Update to version 2.6 from upstream
Remove obsolete patches for NL80211_ATTR_SMPS_MODE encoding and KRACK
Fix CVE-2019-9494 (cache attack against SAE)
Fix CVE-2019-9495 (cache attack against EAP-pwd)
Fix CVE-2019-9496 (SAE confirm missing state validation in hostapd/AP)
Fix CVE-2019-9497 (EAP-pwd server not checking for reflection attack)
Fix CVE-2019-9498 (EAP-pwd server missing commit validation for scalar/element)
Fix CVE-2019-9499 (EAP-pwd peer missing commit validation for scalar/element)
2019-04-12 13:18:49 -04:00
Fedora Release Engineering
a7b700ec1b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 02:21:58 +00:00
John W. Linville
2a45f7d381 Add previously unnecessary BuildRequires for gcc 2018-07-20 10:06:40 -04:00
Fedora Release Engineering
2eccb1e202 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 05:03:10 +00:00
Davide Caratti
b44ff58765 hostapd: fix encoding of NL80211_ATTR_SMPS_MODE
https://bugzilla.redhat.com/show_bug.cgi?id=1582839

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
2018-05-31 15:07:40 +02:00
Fedora Release Engineering
8e6b49fa95 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 16:25:19 +00:00
Simone Caronni
9e5d39f61d Fix dependencies on the logwatch package for RHEL/CentOS 2017-12-07 16:12:16 +01:00
Xavier Bachelot
41817b0f47 - Add patches for KRACK : CVE-2017-13077, CVE-2017-13078, CVE-2017-13079, CVE-2017-13080, CVE-2017-13081, CVE-2017-13082, CVE-2017-13086, CVE-2017-13087, CVE-2017-13088 (RHBZ#1502588). 2017-11-03 16:15:35 +01:00
Fedora Release Engineering
61998b31b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 23:30:58 +00:00
Fedora Release Engineering
7bad853435 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 12:47:23 +00:00
Petr Písař
eb0870b3d4 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-13 11:33:15 +02:00
Fedora Release Engineering
5ebcde4683 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 12:42:18 +00:00
John W. Linville
7ba6f03377 Update to version 2.6 from upstream
- Remove patch for CVE-2016-4476, now included in base tarball
2016-10-03 10:03:17 -04:00
John W. Linville
651886bf2d Bump NVR and rebuild to resolve GLIBC_2.24 symbol issue 2016-07-15 15:55:14 -04:00
Petr Písař
5212be5b41 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:06:48 +02:00
John W. Linville
a3f3868b07 Actually add WPS-Reject-a-Credential-with-invalid-passphrase.patch to
git repo...
2016-06-06 15:07:21 -04:00
John W. Linville
91b438a2fc Add WPS patch for CVE-2016-4476 2016-06-06 15:00:44 -04:00