From: Xavier Parizet <xav@gentooist.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [QA] The 'dropped' value in /sbin/ifconfig output
Date: Thu, 25 Feb 2010 14:31:00 +0100 [thread overview]
Message-ID: <4B867B94.1010904@gentooist.com> (raw)
In-Reply-To: <1e8a3dd1002250511q377f8e4bqd8091ead60482dbb@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
On 02/25/2010 02:11 PM, Kan-I Jyo wrote:
> Dear list,
>
> This might be too fundamental to answer, but I would like to know
> when will the 'dropped' value in the output of /sbin/ifconfig be counted up.
>
> I have tried setting up a firewall using iptables with a very simple rule like
> the following:
>
> <samle>
> # iptables -A INPUT -p tcp --dport 80 -j DROP
>
> When trying to connect from the other host through tcp port 80, there
> was no response, which is expected.
>
> However, the 'dropped' value was note added up even the packet is dropped.
Well, you're talking about two different things:
the dropped value in ifconfig output is related to Ethernet packet which
would be dropped by hardware.
The target DROP of iptables tells to the kernel to drop the packet at
software level.
If you want to see the dropped packet statistics on software level (ie
iptables), run iptables -v -L .
> Any comment would be greatly appreciated.
--
Xavier Parizet
YaGB : http://gentooist.com
GPG : C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2010-02-25 14:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-25 13:11 [gentoo-user] [QA] The 'dropped' value in /sbin/ifconfig output Kan-I Jyo
2010-02-25 13:31 ` Xavier Parizet [this message]
2010-02-25 15:36 ` Kan-I Jyo
2010-02-25 16:02 ` Xavier Parizet
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=4B867B94.1010904@gentooist.com \
--to=xav@gentooist.com \
--cc=gentoo-user@lists.gentoo.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