Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@lists.netfilter.org>
Subject: Re: not [!] rule is not working
Date: Tue, 14 Aug 2007 09:24:56 -0500	[thread overview]
Message-ID: <46C1BB38.5090506@riverviewtech.net> (raw)
In-Reply-To: <d41814cf0708140528o4fe73a93x85a8f7ce53396b03@mail.gmail.com>

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. . . .


  reply	other threads:[~2007-08-14 14:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-14  6:45 not [!] rule is not working pankaj jain
2007-08-14 10:48 ` Gáspár Lajos
2007-08-14 12:28   ` pankaj jain
2007-08-14 14:24     ` Grant Taylor [this message]
2007-08-14 14:27 ` Grant Taylor
2007-08-14 14:36 ` Grant Taylor
2007-08-16  5:56   ` pankaj jain
2007-08-16 14:39     ` Grant Taylor
2007-08-16 15:07       ` Pascal Hambourg
2007-08-16 15:27         ` Grant Taylor
2007-08-16 21:47           ` Franck Joncourt
2007-08-17  8:09           ` pankaj jain
2007-08-17 13:54             ` Grant Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46C1BB38.5090506@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=gtaylor+reply@riverviewtech.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox