From 666ee37fdf267ebea8318e58f7585029f0457800 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Thu, 20 Oct 2005 16:31:55 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'wpa_supplicant-vendor-v0_3_latest'. --- contrib/wpa_supplicant/COPYING | 340 --- contrib/wpa_supplicant/ChangeLog | 418 ---- contrib/wpa_supplicant/FREEBSD-Xlist | 22 - contrib/wpa_supplicant/FREEBSD-upgrade | 24 - contrib/wpa_supplicant/Makefile | 385 --- contrib/wpa_supplicant/README | 858 ------- contrib/wpa_supplicant/aes.c | 1132 --------- contrib/wpa_supplicant/aes_wrap.c | 642 ----- contrib/wpa_supplicant/aes_wrap.h | 21 - contrib/wpa_supplicant/common.c | 335 --- contrib/wpa_supplicant/common.h | 226 -- contrib/wpa_supplicant/config.c | 1051 --------- contrib/wpa_supplicant/config.h | 33 - contrib/wpa_supplicant/config_ssid.h | 109 - contrib/wpa_supplicant/crypto.c | 71 - contrib/wpa_supplicant/crypto.h | 8 - contrib/wpa_supplicant/ctrl_iface.c | 739 ------ contrib/wpa_supplicant/ctrl_iface.h | 31 - contrib/wpa_supplicant/defconfig | 154 -- contrib/wpa_supplicant/defs.h | 14 - contrib/wpa_supplicant/developer.txt | 458 ---- contrib/wpa_supplicant/doc/wpa_supplicant.fig | 221 -- contrib/wpa_supplicant/driver.h | 436 ---- contrib/wpa_supplicant/driver_ndis.h | 26 - contrib/wpa_supplicant/driver_ndis_.c | 164 -- contrib/wpa_supplicant/drivers.c | 96 - contrib/wpa_supplicant/eap.c | 1251 ---------- contrib/wpa_supplicant/eap.h | 70 - contrib/wpa_supplicant/eap_aka.c | 915 -------- contrib/wpa_supplicant/eap_defs.h | 41 - contrib/wpa_supplicant/eap_fast.c | 1906 --------------- contrib/wpa_supplicant/eap_gtc.c | 164 -- contrib/wpa_supplicant/eap_i.h | 106 - contrib/wpa_supplicant/eap_leap.c | 379 --- contrib/wpa_supplicant/eap_md5.c | 112 - contrib/wpa_supplicant/eap_mschapv2.c | 567 ----- contrib/wpa_supplicant/eap_otp.c | 113 - contrib/wpa_supplicant/eap_peap.c | 858 ------- contrib/wpa_supplicant/eap_psk.c | 563 ----- contrib/wpa_supplicant/eap_sim.c | 1004 -------- contrib/wpa_supplicant/eap_sim_common.c | 788 ------- contrib/wpa_supplicant/eap_sim_common.h | 101 - contrib/wpa_supplicant/eap_testing.txt | 349 --- contrib/wpa_supplicant/eap_tls.c | 245 -- contrib/wpa_supplicant/eap_tls_common.c | 349 --- contrib/wpa_supplicant/eap_tls_common.h | 51 - contrib/wpa_supplicant/eap_tlv.c | 176 -- contrib/wpa_supplicant/eap_tlv.h | 73 - contrib/wpa_supplicant/eap_ttls.c | 1392 ----------- contrib/wpa_supplicant/eap_ttls.h | 57 - contrib/wpa_supplicant/eapol_sm.c | 1420 ----------- contrib/wpa_supplicant/eapol_sm.h | 138 -- contrib/wpa_supplicant/eapol_test.c | 1012 -------- contrib/wpa_supplicant/eloop.c | 380 --- contrib/wpa_supplicant/eloop.h | 53 - contrib/wpa_supplicant/hostap_common.h | 557 ----- contrib/wpa_supplicant/l2_packet.h | 34 - contrib/wpa_supplicant/md5.c | 355 --- contrib/wpa_supplicant/md5.h | 43 - contrib/wpa_supplicant/ms_funcs.c | 335 --- contrib/wpa_supplicant/ms_funcs.h | 25 - .../wpa_supplicant/openssl-tls-extensions.patch | 166 -- contrib/wpa_supplicant/pcsc_funcs.c | 776 ------ contrib/wpa_supplicant/pcsc_funcs.h | 50 - contrib/wpa_supplicant/preauth_test.c | 396 ---- contrib/wpa_supplicant/radius.c | 1125 --------- contrib/wpa_supplicant/radius.h | 224 -- contrib/wpa_supplicant/radius_client.c | 674 ------ contrib/wpa_supplicant/radius_client.h | 81 - contrib/wpa_supplicant/rc4.c | 63 - contrib/wpa_supplicant/rc4.h | 7 - contrib/wpa_supplicant/sha1.c | 910 ------- contrib/wpa_supplicant/sha1.h | 50 - contrib/wpa_supplicant/tls.h | 312 --- contrib/wpa_supplicant/tls_none.c | 22 - contrib/wpa_supplicant/tls_openssl.c | 879 ------- contrib/wpa_supplicant/todo.txt | 54 - contrib/wpa_supplicant/version.h | 6 - contrib/wpa_supplicant/wpa.c | 2457 ------------------- contrib/wpa_supplicant/wpa.h | 112 - contrib/wpa_supplicant/wpa_cli.c | 850 ------- contrib/wpa_supplicant/wpa_ctrl.c | 229 -- contrib/wpa_supplicant/wpa_ctrl.h | 15 - contrib/wpa_supplicant/wpa_passphrase.c | 53 - contrib/wpa_supplicant/wpa_supplicant.c | 2483 -------------------- contrib/wpa_supplicant/wpa_supplicant.conf | 505 ---- contrib/wpa_supplicant/wpa_supplicant.h | 81 - contrib/wpa_supplicant/wpa_supplicant_i.h | 470 ---- 88 files changed, 37046 deletions(-) delete mode 100644 contrib/wpa_supplicant/COPYING delete mode 100644 contrib/wpa_supplicant/ChangeLog delete mode 100644 contrib/wpa_supplicant/FREEBSD-Xlist delete mode 100644 contrib/wpa_supplicant/FREEBSD-upgrade delete mode 100644 contrib/wpa_supplicant/Makefile delete mode 100644 contrib/wpa_supplicant/README delete mode 100644 contrib/wpa_supplicant/aes.c delete mode 100644 contrib/wpa_supplicant/aes_wrap.c delete mode 100644 contrib/wpa_supplicant/aes_wrap.h delete mode 100644 contrib/wpa_supplicant/common.c delete mode 100644 contrib/wpa_supplicant/common.h delete mode 100644 contrib/wpa_supplicant/config.c delete mode 100644 contrib/wpa_supplicant/config.h delete mode 100644 contrib/wpa_supplicant/config_ssid.h delete mode 100644 contrib/wpa_supplicant/crypto.c delete mode 100644 contrib/wpa_supplicant/crypto.h delete mode 100644 contrib/wpa_supplicant/ctrl_iface.c delete mode 100644 contrib/wpa_supplicant/ctrl_iface.h delete mode 100644 contrib/wpa_supplicant/defconfig delete mode 100644 contrib/wpa_supplicant/defs.h delete mode 100644 contrib/wpa_supplicant/developer.txt delete mode 100644 contrib/wpa_supplicant/doc/wpa_supplicant.fig delete mode 100644 contrib/wpa_supplicant/driver.h delete mode 100644 contrib/wpa_supplicant/driver_ndis.h delete mode 100644 contrib/wpa_supplicant/driver_ndis_.c delete mode 100644 contrib/wpa_supplicant/drivers.c delete mode 100644 contrib/wpa_supplicant/eap.c delete mode 100644 contrib/wpa_supplicant/eap.h delete mode 100644 contrib/wpa_supplicant/eap_aka.c delete mode 100644 contrib/wpa_supplicant/eap_defs.h delete mode 100644 contrib/wpa_supplicant/eap_fast.c delete mode 100644 contrib/wpa_supplicant/eap_gtc.c delete mode 100644 contrib/wpa_supplicant/eap_i.h delete mode 100644 contrib/wpa_supplicant/eap_leap.c delete mode 100644 contrib/wpa_supplicant/eap_md5.c delete mode 100644 contrib/wpa_supplicant/eap_mschapv2.c delete mode 100644 contrib/wpa_supplicant/eap_otp.c delete mode 100644 contrib/wpa_supplicant/eap_peap.c delete mode 100644 contrib/wpa_supplicant/eap_psk.c delete mode 100644 contrib/wpa_supplicant/eap_sim.c delete mode 100644 contrib/wpa_supplicant/eap_sim_common.c delete mode 100644 contrib/wpa_supplicant/eap_sim_common.h delete mode 100644 contrib/wpa_supplicant/eap_testing.txt delete mode 100644 contrib/wpa_supplicant/eap_tls.c delete mode 100644 contrib/wpa_supplicant/eap_tls_common.c delete mode 100644 contrib/wpa_supplicant/eap_tls_common.h delete mode 100644 contrib/wpa_supplicant/eap_tlv.c delete mode 100644 contrib/wpa_supplicant/eap_tlv.h delete mode 100644 contrib/wpa_supplicant/eap_ttls.c delete mode 100644 contrib/wpa_supplicant/eap_ttls.h delete mode 100644 contrib/wpa_supplicant/eapol_sm.c delete mode 100644 contrib/wpa_supplicant/eapol_sm.h delete mode 100644 contrib/wpa_supplicant/eapol_test.c delete mode 100644 contrib/wpa_supplicant/eloop.c delete mode 100644 contrib/wpa_supplicant/eloop.h delete mode 100644 contrib/wpa_supplicant/hostap_common.h delete mode 100644 contrib/wpa_supplicant/l2_packet.h delete mode 100644 contrib/wpa_supplicant/md5.c delete mode 100644 contrib/wpa_supplicant/md5.h delete mode 100644 contrib/wpa_supplicant/ms_funcs.c delete mode 100644 contrib/wpa_supplicant/ms_funcs.h delete mode 100644 contrib/wpa_supplicant/openssl-tls-extensions.patch delete mode 100644 contrib/wpa_supplicant/pcsc_funcs.c delete mode 100644 contrib/wpa_supplicant/pcsc_funcs.h delete mode 100644 contrib/wpa_supplicant/preauth_test.c delete mode 100644 contrib/wpa_supplicant/radius.c delete mode 100644 contrib/wpa_supplicant/radius.h delete mode 100644 contrib/wpa_supplicant/radius_client.c delete mode 100644 contrib/wpa_supplicant/radius_client.h delete mode 100644 contrib/wpa_supplicant/rc4.c delete mode 100644 contrib/wpa_supplicant/rc4.h delete mode 100644 contrib/wpa_supplicant/sha1.c delete mode 100644 contrib/wpa_supplicant/sha1.h delete mode 100644 contrib/wpa_supplicant/tls.h delete mode 100644 contrib/wpa_supplicant/tls_none.c delete mode 100644 contrib/wpa_supplicant/tls_openssl.c delete mode 100644 contrib/wpa_supplicant/todo.txt delete mode 100644 contrib/wpa_supplicant/version.h delete mode 100644 contrib/wpa_supplicant/wpa.c delete mode 100644 contrib/wpa_supplicant/wpa.h delete mode 100644 contrib/wpa_supplicant/wpa_cli.c delete mode 100644 contrib/wpa_supplicant/wpa_ctrl.c delete mode 100644 contrib/wpa_supplicant/wpa_ctrl.h delete mode 100644 contrib/wpa_supplicant/wpa_passphrase.c delete mode 100644 contrib/wpa_supplicant/wpa_supplicant.c delete mode 100644 contrib/wpa_supplicant/wpa_supplicant.conf delete mode 100644 contrib/wpa_supplicant/wpa_supplicant.h delete mode 100644 contrib/wpa_supplicant/wpa_supplicant_i.h diff --git a/contrib/wpa_supplicant/COPYING b/contrib/wpa_supplicant/COPYING deleted file mode 100644 index 60549be514af7..0000000000000 --- a/contrib/wpa_supplicant/COPYING +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) 19yy - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19yy name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/contrib/wpa_supplicant/ChangeLog b/contrib/wpa_supplicant/ChangeLog deleted file mode 100644 index 09d5b61215519..0000000000000 --- a/contrib/wpa_supplicant/ChangeLog +++ /dev/null @@ -1,418 +0,0 @@ -ChangeLog for wpa_supplicant - -2005-06-10 - v0.3.9 - * modified the EAP workaround that accepts EAP-Success with incorrect - Identifier to be even less strict about verification in order to - interoperate with some authentication servers - * fixed RSN IE in 4-Way Handshake message 2/4 for the case where - Authenticator rejects PMKSA caching attempt and the driver is not - using assoc_info events - * fixed a possible double free in EAP-TTLS fast-reauthentication when - identity or password is entered through control interface - * added -P argument for wpa_supplicant to write the current - process id into a file - * driver_madwifi: fixed association in plaintext mode - * driver_madwifi: added preliminary support for compiling against 'BSD' - branch of madwifi CVS tree - * added EAP workaround for PEAPv1 session resumption: allow outer, - i.e., not tunneled, EAP-Success to terminate session since; this can - be disabled with eap_workaround=0 - * driver_ipw: updated driver structures to match with ipw2200-1.0.4 - (note: ipw2100-1.1.0 is likely to require an update to work with - this) - * driver_broadcom: fixed couple of memory leaks in scan result - processing - -2005-02-13 - v0.3.8 - * fixed EAPOL-Key validation to drop packets with invalid Key Data - Length; such frames could have crashed wpa_supplicant due to buffer - overflow - -2005-02-12 - v0.3.7 (beginning of 0.3.x stable releases) - * added new phase1 option parameter, include_tls_length=1, to force - wpa_supplicant to add TLS Message Length field to all TLS messages - even if the packet is not fragmented; this may be needed with some - authentication servers - * fixed WPA/RSN IE verification in message 3 of 4-Way Handshake when - using drivers that take care of AP selection (e.g., when using - ap_scan=2) - * fixed reprocessing of pending request after ctrl_iface requests for - identity/password/otp - * fixed ctrl_iface requests for identity/password/otp in Phase 2 of - EAP-PEAP and EAP-TTLS - * all drivers using driver_wext: set interface up and select Managed - mode when starting wpa_supplicant; set interface down when exiting - * renamed driver_ipw2100.c to driver_ipw.c since it now supports both - ipw2100 and ipw2200; please note that this also changed the - configuration variable in .config to CONFIG_DRIVER_IPW - -2005-01-24 - v0.3.6 - * fixed a busy loop introduced in v0.3.5 for scan result processing - when no matching AP is found - -2005-01-23 - v0.3.5 - * added a workaround for an interoperability issue with a Cisco AP - when using WPA2-PSK - * fixed non-WPA IEEE 802.1X to use the same authentication timeout as - WPA with IEEE 802.1X (i.e., timeout 10 -> 70 sec to allow - retransmission of dropped frames) - * fixed issues with 64-bit CPUs and SHA1 cleanup in previous version - (e.g., segfault when processing EAPOL-Key frames) - * fixed EAP workaround and fast reauthentication configuration for - RSN pre-authentication; previously these were disabled and - pre-authentication would fail if the used authentication server - requires EAP workarounds - * added support for blacklisting APs that fail or timeout - authentication in ap_scan=1 mode so that all APs are tried in cases - where the ones with strongest signal level are failing authentication - * fixed CA certificate loading after a failed EAP-TLS/PEAP/TTLS - authentication attempt - * allow EAP-PEAP/TTLS fast reauthentication only if Phase 2 succeeded - in the previous authentication (previously, only Phase 1 success was - verified) - -2005-01-09 - v0.3.4 - * added preliminary support for IBSS (ad-hoc) mode configuration - (mode=1 in network block); this included a new key_mgmt mode - WPA-NONE, i.e., TKIP or CCMP with a fixed key (based on psk) and no - key management; see wpa_supplicant.conf for more details and an - example on how to configure this (note: this is currently implemented - only for driver_hostapd.c, but the changes should be trivial to add - in associate() handler for other drivers, too (assuming the driver - supports WPA-None) - * added preliminary port for native Windows (i.e., no cygwin) using - mingw - -2005-01-02 - v0.3.3 - * added optional support for GNU Readline and History Libraries for - wpa_cli (CONFIG_READLINE) - * cleaned up EAP state machine <-> method interface and number of - small problems with error case processing not terminating on - EAP-Failure but waiting for timeout - * added couple of workarounds for interoperability issues with a - Cisco AP when using WPA2 - * added support for EAP-FAST (draft-cam-winget-eap-fast-00.txt); - Note: This requires a patch for openssl to add support for TLS - extensions and number of workarounds for operations without - certificates. Proof of concept type of experimental patch is - included in openssl-tls-extensions.patch. - -2004-12-19 - v0.3.2 - * fixed private key loading for cases where passphrase is not set - * fixed Windows/cygwin L2 packet handler freeing; previous version - could cause a segfault when RSN pre-authentication was completed - * added support for PMKSA caching with drivers that generate RSN IEs - (e.g., NDIS); currently, this is only implemented in driver_ndis.c, - but similar code can be easily added to driver_ndiswrapper.c once - ndiswrapper gets full support for RSN PMKSA caching - * improved recovery from PMKID mismatches by requesting full EAP - authentication in case of failed PMKSA caching attempt - * driver_ndis: added support for NDIS NdisMIncidateStatus() events - (this requires that ndis_events is ran while wpa_supplicant is - running) - * driver_ndis: use ADD_WEP/REMOVE_WEP when configuring WEP keys - * added support for driver interfaces to replace the interface name - based on driver/OS specific mapping, e.g., in case of driver_ndis, - this allows the beginning of the adapter description to be used as - the interface name - * added support for CR+LF (Windows-style) line ends in configuration - file - * driver_ndis: enable radio before starting scanning, disable radio - when exiting - * modified association event handler to set portEnabled = FALSE before - clearing port Valid in order to reset EAP state machine and avoid - problems with new authentication getting ignored because of state - machines ending up in AUTHENTICATED/SUCCESS state based on old - information - * added support for driver events to add PMKID candidates in order to - allow drivers to give priority to most likely roaming candidates - * driver_hostap: moved PrivacyInvoked configuration to associate() - function so that this will not be set for plaintext connections - * added KEY_MGMT_802_1X_NO_WPA as a new key_mgmt type so that driver - interface can distinguish plaintext and IEEE 802.1X (no WPA) - authentication - * fixed static WEP key configuration to use broadcast/default type for - all keys (previously, the default TX key was configured as pairwise/ - unicast key) - * driver_ndis: added legacy WPA capability detection for non-WPA2 - drivers - * added support for setting static WEP keys for IEEE 802.1X without - dynamic WEP keying (eapol_flags=0) - -2004-12-12 - v0.3.1 - * added support for reading PKCS#12 (PFX) files (as a replacement for - PEM/DER) to get certificate and private key (CONFIG_PKCS12) - * fixed compilation with CONFIG_PCSC=y - * added new ap_scan mode, ap_scan=2, for drivers that take care of - association, but need to be configured with security policy and SSID, - e.g., ndiswrapper and NDIS driver; this mode should allow such - drivers to work with hidden SSIDs and optimized roaming; when - ap_scan=2 is used, only the first network block in the configuration - file is used and this configuration should have explicit security - policy (i.e., only one option in the lists) for key_mgmt, pairwise, - group, proto variables - * added experimental port of wpa_supplicant for Windows - - driver_ndis.c driver interface (NDIS OIDs) - - currently, this requires cygwin and WinPcap - - small utility, win_if_list, can be used to get interface name - * control interface can now be removed at build time; add - CONFIG_CTRL_IFACE=y to .config to maintain old functionality - * optional Xsupplicant interface can now be removed at build time; - (CONFIG_XSUPPLICANT_IFACE=y in .config to bring it back) - * added auth_alg to driver interface associate() parameters to make it - easier for drivers to configure authentication algorithm as part of - the association - -2004-12-05 - v0.3.0 (beginning of 0.3.x development releases) - * driver_broadcom: added new driver interface for Broadcom wl.o driver - (a generic driver for Broadcom IEEE 802.11a/g cards) - * wpa_cli: fixed parsing of -p command line argument - * PEAPv1: fixed tunneled EAP-Success reply handling to reply with TLS - ACK, not tunneled EAP-Success (of which only the first byte was - actually send due to a bug in previous code); this seems to - interoperate with most RADIUS servers that implements PEAPv1 - * PEAPv1: added support for terminating PEAP authentication on tunneled - EAP-Success message; this can be configured by adding - peap_outer_success=0 on phase1 parameters in wpa_supplicant.conf - (some RADIUS servers require this whereas others require a tunneled - reply - * PEAPv1: changed phase1 option peaplabel to use default to 0, i.e., to - the old label for key derivation; previously, the default was 1, - but it looks like most existing PEAPv1 implementations use the old - label which is thus more suitable default option - * added support for EAP-PSK (draft-bersani-eap-psk-03.txt) - * fixed parsing of wep_tx_keyidx - * added support for configuring list of allowed Phase 2 EAP types - (for both EAP-PEAP and EAP-TTLS) instead of only one type - * added support for configuring IEEE 802.11 authentication algorithm - (auth_alg; mainly for using Shared Key authentication with static - WEP keys) - * added support for EAP-AKA (with UMTS SIM) - * fixed couple of errors in PCSC handling that could have caused - random-looking errors for EAP-SIM - * added support for EAP-SIM pseudonyms and fast re-authentication - * added support for EAP-TLS/PEAP/TTLS fast re-authentication (TLS - session resumption) - * added support for EAP-SIM with two challanges - (phase1="sim_min_num_chal=3" can be used to require three challenges) - * added support for configuring DH/DSA parameters for an ephemeral DH - key exchange (EAP-TLS/PEAP/TTLS) using new configuration parameters - dh_file and dh_file2 (phase 2); this adds support for using DSA keys - and optional DH key exchange to achieve forward secracy with RSA keys - * added support for matching subject of the authentication server - certificate with a substring when using EAP-TLS/PEAP/TTLS; new - configuration variables subject_match and subject_match2 - * changed SSID configuration in driver_wext.c (used by many driver - interfaces) to use ssid_len+1 as the length for SSID since some Linux - drivers expect this - * fixed couple of unaligned reads in scan result parsing to fix WPA - connection on some platforms (e.g., ARM) - * added driver interface for Intel ipw2100 driver - * added support for LEAP with WPA - * added support for larger scan results report (old limit was 4 kB of - data, i.e., about 35 or so APs) when using Linux wireless extensions - v17 or newer - * fixed a bug in PMKSA cache processing: skip sending of EAPOL-Start - only if there is a PMKSA cache entry for the current AP - * fixed error handling for case where reading of scan results fails: - must schedule a new scan or wpa_supplicant will remain waiting - forever - * changed debug output to remove shared password/key material by - default; all key information can be included with -K command line - argument to match the previous behavior - * added support for timestamping debug log messages (disabled by - default, can be enabled with -t command line argument) - * set pairwise/group cipher suite for non-WPA IEEE 802.1X to WEP-104 - if keys are not configured to be used; this fixes IEEE 802.1X mode - with drivers that use this information to configure whether Privacy - bit can be in Beacon frames (e.g., ndiswrapper) - * avoid clearing driver keys if no keys have been configured since last - key clear request; this seems to improve reliability of group key - handshake for ndiswrapper & NDIS driver which seems to be suffering - of some kind of timing issue when the keys are cleared again after - association - * changed driver interface API: - - WPA_SUPPLICANT_DRIVER_VERSION define can be used to determine which - version is being used (now, this is set to 2; previously, it was - not defined) - - pass pointer to private data structure to all calls - - the new API is not backwards compatible; all in-tree driver - interfaces has been converted to the new API - * added support for controlling multiple interfaces (radios) per - wpa_supplicant process; each interface needs to be listed on the - command line (-c, -i, -D arguments) with -N as a separator - (-cwpa1.conf -iwlan0 -Dhostap -N -cwpa2.conf -iath0 -Dmadwifi) - * added a workaround for EAP servers that incorrectly use same Id for - sequential EAP packets - * changed libpcap/libdnet configuration to use .config variable, - CONFIG_DNET_PCAP, instead of requiring Makefile modification - * improved downgrade attack detection in IE verification of msg 3/4: - verify both WPA and RSN IEs, if present, not only the selected one; - reject the AP if an RSN IE is found in msg 3/4, but not in Beacon or - Probe Response frame, and RSN is enabled in wpa_supplicant - configuration - * fixed WPA msg 3/4 processing to allow Key Data field contain other - IEs than just one WPA IE - * added support for FreeBSD and driver interface for the BSD net80211 - layer (CONFIG_DRIVER_BSD=y in .config); please note that some of the - required kernel mods have not yet been committed - * made EAP workarounds configurable; enabled by default, can be - disabled with network block option eap_workaround=0 - -2004-07-17 - v0.2.4 (beginning of 0.2.x stable releases) - * resolved couple of interoperability issues with EAP-PEAPv1 and - Phase 2 (inner EAP) fragment reassembly - * driver_madwifi: fixed WEP key configuration for IEEE 802.1X when the - AP is using non-zero key index for the unicast key and key index zero - for the broadcast key - * driver_hostap: fixed IEEE 802.1X WEP key updates and - re-authentication by allowing unencrypted EAPOL frames when not using - WPA - * added a new driver interface, 'wext', which uses only standard, - driver independent functionality in Linux wireless extensions; - currently, this can be used only for non-WPA IEEE 802.1X mode, but - eventually, this is to be extended to support full WPA/WPA2 once - Linux wireless extensions get support for this - * added support for mode in which the driver is responsible for AP - scanning and selection; this is disabled by default and can be - enabled with global ap_scan=0 variable in wpa_supplicant.conf; - this mode can be used, e.g., with generic 'wext' driver interface to - use wpa_supplicant as IEEE 802.1X Supplicant with any Linux driver - supporting wireless extensions. - * driver_madwifi: fixed WPA2 configuration and scan_ssid=1 (e.g., - operation with an AP that does not include SSID in the Beacon frames) - * added support for new EAP authentication methods: - EAP-TTLS/EAP-OTP, EAP-PEAPv0/OTP, EAP-PEAPv1/OTP, EAP-OTP - * added support for asking one-time-passwords from frontends (e.g., - wpa_cli); this 'otp' command works otherwise like 'password' command, - but the password is used only once and the frontend will be asked for - a new password whenever a request from authenticator requires a - password; this can be used with both EAP-OTP and EAP-GTC - * changed wpa_cli to automatically re-establish connection so that it - does not need to be re-started when wpa_supplicant is terminated and - started again - * improved user data (identity/password/otp) requests through - frontends: process pending EAPOL packets after getting new - information so that full authentication does not need to be - restarted; in addition, send pending requests again whenever a new - frontend is attached - * changed control frontends to use a new directory for socket files to - make it easier for wpa_cli to automatically select between interfaces - and to provide access control for the control interface; - wpa_supplicant.conf: ctrl_interface is now a path - (/var/run/wpa_supplicant is the recommended path) and - ctrl_interface_group can be used to select which group gets access to - the control interface; - wpa_cli: by default, try to connect to the first interface available - in /var/run/wpa_supplicant; this path can be overriden with -p option - and an interface can be selected with -i option (i.e., in most common - cases, wpa_cli does not need to get any arguments) - * added support for LEAP - * added driver interface for Linux ndiswrapper - * added priority option for network blocks in the configuration file; - this allows networks to be grouped based on priority (the scan - results are searched for matches with network blocks in this order) - -2004-06-20 - v0.2.3 - * sort scan results to improve AP selection - * fixed control interface socket removal for some error cases - * improved scan requesting and authentication timeout - * small improvements/bug fixes for EAP-MSCHAPv2, EAP-PEAP, and - TLS processing - * PEAP version can now be forced with phase1="peapver=" - (mostly for testing; by default, the highest version supported by - both the Supplicant and Authentication Server is selected - automatically) - * added support for madwifi driver (Atheros ar521x) - * added a workaround for cases where AP sets Install Tx/Rx bit for - WPA Group Key messages when pairwise keys are used (without this, - the Group Key would be used for Tx and the AP would drop frames - from the station) - * added GSM SIM/USIM interface for GSM authentication algorithm for - EAP-SIM; this requires pcsc-lite - * added support for ATMEL AT76C5XXx driver - * fixed IEEE 802.1X WEP key derivation in the case where Authenticator - does not include key data in the EAPOL-Key frame (i.e., part of - EAP keying material is used as data encryption key) - * added support for using plaintext and static WEP networks - (key_mgmt=NONE) - -2004-05-31 - v0.2.2 - * added support for new EAP authentication methods: - EAP-TTLS/EAP-MD5-Challenge - EAP-TTLS/EAP-GTC - EAP-TTLS/EAP-MSCHAPv2 - EAP-TTLS/EAP-TLS - EAP-TTLS/MSCHAPv2 - EAP-TTLS/MSCHAP - EAP-TTLS/PAP - EAP-TTLS/CHAP - EAP-PEAP/TLS - EAP-PEAP/GTC - EAP-PEAP/MD5-Challenge - EAP-GTC - EAP-SIM (not yet complete; needs GSM/SIM authentication interface) - * added support for anonymous identity (to be used when identity is - sent in plaintext; real identity will be used within TLS protected - tunnel (e.g., with EAP-TTLS) - * added event messages from wpa_supplicant to frontends, e.g., wpa_cli - * added support for requesting identity and password information using - control interface; in other words, the password for EAP-PEAP or - EAP-TTLS does not need to be included in the configuration file since - a frontand (e.g., wpa_cli) can ask it from the user - * improved RSN pre-authentication to use a candidate list and process - all candidates from each scan; not only one per scan - * fixed RSN IE and WPA IE capabilities field parsing - * ignore Tx bit in GTK IE when Pairwise keys are used - * avoid making new scan requests during IEEE 802.1X negotiation - * use openssl/libcrypto for MD5 and SHA-1 when compiling wpa_supplicant - with TLS support (this replaces the included implementation with - library code to save about 8 kB since the library code is needed - anyway for TLS) - * fixed WPA-PSK only mode when compiled without IEEE 802.1X support - (i.e., without CONFIG_IEEE8021X_EAPOL=y in .config) - -2004-05-06 - v0.2.1 - * added support for internal IEEE 802.1X (actually, IEEE 802.1aa/D6.1) - Supplicant - - EAPOL state machines for Supplicant [IEEE 802.1aa/D6.1] - - EAP peer state machine [draft-ietf-eap-statemachine-02.pdf] - - EAP-MD5 (cannot be used with WPA-RADIUS) - [draft-ietf-eap-rfc2284bis-09.txt] - - EAP-TLS [RFC 2716] - - EAP-MSCHAPv2 (currently used only with EAP-PEAP) - - EAP-PEAP/MSCHAPv2 [draft-josefsson-pppext-eap-tls-eap-07.txt] - [draft-kamath-pppext-eap-mschapv2-00.txt] - (PEAP version 0, 1, and parts of 2; only 0 and 1 are enabled by - default; tested with FreeRADIUS, Microsoft IAS, and Funk Odyssey) - - new configuration file options: eap, identity, password, ca_cert, - client_cert, privatekey, private_key_passwd - - Xsupplicant is not required anymore, but it can be used by - disabling the internal IEEE 802.1X Supplicant with -e command line - option - - this code is not included in the default build; Makefile need to - be edited for this (uncomment lines for selected functionality) - - EAP-TLS and EAP-PEAP require openssl libraries - * use module prefix in debug messages (WPA, EAP, EAP-TLS, ..) - * added support for non-WPA IEEE 802.1X mode with dynamic WEP keys - (i.e., complete IEEE 802.1X/EAP authentication and use IEEE 802.1X - EAPOL-Key frames instead of WPA key handshakes) - * added support for IEEE 802.11i/RSN (WPA2) - - improved PTK Key Handshake - - PMKSA caching, pre-authentication - * fixed wpa_supplicant to ignore possible extra data after WPA - EAPOL-Key packets (this fixes 'Invalid EAPOL-Key MIC when using - TPTK' error from message 3 of 4-Way Handshake in case the AP - includes extra data after the EAPOL-Key) - * added interface for external programs (frontends) to control - wpa_supplicant - - CLI example (wpa_cli) with interactive mode and command line - mode - - replaced SIGUSR1 status/statistics with the new control interface - * made some feature compile time configurable - - .config file for make - - driver interfaces (hostap, hermes, ..) - - EAPOL/EAP functions - -2004-02-15 - v0.2.0 - * Initial version of wpa_supplicant diff --git a/contrib/wpa_supplicant/FREEBSD-Xlist b/contrib/wpa_supplicant/FREEBSD-Xlist deleted file mode 100644 index d2f1697904803..0000000000000 --- a/contrib/wpa_supplicant/FREEBSD-Xlist +++ /dev/null @@ -1,22 +0,0 @@ -$FreeBSD$ -.cvsignore -README-Windows.txt -driver_atmel.c -driver_broadcom.c -driver_bsd.c -driver_hostap.c -driver_ipw.c -driver_madwifi.c -driver_ndis.c -driver_ndis.h -driver_ndis_.c -driver_ndiswrapper.c -driver_prism54.c -driver_test.c -driver_wext.c -driver_wext.h -l2_packet.c -ndis_events.cpp -priv_netlink.h -win_if_list.c -wireless_copy.h diff --git a/contrib/wpa_supplicant/FREEBSD-upgrade b/contrib/wpa_supplicant/FREEBSD-upgrade deleted file mode 100644 index f8ef0f0013797..0000000000000 --- a/contrib/wpa_supplicant/FREEBSD-upgrade +++ /dev/null @@ -1,24 +0,0 @@ -$FreeBSD$ - -WPA Supplicant - originals can be found at: http://hostap.epitest.fi/releases/ - - -For the import files and directories were pruned by: - - tar -X FREEBSD-Xlist -zxf wpa_supplicant-0.3.8.tar.gz - -then imported by: - - cvs import -m 'Import of WPA supplicant 0.3.8' \ - src/contrib/wpa_supplicant MALINEN v0_3_8 - -To make local changes to wpa_supplcaint, simply patch and commit -to the main branch (aka HEAD). Never make local changes on the -vendor (MALINEN) branch. - -All local changes should be submitted to Jouni Malinen for inclusion in -the next vendor release. - -sam@FreeBSD.org -4-June-2005 diff --git a/contrib/wpa_supplicant/Makefile b/contrib/wpa_supplicant/Makefile deleted file mode 100644 index fa912436c86ef..0000000000000 --- a/contrib/wpa_supplicant/Makefile +++ /dev/null @@ -1,385 +0,0 @@ -ifndef CC -CC=gcc -endif - -ifndef CFLAGS -CFLAGS = -MMD -O2 -Wall -g -endif - -# Include directories for CVS version -CFLAGS += -I../driver/modules -I../utils -I../hostapd - -ALL=wpa_supplicant wpa_passphrase wpa_cli - -all: verify_config $(ALL) - -verify_config: - @if [ ! -r .config ]; then \ - echo 'Building wpa_supplicant requires a configuration file'; \ - echo '(.config). See README for more instructions. You can'; \ - echo 'run "cp defconfig .config" to create an example'; \ - echo 'configuration.'; \ - exit 1; \ - fi - -mkconfig: - @if [ -e .config ]; then \ - echo '.config exists - did not replace it'; \ - exit 1; \ - fi - echo CONFIG_DRIVER_HOSTAP=y >> .config - echo CONFIG_DRIVER_WEXT=y >> .config - echo CONFIG_WIRELESS_EXTENSION=y >> .config - -install: all - mkdir -p $(DESTDIR)/usr/local/sbin/ - for i in $(ALL); do cp $$i $(DESTDIR)/usr/local/sbin/$$i; done - -OBJS = config.o \ - eloop.o common.o md5.o \ - rc4.o sha1.o aes_wrap.o -OBJS_p = wpa_passphrase.o sha1.o md5.o -OBJS_c = wpa_cli.o wpa_ctrl.o - --include .config - -ifdef CONFIG_EAPOL_TEST -CFLAGS += -Werror -DEAPOL_TEST -endif - -ifdef CONFIG_DRIVER_HOSTAP -CFLAGS += -DCONFIG_DRIVER_HOSTAP -OBJS += driver_hostap.o -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_WEXT -CFLAGS += -DCONFIG_DRIVER_WEXT -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_PRISM54 -CFLAGS += -DCONFIG_DRIVER_PRISM54 -OBJS += driver_prism54.o -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_HERMES -CFLAGS += -DCONFIG_DRIVER_HERMES -OBJS += driver_hermes.o -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_MADWIFI -CFLAGS += -DCONFIG_DRIVER_MADWIFI -OBJS += driver_madwifi.o -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_ATMEL -CFLAGS += -DCONFIG_DRIVER_ATMEL -OBJS += driver_atmel.o -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_NDISWRAPPER -CFLAGS += -DCONFIG_DRIVER_NDISWRAPPER -OBJS += driver_ndiswrapper.o -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_BROADCOM -CFLAGS += -DCONFIG_DRIVER_BROADCOM -OBJS += driver_broadcom.o -endif - -ifdef CONFIG_DRIVER_IPW -CFLAGS += -DCONFIG_DRIVER_IPW -OBJS += driver_ipw.o -CONFIG_WIRELESS_EXTENSION=y -endif - -ifdef CONFIG_DRIVER_BSD -CFLAGS += -DCONFIG_DRIVER_BSD -OBJS += driver_bsd.o -CONFIG_DNET_PCAP=y -endif - -ifdef CONFIG_DRIVER_NDIS -CFLAGS += -DCONFIG_DRIVER_NDIS -OBJS += driver_ndis.o driver_ndis_.o -CONFIG_DNET_PCAP=y -CONFIG_WINPCAP=y -endif - -ifdef CONFIG_DRIVER_TEST -CFLAGS += -DCONFIG_DRIVER_TEST -OBJS += driver_test.o -endif - -ifdef CONFIG_DNET_PCAP -CFLAGS += -DUSE_DNET_PCAP -ifdef CONFIG_WINPCAP -CFLAGS += -DCONFIG_WINPCAP -LIBS += -lwpcap -lpacket -LIBS_w += -lwpcap -else -LIBS += -ldnet -lpcap -endif -endif - -ifdef CONFIG_EAP_TLS -# EAP-TLS -CFLAGS += -DEAP_TLS -OBJS += eap_tls.o -TLS_FUNCS=y -CONFIG_IEEE8021X_EAPOL=y -endif - -ifdef CONFIG_EAP_PEAP -# EAP-PEAP -CFLAGS += -DEAP_PEAP -OBJS += eap_peap.o -TLS_FUNCS=y -CONFIG_EAP_MSCHAPV2=y -CONFIG_IEEE8021X_EAPOL=y -CONFIG_EAP_TLV=y -endif - -ifdef CONFIG_EAP_TTLS -# EAP-TTLS -CFLAGS += -DEAP_TTLS -OBJS += eap_ttls.o -MS_FUNCS=y -TLS_FUNCS=y -CONFIG_EAP_MD5=y -CONFIG_IEEE8021X_EAPOL=y -endif - -ifdef CONFIG_EAP_MD5 -# EAP-MD5 (also used by EAP-TTLS) -CFLAGS += -DEAP_MD5 -OBJS += eap_md5.o -CONFIG_IEEE8021X_EAPOL=y -endif - -# backwards compatibility for old spelling -ifdef CONFIG_MSCHAPV2 -CONFIG_EAP_MSCHAPV2=y -endif - -ifdef CONFIG_EAP_MSCHAPV2 -# EAP-MSCHAPv2 (also used by EAP-PEAP) -CFLAGS += -DEAP_MSCHAPv2 -OBJS += eap_mschapv2.o -MS_FUNCS=y -CONFIG_IEEE8021X_EAPOL=y -endif - -ifdef CONFIG_EAP_GTC -# EAP-GTC (also used by EAP-PEAP) -CFLAGS += -DEAP_GTC -OBJS += eap_gtc.o -CONFIG_IEEE8021X_EAPOL=y -endif - -ifdef CONFIG_EAP_OTP -# EAP-OTP -CFLAGS += -DEAP_OTP -OBJS += eap_otp.o -CONFIG_IEEE8021X_EAPOL=y -endif - -ifdef CONFIG_EAP_SIM -# EAP-SIM -CFLAGS += -DEAP_SIM -OBJS += eap_sim.o -CONFIG_IEEE8021X_EAPOL=y -CONFIG_EAP_SIM_COMMON=y -endif - -ifdef CONFIG_EAP_LEAP -# EAP-LEAP -CFLAGS += -DEAP_LEAP -OBJS += eap_leap.o -MS_FUNCS=y -CONFIG_IEEE8021X_EAPOL=y -endif - -ifdef CONFIG_EAP_PSK -# EAP-PSK -CFLAGS += -DEAP_PSK -OBJS += eap_psk.o -CONFIG_IEEE8021X_EAPOL=y -endif - -ifdef CONFIG_EAP_AKA -# EAP-AKA -CFLAGS += -DEAP_AKA -OBJS += eap_aka.o -CONFIG_IEEE8021X_EAPOL=y -CONFIG_EAP_SIM_COMMON=y -endif - -ifdef CONFIG_EAP_SIM_COMMON -OBJS += eap_sim_common.o -endif - -ifdef CONFIG_EAP_TLV -# EAP-TLV -CFLAGS += -DEAP_TLV -OBJS += eap_tlv.o -endif - -ifdef CONFIG_EAP_FAST -# EAP-FAST -CFLAGS += -DEAP_FAST -OBJS += eap_fast.o -TLS_FUNCS=y -endif - -ifdef CONFIG_IEEE8021X_EAPOL -# IEEE 802.1X/EAPOL state machines (e.g., for RADIUS authentication) -CFLAGS += -DIEEE8021X_EAPOL -OBJS += eapol_sm.o eap.o -endif - -ifdef CONFIG_PCSC -# PC/SC interface for smartcards (USIM, GSM SIM) -CFLAGS += -DPCSC_FUNCS -I/usr/include/PCSC -OBJS += pcsc_funcs.o -# -lpthread may not be needed depending on how pcsc-lite was configured -LIBS += -lpcsclite -lpthread -endif - -ifdef TLS_FUNCS -# Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS) -CFLAGS += -DEAP_TLS_FUNCS -OBJS += eap_tls_common.o tls_openssl.o -LIBS += -lssl -lcrypto -LIBS_p += -lcrypto -else -OBJS += tls_none.o -endif - -ifdef CONFIG_PKCS12 -CFLAGS += -DPKCS12_FUNCS -endif - -ifdef MS_FUNCS -ifndef TLS_FUNCS -LIBS += -lcrypto -endif -OBJS += ms_funcs.o crypto.o -endif - -ifdef CONFIG_WIRELESS_EXTENSION -CFLAGS += -DCONFIG_WIRELESS_EXTENSION -OBJS += driver_wext.o -endif - -ifdef CONFIG_CTRL_IFACE -CFLAGS += -DCONFIG_CTRL_IFACE -OBJS += ctrl_iface.o -endif - -ifdef CONFIG_XSUPPLICANT_IFACE -CFLAGS += -DCONFIG_XSUPPLICANT_IFACE -endif - -ifdef CONFIG_READLINE -CFLAGS += -DCONFIG_READLINE -LIBS_c += -lncurses -lreadline -endif - -ifdef CONFIG_NATIVE_WINDOWS -CFLAGS += -DCONFIG_NATIVE_WINDOWS -DCONFIG_CTRL_IFACE_UDP -LIBS += -lws2_32 -lgdi32 -LIBS_c += -lws2_32 -endif - -OBJS_t := $(OBJS) eapol_test.o radius.o radius_client.o -OBJS_t2 := $(OBJS) preauth_test.o l2_packet.o -OBJS += wpa_supplicant.o wpa.o l2_packet.o drivers.o - -wpa_supplicant: .config $(OBJS) - $(CC) -o wpa_supplicant $(OBJS) $(LIBS) - -eapol_test: .config $(OBJS_t) - $(CC) -o eapol_test $(OBJS_t) $(LIBS) - -preauth_test: .config $(OBJS_t2) - $(CC) -o preauth_test $(OBJS_t2) $(LIBS) - -wpa_passphrase: $(OBJS_p) - $(CC) -o wpa_passphrase $(OBJS_p) $(LIBS_p) - -wpa_cli: $(OBJS_c) - $(CC) -o wpa_cli $(OBJS_c) $(LIBS_c) - -win_if_list: win_if_list.c - $(CC) -o $@ win_if_list.c $(CFLAGS) $(LIBS_w) - -# parameters for Microsoft Visual C++ Toolkit 2003 compiler -CL=cl -CLDIR=C:\Program Files\Microsoft Visual C++ Toolkit 2003 -PSDKDIR=C:\Program Files\Microsoft Platform SDK for Windows XP SP2 -CLFLAGS=-O -CLLIBS=wbemuuid.lib libcmt.lib kernel32.lib uuid.lib ole32.lib oleaut32.lib \ - ws2_32.lib - -ndis_events: ndis_events.cpp - INCLUDE="$(CLDIR)\include;$(PSDKDIR)\Include" \ - LIB="$(CLDIR)\lib;$(PSDKDIR)\Lib" \ - $(CL) $(CLFLAGS) -o ndis_events.exe ndis_events.cpp \ - /link -nodefaultlib $(CLLIBS) - -wpa_supplicant.exe: wpa_supplicant - mv -f $< $@ -wpa_cli.exe: wpa_cli - mv -f $< $@ -wpa_passphrase.exe: wpa_passphrase - mv -f $< $@ -win_if_list.exe: win_if_list - mv -f $< $@ - -WINALL=wpa_supplicant.exe wpa_cli.exe wpa_passphrase.exe win_if_list.exe - -windows-bin: $(WINALL) - $(STRIP) $(WINALL) - -TEST_SRC_MS_FUNCS = ms_funcs.c crypto.c sha1.c md5.c -test-ms_funcs: $(TEST_SRC_MS_FUNCS) - $(CC) -o test-ms_funcs -Wall -Werror $(TEST_SRC_MS_FUNCS) \ - -DTEST_MAIN_MS_FUNCS -lcrypto -I../hostapd - ./test-ms_funcs - rm test-ms_funcs - -TEST_SRC_SHA1 = sha1.c -test-sha1: $(TEST_SRC_SHA1) - $(CC) -o test-sha1 -Wall -Werror $(TEST_SRC_SHA1) \ - -DTEST_MAIN -I../hostad - ./test-sha1 - rm test-sha1 - -TEST_SRC_AES_WRAP = aes_wrap.c -test-aes_wrap: $(TEST_SRC_AES_WRAP) - $(CC) -o test-aes_wrap -Wall -Werror $(TEST_SRC_AES_WRAP) \ - -DTEST_MAIN -I../hostad - ./test-aes_wrap - rm test-aes_wrap - -TEST_SRC_EAP_SIM_COMMON = eap_sim_common.c sha1.c md5.c \ - aes_wrap.c common.c -test-eap_sim_common: $(TEST_SRC_EAP_SIM_COMMON) - $(CC) -o test-eap_sim_common -Wall -Werror $(TEST_SRC_EAP_SIM_COMMON) \ - -DTEST_MAIN_EAP_SIM_COMMON -I../hostapd - ./test-eap_sim_common - rm test-eap_sim_common - -tests: test-ms_funcs test-sha1 test-aes_wrap test-eap_sim_common - -clean: - rm -f core *~ *.o *.d $(ALL) $(WINALL) - --include $(OBJS:%.o=%.d) diff --git a/contrib/wpa_supplicant/README b/contrib/wpa_supplicant/README deleted file mode 100644 index bab25d586725c..0000000000000 --- a/contrib/wpa_supplicant/README +++ /dev/null @@ -1,858 +0,0 @@ -WPA Supplicant -============== - -Copyright (c) 2003-2005, Jouni Malinen and -contributors -All Rights Reserved. - -This program is dual-licensed under both the GPL version 2 and BSD -license. Either license may be used at your option. - - - -License -------- - -GPL v2: - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License version 2 as -published by the Free Software Foundation. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -(this copy of the license is in COPYING file) - - -Alternatively, this software may be distributed under the terms of BSD -license: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -3. Neither the name(s) of the above-listed copyright holder(s) nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -Features --------- - -Supported WPA/IEEE 802.11i features: -- WPA-PSK ("WPA-Personal") -- WPA with EAP (e.g., with RADIUS authentication server) ("WPA-Enterprise") - Following authentication methods are supported with an integrate IEEE 802.1X - Supplicant: - * EAP-TLS - * EAP-PEAP/MSCHAPv2 (both PEAPv0 and PEAPv1) - * EAP-PEAP/TLS (both PEAPv0 and PEAPv1) - * EAP-PEAP/GTC (both PEAPv0 and PEAPv1) - * EAP-PEAP/OTP (both PEAPv0 and PEAPv1) - * EAP-PEAP/MD5-Challenge (both PEAPv0 and PEAPv1) - * EAP-TTLS/EAP-MD5-Challenge - * EAP-TTLS/EAP-GTC - * EAP-TTLS/EAP-OTP - * EAP-TTLS/EAP-MSCHAPv2 - * EAP-TTLS/EAP-TLS - * EAP-TTLS/MSCHAPv2 - * EAP-TTLS/MSCHAP - * EAP-TTLS/PAP - * EAP-TTLS/CHAP - * EAP-SIM - * EAP-AKA - * EAP-PSK - * LEAP (note: requires special support from the driver for IEEE 802.11 - authentication) - (following methods are supported, but since they do not generate keying - material, they cannot be used with WPA or IEEE 802.1X WEP keying) - * EAP-MD5-Challenge - * EAP-MSCHAPv2 - * EAP-GTC - * EAP-OTP - Alternatively, an external program, e.g., Xsupplicant, can be used for EAP - authentication. -- key management for CCMP, TKIP, WEP104, WEP40 -- RSN/WPA2 (IEEE 802.11i) - * pre-authentication - * PMKSA caching - - - -Requirements ------------- - -Current hardware/software requirements: -- Linux kernel 2.4.x or 2.6.x with Linux Wireless Extensions v15 or newer -- FreeBSD 6-CURRENT -- Microsoft Windows with WinPcap (at least WinXP, may work with other versions) -- drivers: - Host AP driver for Prism2/2.5/3 (development snapshot/v0.2.x) - (http://hostap.epitest.fi/) - Driver need to be set in Managed mode ('iwconfig wlan0 mode managed'). - Please note that station firmware version needs to be 1.7.0 or newer - to work in WPA mode. - - Linuxant DriverLoader (http://www.linuxant.com/driverloader/) - with Windows NDIS driver for your wlan card supporting WPA. - - Agere Systems Inc. Linux Driver - (http://www.agere.com/support/drivers/) - Please note that the driver interface file (driver_hermes.c) and - hardware specific include files are not included in the - wpa_supplicant distribution. You will need to copy these from the - source package of the Agere driver. - - madwifi driver for cards based on Atheros chip set (ar521x) - (http://sourceforge.net/projects/madwifi/) - Please note that you will need to modify the wpa_supplicant .config - file to use the correct path for the madwifi driver root directory - (CFLAGS += -I../madwifi/wpa line in example defconfig). - - ATMEL AT76C5XXx driver for USB and PCMCIA cards - (http://atmelwlandriver.sourceforge.net/). - - Linux ndiswrapper (http://ndiswrapper.sourceforge.net/) with - Windows NDIS driver. - - Broadcom wl.o driver - This is a generic Linux driver for Broadcom IEEE 802.11a/g cards. - However, it is proprietary driver that is not publicly available - except for couple of exceptions, mainly Broadcom-based APs/wireless - routers that use Linux. The driver binary can be downloaded, e.g., - from Linksys support site (http://www.linksys.com/support/gpl.asp) - for Linksys WRT54G. The GPL tarball includes cross-compiler and - the needed header file, wlioctl.h, for compiling wpa_supplicant. - This driver support in wpa_supplicant is expected to work also with - other devices based on Broadcom driver (assuming the driver includes - client mode support). - - Intel ipw2100 driver - (http://sourceforge.net/projects/ipw2100/) - - Intel ipw2200 driver - (http://sourceforge.net/projects/ipw2200/) - - In theory, any driver that supports Linux wireless extensions can be - used with IEEE 802.1X (i.e., not WPA) when using ap_scan=0 option in - configuration file. - - BSD net80211 layer (e.g., Atheros driver) - At the moment, this is for FreeBSD 6-CURRENT branch. - - Windows NDIS - The current Windows port requires WinPcap (http://winpcap.polito.it/). - See README-Windows.txt for more information. - -wpa_supplicant was designed to be portable for different drivers and -operating systems. Hopefully, support for more wlan cards and OSes will be -added in the future. See developer.txt for more information about the -design of wpa_supplicant and porting to other drivers. One main goal -is to add full WPA/WPA2 support to Linux wireless extensions to allow -new drivers to be supported without having to implement new -driver-specific interface code in wpa_supplicant. - -Optional libraries for layer2 packet processing: -- libpcap (tested with 0.7.2, most relatively recent versions assumed to work, - this is likely to be available with most distributions, - http://tcpdump.org/) -- libdnet (tested with v1.4, most versions assumed to work, - http://libdnet.sourceforge.net/) - -These libraries are _not_ used in the default Linux build. Instead, -internal Linux specific implementation is used. libpcap/libdnet are -more portable and they can be used by adding CONFIG_DNET_PCAP=y into -.config. They may also be selected automatically for other operating -systems. - - -Optional libraries for EAP-TLS, EAP-PEAP, and EAP-TTLS: -- openssl (tested with 0.9.7c and 0.9.7d, assumed to work with most - relatively recent versions; this is likely to be available with most - distributions, http://www.openssl.org/) - -This library is only needed when EAP-TLS, EAP-PEAP, or EAP-TTLS -support is enabled. WPA-PSK mode does not require this or EAPOL/EAP -implementation. A configuration file, .config, for compilation is -needed to enable IEEE 802.1X/EAPOL and EAP methods. Note that EAP-MD5, -EAP-GTC, EAP-OTP, and EAP-MSCHAPV2 cannot be used alone with WPA, so -they should only be enabled if testing the EAPOL/EAP state -machines. However, there can be used as inner authentication -algorithms with EAP-PEAP and EAP-TTLS. - -See Building and installing section below for more detailed -information about the wpa_supplicant build time configuration. - - - -WPA ---- - -The original security mechanism of IEEE 802.11 standard was not -designed to be strong and has proven to be insufficient for most -networks that require some kind of security. Task group I (Security) -of IEEE 802.11 working group (http://www.ieee802.org/11/) has worked -to address the flaws of the base standard and has in practice -completed its work in May 2004. The IEEE 802.11i amendment to the IEEE -802.11 standard was approved in June 2004 and this amendment is likely -to be published in July 2004. - -Wi-Fi Alliance (http://www.wi-fi.org/) used a draft version of the -IEEE 802.11i work (draft 3.0) to define a subset of the security -enhancements that can be implemented with existing wlan hardware. This -is called Wi-Fi Protected Access (WPA). This has now become a -mandatory component of interoperability testing and certification done -by Wi-Fi Alliance. Wi-Fi provides information about WPA at its web -site (http://www.wi-fi.org/OpenSection/protected_access.asp). - -IEEE 802.11 standard defined wired equivalent privacy (WEP) algorithm -for protecting wireless networks. WEP uses RC4 with 40-bit keys, -24-bit initialization vector (IV), and CRC32 to protect against packet -forgery. All these choices have proven to be insufficient: key space is -too small against current attacks, RC4 key scheduling is insufficient -(beginning of the pseudorandom stream should be skipped), IV space is -too small and IV reuse makes attacks easier, there is no replay -protection, and non-keyed authentication does not protect against bit -flipping packet data. - -WPA is an intermediate solution for the security issues. It uses -Temporal Key Integrity Protocol (TKIP) to replace WEP. TKIP is a -compromise on strong security and possibility to use existing -hardware. It still uses RC4 for the encryption like WEP, but with -per-packet RC4 keys. In addition, it implements replay protection, -keyed packet authentication mechanism (Michael MIC). - -Keys can be managed using two different mechanisms. WPA can either use -an external authentication server (e.g., RADIUS) and EAP just like -IEEE 802.1X is using or pre-shared keys without need for additional -servers. Wi-Fi calls these "WPA-Enterprise" and "WPA-Personal", -respectively. Both mechanisms will generate a master session key for -the Authenticator (AP) and Supplicant (client station). - -WPA implements a new key handshake (4-Way Handshake and Group Key -Handshake) for generating and exchanging data encryption keys between -the Authenticator and Supplicant. This handshake is also used to -verify that both Authenticator and Supplicant know the master session -key. These handshakes are identical regardless of the selected key -management mechanism (only the method for generating master session -key changes). - - - -IEEE 802.11i / WPA2 -------------------- - -The design for parts of IEEE 802.11i that were not included in WPA has -finished (May 2004) and this amendment to IEEE 802.11 was approved in -June 2004. Wi-Fi Alliance is using the final IEEE 802.11i as a new -version of WPA called WPA2. This includes, e.g., support for more -robust encryption algorithm (CCMP: AES in Counter mode with CBC-MAC) -to replace TKIP and optimizations for handoff (reduced number of -messages in initial key handshake, pre-authentication, and PMKSA caching). - -Some wireless LAN vendors are already providing support for CCMP in -their WPA products. There is no "official" interoperability -certification for CCMP and/or mixed modes using both TKIP and CCMP, so -some interoperability issues can be expected even though many -combinations seem to be working with equipment from different vendors. -Certification for WPA2 is likely to start during the second half of -2004. - - - -wpa_supplicant --------------- - -wpa_supplicant is an implementation of the WPA Supplicant component, -i.e., the part that runs in the client stations. It implements WPA key -negotiation with a WPA Authenticator and EAP authentication with -Authentication Server. In addition, it controls the roaming and IEEE -802.11 authentication/association of the wlan driver. - -wpa_supplicant is designed to be a "daemon" program that runs in the -background and acts as the backend component controlling the wireless -connection. wpa_supplicant supports separate frontend programs and an -example text-based frontend, wpa_cli, is included with wpa_supplicant. - -Following steps are used when associating with an AP using WPA: - -- wpa_supplicant requests the kernel driver to scan neighboring BSSes -- wpa_supplicant selects a BSS based on its configuration -- wpa_supplicant requests the kernel driver to associate with the chosen - BSS -- If WPA-EAP: integrated IEEE 802.1X Supplicant or external Xsupplicant - completes EAP authentication with the authentication server (proxied - by the Authenticator in the AP) -- If WPA-EAP: master key is received from the IEEE 802.1X Supplicant -- If WPA-PSK: wpa_supplicant uses PSK as the master session key -- wpa_supplicant completes WPA 4-Way Handshake and Group Key Handshake - with the Authenticator (AP) -- wpa_supplicant configures encryption keys for unicast and broadcast -- normal data packets can be transmitted and received - - - -Building and installing ------------------------ - -In order to be able to build wpa_supplicant, you will first need to -select which parts of it will be included. This is done by creating a -build time configuration file, .config, in the wpa_supplicant root -directory. Configuration options are text lines using following -format: CONFIG_