All of lore.kernel.org
 help / color / mirror / Atom feed
* What basic sanity checking on packet headers is done
@ 2006-09-29 16:20 Wayne Schroeder
  2006-09-29 16:50 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Wayne Schroeder @ 2006-09-29 16:20 UTC (permalink / raw)
  To: netfilter-devel

I've written a new target module that uses the ip header fields of ihl
and tot_len for offsets into the packets.  How safe is the data in the
ip headers?  Is there sanity checking when the packet is received off
the wire... for instance -- is it safe to assume in the prerouting chain
of the mangle table that tot_len will not put me past the memory
allocated for the packet?  Same goes for ihl?

Wayne

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

end of thread, other threads:[~2006-09-29 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-29 16:20 What basic sanity checking on packet headers is done Wayne Schroeder
2006-09-29 16:50 ` Patrick McHardy
2006-09-29 16:59   ` Wayne Schroeder
2006-09-29 17:14     ` Patrick McHardy

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.