{"action":"created","issue":{"url":"https://api.github.com/repos/shirou/gopsutil/issues/164","repository_url":"https://api.github.com/repos/shirou/gopsutil","labels_url":"https://api.github.com/repos/shirou/gopsutil/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/shirou/gopsutil/issues/164/comments","events_url":"https://api.github.com/repos/shirou/gopsutil/issues/164/events","html_url":"https://github.com/shirou/gopsutil/issues/164","id":136379269,"number":164,"title":"replace lsof to platform dependent method","user":{"login":"shirou","id":177213,"avatar_url":"https://avatars.githubusercontent.com/u/177213?v=3","gravatar_id":"","url":"https://api.github.com/users/shirou","html_url":"https://github.com/shirou","followers_url":"https://api.github.com/users/shirou/followers","following_url":"https://api.github.com/users/shirou/following{/other_user}","gists_url":"https://api.github.com/users/shirou/gists{/gist_id}","starred_url":"https://api.github.com/users/shirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirou/subscriptions","organizations_url":"https://api.github.com/users/shirou/orgs","repos_url":"https://api.github.com/users/shirou/repos","events_url":"https://api.github.com/users/shirou/events{/privacy}","received_events_url":"https://api.github.com/users/shirou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-25T12:47:28Z","updated_at":"2016-02-26T11:06:07Z","closed_at":null,"body":"#142 , #143 are related to using lsof to get Network connection info.\r\n\r\nTo replace lsof, we needs at least these functions.  inet_ntop porting, sysctl decode functions,  and so on are little bit heavy to implement.  I will update this issue step by step.\r\n\r\n- [ ] Linux\r\n - [ ] getting inode list from processes\r\n - [ ] porting socket.inet_ntop to pure golang (linux struct)\r\n - [ ] IPv6\r\n - [ ] Unix Pipe\r\n- [ ] windows\r\n - [ ] needs research\r\n - [ ] rtlIpv4AddressToStringA\r\n - [ ] rtlIpv6AddressToStringA\r\n - [ ] getExtendedTcpTable\r\n- [ ] darwin\r\n - [ ] proc_pidinfo and retrieve proc_fdtype\r\n - [ ] inet_ntop \r\n- [ ] freebsd\r\n - [ ] sysctl net.inet.tcp.pcblist for TCP\r\n - [ ] sysctl net.inet.udp.pcblist for UDP \r\n - [ ] sysctl net.local.stream.pcblist for socket stream\r\n - [ ] sysctl net.local.dgram.pcblist for socket dgram\r\n - [ ] porting inet_ntop to pure golang (freebsd struct)\r\n - [ ] porting kinfo_file"},"comment":{"url":"https://api.github.com/repos/shirou/gopsutil/issues/comments/189223023","html_url":"https://github.com/shirou/gopsutil/issues/164#issuecomment-189223023","issue_url":"https://api.github.com/repos/shirou/gopsutil/issues/164","id":189223023,"user":{"login":"sparrc","id":7155926,"avatar_url":"https://avatars.githubusercontent.com/u/7155926?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrc","html_url":"https://github.com/sparrc","followers_url":"https://api.github.com/users/sparrc/followers","following_url":"https://api.github.com/users/sparrc/following{/other_user}","gists_url":"https://api.github.com/users/sparrc/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrc/subscriptions","organizations_url":"https://api.github.com/users/sparrc/orgs","repos_url":"https://api.github.com/users/sparrc/repos","events_url":"https://api.github.com/users/sparrc/events{/privacy}","received_events_url":"https://api.github.com/users/sparrc/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T11:06:07Z","updated_at":"2016-02-26T11:06:07Z","body":"looking forward to this, thanks for your work @shirou!"}}