Re: kernel option for LSF

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

 



Hi..
I am compiling a custom kernel using 2.6.19-2 and need Linux Socket
Filters enabled for one of the apps we will be running.  I have found
the documentation for what I want, Documentation/networking/filter.txt.
But it is not cleat to me what option I should be enabling in the kernel
config.  Are Socket filters part of NETFILTER, if not what should I
enable?  If so, will enabling NETFILTERS be enough or are there other
sub categories of netfilter I would need to enable.    I need this for
dhclient and will be filtering UDP traffic.

I am checking briefly the documentation you referred to. Honestly, I am not sure if this is really what you want (or maybe you should recheck your requirement). I think Netfilter will suit you better, because it operates not in socket level but right in the TCP/UDP/ICMP packet processing. There are various hooks you use to handle various situation. Also, there is also some filters ready to be used. With a little bit hacking, maybe you can customize it to meet your need, thus saving your time. Please visit Netfilter website for further information. Good luck.

regards,

Mulyadi.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux