Messages in this thread | | | Date | Thu, 26 Jun 2003 16:20:51 +0200 | From | Michael Bellion and Thomas Heinz <> | Subject | Re: [ANNOUNCE] nf-hipac v0.8 released |
| |
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@hipac.org> | <creatix@hipac.org> | +-----------------------+----------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |