You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
774 B
12 lines
774 B
15 years ago
|
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.
|