mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Dipak Biswas <dipak@monmouth.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Please suggest me
Date: Fri, 20 Jul 2001 22:21:07 +0300	[thread overview]
Message-ID: <20010720222107.A5559@mea-ext.zmailer.org> (raw)
In-Reply-To: <3B5874AC.43D2E698@monmouth.com>
In-Reply-To: <3B5874AC.43D2E698@monmouth.com>; from dipak@monmouth.com on Fri, Jul 20, 2001 at 02:13:00PM -0400

On Fri, Jul 20, 2001 at 02:13:00PM -0400, Dipak Biswas wrote:
> Hi All,
>     I'm quite new to linux world. I've a very awkard question for you.
> That is: I'm writting an user process, where I need all outgoing
> IP packets to be blocked and captured. First, is it really possible? If
> yes, how? I don't want to make any kernel source code changes. A wild
> guess: by configuration changes, is it possible to make IP process write
> on to a particular FD which I can read when I require?

	Look at how tools like  tcpdump  and  etherreal  do it.
	It has been done over and over again -- in userspace tool.

> Thanks,
> dipak

/Matti Aarnio

      parent reply	other threads:[~2001-07-20 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-20 18:13 Dipak Biswas
2001-07-20 19:18 ` Richard B. Johnson
2001-07-21  3:58   ` Aaron Smith
2001-07-20 19:21 ` Matti Aarnio [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=20010720222107.A5559@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=dipak@monmouth.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®