- Tutorials
- API Examples
- User Guide
- Ch 1 - The Basics
- Ch 2 - libpcap
- 2.1 - The Main libpcap API Overview
- 2.2 - Getting a List of Interfaces
- 2.3 - Opening a Network Interface for Capture
- 2.4 - Opening offline capture
- 2.5 - Setting a packet filter
- 2.6 - Reading one packet at a time
- 2.7 - Reading multiple packets with dispatch loops
- 2.8 - Dumping captured packet to an offline file
- 2.9 - Transmitting packets
- 2.10 - Close Pcap and PcapDumper handles
- Ch 3 - Packet Decoding
- Ch 4 - Internals
- Ch 5 - Protocols
- Ch 6 - Native API
Dev 2.0.b0001 released
Submitted by Mark B. on Sun, 11/15/2009 - 18:34Latest snapshot of the development trunk has been released as jnetpcap-2.0.b0001. This is a development release which contains analysis and all the latest features.
This release fixes and contains the same features and bug fixes as official jnetpcap-1.3.a1 release.
The development build can be downloaded from here:
https://sourceforge.net/projects/jnetpcap/files/jnetpcap/2.0/dev
Official release 1.3.a1 (alpha1) is released
Submitted by Mark B. on Sun, 11/15/2009 - 18:30The official release jnetpcap-1.3.a1 is released. This release freezes new feature development. Only bug and documentation fixes will be allowed on this release branch.
This is the recommended release for environments not looking for very latest features and which require code stability in production environments.
Release 1.3 contains the following features:
- All the libpcap wrapper API
- Header decoder (the quick native scanner)
- Existing core protocols (Ethernet, 802.3, Ip4, Tcp, Icmp, etc..)
- Native checksum generation and verification for various protocol CRC fields
- No changes to existing native memory model.
- Flow-key generation
Nearing official 1.3 stable release
Submitted by Mark B. on Mon, 11/02/2009 - 16:01I am working toward the official 1.3 stable release. Just wanted to update everyone ahead of time what will be part of this release and what the changes are in the SVN repository.
The release jnetpcap-1.3.a1 (a1 == alpha 1) contains all of the features found so far with the exception of the "analysis". All analyzers, reassemblers, sequencers, analysis events and the getAnalysis methods have been removed from the API in 1.3 release. This feature is still present in the main development trunk and is designated to be released after 1.3 into one of the jnetpcap-2.X releases sometime Q1 of next year. Not exactly sure if this will be in 2.0 or later since there are other features such as native-dissector, that need to be included before full analysis support can be officially provided. Analysis feature will continue to be released with more frequent development builds.
»
- Mark B.'s blog
- Login or register to post comments
- Read more
1.6 - Using in Eclipse projects
jNetPcap is a java project that comes with a required native shared library. The requirement of a native library typically adds confusion and presents difficulty for many as to how properly setup a project in eclipse to reference jNetPcap library correctly.
There are several ways that jNetPcap can be added to your existing java project in Eclipse IDE. Let me briefly outline them here and then lets go through the detailed steps of actually creating a proper build path so your project will compile with jNetPcap.
