{"action":"created","issue":{"url":"https://api.github.com/repos/sam-github/libnet/issues/56","labels_url":"https://api.github.com/repos/sam-github/libnet/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/sam-github/libnet/issues/56/comments","events_url":"https://api.github.com/repos/sam-github/libnet/issues/56/events","html_url":"https://github.com/sam-github/libnet/issues/56","id":58402936,"number":56,"title":"sending packets to ff02::1 not possible on FreeBSD","user":{"login":"koeppea","id":4201853,"avatar_url":"https://avatars.githubusercontent.com/u/4201853?v=3","gravatar_id":"","url":"https://api.github.com/users/koeppea","html_url":"https://github.com/koeppea","followers_url":"https://api.github.com/users/koeppea/followers","following_url":"https://api.github.com/users/koeppea/following{/other_user}","gists_url":"https://api.github.com/users/koeppea/gists{/gist_id}","starred_url":"https://api.github.com/users/koeppea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koeppea/subscriptions","organizations_url":"https://api.github.com/users/koeppea/orgs","repos_url":"https://api.github.com/users/koeppea/repos","events_url":"https://api.github.com/users/koeppea/events{/privacy}","received_events_url":"https://api.github.com/users/koeppea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-20T20:01:13Z","updated_at":"2015-03-04T13:21:11Z","closed_at":"2015-02-23T20:21:40Z","body":"Hi,\r\n\r\nwhile sending packets using libnet to the multicast address **ff02::1** on Linux works,\r\nit doesn't work on FreeBSD.\r\n\r\nIt fails with:\r\n```\r\nlibnet_write: libnet_write_raw_ipv6(): -1 bytes written (Network is unreachable)\r\n```\r\nHowever, the route **ff00::/8** is really not present on FreeBSD while it is on Linux.\r\nBut I woder why `ping6 -I em0 ff02::1` works on FreeBSD though?\r\n\r\nIs there any chance to specify the outgoing interface in *libnet_t*?"},"comment":{"url":"https://api.github.com/repos/sam-github/libnet/issues/comments/77156007","html_url":"https://github.com/sam-github/libnet/issues/56#issuecomment-77156007","issue_url":"https://api.github.com/repos/sam-github/libnet/issues/56","id":77156007,"user":{"login":"koeppea","id":4201853,"avatar_url":"https://avatars.githubusercontent.com/u/4201853?v=3","gravatar_id":"","url":"https://api.github.com/users/koeppea","html_url":"https://github.com/koeppea","followers_url":"https://api.github.com/users/koeppea/followers","following_url":"https://api.github.com/users/koeppea/following{/other_user}","gists_url":"https://api.github.com/users/koeppea/gists{/gist_id}","starred_url":"https://api.github.com/users/koeppea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koeppea/subscriptions","organizations_url":"https://api.github.com/users/koeppea/orgs","repos_url":"https://api.github.com/users/koeppea/repos","events_url":"https://api.github.com/users/koeppea/events{/privacy}","received_events_url":"https://api.github.com/users/koeppea/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T13:21:11Z","updated_at":"2015-03-04T13:21:11Z","body":"Just a short summary of what we found out in issue #57:\r\n 1. On FreeBSD it's not possible at all even with the socket option: sending crap.\r\n 2. On Linux it's possible: The kernel somehow merges all information together and sending out the packet as expected.\r\n\r\nBased on the findings in #57, do you think it's still necessary to create this API thing?\r\n"}}