Changeset 33359


Ignore:
Timestamp:
2012-09-10T14:23:41+02:00 (4 years ago)
Author:
jow
Message:

[package] hostapd: introduce new default-off option "auth_cache" which controls PMKSA and Opportunistic Key Caching (#12129)

Location:
trunk/package/hostapd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostapd/Makefile

    r33053 r33359  
    1010PKG_NAME:=hostapd 
    1111PKG_VERSION:=20120428 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313PKG_REV:=1f0cc27eb98f7d1af9c64d0752238184cbdb9a24 
    1414 
  • trunk/package/hostapd/files/hostapd.sh

    r28207 r33359  
    8585                        [ -z "$auth_secret" ] && config_get auth_secret "$vif" key 
    8686                        append "$var" "auth_server_shared_secret=$auth_secret" "$N" 
     87                        config_get_bool auth_cache "$vif" auth_cache 0 
     88                        [ "$auth_cache" -gt 0 ] || append "$var" "disable_pmksa_caching=1" "$N" 
     89                        [ "$auth_cache" -gt 0 ] || append "$var" "okc=0" "$N" 
    8790                        config_get acct_server "$vif" acct_server 
    8891                        [ -n "$acct_server" ] && append "$var" "acct_server_addr=$acct_server" "$N" 
     
    175178        then 
    176179                # RSN -> allow preauthentication 
    177                 config_get rsn_preauth "$vif" rsn_preauth 
     180                config_get_bool rsn_preauth "$vif" rsn_preauth "$auth_cache" 
    178181                if [ -n "$bridge" -a "$rsn_preauth" = 1 ] 
    179182                then 
Note: See TracChangeset for help on using the changeset viewer.