What is jPacket ?? |
jPacket is a set of classes used to interpret, construct and inject
TCP, UDP and IP packet, like libnet but with the power of Java and OO.
With jPacket you can code:
tcp = new TCPPacket();
tcp.setFlags("SYN");
tcp.setPayload(buffer);
ip = new IPPacket();
ip.sePayload(tcp);
ip.dump(buffer2,0);
file.write(buffer2,ip.getLen());
| |
How it works?? |
jPacket talks whit "libpcap server" to read ip packets from wire
and whith "rawsocket server" to write packets (more about java and raw
socket here).
|
Download |
SourceForge user's can do:
export CVS_RSH=ssh
export CVSROOT=username@cvs.jpacket.sourceforge.net:/cvsroot/jpacket
cvs checkout jpacket
Or click here. |
|