All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Vesely <vesely@tana.it>
To: netfilter@vger.kernel.org
Subject: How do I test a libnetfilter_queue program?
Date: Wed, 13 Jan 2010 18:25:35 +0100	[thread overview]
Message-ID: <4B4E020F.50405@tana.it> (raw)

Hi all!

I'm writing a program to block packets using libnetfilter_queue. How 
can I run specific tests, or a test suite to be run on "make check"?

I think I'll have to hack libnetfilter_queue.c so as to read/write to 
files rather than nfnetlink. Has someone already done something like 
that? Is there a better way to do the same?

TIA for any suggestion/caveat you'll post


                 reply	other threads:[~2010-01-13 17:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4B4E020F.50405@tana.it \
    --to=vesely@tana.it \
    --cc=netfilter@vger.kernel.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.