Actions
Bug #15438
openNDP Table can be very slow
Status:
New
Priority:
Normal
Assignee:
-
Category:
Diagnostics
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
The NDP table from diagnostics menu become really slow with many link-local entries.
The ndp_diag.php script get the list of addresses via the "ndp -na" command.
For local-link entries, the returned address is in the form of "fe80::aaaa:bbbb:cccc:dddd%ifname".
These addresses are passed as is to the DNS resolver, which forwards a bad query to each upstream DNS, resulting in lots of "ServFail" returns.
The situation is worse when there are many interfaces with vlans and several upstream dns.
To get around this bug, on my 2.7.2 system, i'd replace :
if ($dnsavailable) {
by :if (! str_starts_with($entry['ipv6'], "fe80::") && $dnsavailable) {
Then, the page load time went from 20s to 680ms.
An other solution would be to remove the "%ifname" from the addresses when querying the DNS
No data to display
Actions