Re: Registering for only Specific Packets from Net-Filter!!!!

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

 



On Wed, Nov 16, 2011 at 17:50, Kesava Srinivas <vunnavafuture@xxxxxxxxx> wrote:
> HI Guys,
>
> I'm a Newbie to Linux Kernel Development. Need some Clarification in
> understanding Net-Filter Hooks.
>
> Can I register only for the Necessary Packets [Ex: IPSEC etc...] from the
> Net-Filters?? AFAIK ; Net-Filter Module send the Packets to the
> Corresponding Module based on pre-defined HOOKS. Let us say; there are Many
> Packets reaching that Hooks; and if I am Interested only in some Packets
> from Net-Filter module; can I do that ???

something like:
iptables [some rules] -j ULOG
?

Check "man iptables" and see if that suits your need. FYI ULOG target
uses netlink to deliver the packet to user space for further
processing.



-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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