On Tue, 2008-08-19 at 10:08 +0200, Henning Rogge wrote:
[....]
> Hmm, would it be possible to open a UDP socket in promisc. mode so that we get 
> pseudo ethernet frames below the ip packages, but only for the olsr 
> packages ?

You can add a LPF/BPF[0] to filter in kernel space (similar to
DHCP-servers which have the same problem).

The question is if it's worth the effort, added complexity and
performance impact because
- the whole network traffic goes to the kernel and
- OLSRD must also cope with the various MAC headers. I assume that
additional to "normal" MAC addresses, VLAN handling is also necessary.
And if different network types have different L2 headers (think of
FDDI), it gets more complicated.

	Bernd

[0]: "Linux Packet Filter"/"Berkeley Packet Filter"
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




