[Commotion-dev] Example working config for olsrd_mdp?
Will Hawkins
hawkinsw at opentechinstitute.org
Tue Jul 30 18:59:14 UTC 2013
Hey Ben!
On 07/30/2013 02:31 PM, Ben West wrote:
> Hi All,
>
> Sorry if this turns out to be an unnecessary question, but could someone
> share an example working config for the olsrd_mdp plugin? It seems my
> local Commotion nodes are not using the plugin.
>
> Here is olsrd_mdp plugin's home & README:
>
> https://github.com/opentechinstitute/olsrd/tree/release-0.6.5.4/lib/mdp
> https://github.com/opentechinstitute/olsrd/blob/release-0.6.5.4/lib/mdp/README_MDP
>
> Likewise, these are the stanzas to add to /etc/olsrd.conf or
> /etc/config/olsrd, respectively. I'm curious how these stanzas look
> when correctly populated.
>
> LoadPlugin "olsrd_mdp.so.0.1"
> {
> PlParam "sid" "<Serval SID>"
> PlParam "servalpath" "<Serval Instance Path>"
> }
>
> config 'LoadPlugin'
> option 'library' 'olsrd_mdp.so.0.1'
> option 'sid' '<Serval SID>'
> option 'servalpath' '<Serval Instance Path>'
These will look very similar to what you have here. I do not have a node
running olsrd_mdp in front of me, but here are the class of things that
you can expect to enter there:
servalpath will be like /etc/serval (as it is by default on Commotion
nodes). This contains a place for the keys to be stored and the
configuration values to be kept.
sid will be like
2A944A05906B6E676C8AE6747968F97ED6E564820CC18ADC34D6B597DE1AE658. This
is an identifier that tells the plugin which keypair to use for signing
routes. The key itself can be passed from node-to-node by copying the
serval.keyring file from the instance path directory.
Does this answer some of your questions?
>
> What is the current approach for creating and distributing a key to all
> nodes? I realize key distribution is assumed to be done out of band for
> best security.
>
> Thanks.
>
> --
> Ben West
> http://gowasabi.net
> ben at gowasabi.net <mailto:ben at gowasabi.net>
> 314-246-9434
>
>
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> https://lists.chambana.net/mailman/listinfo/commotion-dev
>
More information about the Commotion-dev
mailing list