* register callback for special packet types like udp and icmp?
@ 2008-04-11 12:36 Thomas Mader
2008-04-11 12:41 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Mader @ 2008-04-11 12:36 UTC (permalink / raw)
To: Netfilter Development Mailinglist
Hello,
is there a way to define callback (match) functions for special packet
types like udp and icmp? I would like to have a match function which
only reacts on udp and icmp packets. Is this possible in a kernelspace
module and/or in a libnetfilter_queue daemon and how?
thanks in advance,
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: register callback for special packet types like udp and icmp?
2008-04-11 12:36 register callback for special packet types like udp and icmp? Thomas Mader
@ 2008-04-11 12:41 ` Jan Engelhardt
0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2008-04-11 12:41 UTC (permalink / raw)
To: Thomas Mader; +Cc: Netfilter Development Mailinglist
On Friday 2008-04-11 14:36, Thomas Mader wrote:
> Hello,
>
> is there a way to define callback (match) functions for special packet types
> like udp and icmp? I would like to have a match function which only reacts on
> udp and icmp packets. Is this possible in a kernelspace module and/or in a
> libnetfilter_queue daemon and how?
Both would work. For kernel modules, it's as simple as
specifying .proto = IPPROTO_UDP or IPPROTO_ICMP, see
http://jengelh.medozas.de/documents/Netfilter_Modules.pdf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-11 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11 12:36 register callback for special packet types like udp and icmp? Thomas Mader
2008-04-11 12:41 ` Jan Engelhardt
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.