summaryrefslogtreecommitdiff
path: root/etc/hostapd.conf
blob: 61ba97bcd71bdd1964856b4f598df9cd3c6bea6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $OpenBSD: hostapd.conf,v 1.3 2005/08/02 03:46:26 david 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