From: "Michal Kubeček" <mkubecek@suse.cz>
To: Netfilter mailing list <netfilter@vger.kernel.org>
Subject: Re: FORWARD chain in Loop Back interface
Date: Mon, 21 Nov 2011 07:44:44 +0100 [thread overview]
Message-ID: <8934641.4kEUHV0BPG@alaris> (raw)
In-Reply-To: <CAGZFCEEyxe-pWwZ8ZzuMV_a_20J_F9txS08aUELx7R3LauCWTw@mail.gmail.com>
Dne Po 21. listopadu 2011 11:25:52, ratheesh kannoth napsal(a):
>
> I have a linux laptop. i have only loop back interface. i have a
> small tcp client and tcp server running on the machine ( simple tcp
> echo server and client ).
>
> I would like to log these packets using , iptables -A FORWARD -p
> tcp -j LOG. But there is no log getting captured when i execute
> client and server ?
>
> is there any way to produce this logs ( with only loop back
> interface ) in forward chain ?
Packets going from your system to your system via loopback are not going
through FORWARD chain (there is no forwarding), they pass through OUTPUT
(as they are locally generated) and then through INPUT (they are locally
delivered).
Michal Kubeèek
prev parent reply other threads:[~2011-11-21 6:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-21 5:55 FORWARD chain in Loop Back interface ratheesh kannoth
2011-11-21 6:44 ` Michal Kubeček [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=8934641.4kEUHV0BPG@alaris \
--to=mkubecek@suse.cz \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox