{"action":"closed","issue":{"url":"https://api.github.com/repos/CAIDA/bgpstream/issues/34","repository_url":"https://api.github.com/repos/CAIDA/bgpstream","labels_url":"https://api.github.com/repos/CAIDA/bgpstream/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/CAIDA/bgpstream/issues/34/comments","events_url":"https://api.github.com/repos/CAIDA/bgpstream/issues/34/events","html_url":"https://github.com/CAIDA/bgpstream/issues/34","id":199396021,"node_id":"MDU6SXNzdWUxOTkzOTYwMjE=","number":34,"title":"getaddrinfo fails to parse IPv6 address on some systems","user":{"login":"alistairking","id":3588162,"node_id":"MDQ6VXNlcjM1ODgxNjI=","avatar_url":"https://avatars2.githubusercontent.com/u/3588162?v=4","gravatar_id":"","url":"https://api.github.com/users/alistairking","html_url":"https://github.com/alistairking","followers_url":"https://api.github.com/users/alistairking/followers","following_url":"https://api.github.com/users/alistairking/following{/other_user}","gists_url":"https://api.github.com/users/alistairking/gists{/gist_id}","starred_url":"https://api.github.com/users/alistairking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alistairking/subscriptions","organizations_url":"https://api.github.com/users/alistairking/orgs","repos_url":"https://api.github.com/users/alistairking/repos","events_url":"https://api.github.com/users/alistairking/events{/privacy}","received_events_url":"https://api.github.com/users/alistairking/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-08T01:21:33Z","updated_at":"2018-08-01T19:56:36Z","closed_at":"2018-08-01T19:56:36Z","author_association":"MEMBER","body":"As reported by @vgiotsas\r\n\r\nIt seems that the way we use `getaddrinfo` (https://github.com/CAIDA/bgpstream/blob/master/lib/utils/bgpstream_utils_addr.c#L209) will fail to parse an IPv6 address on (some?) IPv6-only systems. Probably omitting `AI_ADDRCONFIG` from hints would fix this, but it seems there can be issues with `getaddrinfo` (see https://blog.powerdns.com/2014/05/21/a-surprising-discovery-on-converting-ipv6-addresses-we-no-longer-prefer-getaddrinfo/), so we may want to consider switching to `inet_pton`..."}}
{"actor":{"display_login":"digizeph"}}