-->
Page 5 of 5

Re: Arbitrary probe request packets injection, this is how.

PostPosted: Mon Jul 13, 2015 3:50 pm
by ernacktob
My code was in a different repo before :P

So when you're sending, can you send frames of any length? For example, can you send a 2-byte packet, and receive exactly these 2 bytes on the other computer / ESP?

I did some tests with Wireshark, and when I send frames of 18 bytes and less with ppTxPkt, Wireshark sniffs a 19-byte packet where the additional bytes are junk. Also, the Duration ID field always gets set to 0. Otherwise, all other values can be as arbitrary as you wish.

As for the receiving, I think what I have should work in your case, then. I haven't tested this a lot, but it should be possible to receive data asynchronously in the wifi_raw_recv_cb and do your own filtering in there.

Re: Arbitrary probe request packets injection, this is how.

PostPosted: Tue Jul 14, 2015 4:01 pm
by cnlohr
I noticed I had to update two fields to get all my data across. I haven't checked in depth (And won't be able to for a few days) but I did try sending arbitrary sizes and they appeared to get out on the other end okay.

Re: Arbitrary probe request packets injection, this is how.

PostPosted: Sun Mar 17, 2019 7:45 am
by Pekmez
Can we sniff for the probe packets and send them at the same time?