{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/beats/issues/11366","repository_url":"https://api.github.com/repos/elastic/beats","labels_url":"https://api.github.com/repos/elastic/beats/issues/11366/labels{/name}","comments_url":"https://api.github.com/repos/elastic/beats/issues/11366/comments","events_url":"https://api.github.com/repos/elastic/beats/issues/11366/events","html_url":"https://github.com/elastic/beats/pull/11366","id":423684813,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYzMjAwMTUw","number":11366,"title":"packetbeat: Enable setting promiscuous mode automatically ","user":{"login":"michalpristas","id":1522652,"node_id":"MDQ6VXNlcjE1MjI2NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1522652?v=4","gravatar_id":"","url":"https://api.github.com/users/michalpristas","html_url":"https://github.com/michalpristas","followers_url":"https://api.github.com/users/michalpristas/followers","following_url":"https://api.github.com/users/michalpristas/following{/other_user}","gists_url":"https://api.github.com/users/michalpristas/gists{/gist_id}","starred_url":"https://api.github.com/users/michalpristas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalpristas/subscriptions","organizations_url":"https://api.github.com/users/michalpristas/orgs","repos_url":"https://api.github.com/users/michalpristas/repos","events_url":"https://api.github.com/users/michalpristas/events{/privacy}","received_events_url":"https://api.github.com/users/michalpristas/received_events","type":"User","site_admin":false},"labels":[{"id":294278531,"node_id":"MDU6TGFiZWwyOTQyNzg1MzE=","url":"https://api.github.com/repos/elastic/beats/labels/Packetbeat","name":"Packetbeat","color":"008000","default":false},{"id":228068770,"node_id":"MDU6TGFiZWwyMjgwNjg3NzA=","url":"https://api.github.com/repos/elastic/beats/labels/review","name":"review","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-03-21T11:32:04Z","updated_at":"2019-03-22T14:57:00Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/11366","html_url":"https://github.com/elastic/beats/pull/11366","diff_url":"https://github.com/elastic/beats/pull/11366.diff","patch_url":"https://github.com/elastic/beats/pull/11366.patch"},"body":"This PR tries to enable promiscuous mode when using `af_packet`.\r\n\r\nFew things to mention\r\n- when it fails it does not panic just logs the failure, mostly because of and backward compatibility\r\n- on exit: it resets promisc mode to whatever it was before\r\n- when `any` is used it does not set the mode to promiscuous - following `pcap` \r\n\r\nFixes #700 "},"comment":{"url":"https://api.github.com/repos/elastic/beats/issues/comments/475652950","html_url":"https://github.com/elastic/beats/pull/11366#issuecomment-475652950","issue_url":"https://api.github.com/repos/elastic/beats/issues/11366","id":475652950,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NTY1Mjk1MA==","user":{"login":"michalpristas","id":1522652,"node_id":"MDQ6VXNlcjE1MjI2NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1522652?v=4","gravatar_id":"","url":"https://api.github.com/users/michalpristas","html_url":"https://github.com/michalpristas","followers_url":"https://api.github.com/users/michalpristas/followers","following_url":"https://api.github.com/users/michalpristas/following{/other_user}","gists_url":"https://api.github.com/users/michalpristas/gists{/gist_id}","starred_url":"https://api.github.com/users/michalpristas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalpristas/subscriptions","organizations_url":"https://api.github.com/users/michalpristas/orgs","repos_url":"https://api.github.com/users/michalpristas/repos","events_url":"https://api.github.com/users/michalpristas/events{/privacy}","received_events_url":"https://api.github.com/users/michalpristas/received_events","type":"User","site_admin":false},"created_at":"2019-03-22T14:57:00Z","updated_at":"2019-03-22T14:57:00Z","author_association":"CONTRIBUTOR","body":"@andrewkroh I played with system tests a bit and added one which tests exactly the proposed scenario. the drawback is that it needs root access and while it runs locally on jenkins it is skipped (unless you know how to get NET_ADMIN) "}}
{"actor":{"display_login":"michalpristas"}}