[radvd-devel-l] Buffer overflow

Pekka Savola pekkas at netcore.fi
Mon Jan 25 05:22:32 EST 2010

On Mon, 25 Jan 2010, Jan Görig wrote:
> because last solution wasn't very clear, I have re-made previous patch. 
> Current version is reallocating memory when necessary.
> But there is another issue. Bug reporter wrote that he needs 65k routes. This 
> number is too large and in current configuration format is very hard to 
> maintain it. So there is a question, if this is only individual problem or is 
> this request for more intelligent configure options.

I don't think this can be made to work this way -- each prefix 
information option requires 32B and stuffing 64K of them would 
require, at 1500B link MTU, about 1400 router advertisement messages!

I'll follow up on this in RH bugzilla.

> Jan Gorig
> Dne 14.1.2010 12:22, Jan Görig napsal(a):
>>  Hi,
>>  there was reported bug in Fedora bugzilla about buffer overflow while
>>  advertising too many prefixes.
>>  (https://bugzilla.redhat.com/show_bug.cgi?id=554125).
>>  I have added checking and readable error message. Patch included.
>>  Jan Gorig

Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

More information about the radvd-devel-l mailing list