aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
Commit message (Collapse)AuthorAgeFilesLines
* EAP-PEAP: Moved the common peap_prfplus() function into a shared fileJouni Malinen2008-06-091-0/+1
|
* Fixed a buffer overflow in nla_parse callJouni Malinen2008-06-061-1/+1
| | | | | The first argument (tb) to nla_parse must have room for maxtype+1, not maxtype, elements.
* Fix compile warnings on 64-bit systemsPavel Roskin2008-06-061-2/+2
| | | | | | Don't cast pointers to int in definitions of PRISM2_HOSTAPD_RID_HDR_LEN and PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN. Use size_t instead. That's actually what the code needs.
* Introduced new helper function is_zero_ether_addr()Jouni Malinen2008-06-031-1/+1
| | | | | Use this inline function to replace os_memcmp(addr, "\x00\x00\x00\x00\x00\x00", ETH_ALEN) == 0.
* Fix USE_KERNEL_HEADERS build with compat-wirelessJouni Malinen2008-06-032-0/+10
| | | | | compat-wireless does not include linux/compiler.h to define __user, so define it in hostapd code before including linux/wireless.h.
* Include wireless_copy.h instead of linux/wireless.h to avoid conflictsJouni Malinen2008-06-031-1/+1
| | | | | | linux/wireless.h ends up including number of Linux kernel header files and many of the definitions are conflicting with (or at least duplicating) definitions in net/if.h.
* Redesigned EAP-TLS/PEAP/TTLS/FAST fragmentation/reassemblyJouni Malinen2008-05-281-0/+2
| | | | | | Fragmentation is now done as a separate step to clean up the design and to allow the same code to be used in both Phase 1 and Phase 2. This adds support for fragmenting EAP-PEAP/TTLS/FAST Phase 2 (tunneled) data.
* Added fragmentation support for EAP-TNCJouni Malinen2008-05-261-0/+1
|
* Added instructions on how to create the DH parameters files.Jouni Malinen2008-05-211-0/+2
|
* Updated the comment on 'bridge' variable to mention nl80211 which needsJouni Malinen2008-05-071-3/+3
| | | | this parameter, too.
* Disable functionality in hostapd_deauth_all_stas for hostap driver onlyMichael Bernhard2008-04-161-7/+8
| | | | Signed-off-by: Michael Bernhard <michael.bernhard@bfh.ch>
* Small whitespace cleanupJouni Malinen2008-04-131-5/+5
|
* driver_nl80211: Do not send nl80211 message if beacon is not set yetMichael Bernhard2008-04-131-0/+3
| | | | Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
* driver_nl80211: Return correct valueMichael Bernhard2008-04-131-2/+2
| | | | Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
* driver_nl80211: Initialize local variableMichael Bernhard2008-04-131-1/+1
| | | | | | This solves the problem with out-of-sync ACK messages. Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
* driver_nl80211: Clone netlink callbacks instead of creating new onesMichael Bernhard2008-04-131-3/+3
| | | | | | This way the default callbacks are inherited. Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
* driver_nl80211: Use customizable netlink callbacksBernhard Michael2008-04-131-1/+9
| | | | | | This allows the use of NL_CB_VERBOSE or NL_CB_DEBUG. Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
* driver_nl80211: Use the correct nl80211 command to flush all stationsMichael Bernhard2008-04-131-1/+1
| | | | Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
* nl80211 driver: fix beacon interval settingJohannes Berg2008-04-091-2/+4
| | | | | | This removes the hard-coded beacon interval setting. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* Fix nl80211 driver to receive EAPOL responseArtem Antonov2008-04-081-0/+5
| | | | | This patch fixes nl80211 driver to receive EAPOL response if wlan0 was added to bridge.
* Rename NL80211_[ATTR]_STA_STAT_* to NL80211_[ATTR_]STA_INFO_Daniel Wagner2008-03-311-14/+14
| | | | | | | adapt to change 72141605e9f9d856418bbed9dc47e5ad42aabb42 nl80211/cfg80211: support for mesh, sta dumping Signed-off-by: Daniel Wagner <wagi@monom.org>
* EAP-PEAP: Fixed interop issues in key derivation with cryptobindingJouni Malinen2008-03-191-0/+1
| | | | | | | | | | | It looks like Microsoft implementation does not match with their specification as far as PRF+ label usage is concerned.. IPMK|CMK is derived without null termination on the label, but the label for CSK derivation must be null terminated. This allows cryptobinding to be used with PEAPv0 in a way that interoperates with Windows XP SP3 (RC2) and as such, this functionality is now enabled as an optional addition to PEAPv0.
* EAP-PEAP: Moved EAP-TLV processing into eap_peap.cJouni Malinen2008-03-181-6/+0
| | | | | | | | | EAP-PEAP was the only method that used the external eap_tlv.c server implementation. This worked fine just for the simple protected result notification, but extending the TLV support for cryptobinding etc. is not trivial with such separation. With the TLV processing integrated into eap_peap.c, all the needed information is now available for using additional TLVs.
* Support for RADIUS ACLs with drivers that do not use hostapd MLMEChris Zimmermann2008-03-124-1/+40
| | | | | | | | | | | | | | | | | | Sam Leffler <sam@errno.com>: Attached are changes from Chris Zimmerman (cc'd) to allow drivers to handle radius ACL's. The patch is against 0.5.10 but I suspect will also apply to your latest code. These mods enable radius acl support in freebsd w/ my vap code. You may want to do the changes to ieee802_11_auth.c differently as they currently require all participating drivers to work the same. You might be able to check the return value from hostapd_set_radius_acl_auth and use that to decide whether the alternate code should be run so you can have 1 driver using this stuff while the other does not. (jm: Added without more dynamic check for now; in addition, none of the current in-tree driver wrappers actually implement these handlers, so this is in preparation for future changes)
* hostapd_allowed_address() is called from hostapd_config_reload_sta() withChris Zimmermann2008-03-121-4/+10
| | | | | | session_timeout and acct_interim_interval set to NULL. Without checking these before accessing, we'd cause a NULL pointer access in this case. In ieee802_11.c calls hostapd_allowed_address() with valid pointers.
* TNC: Added TNC server support into documentation and ChangeLogsJouni Malinen2008-03-094-0/+16
|
* TNC: Provide 'tnc' configuration option for EAP server and methodsJouni Malinen2008-03-094-0/+5
|
* TNC: Added preliminary TNC implementation for hostapdJouni Malinen2008-03-094-1/+30
| | | | | | | | | This adds EAP-TNC method and TNCS (IF-IMV and IF-TNCCS) functionality. There is no integration with EAP-TTLS and EAP-FAST at this point, so this version is not yet suitable for real use (i.e., EAP-TNC can only be tested outside a tunnel which is not an allowed configuration for deployment). However, the basic TNCS functionality is more or less complete and this version seems to interoperate with wpa_supplicant.
* EAP-FAST: Cleaned up TLV processing and added support for EAP SequencesJouni Malinen2008-02-271-0/+1
| | | | | | | | Number of TLVs were processed in groups and these cases were now separated into more flexible processing of one TLV at the time. wpabuf_concat() function was added to make it easier to concatenate TLVs. EAP Sequences are now supported in both server and peer code, but the server side is not enabled by default.
* EAP-FAST: Added shared helper functions for building TLVsJouni Malinen2008-02-271-0/+1
|
* EAP-FAST: Add peer identity into EAP-FAST PAC-OpaqueJouni Malinen2008-02-271-0/+4
| | | | | | This allows Phase 2 Identity Request to be skipped if the identity is already known from PAC-Opaque received in TLS handshake in order to save one roundtrip from normal authentication.
* Added max_listen_interval configuration optionJouni Malinen2008-02-274-0/+23
| | | | | | This allows associations to be denied if the STA tries to use too large listen interval. The default value is 65535 which matches with the field size limits.
* Added listen interval to hostapd sta_add() driver functionJouni Malinen2008-02-275-10/+14
|
* Added files that cg-init excludedJouni Malinen2008-02-271-0/+65
|
* Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 releaseJouni Malinen2008-02-2795-0/+37969