[Cerowrt-devel] hopefully better babeld configuration

Dave Taht dave.taht at gmail.com
Thu Jul 17 04:33:43 EDT 2014


Upcoming in the next release of cerowrt is a change to the wire format
of babeld's source specific routing stuff, which will (sigh) render
this release of babeld, if you are using source specific routing,
incompatible with all prior releases.

Given that that is such a big change, I've also been running with some
improved babel rules that do better metrics, export 1/8th the routes,
and are cleaner to configure.

IF you are using source specific babeld on cerowrt, those
configuration file changes can be applied today by snagging the three
files from:

http://snapon.lab.bufferbloat.net/~cero2/newbabeld/

and putting the files in:

firewall.user /etc
babeld in /etc/config/
babeld.conf /etc/babeld.conf

I am not sure if I got the ipv6 stuff right with how it integrates
with dhcpd-pd and hnetd nor if I'm correctly exporting a source
specific ipv4 gateway... but am not in a position to test ipv6 til
friday, and for all I know these rules can be improved.

Basically, we add an unreachable route for the /24 cerowrt cuts it's
/27s out of, then filter out the /27 announcements, so just the
"unreachable" route is announced (as reachable, and no I can't explain
how this works).

I would have liked it if I could have found a way to express the /24
route in /etc/config/network rather than in /etc/firewall.user but so
far no luck. A problem this induces is that if you change your default
network number, you also have to change the unreachable covering route
in /etc/firewall.user

Formerly we re-exported routes on each interface with a new metric
(which was basically wrong in the first place)

-- 
Dave Täht

NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_indecent.article



More information about the Cerowrt-devel mailing list