Re: [Babel-users] babeld inside docker

2017-11-16 Thread Benjamin Henrion
On Thu, Nov 16, 2017 at 8:07 PM, Juliusz Chroboczek  wrote:
>> Hi, myself and Justin Kilpatrick have done a lot of this kind of stuff, and
>> Docker is kind of a distraction IMO.
>
> My colleagues are divided on that subject.  Matthieu is rather fond of
> Docker, while Gwendoline prefers nemu.

Quickly tested with our old friend olsrd, works fine:

https://github.com/zoobab/olsrd-in-docker

Having a look at Mathieu's zip now...

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users


Re: [Babel-users] babeld inside docker

2017-11-16 Thread Justin Kilpatrick
You may also be interested in a quick integration test I built using
network-lab [0]

It's not a great set of unit tests like you would hope to find in a
modern language, but it does go a long way to allowing quick testing of
changes and only takes a few seconds to run. 

[0]
https://github.com/althea-mesh/babeld/commit/9fcfe5050c026f68b7944ab466c4ee6e4b232695

--
  Justin Kilpatrick
  jus...@altheamesh.com



On Thu, Nov 16, 2017, at 01:58 PM, Jehan Tremback wrote:
> Hi, myself and Justin Kilpatrick have done a lot of this kind of stuff, and 
> Docker is kind of a distraction IMO. You're better off using raw network 
> namespaces. Here's a script we made to generate virtual networks with 
> configurable packet loss and latency from a json config format:
> 
> https://github.com/sudomesh/network-lab
> 
> You can try using this, or just read through it to learn how to make your own.
> 
> On Thu, Nov 16, 2017 at 9:09 AM, Juliusz Chroboczek  wrote:
>> > I am trying to run babeld inside docker here:
>>  
>>  > https://github.com/zoobab/babeld-in-docker
>>  
>>  > I can't get 2 containers to see each other, and I can't figure out why
>>  > (multicast or any ipv6 option might not be enabled by default).
>>  
>>  > If someone can help...
>>  
>>  Is the filesystem shared between the containers?  If it is, careful with
>>  not sharing state files (check the -S option in the manual page).
>>  
>>  What's the tunnelling technology?  Does it carry IPv6?  Is there
>>  a link-local address on the interfaces?
>>  
>>  What does tcpdump say?
>>  
>>  -- Juliusz
>>  
>> 
>> ___
>>  Babel-users mailing list
>>  Babel-users@lists.alioth.debian.org
>>  http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users
> _
> Babel-users mailing list
> Babel-users@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Re: [Babel-users] babeld inside docker

2017-11-16 Thread Juliusz Chroboczek
> Hi, myself and Justin Kilpatrick have done a lot of this kind of stuff, and
> Docker is kind of a distraction IMO.

My colleagues are divided on that subject.  Matthieu is rather fond of
Docker, while Gwendoline prefers nemu.

-- Juliusz

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users


Re: [Babel-users] babeld inside docker

2017-11-16 Thread Jehan Tremback
Hi, myself and Justin Kilpatrick have done a lot of this kind of stuff, and
Docker is kind of a distraction IMO. You're better off using raw network
namespaces. Here's a script we made to generate virtual networks with
configurable packet loss and latency from a json config format:

https://github.com/sudomesh/network-lab

You can try using this, or just read through it to learn how to make your
own.

On Thu, Nov 16, 2017 at 9:09 AM, Juliusz Chroboczek  wrote:

> > I am trying to run babeld inside docker here:
>
> > https://github.com/zoobab/babeld-in-docker
>
> > I can't get 2 containers to see each other, and I can't figure out why
> > (multicast or any ipv6 option might not be enabled by default).
>
> > If someone can help...
>
> Is the filesystem shared between the containers?  If it is, careful with
> not sharing state files (check the -S option in the manual page).
>
> What's the tunnelling technology?  Does it carry IPv6?  Is there
> a link-local address on the interfaces?
>
> What does tcpdump say?
>
> -- Juliusz
>
> ___
> Babel-users mailing list
> Babel-users@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users
>
___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Re: [Babel-users] babeld inside docker

2017-11-16 Thread Juliusz Chroboczek
> I am trying to run babeld inside docker here:

> https://github.com/zoobab/babeld-in-docker

> I can't get 2 containers to see each other, and I can't figure out why
> (multicast or any ipv6 option might not be enabled by default).

> If someone can help...

Is the filesystem shared between the containers?  If it is, careful with
not sharing state files (check the -S option in the manual page).

What's the tunnelling technology?  Does it carry IPv6?  Is there
a link-local address on the interfaces?

What does tcpdump say?

-- Juliusz

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users