Linux Netfilter discussions
 help / color / mirror / Atom feed
* FORWARD chain in Loop Back interface
@ 2011-11-21  5:55 ratheesh kannoth
  2011-11-21  6:44 ` Michal Kubeček
  0 siblings, 1 reply; 2+ messages in thread
From: ratheesh kannoth @ 2011-11-21  5:55 UTC (permalink / raw)
  To: Netfilter mailing list

Hi,

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 ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FORWARD chain in Loop Back interface
  2011-11-21  5:55 FORWARD chain in Loop Back interface ratheesh kannoth
@ 2011-11-21  6:44 ` Michal Kubeček
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Kubeček @ 2011-11-21  6:44 UTC (permalink / raw)
  To: Netfilter mailing list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-21  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21  5:55 FORWARD chain in Loop Back interface ratheesh kannoth
2011-11-21  6:44 ` Michal Kubeček

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox