From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 12:51:48 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 359B316A41C for ; Wed, 13 Jul 2005 12:51:48 +0000 (GMT) (envelope-from c0de@bsdmail.com) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EDB243D55 for ; Wed, 13 Jul 2005 12:51:46 +0000 (GMT) (envelope-from c0de@bsdmail.com) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 9D7C9180013F for ; Wed, 13 Jul 2005 12:51:46 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 13 Jul 2005 12:51:46 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 900DD23D05; Wed, 13 Jul 2005 12:51:46 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Received: from [194.146.123.161] by ws5-3.us4.outblaze.com with http for c0de@bsdmail.com; Wed, 13 Jul 2005 20:51:46 +0800 From: "john wu" To: freebsd-hackers@freebsd.org Date: Wed, 13 Jul 2005 20:51:46 +0800 X-Originating-Ip: 194.146.123.161 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20050713125146.900DD23D05@ws5-3.us4.outblaze.com> Subject: ieee80211_send_mgmt / ieee80211_mgmt_output X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 12:51:48 -0000 hello list, i want to write a userland program for sending ieee80211 mgmt packets. this= idea is not new, first seen around 2002 by dachb0denlabs with openbsd kern= el patches.=20 (ok, first seen, there was this linux lib by packetfactory ;) the last years more and more stuff was released in the linux sector, void11= ...bla... i didn't have succ. with porting of the dachb0denlabs kernel patches for op= enbsd to freebsd(around 2002), the beast did sent out s.o.m.e.t.h.i.n.g but= not realy what i wanted it to. so now its time for me to try it aggain. well, i think the most answers i might get here to this post ll be somethin= g like, "uargh, dude - the kernel handels this stuff, and this it good, so = leave it as it is", "guess why you can't do ifunit() from userland"... etc. I TOTALY AGREE WITH THAT ! ;) so i need a Quick/Fast/Dirty hack for this purpose, using or rape most of t= he "already there" kernel functions like ieee80211_send_mgmt(). - please, any ideas (where to place the scalpel) best ? - would it be easier to patch the bpf write, so that it supports not only E= thernet and Slip writes Links ? ps. i lost the dachb0denlabs patches over the years, i think they've never = been officialy released, so it might also help if anyone can make them avar= ible for me... pps. sorry for bad english ANY ideas welcome --=20 _______________________________________________ Get your free email from http://mymail.bsdmail.com