Question:Jpcap ?

Posted on 2006-03-24
Last Modified: 2008-01-09
Can I capture packets from a WiFi (802.11) network interface in windows XP by using Jpcap?
can i have some tutorials on this subject?
Question by:rbaian
    LVL 11

    Expert Comment

    From the FAQ at this site,

    Q: Can I capture packets from a WiFi (802.11) network interface?

    A: The answer depends on what Operating System you are running and which WiFi devices your system has. On Windows, you may not be able to capture packets from some WiFi devices. Linux or BSD may have higher probability of supporting packet capturing using WiFi devices.

    Jpcap development site.

    I would say, give it a try. Normally you tell the program which interface to sniff so you should be able to point it to your WiFi card.

    Have you considered other sniffer software like Ethereal.
    lots of good info in their Documentation page.

    LVL 6

    Expert Comment

    i read somewhere that you can capture traffic from a wireless link if you bridge ( your wireless adapter with a wired adapter... haven't tried it personally, but it should work...
    LVL 6

    Expert Comment

    btw, ethereal is a great sniffer, and runs on *nix and windows... it's just great software

    Author Comment

    thank you all,,,,

    i think Gary give me a partial answer to my question but i need some tutorials in Jpcap.

    LVL 11

    Accepted Solution

    Couldn't find a tutorial specific to Jpcap.  It's probably very similar to the many other programs out there. They usually allow you to specify an interface to monitor, start/stop packet capture, display capture various ways, filter based on protocol/source and destination address/packet type, and allow you to import/export data.

    The hardest part is understanding what you capture. Decoding packets is not for the faint of heart. There are many aspects to it like, connection setup and maintenance, DNS queries, broadcasts, Network Applications (mail, browsing, ftp, chat) and many others, all using their own protocols and ports. It's a very deep subject. Here's a good link on Network Protocols from IBM that explains how it all works. It's a PDF with 900+ pages.

    A good place to start is just monitor your connection for a few minutes and look at what you catch. Some simple things to capture. Browse to a website and look at what it took to do that. Ping an address on your network. Release and Renew you IP.  Connect to a network share.

    Like I said, there's a lot to learn in this area. Take it in baby steps. You can always post here for help understanding what you see.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now