From owner-freebsd-net@FreeBSD.ORG Thu May 20 08:39:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0EF216A4CE for ; Thu, 20 May 2004 08:39:01 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FFF943D54 for ; Thu, 20 May 2004 08:39:01 -0700 (PDT) (envelope-from sam@errno.com) Received: from [66.127.85.91] ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id i4KFcwWR069634 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 20 May 2004 08:38:58 -0700 (PDT) (envelope-from sam@errno.com) From: Sam Leffler Organization: Errno Consulting To: freebsd-net@freebsd.org Date: Thu, 20 May 2004 08:36:31 -0700 User-Agent: KMail/1.6.1 References: <40AC07DB.10509@ecr.mu.oz.au> <20040520111752.10417492@localhost> In-Reply-To: <20040520111752.10417492@localhost> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405200836.31526.sam@errno.com> Subject: Re: 802.1x, HOSTAP, station association notifications X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 15:39:01 -0000 On Thursday 20 May 2004 02:17 am, Marco Molteni wrote: > On Thu, 20 May 2004 11:20:27 +1000 > Phillip Crumpler wrote: > > [..] > > > I need a neat and tidy way of notifying either a netgraph node or a > > user process about associations. > > [..] > > You did search the archives, did you? ;-) > > Have a look at the following thread: > http://docs.FreeBSD.org/cgi/mid.cgi?39FE23FA-7F75-11D8-8F99-000A95CDA38A > > I would *love* to see all interested parties come up with a > unified way of doing this, and contribute it to FreeBSD. I pointed him at the madwifi project on sourceforge. It's a Linux port of the net80211 layer that now includes an 802.1x authenticator and soon will have WPA support too. Backporting to FreeBSD should be straightforward. For user-level notification I have some simple additions to kqueue to define new events equivalent to the Linux wireless extensions events (scan done, station associate, station deauth, station join, station leave). Sam