jPacket Project - Java & Raw Socket
jPacket Project - Java & Raw Socket
I think we have 3 options to enable a java application write/read low level sockets:
- JNI
I dont like this idea. I dont linke a entire system running as root
- Raw Socket Server
One process (running as root) talks whit jpacket application using
IPC (named pipes).
Very portable.
- Devices
A kernel module handles a "new device": /dev/rawsocket
The Linux Kernel Module Programming Guide. See node 18 - Talking to Device Files (writes and IOCTLs).
Ivan Sendin