From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Subject: Re: not [!] rule is not working Date: Tue, 14 Aug 2007 09:24:56 -0500 Message-ID: <46C1BB38.5090506@riverviewtech.net> References: <46C18868.7050306@freemail.hu> Reply-To: gtaylor+reply@riverviewtech.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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; charset="us-ascii" To: Mail List - Netfilter On 08/14/07 07:28, pankaj jain wrote: > I tried arptables -A INPUT ! -i eth1 --opcode Request -d 10.19.1.102 > -j DROP but it was not working. when i do the "arptables -L -nvx" it > shows: > > -j DROP -i eth1 -o !* -d 10.19.1.102 --opcode 1 , pcnt=0 -- bcnt=0 (I'm betting that there is a logic to syntax mapping problem that is preventing this from working.) Can you get the rule to work with out any interfaces defined, i.e. get it to block on all interfaces? If you can get this to work it should be trivial to add the correct interface. Grant. . . .