All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wayne Schroeder <raz@positivenetworks.net>
To: netfilter-devel@lists.netfilter.org
Subject: What basic sanity checking on packet headers is done
Date: Fri, 29 Sep 2006 11:20:53 -0500	[thread overview]
Message-ID: <451D47E5.7000108@positivenetworks.net> (raw)

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

             reply	other threads:[~2006-09-29 16:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29 16:20 Wayne Schroeder [this message]
2006-09-29 16:50 ` What basic sanity checking on packet headers is done Patrick McHardy
2006-09-29 16:59   ` Wayne Schroeder
2006-09-29 17:14     ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=451D47E5.7000108@positivenetworks.net \
    --to=raz@positivenetworks.net \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.