IPv6 request flood
Brought to you by:
suzsuz
Hello. I use latest version WIDE-DHCPv6 client. I have observed that sometimes WIDE-DHCPv6 client sends about 4000 request per second and ignores any replies from DHCPv6 server. I have no idea why it starts attacking the DHCP server.
I can't specially repeat the problem in my various tests. The problem appears without any special circumstance.
I have saw the same problem on my SOHO router ASUS RT-N56U. The router uses the same WIDE-DHCPv6.
Do you ever hear about this problem? Do you know about a cause? Why WIDE-DHCPv6 starts sending 4000 req/sec? Do you have any workaround.
Thanks you!
Please try apply this patchs https://gitorious.org/wive-ng-mt/wive-ng-mt/commit/844e8a1a0d9026ba6fef8b224583e97890ca522e
and https://gitorious.org/wive-ng-mt/wive-ng-mt/commit/3f93dfec7a13c086f891b2ab9a974de2331d9b7d
This is port fix from asus wl500 project (http://code.google.com/p/wl500g/source/detail?r=5651), need test. Thanks TheMiron.
For correct wide-dhcp6 work need apply some others patches.
1) dhcpv6: fix renewal of IA NA.
2) dhcpv6: close file descriptors on exec.
3) dhcpv6: try and generate a default IFID only if an IFID is not configured.
4) dhcpv6: ignore advertise messages with none of requested data and missed status codes.
See git of wive-ng-mt.
Last edit: Evgeniy Manachkin 2015-03-31
Patched source code in attach (all needed patchs apply).