summaryrefslogtreecommitdiff
path: root/etc/hostapd.conf
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-06-17 19:28:15 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-06-17 19:28:15 +0000
commitfc9f26fd0c7946c9a524fa29e525031a35da1d68 (patch)
treeb0964647eb63e57fc2b307b5b56649c3551b1612 /etc/hostapd.conf
parent5dbbcded67dd36e8334acdaa3f76a54e194252b6 (diff)
add some configuration examples for the new hostapd(8) event rules
(commented out).
Diffstat (limited to 'etc/hostapd.conf')
-rw-r--r--etc/hostapd.conf22
1 files changed, 21 insertions, 1 deletions
diff --git a/etc/hostapd.conf b/etc/hostapd.conf
index 5f9940f9007..07f8c8cfa79 100644
--- a/etc/hostapd.conf
+++ b/etc/hostapd.conf
@@ -1,10 +1,30 @@
-# $OpenBSD: hostapd.conf,v 1.1 2005/04/13 21:47:07 henning Exp $
+# $OpenBSD: hostapd.conf,v 1.2 2005/06/17 19:28:14 reyk Exp $
# sample hostapd configuration file
# see hostapd.conf(5)
+# Macros
wlan="ural0"
wired="em0"
+# Tables
+#table <myess> const { 00:02:6f:3c:c0:2c, 00:02:6f:3c:c0:3f }
+
+# Global options
set hostap interface $wlan
+set hostap mode radiotap
set iapp interface $wired
set iapp mode broadcast
+
+# Event rules
+# send deauth on traffic to unknown accesspoints
+#hostap handle skip type data bssid !<myess> \
+# with frame type management subtype deauth reason auth expire \
+# from &bssid to &from bssid &bssid
+
+# log unknown accesspoints with radiotap dumps
+#hostap handle skip type management subtype beacon bssid !<myess> \
+# with iapp type radiotap limit 1 sec
+
+# log probe requests with radiotap dumps
+#hostap handle type management subtype probe request \
+# with iapp type radiotap