freifunk-gluon / l3roamd

BSD 2-Clause "Simplified" License
12 stars 6 forks source link

Feature: learn new clients on bridge-interfaces #5

Closed christf closed 7 years ago

christf commented 7 years ago

https://github.com/tcatm/l3roamd/issues/24

For wifi clients the nl80211 can inform us about new clients. This may also be possible for bridges.

Relevant kernel code:

RTM_NEWNEIGH
http://lxr.free-electrons.com/source/net/bridge/br_fdb.c#L547
http://lxr.free-electrons.com/source/net/bridge/br_fdb.c#L682
matwei commented 7 years ago

You mean when the client interface (option -i) is an ethernet bridge?

christf commented 7 years ago

On Fri, May 05, 2017 at 07:17:32AM -0700, Mathias Weidner wrote:

You mean when the client interface (option -i) is an ethernet bridge? Exactly.

-- () ascii ribbon campaign - against html e-mail /\ against proprietary attachments

christf commented 7 years ago

it also would be interesting if this works on regular interfaces and veth.

christf commented 7 years ago

this might also be possible using BPF

christf commented 7 years ago

this is now possible. closing.