O'Reilly logo

802.11 Security by Bruce Potter, Bob Fleck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Up an OpenBSD Access Point

OpenBSD introduced HostAP-mode functionality in Version 3.1. As with FreeBSD, the support comes native in the core operating system and not through a piece of third-party software. The FreeBSD and OpenBSD projects share a great deal of wireless code, and the HostAP functionality is no exception. Generally, the same capabilities that exist in FreeBSD exist in OpenBSD as well.

When setting up an OpenBSD access point, you should start out with a stripped-down and secured kernel. For a discussion on compiling a locked-down OpenBSD kernel, see Section 6.2. There should be little difference between a client kernel and an access-point kernel. Both devices are in vulnerable locations on the network and should be treated the same.

At this time, HostAP mode is only available on Prism-based cards. Be sure you are using a Prism card and that you have the Prism driver (wi) compiled into your kernel. This section describes how to make a bridging access point. This will allow devices on the wired and wireless side of the access point to be in the same broadcast domain. Most firmware-based access points work this way and provide flexibility in your network configuration. You must compile bridging support into your kernel by adding the following line to your global configuration file:

pseudo-device    bridge    2     #network bridging support

The number following the bridge device indicates the number of possible bridges the host will be able to configure. For a standard ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required