bmx-routing / bmx7

BMX7 / SEMTOR Securely Entrusted Mesh Routing Protocol
GNU General Public License v2.0
63 stars 15 forks source link

bmx7 gateway tunnel detection #18

Closed aparcar closed 6 years ago

aparcar commented 6 years ago

I'm building a monitoring tool around bmx7 and like to keep track which nodes announce gateways. I though of the option to check the file /var/run/bmx7/json/parameters for a tunIn interface routing 0.0.0.0 but that's somewhat a hack.

Would it be possible to add an entry to the json status called ipv4_gw (and ipv6_gw) which are set to 1 if bmx7 is set to route 0.0.0.0 (or the ipv6 equivalent)?

aparcar commented 6 years ago

Shoudl be solved by this https://github.com/openwrt/packages/pull/5916