Re: R: IPtables and C programming??

Of corse!

The C programme will be a network intrusion prevention system (NIPS)that sits inline, it must capture packets from the first NIC, analyse them then decide whether to let them pass throu the second nic or to drop them.
I know the libpcap and the libnids do only copy the packets and don't allow to drop them.

I am a newbe in IPtables and I wonder if I could use them for such a purpose.