Re: [PATCH] arp_filter patch for 2.4.4 kernel.

From: Ben Greear (greearb@candelatech.com)
Date: Sat May 05 2001 - 19:08:55 EST


"David S. Miller" wrote:
>
> Ben Greear writes:
> > This patch is ported from Andi Kleen's work for the 2.2.19 kernel (I think
> > it was his, at least...)
> >
> > It adds the ability to run multiple interfaces on the same subnet,
> > on the same machine, and have the ARPs for each interface be answered
> > based on whether or not the kernel would route a packet from the ARP'd
> > IP out that interface. When used with source-based routing, this
> > makes things work in an intuitive manner.
>
> How difficult is it to compose netfilter rules that do this?

No idea, haven't tried to use netfilter. With this patch, though,
it's as easy as:

echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter

I have a setup that should be able to test some netfilter rules
if have some you want me to try....

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:22 EST