Re: FORWARD chain in Loop Back interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux