Linux Netfilter discussions
 help / color / mirror / Atom feed
* dynamically update iptables with module ?
@ 2003-05-13 22:43 Calvin
  2003-05-14 12:37 ` Stephen Frost
  2003-05-14 17:28 ` P.Italiaander
  0 siblings, 2 replies; 3+ messages in thread
From: Calvin @ 2003-05-13 22:43 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

Dear all,

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?

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

Thanks for any advices.

Calvin

[-- Attachment #2: Type: text/html, Size: 1321 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dynamically update iptables with module ?
  2003-05-13 22:43 dynamically update iptables with module ? Calvin
@ 2003-05-14 12:37 ` Stephen Frost
  2003-05-14 17:28 ` P.Italiaander
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Frost @ 2003-05-14 12:37 UTC (permalink / raw)
  To: Calvin; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

* Calvin (calvinproject@ihug.com.au) 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 #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dynamically update iptables with module ?
  2003-05-13 22:43 dynamically update iptables with module ? Calvin
  2003-05-14 12:37 ` Stephen Frost
@ 2003-05-14 17:28 ` P.Italiaander
  1 sibling, 0 replies; 3+ messages in thread
From: P.Italiaander @ 2003-05-14 17:28 UTC (permalink / raw)
  To: netfilter

yes it's possible, maybe this link will help.

http://www.gentoo.org/proj/en/dynfw.xml

Pascal

>Op woensdag 14 mei 2003 00:43, schreef Calvin:
> Dear all,
>
> 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?
>
> Or... is it possible that the iptables can be updated by a C++/C programe
> by executing a shell script to update the iptables?
>
> Thanks for any advices.
>
> Calvin



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-14 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-13 22:43 dynamically update iptables with module ? Calvin
2003-05-14 12:37 ` Stephen Frost
2003-05-14 17:28 ` P.Italiaander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox