{"id":220,"date":"2012-09-10T12:28:00","date_gmt":"2012-09-10T12:28:00","guid":{"rendered":"http:\/\/blog.successionua.com\/?p=220"},"modified":"2012-09-10T12:28:00","modified_gmt":"2012-09-10T12:28:00","slug":"%d0%b7%d0%b0%d0%bf%d1%83%d1%81%d0%ba-wireshark-%d0%bf%d0%be%d0%b4-%d0%be%d0%b1%d1%8b%d1%87%d0%bd%d1%8b%d0%bc-non-root-%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d1%82%d0%b5%d0%bb%d0%b5%d0%bc","status":"publish","type":"post","link":"https:\/\/geckich.space\/?p=220","title":{"rendered":"\u0417\u0430\u043f\u0443\u0441\u043a Wireshark \u043f\u043e\u0434 \u043e\u0431\u044b\u0447\u043d\u044b\u043c (non-root) \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\u0412\u0441\u0451 \u043d\u0438\u0436\u0435\u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u0432\u0430\u043b\u0438\u0434\u043d\u043e \u0434\u043b\u044f Oracle Linux 6 (RedHat 6, CentOS 6) 64 \u0431\u0438\u0442\u0430, \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f. Wireshark \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0435 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0430 \u0438\u0445 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432, <a href=\"http:\/\/geckich.blogspot.com\/2012\/09\/wireshark-oracle-linux.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u043a\u0430\u043a \u044f \u043f\u0438\u0441\u0430\u043b \u0437\u0434\u0435\u0441\u044c<\/a><\/p>\n<p>1. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 (\u0435\u0441\u043b\u0438 \u0435\u0449\u0435 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b):<\/p>\n<p><span style=\"color: #e69138;\"><b>yum install ibcap.x86_64&nbsp;libcap-devel.x86_64<\/b><\/span><\/p>\n<p>2. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b wireshark \u0438 \u0435\u0441\u043b\u0438 \u0435\u0435 \u043d\u0435\u0442, \u0441\u043e\u0437\u0434\u0430\u0435\u043c:<\/p>\n<p><b><span style=\"color: #e69138;\">cat \/etc\/group<\/span><\/b><br \/><b><span style=\"color: #e69138;\">groupadd wireshark<\/span><\/b><\/p>\n<p>3. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c wireshark, \u0432 \u044d\u0442\u0443 \u0433\u0440\u0443\u043f\u043f\u0443:<\/p>\n<p><b><span style=\"color: #e69138;\">usermod -a -G wireshark user<\/span><\/b><br \/><b><span style=\"color: #e69138;\">newgrp wireshark<\/span><\/b><\/p>\n<div><\/div>\n<div>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 dumpcap \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0435\u0435 \u0432 \u043d\u0430\u0448\u0443 \u0433\u0440\u0443\u043f\u043f\u0443:<\/div>\n<div><span style=\"color: #e69138;\"><b>setcap cap_net_raw,cap_net_admin=eip \/usr\/local\/bin\/dumpcap<br \/>chgrp wireshark <\/b><\/span><span style=\"color: #e69138;\"><b>\/usr\/local\/bin\/dumpcap<\/b><\/span><\/div>\n<div><span style=\"color: #e69138;\"><b>chmod 750 \/usr\/local\/bin\/dumpcap<\/b><\/span><\/div>\n<div><a name='more'><\/a><\/div>\n<div>4. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c:<\/div>\n<div><b><span style=\"color: #e69138;\">getcap \/usr\/local\/bin\/dumpcap<\/span><\/b><br \/><b><span style=\"color: #e69138;\">su user<\/span><\/b><br \/><b><span style=\"color: #e69138;\">wireshark<\/span><\/b><\/p>\n<p>\u0412\u0441\u0451. \u0414\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p><\/div>\n<\/div>\n<div>http:\/\/geckich.blogspot.com\/<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0441\u0451 \u043d\u0438\u0436\u0435\u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u0432\u0430\u043b\u0438\u0434\u043d\u043e \u0434\u043b\u044f Oracle Linux 6 (RedHat 6, CentOS 6) 64 \u0431\u0438\u0442\u0430, \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f. Wireshark \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0435 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0430 \u0438\u0445 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432, \u043a\u0430\u043a \u044f \u043f\u0438\u0441\u0430\u043b \u0437\u0434\u0435\u0441\u044c 1. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 (\u0435\u0441\u043b\u0438 \u0435\u0449\u0435 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b): yum install ibcap.x86_64&nbsp;libcap-devel.x86_64 2. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b wireshark \u0438 \u0435\u0441\u043b\u0438 \u0435\u0435 \u043d\u0435\u0442, \u0441\u043e\u0437\u0434\u0430\u0435\u043c: cat \/etc\/groupgroupadd wireshark &hellip; <a href=\"https:\/\/geckich.space\/?p=220\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u0417\u0430\u043f\u0443\u0441\u043a Wireshark \u043f\u043e\u0434 \u043e\u0431\u044b\u0447\u043d\u044b\u043c (non-root) \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220"}],"version-history":[{"count":0,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions"}],"wp:attachment":[{"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}