summaryrefslogtreecommitdiffstats
path: root/KMFIPTInterface/README
blob: 58e17751f5fc6c03d96c330787caffefc601cc33 (plain)
1
2
3
4
5
6
7
8
9
10
11
KMFIPTInterface
---------------

Small dcop interface using the libiptc library to fetch running iptables configuration from the kernel.

As the libiptc library is pure C and links the kernel headers a small modification of the kernel header iptables.h file is needed to build it. Unfortunately there is no real usable C++/C API available to query/modify the iptables configuration.

So i'm not shure if this will acutually work in the end.

The iptables/netfilter team says that currently the only way to communicate with iptables is using a pipe to the iptables-save
command which is acctuall not a real soulution for such an application but they know this issue and therefore i hope that an    C++ compatible API will be available in the future to make this really work.