Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ben Russo <ben@umialumni.com>
To: Cedric Blancher <blancher@cartel-securite.fr>
Cc: Toshihiro Sonoda <toshihiro@jp.fujitsu.com>,
	netfilter@lists.netfilter.org
Subject: Re: arptables
Date: 22 Nov 2002 11:01:32 -0500	[thread overview]
Message-ID: <1037980891.14335.5.camel@ben.mis.tnsi.com> (raw)
In-Reply-To: <1037960290.8909.1.camel@elendil.intranet.cartel-securite.net>

On Fri, 2002-11-22 at 05:18, Cedric Blancher wrote:
> Le mar 19/11/2002 à 07:47, Toshihiro Sonoda a écrit :
> > I can find the arp_filter.c and arp_tables.c in "net/ipv4/netfilter/" of kernel tree (2.4.18).
> > But, I can not find the document about how to use the arp filtering.
> > How can I use the arp filtering in linux.
> 
> Akaik, there's still no userland tool to configure ARP filtering into
> kernel (aka arptables tool) and associated library.
> 
> So the first step would be implementing kernel/userland interface...

Just a half baked idea....

I havent tested this, but the /etc/ethers (man 5 ethers)
is used for storing arp cache information statically, like /etc/hosts
in /etc/rc.local you could call:

/sbin/arp -f /etc/ethers

The /etc/ethers file might contain:
	00:08:02:88:88:88 10.10.10.10

If you had no 10.10.10.10 anywhere on your network!
Then you could set rules in your iptables that DROP all 10.10.10.10 
packets from source and destination, in all tables.

From the "arp" man page "If the temp flag is
              not supplied entries will be permanent stored  into
              the ARP cache."

-Ben.




  reply	other threads:[~2002-11-22 16:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-15 20:28 redirect a HTTP-connection only once Karl Gruber
2002-11-16 17:11 ` Joel Newkirk
2002-11-19  6:47 ` arptables Toshihiro Sonoda
2002-11-22 10:18   ` arptables Cedric Blancher
2002-11-22 16:01     ` Ben Russo [this message]
2002-11-22 16:54       ` routing with the iptables Rimas
2002-11-19 17:03 ` Test (I am not recieving mails since 15.11.2002) Erdal Mutlu
2002-11-20 10:38 ` Test: is this list alive Erdal Mutlu
     [not found] <OFC765E855.7B78AC76-ONCA256CC4.002095DB@au.ibm.com>
2003-02-05  9:21 ` arptables Harald Welte
  -- strict thread matches above, loose matches on Subject: below --
2002-06-03  6:39 arptables Paryl Tomasz

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=1037980891.14335.5.camel@ben.mis.tnsi.com \
    --to=ben@umialumni.com \
    --cc=blancher@cartel-securite.fr \
    --cc=netfilter@lists.netfilter.org \
    --cc=toshihiro@jp.fujitsu.com \
    /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