netdev
[Top] [All Lists]

Re: [ANNOUNCE] nf-hipac v0.8 released

To: Daniel Egger <degger@xxxxxxx>
Subject: Re: [ANNOUNCE] nf-hipac v0.8 released
From: Michael Bellion and Thomas Heinz <nf@xxxxxxxxx>
Date: Thu, 26 Jun 2003 16:20:51 +0200
Cc: Linux Kernel Mailinglist <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
References: <200306252248.44224.nf@xxxxxxxxx> <1056634720.5423.83.camel@sonja>
Reply-to: Michael Bellion and Thomas Heinz <nf@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
Hi Daniel

You wrote:
    - libnfhipac: netlink library for kernel-user communication

Is this library actually usable for applications which need to control
the firewall or is it equally braindead to libiptables?

The library _is_ intended to be used by other applications than
the nf-hipac userspace tool, too. It hides the netlink communication
from the user who is only required to construct the command
data structure sent to the kernel which contains at most one single
nf-hipac rule. This is very straightforward and the kernel returns
detailed errors if the packet is misconstructed.

Taking a look at nfhp_com.h and evt. nf-hipac.c gives you some clue
on how to build valid command packets.


Regards,

+-----------------------+----------------------+
|   Michael Bellion     |     Thomas Heinz     |
| <mbellion@xxxxxxxxx>  |  <creatix@xxxxxxxxx> |
+-----------------------+----------------------+


<Prev in Thread] Current Thread [Next in Thread>