Virtual Services IPQ, or VServ IPQ for short, is a Java library that wraps the Linux netfilter/iptables libipq library (http://www.netfilter.org/). It allows you to intercept packets that pass through Linux iptables chains from Java code. You can mangle the packets and reinject them into the iptables chains.
| Version | Source | Binaries | License | Changes | API Documentation |
|---|---|---|---|---|---|
| 0.6.5 | vserv-ipq-0.6.5-src.tar.gz | vserv-ipq-0.6.5-bin.tar.gz | LICENSE | CHANGES | VServ IPQ 0.6.5 API |
![]() | Note |
|---|---|
The Netfilter class was renamed to IPQHandle between releases 0.6.2 and 0.6.3. VServ TCP/IP is required to compile the PacketMonitor example. Also, on x86_64 and architectures other than 32-bit x86, your libipq.a must be compiled with -fPIC so that libvservipq.so can link with it properly. This is not a problem on 32-bit x86 architectures, but on x86_64, linking against a non-PIC libipq.a will fail. Note that libipq.a is not built with -fPIC by default, requiring you to rebuild the library either by patching the source RPM or other package from your Linux distribution or by compiling the iptables source yourself with: make COPT_FLAGS= "-fPIC -O2" |
| Version | Source | Binaries | License |
|---|---|---|---|
| 0.6.4 | vserv-ipq-0.6.4-src.tar.gz | vserv-ipq-0.6.4-bin.tar.gz | LICENSE |
| Resource | Link |
|---|---|
| Java Pro November/December 2004 | Intercepting Packets on Linux with Java |
| netfilter/iptables project | netfilter firewalling, NAT and packet mangling for Linux 2.4 |







![[Note]](../../images/docbook/note.gif)
