From: CC <cc@kdtc.net>
To: netfilter@lists.netfilter.org
Subject: tcpdump and Iptables
Date: Fri, 03 Sep 2004 01:56:33 +0800 [thread overview]
Message-ID: <41375ED1.5090400@kdtc.net> (raw)
Hi,
I think I've asked this before here, but I
don't remember what the answer was.
If I have iptables running and I do a
tcpdump -i eth0, at what point is
tcpdump listening to the connection?
I'm trying to troubleshoot my firewall,
but am not seeing the right behaviour
as the packets that I'm trying to block
by the following command:
$IPTABLES -A FORWARD -i eth1 -p tcp \
-d 192.168.7.1 -j DROP
But I still get tcp packets going to
192.168.7.1.
And wouldn't :
$IPTABLES -A FORWARD -i eth1 -p tcp \
-s 192.168.7.1 -j DROP
in effect disables all access to the
internet for machine IP 192.168.7.1?
But my main query is about the
relationship between the packets that
TCPDUMP sees and where the packets
are within the packet filtering
process.
Thanks
next reply other threads:[~2004-09-02 17:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-02 17:56 CC [this message]
2004-09-02 18:06 ` tcpdump and Iptables Jason Opperisano
2004-09-02 18:07 ` Nick Drage
2004-09-03 0:41 ` cc
2004-09-03 10:23 ` Nick Drage
2004-09-03 17:20 ` Jose Maria Lopez
2004-09-02 20:25 ` Jose Maria Lopez
-- strict thread matches above, loose matches on Subject: below --
2004-09-03 14:23 Hudson Delbert J Contr 61 CS/SCBN
2004-09-03 14:27 Hudson Delbert J Contr 61 CS/SCBN
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=41375ED1.5090400@kdtc.net \
--to=cc@kdtc.net \
--cc=netfilter@lists.netfilter.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