Return-Path: MIME-Version: 1.0 In-Reply-To: <201001042344.02273.lindner_marek@yahoo.de> References: <201001042344.02273.lindner_marek@yahoo.de> Date: Tue, 5 Jan 2010 09:23:42 +1300 Message-ID: <591bc9931001041223m13d96837o4d4f95afa08e42e2@mail.gmail.com> From: Donald Gordon Content-Type: multipart/alternative; boundary=00504502e2d557e9b9047c5c7fdc Subject: Re: [B.A.T.M.A.N.] batman-adv gateway support Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking --00504502e2d557e9b9047c5c7fdc Content-Type: text/plain; charset=ISO-8859-1 Hi On Tue, Jan 5, 2010 at 4:44 AM, Marek Lindner wrote: > > * The third patch checks whether locally received packets are DHCP queries > and > forwards them via uncicast to the best gateway instead of broadcasting > them. > > Would it be possible to decide via a more general mechanism, maybe via a BPF filter, which packets get sent to the gateway? For instance, it would be nice to be able to say that all ARP requests for *.*.*.1 also got sent to the gateway direct :-) This would also make adding IPv6 support trivial, it'd just be another (or a more complex) BPF filter. donald --00504502e2d557e9b9047c5c7fdc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

On Tue, Jan 5, 2010 at 4:44 AM, Marek = Lindner <lin= dner_marek@yahoo.de> wrote:

* The third patch checks whether locally received packets are DHCP queries = and
forwards them via uncicast to the best gateway instead of broadcasting them= .

Would it be possible to decide via a more general mec= hanism, maybe via a BPF filter, which packets get sent to the gateway?=A0 For instance, it would be nice to be able to say that all ARP requests for *.*.*.1 also got sent to the gateway direct :-)=A0 This would also make adding IPv6 supp= ort trivial, it'd just be another (or a more complex) BPF filter.
donald
--00504502e2d557e9b9047c5c7fdc--