All of lore.kernel.org
 help / color / mirror / Atom feed
* Netfilter Hooks
@ 2007-06-21  1:41 Tercio F. Gaudencio Filho
  2007-06-21  7:09 ` Werner Maier
  2007-06-21 12:09 ` Elvir Kuric
  0 siblings, 2 replies; 8+ messages in thread
From: Tercio F. Gaudencio Filho @ 2007-06-21  1:41 UTC (permalink / raw)
  To: netfilter

Hi All!

I'm new in Netfilter world and I'm with some doubts...

I want to create "something" that can analyze packets that get in and
get out from my machine, but I want to analyze the packet data not
it's origin or destination, it's content.

Imagine that I want to create a filter, that blocks/allow every packet
that contains the word, for example, "GOOGLE" in it. I don't want to
block a packet deriving from some IP, or something like that, I want
to filter the content. For example, be able to parse a XML file in a
packet, or parse some protocol, something like that.

Question, is it possible to do with netfilter hooks? I read sometime
ago, about netfilter hooks, and it seems to be pretty simple, with
restrictions.... but I'm not sure about that.

If not possible with netfilter hooks, is that possible in another way?
Which way?

Thanks all!

Tercio.


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Netfilter hooks.
@ 2001-12-04 13:20 Simona
  2001-12-04 21:58 ` José Luis Domingo López
  0 siblings, 1 reply; 8+ messages in thread
From: Simona @ 2001-12-04 13:20 UTC (permalink / raw)
  To: linux-kernel

Hi!


I am implementing a kernel module for taking a packet out from the stack
at the IP level, redistributing the packet to another stack and puting
the packet into the new stack.

Question: do I need to register a target for this?
Can I call a hook in the same way that I am getting called if I am
registering to a hook?



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

end of thread, other threads:[~2007-06-21 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-21  1:41 Netfilter Hooks Tercio F. Gaudencio Filho
2007-06-21  7:09 ` Werner Maier
2007-06-21 15:30   ` Jan Kogut
2007-06-21 18:14     ` Juan León
2007-06-21 18:29       ` Jan Kogut
2007-06-21 12:09 ` Elvir Kuric
  -- strict thread matches above, loose matches on Subject: below --
2001-12-04 13:20 Netfilter hooks Simona
2001-12-04 21:58 ` José Luis Domingo López

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.