Re: [tcpdump-workers] Missing packet fields in big endian with ath9k

2013-04-28 Thread Mike Kershaw / Dragorn
Some drivers definitely change the format of the radiotap packets on the fly in the same stream. As Guy says, you need to look at the bit field in the header and parse the complex header. If all you care about is the dot11 header you can just skip the header using the length field. Also beware

Re: [tcpdump-workers] regarding wireless data frames

2012-03-09 Thread Mike Kershaw
The ieee 802.11 headers can vary in length depending on the packets types, qos, etc. The ieee standard is available for free, that should be your best reference. -- Sent from mobile, brevity, accuracy and security disclaimers. abhinav narain wrote: hi, I have seen tcpdump,wireshark both ju

Re: [tcpdump-workers] percentage of traffic captured on monitor interfaces

2011-12-17 Thread Mike Kershaw
abhinav narain wrote: I wanted to know how much percentage of the original wireless traffic do I lose when I am sniffing on monitor interfaces ? pcap statistics show me no packet loss, but I wanted to know, if the virtual interfaces( phy{0,1}) itself gave me all the traffic or not. Ideal case wo

Re: [tcpdump-workers] How to analyze bandwith problems with tcpdump

2009-07-10 Thread Mike Kershaw
ireshark and graph by conversation. Also check the site for Sharkfest and look at some of the presentations from this year - I forget who gave it, but there was at least one about identifying network problems via tcp analysis inside wireshark. http://www.cacetech.com/sharkfest.09/ -m -- Mike Ke

Re: [tcpdump-workers] select() regression in libpcap-devel?

2009-06-24 Thread Mike Kershaw
t doesn't take 100% cpu with mmap disabled, obviously gutting mmap functionality isn't the end goal). Testing with tcpdump for sake of simplicity: drag...@drd1813 ~/src/libpcap $ tcpdump -V tcpdump version 4.1-PRE-CVS_2009_06_22 libpcap version 1.1-PRE-CVS Kernel 2.6.30, I can check con

[tcpdump-workers] select() regression in libpcap-devel?

2009-06-23 Thread Mike Kershaw
nd to rewriting my packet chain to handle it while preserving my other timing, but it's not the real issue. -m -- Mike Kershaw/Dragorn GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1 "Yes, yes, LORD OF HUMANS! I will rule you ALL with an iron fist! YOU! OBEY THE F

Re: [tcpdump-workers] 802.11 + radio headers question...

2009-04-14 Thread Mike Kershaw
utral padding-neutral log format to rewrite all the radio header data from the other formats. http://802.11ninja.net/lorcon/browser/trunk/lorcon_decode.c is some basic code to strip various headers off dot11 packets. -m -- Mike Kershaw/Dragorn GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1 "You can't engineer away stupid." pgpjU682PMnDt.pgp Description: PGP signature

Re: [tcpdump-workers] 802.11 + radio headers question...

2009-04-14 Thread Mike Kershaw
radiotap, and PPI off the top of my head. Rtap and PPI are variable-length headers. -m -- Mike Kershaw/Dragorn GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1 Q. What does the toothfairy do with all my teeth? A. She's building another You. Once she has all your teeth

Re: [tcpdump-workers] how to make the sniffer quicker?

2007-01-17 Thread Mike Kershaw
the frames out to the OS before the card buffer fills. * Note - this was also in rfmon, not in normal operation mode. This means my tests weren't waiting for ACK sequences to complete in the firmware to rx data, etc. -m -- Mike Kershaw/Dragorn <[EMAIL PROTECTED]> GPG Fingerprint: 35

Re: [tcpdump-workers] Problems with libpcap and C++

2006-06-14 Thread Mike Kershaw
pass a C++ member function as a callback it must be static, or you must have mechanisms to allow you to pass an instantiated object as well. -m -- Mike Kershaw/Dragorn <[EMAIL PROTECTED]> GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1 "Yes, yes, L

Re: [tcpdump-workers] radiotap on linux

2006-06-13 Thread Mike Kershaw
efault capture size)? A full RT header can be bigger than the 32 or 64 or whatever the default # of bytes is for tcpdump to process. -m -- Mike Kershaw/Dragorn <[EMAIL PROTECTED]> GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1 Know the rules other people live by. Kno

Re: [tcpdump-workers] radio header 802.11

2005-11-03 Thread Mike Kershaw
partially independent for the IEEE80211.sourceforge.net project which is run by the IBM team doing the centrino drivers. And theres a competing "complete" layer. It's sort of a mess. -m -- Mike Kershaw/Dragorn <[EMAIL PROTECTED]> GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661

Re: [tcpdump-workers] radio header 802.11

2005-11-02 Thread Mike Kershaw
c. > Could i capture this information with libpcap and promiscuous mode? > - > This is the tcpdump-workers list. > Visit https://lists.sandelman.ca/ to unsubscribe. > > > !DSPAM:4369640d189091249270289! -- Mike Kershaw/Dragorn <[EMAIL PROTECTED]> GPG Fingerprint:

Re: [tcpdump-workers] Minor linux radiotap patch

2005-08-15 Thread Mike Kershaw
> > Do you have any reason to believe that the official arphrd will have a > value other than 803? If not, we might as well check it in now. No, it's the next in line, and madwifi uses it as well for radiotap on linux. -m -- Mike Kershaw/Dragorn <[EMAIL PROTECTED]> GPG Fin

[tcpdump-workers] Minor linux radiotap patch

2005-08-14 Thread Mike Kershaw
u'd rather wait before merging, let me know and I'll post it again once the arphrd is officially ours. -m -- Mike Kershaw/Dragorn <[EMAIL PROTECTED]> GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1 Be different: conform. --- pcap-linux.c2004

Re: [tcpdump-workers] Variable length LLC headers

2005-07-26 Thread Mike Kershaw
> While you're doing that, could you beat up on the driver teams to get > them to adopt the same APIs for turning on monitor mode and setting the > channel? There's a whole bunch of different commands (and presumably > calls) with different drivers: Oh, I know. :) I'm working on it. > It app

Re: [tcpdump-workers] Variable length LLC headers

2005-07-26 Thread Mike Kershaw
> >Well, yes. :) I still have to get my patches accepted to the ieee80211 > >branch, merged into the kernel, and then all the driver patches done and > >accepted. It's a step in the right direction tho. > > If you're working on the FreeBSD Aironet driver, you might want to look > at the version

Re: [tcpdump-workers] Variable length LLC headers

2005-07-26 Thread Mike Kershaw
> >I've been working on bringing the radiotap headers to Linux so that > >we'll finally have a kernel-level multi-platform consistent way to get > >signal data on wireless cards. > > Well, it'd also need to be brought to the Aironet driver on the BSDs as > well, to complete that process. (It's l

[tcpdump-workers] Variable length LLC headers

2005-07-26 Thread Mike Kershaw
I've been working on bringing the radiotap headers to Linux so that we'll finally have a kernel-level multi-platform consistent way to get signal data on wireless cards. Part of the argument which has arisen is about the 64byte static container that the radiotap headers define to put the variabl

Re: [tcpdump-workers] Remote capture support

2005-07-05 Thread Mike Kershaw
> > Ah, in my case, restarting the remote capture units is highly > > undesirable/difficult/annoying to the users. > > Ok, but that depends on the application. I think it would be nice to > support easy restarting of remote capture processes, especially if > there are many of them. IMHO thats cap

Re: [tcpdump-workers] Remote capture support

2005-07-04 Thread Mike Kershaw
> If it was discussed on this list: my apoligies, I could not find a > recent archive. Maybe you can send me a copy of the discussion. It was, a while ago, I'm sorry though, I meant I'd been discussing it with people on IRC just last night. > I am a big fan of KISS, and my UDP based solution is a

Re: [tcpdump-workers] Remote capture support

2005-07-04 Thread Mike Kershaw
> My proposal would be to introduce a magic string (like remote://1234), > that makes libpcap listen on UDP port 1234. The remote capture > application can "connect" and send the data in libpcap format. Because > UDP is connectionless, I might add some special logic for the file > header. As a resu

Re: [tcpdump-workers] pcap next gerneration / adding communication

2005-04-10 Thread Mike Kershaw
> ...although having it in libpcap does mean that applications might, in > theory, be able to capture remotely without having to be changed. Yeah, that would definitely be nice. > However, if authentication is required for remote capture - which I > suspect a lot of sites would want - that migh

Re: [tcpdump-workers] pcap next gerneration / adding communication

2005-04-08 Thread Mike Kershaw
> I want to add a feature where someone can connect and use a > network-interface of a remote computer to capture data. As ronnie > sahlberg has already pointed out in the ethereal list, > authentication and athoriztion should be one of the topics there. For > sure the will be several more issue

Re: [tcpdump-workers] preperation for 3.9 branch

2005-04-06 Thread Mike Kershaw
> Speaking of radio headers for 802.11 and link[M:N], I'm not sure a > filter that tests those is necessarily useful - should the link[M:N] > filters just test the 802.11 header and payload, and skip radio headers > for the Prism, AVS, and radiotap headers? That way the same link[M:N] > filter

Re: [tcpdump-workers] filters for wireless packets

2005-02-09 Thread Mike Kershaw
PHY control frames are usually formatted very strangly. They don't contain the standard 3 or 4 address set, they contain only the receiver address. You can't filter ACKs based on transmitting AP, it's not part of the frame. -m > tcpdump do captures ACK subtype(one of the Control Frame) frames w

Re: [tcpdump-workers] filters for wireless packets

2005-02-08 Thread Mike Kershaw
> On Tue, Feb 08, 2005 at 06:08:32PM +0530, shantha wrote: > > tcpdump is displaying beacons and all the data packets but it is not > > displaying the ACK frames which will be there for every data packet. > > There are not necessarily any "ACK frames" - if data is flowing both ways, > ACKs can be