netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* about ip header options
@ 2012-11-07 22:38 Miguel Alejandro González
  2012-11-08 12:42 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Alejandro González @ 2012-11-07 22:38 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Hello

I have a netfilter module on the mangle table PREROUTING... I want to
validate unexpired routes in ipv4 headers, but I think the TCP/IP
stack already does this... because it is mentioned on the rfc 1812 so
I'm guessing it is already implemented by the kernel

but somehow my module catches the packet first before the kernel does
its magic...

As I understand the picture I'm attaching represents the whole process
the TCP/IP stack performs to handle the options in a IPv4 packet, but
I still don't understand how netfilter works with the stack

Do I have to process the packet's options in my module or what?

Please, help

Regards

[-- Attachment #2: Screenshot from 2012-11-07 15_50_47.png --]
[-- Type: image/png, Size: 51730 bytes --]

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

end of thread, other threads:[~2012-11-08 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 22:38 about ip header options Miguel Alejandro González
2012-11-08 12:42 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).