mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Harald Welte <laforge@gnumonks.org>
To: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Packet capturing, iptables and eth0 vs. dummy0
Date: Wed, 17 Nov 2004 22:38:43 +0100	[thread overview]
Message-ID: <20041117213843.GV31538@sunbeam.de.gnumonks.org> (raw)
In-Reply-To: <20041117203033.GA7907@DervishD>

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

On Wed, Nov 17, 2004 at 09:30:33PM +0100, DervishD wrote:
>     Hi all :)

Hi!

please send netfilter/iptables related questions to the respective
lists:
	netfilter@lists.netfilter.org (for user questions)
	netfilter-devel@lists.netfilter.org (for development issues)

>     I've noticed that, no matter what filtering is iptables doing,
> tcpdump gets all packets from interface eth0 as seen in the bus, 

This is correct.  iptables is a IPv4 packet filter.  It is part of the
IPv4 stack.  tcpdump uses PF_PACKET which attaches right above the
NIC driver, therefore you capture packets way before they enter the IPv4
stack.

>     Raúl Núñez de Arenas Coronado
-- 
- Harald Welte <laforge@gnumonks.org>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-11-17 21:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-17 20:30 DervishD
2004-11-17 20:46 ` Don Lafontaine
2004-11-17 21:00 ` Martin Josefsson
2004-11-17 23:14   ` DervishD
2004-11-17 21:38 ` Harald Welte [this message]
2004-11-17 23:17   ` DervishD

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=20041117213843.GV31538@sunbeam.de.gnumonks.org \
    --to=laforge@gnumonks.org \
    --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®