Linux Netfilter discussions
 help / color / mirror / Atom feed
From: David Vogt <mail@davidvogt.de>
To: tim tim <tictactoe.tim@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: packet data
Date: Tue, 7 Feb 2006 07:33:01 +0100	[thread overview]
Message-ID: <859616420602062233i753bced9v@mail.gmail.com> (raw)
In-Reply-To: <503e0f9d0602062159p568106cak4ddf528aff6eab39@mail.gmail.com>

Hi,

Try reading the manpage of libipq
(http://www.cs.princeton.edu/~nakao/libipq.htm, for example) there is
an example how you can access the packet data. If you want to modify
data, read the ipq_set_verdict manpage
(http://www.die.net/doc/linux/man/man3/ipq_set_verdict.3.html)

David

2006/2/7, tim tim <tictactoe.tim@gmail.com>:
> hai all...
>                  i captured packet using netfilter hook and queued to
> user space.. can some body tell me how to access the packet data using
> libipq ..bye
>
> it's me. .. the unknown gye..
>
>


      reply	other threads:[~2006-02-07  6:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-07  5:59 packet data tim tim
2006-02-07  6:33 ` David Vogt [this message]

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=859616420602062233i753bced9v@mail.gmail.com \
    --to=mail@davidvogt.de \
    --cc=netfilter@lists.netfilter.org \
    --cc=tictactoe.tim@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox