<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Cooper's blog: Tag robots</title>
    <link>http://cooper.ezlibrary.com/articles/tag/robots</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>&#1055;&#1088;&#1086;&#1075;&#1088;&#1072;&#1084;&#1084;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077;, &#1073;&#1083;&#1086;&#1075;&#1075;&#1080;&#1085;&#1075;, online money making: &#1089;&#1086;&#1073;&#1099;&#1090;&#1080;&#1103;, &#1092;&#1072;&#1082;&#1090;&#1099;, &#1083;&#1080;&#1095;&#1085;&#1099;&#1081; &#1086;&#1087;&#1099;&#1090;</description>
    <item>
      <title>&#1053;&#1040;&#1057;&#1058;&#1056;&#1054;&#1049;&#1050;&#1040; IPTABLES. &#1047;&#1072;&#1097;&#1080;&#1090;&#1072; &#1086;&#1090; &#1087;&#1072;&#1088;&#1072;&#1079;&#1080;&#1090;&#1085;&#1086;&#1075;&#1086; &#1090;&#1088;&#1072;&#1092;&#1080;&#1082;&#1072;</title>
      <description>&lt;p&gt;&#1040;&#1085;&#1072;&#1083;&#1080;&#1079;&#1080;&#1088;&#1091;&#1103; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1102; &#1086; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1077; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103; &#1084;&#1086;&#1077;&#1075;&#1086; &#1073;&#1083;&#1086;&#1075;&#1072;, &#1103; &#1086;&#1073;&#1085;&#1072;&#1088;&#1091;&#1078;&#1080;&#1083;, &#1095;&#1090;&#1086; &#1077;&#1078;&#1077;&#1076;&#1085;&#1077;&#1074;&#1085;&#1086; &#1089; &#1082;&#1086;&#1085;&#1082;&#1088;&#1077;&#1090;&#1085;&#1099;&#1093; &#1093;&#1086;&#1089;&#1090;&#1086;&#1074; &#1087;&#1088;&#1086;&#1080;&#1089;&#1093;&#1086;&#1076;&#1080;&#1090; &#1087;&#1086;&#1076;&#1086;&#1079;&#1088;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086; &#1073;&#1091;&#1088;&#1085;&#1072;&#1103; &#1072;&#1082;&#1090;&#1080;&#1074;&#1085;&#1086;&#1089;&#1090;&#1100;, &#1093;&#1072;&#1088;&#1072;&#1082;&#1090;&#1077;&#1088;&#1085;&#1072;&#1103; &#1089;&#1082;&#1086;&#1088;&#1077;&#1077; &#1076;&#1083;&#1103; &lt;strong&gt;&#1088;&#1086;&#1073;&#1086;&#1090;&#1086;&#1074;&lt;/strong&gt; &#1080;&#1083;&#1080; &lt;strong&gt;&#1087;&#1072;&#1091;&#1082;&#1086;&#1074;&lt;/strong&gt; &#1095;&#1077;&#1084; &#1076;&#1083;&#1103; &#1088;&#1077;&#1072;&#1083;&#1100;&#1085;&#1099;&#1093; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1077;&#1081;. &lt;/p&gt;

&lt;p&gt;&#1050;&#1088;&#1086;&#1084;&#1077; &#1090;&#1086;&#1075;&#1086;, &#1095;&#1090;&#1086; &#1101;&#1090;&#1072; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1103; &#1080;&#1089;&#1082;&#1072;&#1078;&#1072;&#1083;&#1072; &#1086;&#1073;&#1097;&#1080;&#1077; &#1076;&#1072;&#1085;&#1085;&#1099;&#1077; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1080; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103; &#1088;&#1077;&#1089;&#1091;&#1088;&#1089;&#1072;, &#1082; &#1090;&#1086;&#1084;&#1091; &#1078;&#1077; &#1103; &#1087;&#1086;&#1083;&#1091;&#1095;&#1072;&#1083; &#1087;&#1088;&#1080;&#1083;&#1080;&#1095;&#1085;&#1099;&#1081; &#1086;&#1073;&#1098;&#1077;&#1084; &#1079;&#1072;&#1088;&#1091;&#1073;&#1077;&#1078;&#1085;&#1086;&#1075;&#1086; &#1090;&#1088;&#1072;&#1092;&#1080;&#1082;&#1072;, &#1079;&#1072; &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1087;&#1088;&#1080; &#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1077;&#1085;&#1085;&#1099;&#1093; &#1091;&#1089;&#1083;&#1086;&#1074;&#1080;&#1103;&#1093; &#1087;&#1088;&#1080;&#1093;&#1086;&#1076;&#1080;&#1090;&#1089;&#1103; &#1087;&#1083;&#1072;&#1090;&#1080;&#1090;&#1100; &#1086;&#1090;&#1076;&#1077;&#1083;&#1100;&#1085;&#1086;.&lt;/p&gt;

&lt;p&gt;&lt;div style="" class="lightboxplugin"&gt;&lt;a href="/files/hosts_l.gif" rel="lightbox" title=""&gt;&lt;img src="/files/hosts_tmb.gif" alt="" title=""/&gt;&lt;/a&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;&#1071; &#1088;&#1077;&#1096;&#1080;&#1083; &#1085;&#1072;&#1081;&#1090;&#1080; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086;&#1077; &#1080; &#1076;&#1077;&#1081;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1086;&#1077; &#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1086; &#1079;&#1072;&#1097;&#1080;&#1090;&#1099; &#1086;&#1090; &#1087;&#1072;&#1088;&#1072;&#1079;&#1080;&#1090;&#1085;&#1086;&#1075;&#1086; &#1090;&#1088;&#1072;&#1092;&#1080;&#1082;&#1072;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1086;&#1077;, &#1087;&#1086; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1086;&#1089;&#1090;&#1080;, &#1076;&#1086;&#1083;&#1078;&#1085;&#1086;  &#1073;&#1072;&#1079;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100;&#1089;&#1103; &#1085;&#1072; &#1089;&#1090;&#1072;&#1085;&#1076;&#1072;&#1088;&#1090;&#1085;&#1099;&#1093; &#1091;&#1090;&#1080;&#1083;&#1080;&#1090;&#1072;&#1093; &lt;em&gt;LINUX&lt;/em&gt;.  &#1044;&#1083;&#1103; &#1089;&#1077;&#1073;&#1103; &#1103; &#1074;&#1099;&#1076;&#1077;&#1083;&#1080;&#1083; &#1085;&#1077;&#1089;&#1082;&#1086;&#1083;&#1100;&#1082;&#1086; &#1087;&#1086;&#1076;&#1093;&#1086;&#1076;&#1086;&#1074;: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&#1041;&#1083;&#1086;&#1082;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &amp;#8220;&#1087;&#1083;&#1086;&#1093;&#1080;&#1077;&amp;#8221; &#1093;&#1086;&#1089;&#1090;&#1099; &#1085;&#1072; &#1091;&#1088;&#1086;&#1074;&#1085;&#1077; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1103;;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&#1048;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1089;&#1090;&#1072;&#1085;&#1076;&#1072;&#1088;&#1090;&#1085;&#1099;&#1077; &#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1072; &#1074;&#1101;&#1073;-&#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072; Apache &#1080;&#1083;&#1080; lighttpd;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&#1053;&#1072;&#1089;&#1090;&#1088;&#1086;&#1080;&#1090;&#1100; &lt;strong&gt;&#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1072; &#1091;&#1090;&#1080;&#1083;&#1080;&#1090;&#1099; iptables&lt;/strong&gt;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1087;&#1088;&#1080;&#1089;&#1091;&#1090;&#1089;&#1090;&#1074;&#1091;&#1077;&#1090; &#1074;&#1086; &#1074;&#1089;&#1077;&#1093; &lt;em&gt;LINUX&lt;/em&gt; &#1076;&#1080;&#1089;&#1090;&#1088;&#1080;&#1073;&#1091;&#1090;&#1080;&#1074;&#1072;&#1093;, &#1073;&#1072;&#1079;&#1080;&#1088;&#1091;&#1102;&#1097;&#1080;&#1093;&#1089;&#1103; &#1085;&#1072; &#1103;&#1076;&#1088;&#1072;&#1093; 2.4.x &#1080;&#1083;&#1080; 2.6.x &lt;/p&gt;

&lt;p&gt;&#1055;&#1077;&#1088;&#1074;&#1099;&#1077; &#1076;&#1074;&#1072; &#1089;&#1087;&#1086;&#1089;&#1086;&#1073;&#1072; &#1073;&#1099;&#1083;&#1080; &#1080;&#1089;&#1082;&#1083;&#1102;&#1095;&#1077;&#1085;&#1099; &#1080;&#1079; &#1088;&#1072;&#1089;&#1089;&#1084;&#1086;&#1090;&#1088;&#1077;&#1085;&#1080;&#1103;, &#1087;&#1086;&#1089;&#1082;&#1086;&#1083;&#1100;&#1082;&#1091; &#1079;&#1076;&#1077;&#1089;&#1100; &#1089;&#1091;&#1097;&#1077;&#1089;&#1090;&#1074;&#1091;&#1077;&#1090; &#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1105;&#1085;&#1085;&#1072;&#1103; &#1087;&#1088;&#1080;&#1074;&#1103;&#1079;&#1082;&#1072; &#1082; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1102; &#1080;&#1083;&#1080; &#1082; &#1082;&#1086;&#1085;&#1082;&#1088;&#1077;&#1090;&#1085;&#1086;&#1084;&#1091; web-&#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1091;. &#1048; &#1077;&#1089;&#1083;&#1080;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;, Apache &#1073;&#1091;&#1076;&#1077;&#1090; &#1079;&#1072;&#1084;&#1077;&#1085;&#1105;&#1085; &#1085;&#1072; ngnix, &#1087;&#1088;&#1080;&#1076;&#1077;&#1090;&#1089;&#1103; &#1079;&#1072;&#1085;&#1086;&#1074;&#1086; &#1087;&#1088;&#1086;&#1087;&#1080;&#1089;&#1099;&#1074;&#1072;&#1090;&#1100; &#1073;&#1083;&#1086;&#1082;&#1080;&#1088;&#1091;&#1102;&#1097;&#1080;&#1077; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1072;.  &#1050; &#1090;&#1086;&#1084;&#1091; &#1078;&#1077;, &#1087;&#1072;&#1088;&#1072;&#1079;&#1080;&#1090;&#1085;&#1099;&#1077; &#1087;&#1072;&#1082;&#1077;&#1090;&#1099; &#1073;&#1091;&#1076;&#1091;&#1090; &#1076;&#1086;&#1093;&#1086;&#1076;&#1080;&#1090;&#1100; &#1076;&#1086; &#1074;&#1101;&#1073; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072; &#1080; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1103;, &#1076;&#1086;&#1087;&#1086;&#1083;&#1085;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086; &#1079;&#1072;&#1075;&#1088;&#1091;&#1078;&#1072;&#1103; &#1080;&#1093;.&lt;/p&gt;

&lt;p&gt;&#1048;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1103; &lt;strong&gt;&#1091;&#1090;&#1080;&#1083;&#1080;&#1090;&#1091; iptables&lt;/strong&gt; &#1076;&#1086;&#1089;&#1090;&#1072;&#1090;&#1086;&#1095;&#1085;&#1086; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086;  &#1084;&#1086;&#1078;&#1085;&#1086; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1080;&#1090;&#1100; &#1085;&#1072;&#1073;&#1086;&#1088; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083; &#1076;&#1083;&#1103; &#1073;&#1083;&#1086;&#1082;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103;, &#1072; &#1090;&#1072;&#1082;&#1078;&#1077; &#1087;&#1086;&#1083;&#1091;&#1095;&#1080;&#1090;&#1100; &#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1086; &#1076;&#1083;&#1103; &#1085;&#1072;&#1082;&#1086;&#1087;&#1083;&#1077;&#1085;&#1080;&#1103; &#1080; &#1087;&#1088;&#1086;&#1089;&#1084;&#1086;&#1090;&#1088;&#1072; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1080; &#1087;&#1086; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1085;&#1099;&#1084; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1072;&#1084;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;&#1053;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1072; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083; iptables&lt;/h2&gt;

&lt;p&gt;&#1055;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1080; &#1076;&#1086;&#1089;&#1090;&#1072;&#1090;&#1086;&#1095;&#1085;&#1086; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086;&#1081; &#1080; &#1079;&#1072;&#1085;&#1080;&#1084;&#1072;&#1077;&#1090; &#1085;&#1077;&#1089;&#1082;&#1086;&#1083;&#1100;&#1082;&#1086; &#1084;&#1080;&#1085;&#1091;&#1090;. &#1053;&#1072;&#1076;&#1086; &#1079;&#1072;&#1084;&#1077;&#1090;&#1080;&#1090;&#1100;, &#1095;&#1090;&#1086; &#1042;&#1099; &#1076;&#1086;&#1083;&#1078;&#1085;&#1099; &#1079;&#1072;&#1081;&#1090;&#1080; &#1085;&#1072; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088; &#1082;&#1072;&#1082; &lt;em&gt;root &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1100;&lt;/em&gt; &#1080;&#1083;&#1080; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; &lt;em&gt;sudo&lt;/em&gt; &#1076;&#1083;&#1103; &#1076;&#1086;&#1073;&#1072;&#1074;&#1083;&#1077;&#1085;&#1080;&#1103; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083;.&lt;/p&gt;

&lt;p&gt;&#1048;&#1090;&#1072;&#1082;, &#1091; &#1085;&#1072;&#1089; &#1077;&#1089;&#1090;&#1100; &#1082;&#1086;&#1085;&#1082;&#1088;&#1077;&#1090;&#1085;&#1099;&#1081; &#1093;&#1086;&#1089;&#1090; (crawler.bloglines.com, IP=65.214.44.29) &#1080; &#1094;&#1077;&#1083;&#1072;&#1103; &#1087;&#1086;&#1076;&#1089;&#1077;&#1090;&#1100; (84.110.0.0), &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1085;&#1072;&#1076;&#1086; &#1079;&#1072;&#1073;&#1072;&#1085;&#1080;&#1090;&#1100;. &#1055;&#1088;&#1072;&#1074;&#1080;&#1083;&#1072; &#1074;&#1099;&#1075;&#1083;&#1103;&#1076;&#1103;&#1090; &#1090;&#1072;&#1082;:&lt;/p&gt;

&lt;pre&gt;
#Crawler bloglines 
/sbin/iptables -A INPUT -s 65.214.44.29 -p tcp -m multiport --dports 80 -j DROP

#bzq-*.red.bezeqint.net
/sbin/iptables -A INPUT -s 84.110.0.0/255.255.0.0 -p tcp -m multiport --dports 80 -j DROP
&lt;/pre&gt;

&lt;p&gt;&#1044;&#1083;&#1103; &#1076;&#1088;&#1091;&#1075;&#1080;&#1093; &#1093;&#1086;&#1089;&#1090;&#1086;&#1074; &#1080;&#1083;&#1080; &#1087;&#1086;&#1076;&#1089;&#1077;&#1090;&#1077;&#1081; &#1074; &lt;strong&gt;&#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1072;&#1093; iptables&lt;/strong&gt;, &#1084;&#1077;&#1085;&#1103;&#1077;&#1090;&#1089;&#1103; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; IP &#1080;&#1089;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;&#1072; (&#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088; -s). &lt;/p&gt;

&lt;h2&gt;&#1055;&#1088;&#1086;&#1089;&#1084;&#1086;&#1090;&#1088; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1080; iptables&lt;/h2&gt;

&lt;p&gt;&#1047;&#1072;&#1087;&#1091;&#1089;&#1082;&#1072;&#1077;&#1084; &lt;strong&gt;iptables &#1089; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088;&#1072;&#1084;&#1080; -L &#1080; -v&lt;/strong&gt; &#1076;&#1083;&#1103; &#1087;&#1088;&#1086;&#1089;&#1084;&#1086;&#1090;&#1088;&#1072; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1080;.
 &#1054;&#1087;&#1094;&#1080;&#1103; &lt;em&gt;-L&lt;/em&gt; &#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1103;&#1077;&#1090; &#1074;&#1099;&#1074;&#1086;&#1076; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1080; &#1076;&#1083;&#1103; &#1094;&#1077;&#1087;&#1086;&#1095;&#1082;&#1080; (chain). &#1045;&#1089;&#1083;&#1080; &#1082;&#1086;&#1085;&#1082;&#1088;&#1077;&#1090;&#1085;&#1072;&#1103; &#1094;&#1077;&#1087;&#1086;&#1095;&#1082;&#1072; &#1085;&#1077; &#1079;&#1072;&#1076;&#1072;&#1085;&#1072;, &#1090;&#1086; &#1076;&#1083;&#1103; &#1074;&#1089;&#1077;&#1093;.&lt;/p&gt;

&lt;p&gt;&#1054;&#1087;&#1094;&#1080;&#1103; &lt;em&gt;-v&lt;/em&gt;  &#1079;&#1072;&#1076;&#1072;&#1077;&#1090; &#1088;&#1072;&#1089;&#1096;&#1080;&#1088;&#1077;&#1085;&#1085;&#1099;&#1081; &#1074;&#1099;&#1074;&#1086;&#1076;, &#1074;&#1082;&#1083;&#1102;&#1095;&#1072;&#1102;&#1097;&#1080;&#1081; &#1074; &#1089;&#1077;&#1073;&#1103; &#1089;&#1095;&#1077;&#1090;&#1095;&#1080;&#1082;&#1080; &#1087;&#1072;&#1082;&#1077;&#1090;&#1086;&#1074; &#1080; &#1073;&#1072;&#1081;&#1090;. &lt;/p&gt;

&lt;p&gt;&#1054;&#1095;&#1077;&#1085;&#1100; &#1095;&#1072;&#1089;&#1090;&#1086; &#1076;&#1086;&#1073;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088; -n, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1075;&#1086;&#1074;&#1086;&#1088;&#1080;&#1090; &lt;strong&gt;&#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1077; iptables&lt;/strong&gt; &#1086; &#1090;&#1086;&#1084;, &#1095;&#1090;&#1086; &#1085;&#1077; &#1085;&#1072;&#1076;&#1086; &#1086;&#1073;&#1088;&#1072;&#1097;&#1072;&#1090;&#1100;&#1089;&#1103; &#1082; DNS &#1076;&#1083;&#1103; &#1088;&#1072;&#1079;&#1088;&#1077;&#1096;&#1077;&#1085;&#1080;&#1103; IP &#1072;&#1076;&#1088;&#1077;&#1089;&#1086;&#1074; &#1080; &#1074;&#1099;&#1074;&#1086;&#1076;&#1072; &#1080;&#1093; &#1074; &#1074;&#1080;&#1076;&#1077; &#1076;&#1086;&#1084;&#1077;&#1085;&#1085;&#1099;&#1093; &#1080;&#1084;&#1077;&#1085;. &#1069;&#1090;&#1086; &#1079;&#1085;&#1072;&#1095;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086; &#1091;&#1084;&#1077;&#1085;&#1100;&#1096;&#1072;&#1077;&#1090; &#1074;&#1088;&#1077;&#1084;&#1103; &#1085;&#1072; &#1074;&#1099;&#1076;&#1072;&#1095;&#1091; &#1088;&#1077;&#1079;&#1091;&#1083;&#1100;&#1090;&#1072;&#1090;&#1086;&#1074; &#1080; &#1087;&#1086;&#1079;&#1074;&#1086;&#1083;&#1103;&#1077;&#1090; &#1091;&#1084;&#1077;&#1085;&#1100;&#1096;&#1080;&#1090;&#1100; &#1085;&#1072;&#1075;&#1088;&#1091;&#1079;&#1082;&#1091; &#1085;&#1072; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;.&lt;/p&gt;

&lt;p&gt;&#1044;&#1083;&#1103; &#1076;&#1086;&#1087;&#1086;&#1083;&#1085;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086;&#1075;&#1086; &#1091;&#1076;&#1086;&#1073;&#1089;&#1090;&#1074;&#1072; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083; &#1084;&#1086;&#1078;&#1077;&#1090; &#1073;&#1099;&#1090;&#1100; &#1087;&#1088;&#1086;&#1085;&#1091;&#1084;&#1077;&#1088;&#1086;&#1074;&#1072;&#1085;. &#1044;&#1083;&#1103; &#1101;&#1090;&#1086;&#1075;&#1086; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1077;&#1090;&#1089;&#1103; &#1086;&#1087;&#1094;&#1080;&#1103; &lt;em&gt;&amp;#8211;line-numbers&lt;/em&gt;.&lt;/p&gt;

&lt;pre&gt;
/sbin/iptables -L -v --line-numbers
&lt;/pre&gt;

&lt;p&gt;&lt;img src="/files/iptables_list1.gif" /&gt;&lt;/p&gt;

&lt;h2&gt;&#1057;&#1086;&#1093;&#1088;&#1072;&#1085;&#1077;&#1085;&#1080;&#1077; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083; &#1080; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1080;&lt;/h2&gt;

&lt;p&gt;&#1045;&#1089;&#1083;&#1080; &#1087;&#1077;&#1088;&#1077;&#1079;&#1072;&#1075;&#1088;&#1091;&#1079;&#1080;&#1090;&#1100; &#1082;&#1086;&#1084;&#1087;&#1100;&#1102;&#1090;&#1077;&#1088; &#1080;&#1083;&#1080; &#1091;&#1076;&#1072;&#1083;&#1080;&#1090;&#1100; &lt;strong&gt;iptables kernel modules&lt;/strong&gt; &#1074;&#1089;&#1103; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1103; &#1086; &#1089;&#1086;&#1073;&#1088;&#1072;&#1085;&#1085;&#1086;&#1081; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1077; &#1080; &#1076;&#1086;&#1073;&#1072;&#1074;&#1083;&#1077;&#1085;&#1085;&#1099;&#1093; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1072;&#1093; &#1073;&#1091;&#1076;&#1077;&#1090; &#1091;&#1090;&#1077;&#1088;&#1103;&#1085;&#1072;. &#1063;&#1090;&#1086;&#1073;&#1099; &#1087;&#1088;&#1077;&#1076;&#1086;&#1090;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090;&#1100; &#1087;&#1086;&#1090;&#1077;&#1088;&#1102; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093; &#1085;&#1077;&#1086;&#1073;&#1093;&#1086;&#1076;&#1080;&#1084;&#1086; &#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1073;&#1101;&#1082;&#1072;&#1087; &#1087;&#1086;&#1089;&#1083;&#1077; &#1082;&#1072;&#1078;&#1076;&#1086;&#1075;&#1086; &#1080;&#1079;&#1084;&#1077;&#1085;&#1077;&#1085;&#1080;&#1103; &#1074; &#1089;&#1087;&#1080;&#1089;&#1082;&#1077; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083;. &#1044;&#1083;&#1103; &#1101;&#1090;&#1086;&#1075;&#1086; &#1089;&#1083;&#1091;&#1078;&#1080;&#1090;&#1100; &lt;strong&gt;&#1091;&#1090;&#1080;&#1083;&#1080;&#1090;&#1072; iptables-save&lt;/strong&gt;. &#1053;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;:&lt;/p&gt;

&lt;pre&gt;
iptables-save -c &gt; /root/iptables-backup.txt
&lt;/pre&gt;

&lt;p&gt;&#1042;&#1086;&#1089;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1080;&#1090;&#1100; &#1076;&#1072;&#1085;&#1085;&#1099;&#1077; &#1080;&#1079; &#1073;&#1101;&#1082;&#1072;&#1087;&#1072; &#1084;&#1086;&#1078;&#1085;&#1086; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1103; &lt;strong&gt;&#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; iptables-restore&lt;/strong&gt;. &#1054;&#1073;&#1099;&#1095;&#1085;&#1086; &#1101;&#1090;&#1086; &#1076;&#1077;&#1083;&#1072;&#1077;&#1090;&#1089;&#1103; &#1087;&#1086;&#1089;&#1083;&#1077; &#1087;&#1077;&#1088;&#1077;&#1079;&#1072;&#1075;&#1088;&#1091;&#1079;&#1082;&#1080; &#1074; &#1086;&#1076;&#1085;&#1086;&#1084; &#1080;&#1079; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1086;&#1074; &#1080;&#1085;&#1080;&#1094;&#1080;&#1072;&#1083;&#1080;&#1079;&#1072;&#1094;&#1080;&#1080;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088; &#1074; &lt;em&gt;/etc/rc.d/rc.local&lt;/em&gt; &#1076;&#1083;&#1103; &lt;em&gt;Red Hat Linux&lt;/em&gt;.  &lt;/p&gt;

&lt;pre&gt;
iptables-restore -c &lt; /root/iptables-backup.txt
&lt;/pre&gt;

&lt;p&gt;&lt;br/&gt;
&lt;em&gt;&#1041;&#1080;&#1073;&#1083;&#1080;&#1086;&#1075;&#1088;&#1072;&#1092;&#1080;&#1103;:&lt;/em&gt;
&lt;noindex&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.amazon.com/gp/product/1584503963?ie=UTF8&amp;tag=coosblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1584503963"&gt;Linux Network Security (Administrator&amp;#8217;s Advantage Series)&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=coosblo-20&amp;l=as2&amp;o=1&amp;a=1584503963" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.amazon.com/gp/product/0764540483?ie=UTF8&amp;tag=coosblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0764540483"&gt;Firewalls for Dummies, Second Edition&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=coosblo-20&amp;l=as2&amp;o=1&amp;a=0764540483" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;noindex&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 28 Nov 2006 19:14:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:0018d1e8-7925-4ad7-975d-1e1cdefbdcf9</guid>
      <author>Cooper</author>
      <link>http://cooper.ezlibrary.com/articles/2006/11/28/iptables_against_malicious_traffic</link>
      <category>Linux</category>
      <category>firewall</category>
      <category>iptables</category>
      <category>crawler</category>
      <category>malicious traffic</category>
      <category>save</category>
      <category>restore</category>
      <category>robots</category>
      <enclosure length="3717" type="image/gif" url="http://cooper.ezlibrary.com/files/iptables_list1.gif"/>
    </item>
  </channel>
</rss>
