Re: Forking inside netfilter queue

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

 



On Apr 30 2007 16:18, Rayed wrote:
>
> I am building netfilter queue application, that implement simple
> HTTP filter.
>
> It basically will capture the packet, extract the URL, and issue
> MySQL lookup to see if the address is permitted or blocked.
>
> My only fear that address lookup will block the traffic until I get
> the lookup reply, so I am thinking of using preforking model to
> fork 10-20 processes to handle the same queue.
>
> Has any one done multi prcoess handling of the queue, is it even doable?

See Apache, it uses preforking. But perhaps threading is much simpler
and equally fast.


Jan
-- 


[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