link_info: forbid access to link-local and private IP addresses