diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-09-30 16:50:04 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-09-30 16:50:04 +0000 |
commit | 6bd954e164539db60d4af401780384d6a7c13b39 (patch) | |
tree | 1e585148910e904d12c143e07d2fa50b6ada1b27 /usr.sbin/hostapd/hostapd.h | |
parent | f90eba61558219c16a257f4788d9167eb3fbd7d6 (diff) |
implement a way to match IEEE 802.11 flooding. this will help to detect
known DoS attacks, like de-auth flooding against wireless networks.
an example is provided in the manual page.
"or could you just got for it?", deraadt@
Diffstat (limited to 'usr.sbin/hostapd/hostapd.h')
-rw-r--r-- | usr.sbin/hostapd/hostapd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/hostapd/hostapd.h b/usr.sbin/hostapd/hostapd.h index 95b88d9c4ae..f57496e8187 100644 --- a/usr.sbin/hostapd/hostapd.h +++ b/usr.sbin/hostapd/hostapd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hostapd.h,v 1.6 2005/09/09 13:21:13 reyk Exp $ */ +/* $OpenBSD: hostapd.h,v 1.7 2005/09/30 16:50:03 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -243,7 +243,9 @@ struct hostapd_frame { HOSTAPD_FRAME_F_BSSID_N) struct hostapd_table *f_from, *f_to, *f_bssid; - struct timeval f_limit, f_then; + struct timeval f_limit, f_then, f_last; + long f_rate, f_rate_intval; + long f_rate_cnt, f_rate_delay; enum hostapd_action f_action; u_int32_t f_action_flags; |