aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius/radius_das.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-06-17 14:43:36 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-17 14:43:36 (GMT)
commitbde7ba6caf3a2e56b277d9fcf3ff05b0606cb833 (patch)
tree58e7f172c472d1410328d34b040ada38bd568598 /src/radius/radius_das.h
parentc2d76aa6247b4769b935f11c902aa3f31278278e (diff)
downloadhostap-bde7ba6caf3a2e56b277d9fcf3ff05b0606cb833.zip
hostap-bde7ba6caf3a2e56b277d9fcf3ff05b0606cb833.tar.gz
hostap-bde7ba6caf3a2e56b277d9fcf3ff05b0606cb833.tar.bz2
RADIUS DAS: Validate Event-Timestamp
DAS will now validate Event-Timestamp value to be within an acceptable time window (300 seconds by default; can be set using radius_das_time_window parameter). In addition, Event-Timestamp can be required in Disconnect-Request and CoA-Request messages with radius_das_require_event_timestamp=1. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/radius/radius_das.h')
-rw-r--r--src/radius/radius_das.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radius/radius_das.h b/src/radius/radius_das.h
index 4e21c6d..c3d501d 100644
--- a/src/radius/radius_das.h
+++ b/src/radius/radius_das.h
@@ -16,6 +16,8 @@ struct radius_das_conf {
const u8 *shared_secret;
size_t shared_secret_len;
const struct hostapd_ip_addr *client_addr;
+ unsigned int time_window;
+ int require_event_timestamp;
};
struct radius_das_data *