From owner-freebsd-wireless@FreeBSD.ORG Sun Oct 19 21:00:26 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 204E0861 for ; Sun, 19 Oct 2014 21:00:26 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E9FE819 for ; Sun, 19 Oct 2014 21:00:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9JL0P9X010370 for ; Sun, 19 Oct 2014 21:00:25 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201410192100.s9JL0P9X010370@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-wireless@FreeBSD.org Subject: Problem reports for freebsd-wireless@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 19 Oct 2014 21:00:25 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 21:00:26 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ----------------+-----------+------------------------------------------------- Needs MFC | 154598 | [ath] Atheros 5424/2424 can't connect to WPA ne Needs MFC | 163312 | [panic] [ath] kernel panic: page fault with ath Needs MFC | 166190 | [ath] TX hangs and frames stuck in TX queue Needs MFC | 166357 | [ath] 802.11n TX stall when the first frame in Needs MFC | 166642 | [ieee80211] [patch] in 802.11n mode for FreeBSD Needs MFC | 169362 | [ath] AR5416: radar pulse PHY errors sometimes 6 problems total for which you should take action. From owner-freebsd-wireless@FreeBSD.ORG Mon Oct 20 08:00:20 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FE935A8 for ; Mon, 20 Oct 2014 08:00:20 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D545B34 for ; Mon, 20 Oct 2014 08:00:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9K80KiK041521 for ; Mon, 20 Oct 2014 08:00:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Message-Id: <201410200800.s9K80KiK041521@kenobi.freebsd.org> From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [FreeBSD Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 20 Oct 2014 08:00:20 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 08:00:20 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (6 bugs) Bug 154598: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154598 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] Atheros 5424/2424 can't connect to WPA network Bug 163312: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=163312 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [panic] [ath] kernel panic: page fault with ath0 taskq Bug 166190: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166190 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] TX hangs and frames stuck in TX queue Bug 166357: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166357 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] 802.11n TX stall when the first frame in the BAW is in the software queue Bug 166642: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166642 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ieee80211] [patch] in 802.11n mode for FreeBSD AP, having a station in powersave cripples AP TX. Bug 169362: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=169362 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] AR5416: radar pulse PHY errors sometimes include the CRC Error bit set as well as the PHY errors From owner-freebsd-wireless@FreeBSD.ORG Tue Oct 21 06:08:09 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5EE5480 for ; Tue, 21 Oct 2014 06:08:09 +0000 (UTC) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 20134753 for ; Tue, 21 Oct 2014 06:08:06 +0000 (UTC) Received: from [89.182.173.25] (helo=localhost) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1XgSbX-0004T1-IF for freebsd-wireless@FreeBSD.org; Tue, 21 Oct 2014 08:07:35 +0200 Date: Tue, 21 Oct 2014 08:07:34 +0200 From: Marcus von Appen To: freebsd-wireless@FreeBSD.org Subject: Convert your bugs from Needs MFC Message-ID: <20141021060734.GW1065@medusa.sysfault.org> Reply-To: Marcus von Appen MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZplOxUIsrEyrgofR" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Df-Sender: MTEyNTc0Mg== X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 06:08:09 -0000 --ZplOxUIsrEyrgofR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Dear freebsd-wireless@FreeBSD.org, the "Needs MFC" status is subject to be removed in a few weeks and will be replaced by the newly added flags "mfc-stable8", "mfc-stable9" and "mfc-stable10". We would like you to convert the bugs with the status "Needs MFC", that are currently assigned to you, to those new flags and to set the bug to "In Discussion". Please set only those flags to "?", for which a MFC is still required. If a MFC already took place for a stable branch, set the flag to "+". If a MFC will not be done for a stable branch, set the flag to "-". All bugs, which are not converted within the next 14 days (until the 5th of November), will be converted by bugmeister, requesting a MFC for all branches, unknowingly, if that may be correct or not. Thanks for your help Marcus on behalf of bugmeister --ZplOxUIsrEyrgofR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRF+CYACgkQi68/ErJnpkcqUgCgg59yZMEnc/WpYENdB+dVWIQt eO4AnRGYoE5F/4QY8TzQh7Z1wAQBLeuR =CKBl -----END PGP SIGNATURE----- --ZplOxUIsrEyrgofR-- From owner-freebsd-wireless@FreeBSD.ORG Wed Oct 22 03:33:18 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7B7146A for ; Wed, 22 Oct 2014 03:33:18 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE82BA46 for ; Wed, 22 Oct 2014 03:33:18 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9M3XIHv073491 for ; Wed, 22 Oct 2014 03:33:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 189405] [run] [wlan] hostapd, kernel panic, wlan using run device, run0: RT3071, RF RT3022 Date: Wed, 22 Oct 2014 03:33:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 03:33:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189405 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: kevlo Date: Wed Oct 22 03:32:27 UTC 2014 New revision: 273448 URL: https://svnweb.freebsd.org/changeset/base/273448 Log: Fix the kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon(). PR: 189405 Submitted by: Gabor Simon MFC after: 3 days Changes: head/sys/dev/usb/wlan/if_run.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 23 15:31:59 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76D853C6 for ; Thu, 23 Oct 2014 15:31:59 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DF777E2 for ; Thu, 23 Oct 2014 15:31:59 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9NFVxYN086503 for ; Thu, 23 Oct 2014 15:31:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 189405] [run] [wlan] hostapd, kernel panic, wlan using run device, run0: RT3071, RF RT3022 Date: Thu, 23 Oct 2014 15:31:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marco@tols.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 15:31:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189405 --- Comment #9 from marco@tols.org --- Hi there, Thank you very much for this! I'm currently testing your changes on my system. So far it's looking good. When things were not good, hostapd would panic the system within a couple of seconds. Thanks! -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-wireless@FreeBSD.ORG Fri Oct 24 00:22:02 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 104DC430 for ; Fri, 24 Oct 2014 00:22:02 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.156]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFA588D8 for ; Fri, 24 Oct 2014 00:22:01 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:content-type:date:message-id:mime-version; b=LFEowDEaX8GVAoDe9j0yW58G3bdssh1jcJmxCD+MChsg0HJE1hDXTDXmPtijvsSlYC9i84sVC8IS 7EMf1DyKZCJMV7NNu8GFVIIuEs+lomfUiFGrh2gC9VUbwixyY3bf Received: from [192.168.11.5] (46.229.54.117 [46.229.54.117]) by mx.zohomail.com with SMTPS id 1414110113895353.4502186945218; Thu, 23 Oct 2014 17:21:53 -0700 (PDT) Subject: pcap_inject() ruins my handmade packets From: clutton To: freebsd-wireless@FreeBSD.org Content-Type: text/plain; charset="UTF-8" Date: Fri, 24 Oct 2014 03:21:50 +0300 Message-ID: <1414110110.1395.14.camel@eva02.mbsd> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 00:22:02 -0000 Hi list. I'm porting a Linux application [reaver], and have a tough time figuring out what is wrong. The way how Linux users use it doesn't work I mean building packet like radiotap_header+frame+payload and use pcap_inject() for injections. Nevertheless, using the same packets with sockets work like a charm. Since I didn't find any working example with packet injections conjugates with pcap_inject for FreeBSD, I starting think it doesn't work on FreeBSD platform. Right now, I started using LD_PRELOAD with my own version of libpcap, because after end of day it uses write(), but why it is ruins my packets is not obvious for me yet. May be somebody could explain me? May be it's well known not fixable bug, and I'm just wasting my time. I really want to do this using libpcap! Using sockets is quicker approach for me, but you know, fixing libpcap will bring a lot of others apps to FreeBSD realm. From owner-freebsd-wireless@FreeBSD.ORG Fri Oct 24 00:32:56 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C51855F for ; Fri, 24 Oct 2014 00:32:56 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD0639BF for ; Fri, 24 Oct 2014 00:32:55 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id l18so12429wgh.17 for ; Thu, 23 Oct 2014 17:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=JEhcWcF86JMtwSFTVMxpzUKTqqfiyytiQbtJ7gjIbrw=; b=GvyO+5ikXSEvWz1GINYotgDjFX5Xp0aA7tLgk5bv05uRVyzo+BqsQmXuLmEbnZwdbK EG8hpDXh6Ld7kzNH8shxucq6BQuFlOefa4oJd4336qFDOp9g0EQSuSSyDybzF7JU4aAn LRqaZUcIzo/6eML8fD0PEF95GczqHQqMYd0gSLofztKTd/fdf6IDWdZjz5RfKZEwq4fc Iz94UlarEQdjmbRl/9lM3V3rJrfQ1zhr8EiGMpykQ5Aezvu7LRCUEc8Dmrf9fQC02McL J57FWQKGWzm7NqhqnXTMfculep8cHu/3eMemQxmIWqpkQjRIWvkpoKI4P2v3fqRBONvS nQRw== MIME-Version: 1.0 X-Received: by 10.180.11.200 with SMTP id s8mr499048wib.20.1414110773645; Thu, 23 Oct 2014 17:32:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Thu, 23 Oct 2014 17:32:53 -0700 (PDT) In-Reply-To: <1414110110.1395.14.camel@eva02.mbsd> References: <1414110110.1395.14.camel@eva02.mbsd> Date: Thu, 23 Oct 2014 17:32:53 -0700 X-Google-Sender-Auth: ha_-V2_LzSELTwBnEXcSSs6AN1Q Message-ID: Subject: Re: pcap_inject() ruins my handmade packets From: Adrian Chadd To: clutton Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 00:32:56 -0000 Which version of FreeBSD are you using? I only recently fixed raw frame injection in monitor mode in FreeBSD-11. How are you trying to do raw frame injection? -adrian On 23 October 2014 17:21, clutton wrote: > Hi list. > > I'm porting a Linux application [reaver], and have a tough time figuring > out what is wrong. > > The way how Linux users use it doesn't work I mean building packet like > radiotap_header+frame+payload and use pcap_inject() for injections. > > Nevertheless, using the same packets with sockets work like a charm. > Since I didn't find any working example with packet injections > conjugates with pcap_inject for FreeBSD, I starting think it doesn't > work on FreeBSD platform. > > Right now, I started using LD_PRELOAD with my own version of libpcap, > because after end of day it uses write(), but why it is ruins my packets > is not obvious for me yet. > > May be somebody could explain me? May be it's well known not fixable > bug, and I'm just wasting my time. > > I really want to do this using libpcap! Using sockets is quicker > approach for me, but you know, fixing libpcap will bring a lot of others > apps to FreeBSD realm. > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Fri Oct 24 00:47:56 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D2E7E6DF for ; Fri, 24 Oct 2014 00:47:56 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.156]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AEF98AAF for ; Fri, 24 Oct 2014 00:47:56 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version; b=Mcps630mgNS1DI9lYARL+eHsLzjx8yGKihipARtvNXbQkeCPYLS456e0TJVV6Pf2bNhtm1T3yc+t xgcq+z8soHnCxJeY4GRfM/R6vKO0o0OP0dL4Tpvryd4KVdJTNBdT Received: from [192.168.11.5] (46.229.54.117 [46.229.54.117]) by mx.zohomail.com with SMTPS id 1414111674975696.4650645893962; Thu, 23 Oct 2014 17:47:54 -0700 (PDT) Subject: Re: pcap_inject() ruins my handmade packets From: clutton To: freebsd-wireless@freebsd.org In-Reply-To: References: <1414110110.1395.14.camel@eva02.mbsd> Content-Type: text/plain; charset="UTF-8" Date: Fri, 24 Oct 2014 03:47:51 +0300 Message-ID: <1414111671.1395.25.camel@eva02.mbsd> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ZohoMail: Ss SS_10 UW UB UW UB SF_TD_EXT SGR3_1_23094_55 X-ZohoMail-Owner: <1414111671.1395.25.camel@eva02.mbsd>+zmo_0_ X-ZohoMail-Sender: 46.229.54.117 X-Zoho-Virus-Status: 2 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 00:47:56 -0000 On Thu, 2014-10-23 at 17:32 -0700, Adrian Chadd wrote: > Which version of FreeBSD are you using? > > I only recently fixed raw frame injection in monitor mode in > FreeBSD-11. How are you trying to do raw frame injection? > > > -adrian HEAD, but I didn't update it more then month. I'm not using monitor mode, just ordinary one when I'm connected to AP, and ahdemo. Seems raw write works with both types well, and pcap_inject() doesn't. The scenario is that: handle = pcap_open_live(dev, BUFSIZ, 1, 0, errbuf); // tried without promisk, didn't help pcap_set_datalink(handle, DLT_IEEE802_11_RADIO); // I've tried others datalinks, and also skipping setting this like Linux users do, changing datalink here changes the way how packet is corrupted BUILD_PACKET_STEP() pcap_inject(handle, packet, packet_len); From owner-freebsd-wireless@FreeBSD.ORG Sat Oct 25 15:07:01 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01CE8678 for ; Sat, 25 Oct 2014 15:07:01 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCB0913B for ; Sat, 25 Oct 2014 15:07:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9PF70VO069285 for ; Sat, 25 Oct 2014 15:07:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 189405] [run] [wlan] hostapd, kernel panic, wlan using run device, run0: RT3071, RF RT3022 Date: Sat, 25 Oct 2014 15:07:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2014 15:07:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189405 --- Comment #10 from commit-hook@freebsd.org --- A commit references this bug: Author: kevlo Date: Sat Oct 25 15:06:10 UTC 2014 New revision: 273636 URL: https://svnweb.freebsd.org/changeset/base/273636 Log: MFC r273448: Fix the kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon(). PR: 189405 Submitted by: Gabor Simon Changes: _U stable/10/ stable/10/sys/dev/usb/wlan/if_run.c -- You are receiving this mail because: You are the assignee for the bug.