{"id":2471,"date":"2012-03-23T12:11:16","date_gmt":"2012-03-23T10:11:16","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2471"},"modified":"2023-11-23T15:56:58","modified_gmt":"2023-11-23T13:56:58","slug":"%d1%83%d0%b1%d0%b8%d0%b2%d0%b0%d0%b5%d0%bc-%d1%81%d0%b5%d1%82%d0%b5%d0%b2%d1%8b%d0%b5-%d1%81%d0%be%d0%b5%d0%b4%d0%b8%d0%bd%d0%b5%d0%bd%d0%b8%d1%8f","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2471","title":{"rendered":"\u0423\u0431\u0438\u0432\u0430\u0435\u043c \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f"},"content":{"rendered":"<p>\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0442\u0438\u043f\u043e\u043c <strong>ESTABLISHED<\/strong> \u0438 \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0438\u0442\u044c? \u041d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0444\u0430\u0439\u0435\u0440\u0432\u043e\u043b \u0441\u043c\u043e\u0436\u0435\u0442 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0430 \u0438 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e. \u0412\u044b\u0445\u043e\u0434 \u0435\u0441\u0442\u044c:<\/p>\n<p><em><span style=\"color: #ff6600;\"> &#8211; tcpkill \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430\u00a0dsniff (Linux only)<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; Killcx (Linux only)<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; tcpdrop (BSD\/Solaris only)<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; CurrPorts (Windows only)<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; Cutter (Linux only)<\/span><\/em><\/p>\n<p><!--more-->\u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432\u043a\u0440\u0430\u0442\u0446\u0435 \u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445.<\/p>\n<p><strong><span style=\"color: #ff0000;\">tcpkill<\/span><\/strong><\/p>\n<p>\u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u043a\u0430\u043a \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 (\u043d\u0435 \u0442\u044f\u043d\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439) \u0442\u0430\u043a \u0438 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438. \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n<p>\u041e\u0431\u0449\u0438\u0439 \u0432\u0438\u0434<br \/>\n<code>#tcpkill -i eth0 { expression }<\/code><\/p>\n<p>\u0423\u0431\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441<strong> 21<\/strong>-\u0433\u043e \u043f\u043e\u0440\u0442\u0430<strong> ftp<\/strong><br \/>\n<code>#tcpkill -i eth0 port 21<\/code><\/p>\n<p>\u0423\u0431\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0445\u043e\u0441\u0442\u0430 <strong>192.168.1.2\/host12.nixcraft.com<\/strong><br \/>\n<code>#tcpkill host 192.168.1.2<br \/>\n#tcpkill host host12.nixcraft.com<\/code><\/p>\n<p>\u0423\u0431\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0445\u043e\u0441\u0442\u043e\u043c <strong>192.168.1.2<\/strong> \u0438 \u0432\u0441\u0435\u043c\u0438, \u043a\u0440\u043e\u043c\u0435 \u0445\u043e\u0441\u0442\u0430 <strong>192.168.1.111<\/strong><br \/>\n<code>#tcpkill ip host 192.168.1.2 and not 192.168.1.111<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">Killcx<\/span><\/strong><\/p>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 <strong>http:\/\/killcx.sourceforge.net\/<\/strong><\/p>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 <strong>perl&#8217;e<\/strong> \u0438 \u0442\u044f\u043d\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443\u043c\u0435\u0435\u0442 \u0443\u0431\u0438\u0432\u0430\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0443 <strong>dest<\/strong>.<br \/>\n\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n<pre>- syntax   : killcx [dest_ip:dest_port] {interface}\n\n    dest_ip              : remote IP\n    dest_port            : remote port\n    interface (optional) : network interface (eth0, lo etc).\n\n  - example  : killcx 120.121.122.123:1234\n               killcx 120.121.122.123:1234 eth0<\/pre>\n<p><strong><span style=\"color: #ff0000;\">tcpdrop<\/span><\/strong><\/p>\n<p>\u0412\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0443 <strong>BSD<\/strong> \u0441\u0438\u0441\u0442\u0435\u043c (\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043d\u0430 <strong>FreeBSD\/OpenBSD<\/strong>, \u0434\u043b\u044f <strong>Solaris<\/strong> \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 <a href=\"https:\/\/skeletor.org.ua\/?p=4634\">\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432<\/a> \u0438\u043b\u0438 \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c <strong>pkg<\/strong> \u043d\u0430 http:\/\/www.sunfreeware.com \u0438 \u043f\u043e \u0441\u0432\u043e\u0435\u0439 \u0441\u0443\u0442\u0438 \u0442\u043e\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u0430. \u041d\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f <strong>src\/dst<\/strong> \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0440\u0442\u043e\u0432 <strong>src\/dst<\/strong>. \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0442\u0430\u043a\u043e\u0432:<\/p>\n<p><code>#tcpdrop local-address local-port foreign-address foreign-port<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">CurrPorts<\/span><\/strong><\/p>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 <strong>http:\/\/www.nirsoft.net\/utils\/cports.html<\/strong><\/p>\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043b\u044f <strong>windows<\/strong> \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u0438 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c.<\/p>\n<p><strong><span style=\"color: #ff0000;\">Cutter<\/span><\/strong><\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0444\u0430\u0439\u0435\u0440\u0432\u043e\u043b\u043e\u043c \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u0431\u0438\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0430\u043d\u0437\u0438\u043d\u0442\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0447\u0442\u043e \u043c\u044f\u0433\u043a\u043e \u0433\u043e\u0432\u043e\u0440\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0442\u0438\u043f\u043e\u043c ESTABLISHED \u0438 \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0438\u0442\u044c? \u041d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0444\u0430\u0439\u0435\u0440\u0432\u043e\u043b \u0441\u043c\u043e\u0436\u0435\u0442 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0430 \u0438 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e. \u0412\u044b\u0445\u043e\u0434 \u0435\u0441\u0442\u044c: &#8211; tcpkill \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430\u00a0dsniff (Linux only) &#8211; Killcx (Linux only) &#8211; tcpdrop (BSD\/Solaris only) &#8211; CurrPorts (Windows only) &#8211; Cutter (Linux only)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,25,24,8],"tags":[],"class_list":["post-2471","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-openbsd","category-solaris","category-windows"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2471"}],"version-history":[{"count":9,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2471\/revisions"}],"predecessor-version":[{"id":6278,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2471\/revisions\/6278"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}