I recently found this information about JPCAP (Java Packet Capturing). I actually was involved in an analysis to work on a Telecom Billing system and was considering how to capture Call Detail Records (CDRs) from the network switches e.t.c. to process them and bill the customers….Finally one of my teachers, Sir Farrukh, told me that there is alibrary available for windows progammers to capture packets, the library is PCAP. He told me to find the equivalent in Java so finally i saw JPCAP.
I thought to share the info here so that it may be usefull to many others.
Using Jpcap, you can develop applications to capture packets from a network interface and visualize/analyze them in Java. You can also develop Java applications to send arbitrary packets through a network interface.
Jpcap can capture Ethernet, IPv4, IPv6, ARP/RARP, TCP, UDP, and ICMPv4 packets.
Jpcap is open source, and is licensed under GNU LGPL.
You can find more info, API specification and download JPACP from the following JPCAP page: