[Dibbler-devel] Prefix delegation & prefix pool managementissue.
MINODIER David RD-RESA-LAN
david.minodier at orange-ftgroup.com
Thu May 3 13:35:18 CEST 2007
Hi Tomasz,
Don't appologize !!! You're doing such a good job !
Actually, we figured out there was something wrong with the randomization method.
And the fact the prefixIsFree method is not implemented is definitly another very complementary issue.
Now, don't panic ! We can wait for more than 2 days for a patch... Take it easy !
BTW, do you agree with the patch we provided a few days ago regarding SrvCfgMgr/SrvParser.cpp and SrvCfgMgr/SrvParser.y ?
Again, THANKS !
David.
-----Message d'origine-----
De : dibbler-devel-bounces at klub.com.pl [mailto:dibbler-devel-bounces at klub.com.pl] De la part de Tomasz Mrugalski
Envoyé : jeudi 3 mai 2007 12:11
À : Dibbler development list.
Objet : Re: [Dibbler-devel] Prefix delegation & prefix pool managementissue.
On Tue, 1 May 2007 somebody known as Tomasz Mrugalski wrote:
> Anyway, I'll take a closer look at this issue soon (tomorrow? or the
> day after tomorrow).
Hi,
I had some time and I was able to reproduce this bug.
Well, there are several things that went wrong and the result was that the same prefix has been assigned. Details:
1. The prefix randomisation method is not very good, so it never returns
last value from the available prefix, and since in this case we have
only 2 prefixes, always the first is returned (to be exact, th chance
to return second one by random is 1/2^63).
2. Take a look at this of the AddrMgr.cpp code and try to guess, what is
wrong :)
bool TAddrMgr::prefixIsFree(SPtr<TIPv6Addr> prefix) {
// FIXME: implement this
return true;
}
In general, dibbler does not handle border cases too well, e.g. when the address (or prefix) pool is almost completely used, i.e. there is only one prefix or address left to assign.
Anyway, I'm working on both issues. I suppose the fix will be ready today or tomorrow.
Thanks again for this not-so-obvious bug report
--
Tomasz Mrugalski, | "We all know Linux is great...it does |
thomson(at)klub(dot)com(dot)pl | infinite loops in 5 seconds." |
| Linus Torvalds |
_______________________________________________
Dibbler-devel mailing list
Dibbler-devel at klub.com.pl
http://klub.com.pl/cgi-bin/mailman/listinfo/dibbler-devel
More information about the Dibbler-devel
mailing list