All of lore.kernel.org
 help / color / mirror / Atom feed
* Regarding updating netfilter rules from kernel space
@ 2011-12-02  4:15 Ajith Adapa
  2011-12-08  9:26 ` Vigneswaran R
  0 siblings, 1 reply; 2+ messages in thread
From: Ajith Adapa @ 2011-12-02  4:15 UTC (permalink / raw)
  To: netfilter

Hi,

I want to update "RULES" in netfilter from a kernel module similar to
iptables doing the same update from user space.

Is there any references or docs to above scenario which can help me out ?

Regards,
Ajith

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

* Re: Regarding updating netfilter rules from kernel space
  2011-12-02  4:15 Regarding updating netfilter rules from kernel space Ajith Adapa
@ 2011-12-08  9:26 ` Vigneswaran R
  0 siblings, 0 replies; 2+ messages in thread
From: Vigneswaran R @ 2011-12-08  9:26 UTC (permalink / raw)
  To: Ajith Adapa; +Cc: netfilter

On Friday 02 December 2011 09:45 AM, Ajith Adapa wrote:
> Hi,
>
> I want to update "RULES" in netfilter from a kernel module similar to
> iptables doing the same update from user space.

I don't know whether netfilter exhibits any APIs for the other modules 
to do that.

However, I could think of a work around using "call_usermodehelper()". 
You can execute a userspace program (say, iptables) using this function 
from kernel space.

Regards,
Vignesh

>
> Is there any references or docs to above scenario which can help me out ?
>
> Regards,
> Ajith
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


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

end of thread, other threads:[~2011-12-08  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02  4:15 Regarding updating netfilter rules from kernel space Ajith Adapa
2011-12-08  9:26 ` Vigneswaran R

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.