|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: hostapd.conf,v 1.6 2005/09/30 16:50:03 reyk Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: hostapd.conf,v 1.7 2005/10/13 09:49:59 aanriot Exp $ |
|
|
# sample hostapd configuration file |
|
|
# sample hostapd configuration file |
|
|
# see hostapd.conf(5) |
|
|
# see hostapd.conf(5) |
|
|
|
|
|
|
|
@ -31,14 +31,13 @@ table <myess> { |
|
|
# Global options |
|
|
# Global options |
|
|
# |
|
|
# |
|
|
|
|
|
|
|
|
# Uncomment this option to run hostapd in passive IAPP monitoring mode. |
|
|
|
|
|
|
|
|
# Comment this option to run hostapd in passive IAPP logging mode. |
|
|
set hostap interface $wlan |
|
|
set hostap interface $wlan |
|
|
|
|
|
|
|
|
# Should be the default, the opposite is "pcap" without radiotap headers. |
|
|
|
|
|
|
|
|
# Use default radiotap mode. |
|
|
set hostap mode radiotap |
|
|
set hostap mode radiotap |
|
|
|
|
|
|
|
|
# According to the revised standard, multicast is used. hostapd supports |
|
|
|
|
|
# broadcast for IAPP messages as well. |
|
|
|
|
|
|
|
|
# Use multicast (according to the revised standard). |
|
|
set iapp interface $wired |
|
|
set iapp interface $wired |
|
|
set iapp mode multicast |
|
|
set iapp mode multicast |
|
|
|
|
|
|
|
@ -46,11 +45,11 @@ set iapp mode multicast |
|
|
# Event rules |
|
|
# Event rules |
|
|
# |
|
|
# |
|
|
|
|
|
|
|
|
# Log probe requests |
|
|
|
|
|
|
|
|
# Log probe requests. |
|
|
hostap handle type management subtype probe request \ |
|
|
hostap handle type management subtype probe request \ |
|
|
with iapp type radiotap |
|
|
with iapp type radiotap |
|
|
|
|
|
|
|
|
# Log and annoy foreign accesspoints |
|
|
|
|
|
|
|
|
# Log and annoy foreign accesspoints. |
|
|
# |
|
|
# |
|
|
# This will be logged as well but the important thing is to |
|
|
# This will be logged as well but the important thing is to |
|
|
# annoy other accesspoints in your wireless territory. |
|
|
# annoy other accesspoints in your wireless territory. |
|
@ -75,7 +74,6 @@ hostap handle skip type management subtype ! beacon \ |
|
|
rate 100 / 10 sec |
|
|
rate 100 / 10 sec |
|
|
|
|
|
|
|
|
# Finally log any rogue accesspoints limited to every second. |
|
|
# Finally log any rogue accesspoints limited to every second. |
|
|
# The skip keywords instructs hostapd to ignore further IAPP |
|
|
|
|
|
# processing. |
|
|
|
|
|
hostap handle skip type management subtype beacon bssid !<myess> \ |
|
|
hostap handle skip type management subtype beacon bssid !<myess> \ |
|
|
with iapp type radiotap limit 1 sec |
|
|
with iapp type radiotap limit 1 sec |
|
|
|
|
|
|