On Tuesday 26 March 2002 02:38 pm, you wrote: > On Mon, Mar 25, 2002 at 10:23:42PM +0200, Rob Pitman wrote: > > I am developing a Java wrapper (which I have named "JNetFilter") for the > > iptables (libiptc) API. This Java wrapper presents an object-oriented > > view of > > Thanks for contributing to netfilter in this way. Please note however, that > libiptc is extremely low-layer and without the libipt_XXX.so plugins you > can't interface with most of the advanced matchs/targets.
Yes, the JNetFilter wrapper already uses the libipt_XXX.so plugins to interface to the matches and targets. For example, it uses libipt_udp.so to interface with the udp match. Several of the matches and targets are presently implemented (udp, tcp, icmp, state, limit, STANDARD, LOG and REJECT). > This has been detected as a problem, and iptables2 with libiptables will > provide a different, high-level API. But this is future stuff.. Hmm, unfortunately that will break JNetFilter. How far in the future is iptables2? > > The JNetFilter library is (will be) open-source. > > Could you pleae be more specific on the lincense? As libiptc is > distributed under GPL, the JNetFilter library has to be distributed under > GPL as well. Other open source licenses are not legally acceptable. I am intending to make it GPL. Regards Rob Pitman