From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sandy C Subject: netfilter machine in between 2 servers Date: Sun, 14 Mar 2004 01:28:12 -0800 (PST) Sender: netfilter-admin@lists.netfilter.org Message-ID: <20040314092812.74659.qmail@web60006.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-683690491-1079256492=:74656" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org --0-683690491-1079256492=:74656 Content-Type: text/plain; charset=us-ascii Hi there, I have 3 Linux machines. One configured as a server, the second as a client, and the third sniffing packets transferring between the 2. All 3 machines are hooked up to each other over a hub, and all are running 100MB/s Using ethereal I can see the packets going between the server and the client. I would like the third, sniffing machine to be able to filter packets going between the client and the server. This doesn't seem to work though. So I have the following rule on the third machine: iptables -A INPUT -p 80 -j LOG meaning just log all http requests. It doesn't work, but if I have this rule on either the client or the server, it works as expected. I get the feeling I'm missing something very basic. Can anyone help? Thanks, S Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam --0-683690491-1079256492=:74656 Content-Type: text/html; charset=us-ascii
Hi there,
   I have 3 Linux machines. One configured as a server, the second as a client, and the third sniffing packets transferring between the 2. All 3 machines are hooked up to each other over a hub, and all are running 100MB/s
 
   Using ethereal I can see the packets going between the server and the client. I would like the third, sniffing machine to be able to filter packets going between the client and the server. This doesn't seem to work though.
 
So I have the following rule on the third machine:
iptables -A INPUT -p 80 -j LOG
 
meaning just log all http requests. It doesn't work, but if I have this rule on either the client or the server, it works as expected.
 
I get the feeling I'm missing something very basic. Can anyone help?

Thanks,
S

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam --0-683690491-1079256492=:74656--