Re: Passive Scanning Similar to tcpdump's way
Thomas King <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Siva, please have a look at http://www.informatik.uni-mannheim.de/pi4/projects/loclib/ . There, you will find the loclib sources (loclib-0.7.src.tar.gz). Inside the /loclib/src/org/pi4/loclib/jni/wlan_pcap.cpp file, we do actually what you want to do. The source code is documented a little bit. I hope this helps you. Greetings, Thomas On Monday 13 November 2006 17:25, Siva Sivavakeesar wrote: > Hello there, > > I need some information at the user-level, although this is generated by > the IPW driver with RTAP eanabled at the kernel level. What I want to do is > to make every wifi enabled notebook to passively scan for packets from its > one-hop neighbours, measure the signal strength (either SNR or RSSI) of > each received packet/frame together with the transmitter's id and pass that > information to my routing protocol (AODV), which is implemented at the > user-level. I wish to adopt the same mechansim used by the tcpdump. > However, I do not want to read from output generated by tcpdump.. but > instead, I wish to read information of packets as and when tcpdump reads.. > and put them in database. > > Could somebody please shed some light as to what sources I need to go > through ? Is going through tcpdump source enough OR having a look at the > sources related to Libpcap is important as well ? > > Thanks in advance for taking your invaluable time to help me out. > > Best Regards, > > Siva ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642