471,353 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,353 software developers and data experts.

Capture Radiotap Headers in Python


I'm new to python and I am trying to capture Radiotap Headers and to parse them to get the mac timestamp out.

So I found this for parsing radiotap headers:

but before i can use that i need to capture the whole header in a string, and THATS my question right now: "How can I capture a radiotype header to a string?"

I already set up a ath0 device on monitore mode and with wireshark I can see the packets been captured and I can see the radio type headers so i just need to get in in python code :)

here is how i set up the ath0 device:

wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode monitor
iwconfig ath0 channel 11
echo 803 >/proc/sys/net/ath0/dev_typ

i'm sure it's not very complex, i'm just new to this stuff...

Nov 22 '07 #1
0 1200

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Me Mine | last post: by
3 posts views Thread by Catalin Lungu | last post: by
1 post views Thread by mrbog | last post: by
2 posts views Thread by py | last post: by
9 posts views Thread by aljosa | last post: by
5 posts views Thread by Milos Prudek | last post: by
4 posts views Thread by Paolo Pantaleo | last post: by
1 post views Thread by Astan Chee | last post: by
1 post views Thread by F. | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.