Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:35721 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753407Ab1EJXx2 (ORCPT ); Tue, 10 May 2011 19:53:28 -0400 Received: by iwn34 with SMTP id 34so5647745iwn.19 for ; Tue, 10 May 2011 16:53:28 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4DC8B315.2020205@lwfinger.net> References: <4DC89983.4080401@lwfinger.net> <4DC8B315.2020205@lwfinger.net> Date: Wed, 11 May 2011 01:53:27 +0200 Message-ID: (sfid-20110511_015339_814441_8A33A1FF) Subject: Re: rtl8188ce drivers... From: Bojan Ilievski To: Larry Finger Cc: wireless , chaoming_li@realsil.com.cn Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Sorry, I didn't see that you've added the linux-wireless list to the reply. The thing is that the linux-wireless rtl8192ce driver supports packet injection, but only a few attempts after it is inserted into the kernel, so it has the capability, but it is not stable. Every time I reinsert it, it can inject packets, only the first few attempts. And I would like to know if anyone could point me to some learning material, from where I can learn how to make this functionality work. First of all, let me get one thing straight. I am not a network cracker, and if I were, I could easily get a USB wifi card with Atheros chipset for only 12$ here, and atheros chipsets are highly compatible with the aircrack-ng packet, and all of its network cracking tools, for example. I am just a security enthusiast who wants to learn offensive security techniques, and informational security could be my future field of master studies. So if you say that I should write a patch for the module, can anyone please give me some pointers where to look for learning materials, and where to look for making the changes in the driver, because I know very little from linux system programming (device driver writing). Thank you in advance, Bojan Ilievski On Tue, May 10, 2011 at 5:37 AM, Larry Finger wrote: > On 05/09/2011 09:49 PM, Bojan Ilievski wrote: >> >> I really don't know, if you know how please redirect me to >> forums/wikis/howtos... And if not, would it be possible for you to put >> it on your TODO list? Is the list generated by you, or the users? I >> really don't know how this things work, but I am sure that many users >> would appreciate if you could get packet injection to work with the >> rtl8192ce driver. For example, I am a student on Informatics and >> Computer Engineering, and I have a class about Wireless Computer >> Networks, and one of the subjects of the class is wireless security, >> so I could really use the ability to test wireless networks. Sorry for >> bothering you, and wasting your time, but I don't know where else can >> I ask for help. > > First of all, I added the wireless mailing list to my first reply. Never > drop any items when replying - always use "Reply-to-all". > > I don't know how to create a virtual interface and use it to inject packets, > but I think it can be done. I was hoping that someone on the mailing list > would provide a reference. > > The TODO list is mine. I really have no interest in helping network > crackers, even if your goals are honorable. You, however, are free to > develop packet injection for the RTL8192CE. That is one of the benefits of > using Linux. > > Be aware that I am an unpaid volunteer and my work on drivers is aimed at > helping the most users that I can. My current TODO list includes continuing > reverse engineering support for the 802.11n Broadcom devices, adding a > driver for the Realtek RTL8192DE, developing a mac80211-based driver for the > RTL8187SE, developing a mac80211-based driver for the RTL8192SU, and > maintaining general operations for the RTL8192CE, RTL8192CU, and RTL8192SE. > That list will keep me busy for some time. > > Larry >