[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070302.131814.23015047.davem@davemloft.net>
Date: Fri, 02 Mar 2007 13:18:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: florz@....de
Cc: netdev@...r.kernel.org, mostrows@...akeasy.net
Subject: Re: [PATCH][BUG][SECURITY] Re: Weird problem with PPPoE on tap
interface
From: Florian Zumbiehl <florz@....de>
Date: Wed, 28 Feb 2007 13:38:44 +0100
> As noone seems to have an opinion on this: Here is a patch that does
> work for me and that should solve the problem as far as that is easily
> possible. It is based on the assumption that an interface's ifindex is
> basically an alias for a local MAC address, so incoming packets now are
> matched to sockets based on remote MAC, session id, and ifindex of the
> interface the packet came in on/the socket was bound to by connect().
I agree with your analysis and have applied your patch.
Another way to implement this would have been to store the
pre-computed ifindex on the kernel side sockaddr.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists