Getting information from a received packet's header

Sukhdeep Johar sukhdeep
Mon Mar 12 05:59:51 PDT 2007


Hi Varga,

AFAIK, the promiscuous mode support needs to be present in the firmware. And
IF IT IS PRESENT, only then you can enable it using some interface.

Can you try to check on this ?

-regds,
sukhdeep

On 3/10/07, Varga D?vid <varga.david at duvinet.hu> wrote:
>
>  Hello!
>
>
>
> I need to collect some information of incoming packets from the headers.
>
> What I did is the following:
>
>
>
> I added in hostap_80211_rx.c under the function hostap_80211_rx these
> (informally):
>
> printk(KERN_DEBUG ....... hdr->addr1, hdr->addr2, hdr->add3,
> rx_stats->signal, rx_stats->noise, rx_stats->rate, skb->len, jiffies)
>
>
>
> My problem is that in dmesg I can only see information from broadcast
> packets or those that were sent this host, but I'd like to capture all
> packets within the same network (ssid).
>
> Is it possible? Where do I have to inject these lines? Or is there a
> command that allows other packets not to be dropped before this layer?
>
> I also tried promiscous mode with ifconfig, but I think that works in a
> higher layer, so it didn't help.
>
> The card is in managed mode, because I need it to be connected to the ap.
>
>
>
> Thank you for your help!
>
> David
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>


-- 
But for the last minute,... Nothing would get done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20070312/df103c36/attachment.htm 



More information about the Hostap mailing list