Re: dynamically update iptables with module ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Calvin (calvinproject@xxxxxxxxxxx) wrote:
> I am a newbies in netfilter, just a question in my mind, would it be possible to dynamically changing the 
> iptables from a module? For example, if i see a paticular message from a pc, then I update the iptable to allow outgoing communication frmo that pc.  Or there is some other way to achieve 
> 
> Is it possible to do it?

You should be able to do this with iptables and the ipt_recent module,
assuming the 'message' can be matched using other iptables modules/rules.

> Or... is it possible that the iptables can be updated by a C++/C programe by executing a shell script to update the iptables?

That can probably be done too...

	Stephen

Attachment: pgp00433.pgp
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux