From mboxrd@z Thu Jan 1 00:00:00 1970 From: "mdpeters" Subject: Re: transparent bridge troubles? Date: Fri, 7 Jan 2005 16:35:13 -0500 Message-ID: <004601c4f500$c583f0a0$3e0010ac@esonet18> References: <7C9884991ADAE0479C14F10C858BCDF5679643@alderaan.smgtec.com><20050107204433.GA1112@bender.817west.com><002e01c4f4fb$4a24f080$3e0010ac@esonet18> <20050107210103.GA1193@bender.817west.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; format="flowed"; charset="us-ascii"; reply-type="original" To: Jason Opperisano , netfilter@lists.netfilter.org I only get the two entries and that is it? Should I not see many many lines showing everything I try to put through the bridge? Does this indicate that the Snort-inline is broken in that QUEUE userspace or could this be something wrong with another component of this whole thing? ----- Original Message ----- From: "Jason Opperisano" To: Sent: Friday, January 07, 2005 4:01 PM Subject: Re: transparent bridge troubles? > On Fri, Jan 07, 2005 at 03:55:58PM -0500, mdpeters wrote: >> OK. This is what I have loaded now. >> >> /usr/local/sbin/iptables -P FORWARD DROP >> /usr/local/sbin/iptables -A FORWARD -j LOG --log-prefix >> /var/iptablequeue/pre_queue >> /usr/local/sbin/iptables -A FORWARD -p tcp --syn -m state --state NEW -j >> QUEUE >> /usr/local/sbin/iptables -A FORWARD -p tcp -m state --state >> RELATED,ESTABLISHED -j QUEUE >> /usr/local/sbin/iptables -A FORWARD -p udp -j QUEUE >> /usr/local/sbin/iptables -A FORWARD -p icmp -j QUEUE >> /usr/local/sbin/iptables -A FORWARD -j LOG --log-prefix >> /var/iptablequeue/post_queue >> >> I should see some sort of log file in /var/iptablequeue/post_queue or >> /var/iptablequeue/pre_queue now? Should I try sending packets through the >> bridge to generate something? > > uh--no. those rules might not even load. "--log-prefix" specifies a > string to prefix the log entries in your syslog files. my rules were > literal: > > /usr/local/sbin/iptables -A FORWARD -j LOG --log-prefix "PRE QUEUE: " > > ... > > /usr/local/sbin/iptables -A FORWARD -j LOG --log-prefix "POST QUEUE: " > > so the entries in /var/log/messages will have the strings "PRE QUEUE: " > and "POST QUEUE: " in them for identification purposes. > > -j > > -- > "Kids, you tried your best and you failed miserably. The lesson is, > never try." > --The Simpsons > >