{"id":270782,"date":"2015-12-21T12:48:02","date_gmt":"2015-12-21T09:48:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=270782"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=270782","title":{"rendered":"\u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0432 looking-glass"},"content":{"rendered":"<p>       \u0417\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b looking-glass, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0437\u0430 \u043a\u0443\u043b\u0438\u0441\u044b \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0441\u0435\u0442\u0435\u0439 \u0432\u043e \u0432\u0441\u0451\u043c \u043c\u0438\u0440\u0435. \u042d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u043c\u0438\u0440\u0435, \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u043e\u043c \u0437\u0430 \u0441\u043e\u0442\u043d\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0432\u0437\u044f\u0442\u044c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u0445 \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043e\u0434\u043d\u0438\u043c\u0438 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0432\u0441\u0435\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/09b\/934\/b1b\/09b934b1be064154b10a285f5512f596.png\" alt=\"looking-glass version6\" \/><\/div>\n<p>  \u041d\u0430\u0434\u043e \u043b\u0438\u0448\u044c \u0432\u0432\u0435\u0441\u0442\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0438\u043b\u0438 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432 \u043f\u043e\u043b\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432 \u043e\u0442\u0432\u0435\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0443\u0442\u0438\u043b\u0438\u0442\u044b <i>ping<\/i>. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0434\u0440\u0435\u0441\u0430, \u043d\u043e \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432 \u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0441\u0442\u0443\u043f\u043e\u0440. \u0425\u043e\u0447\u0435\u0442\u0441\u044f \u0431\u0435\u0436\u0430\u0442\u044c \u0438 \u043a\u0440\u0438\u0447\u0430\u0442\u044c \u043d\u0430 \u0432\u0441\u0435\u0445 \u0443\u0433\u043b\u0430\u0445: \u00ab\u0414\u0430 \u0447\u0442\u043e \u0436\u0435 \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043d\u0430\u0434\u043e \u043d\u0435\u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0437\u0430 \u043d\u0435\u0441\u0443\u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c?\u00bb. \u042d\u0442\u043e \u0432\u0441\u0451 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043b\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0432\u044b\u0448\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0441\u0442\u0438 \u0438 \u0443\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0438 \u043d\u0430 \u044d\u0442\u043e, \u043d\u0435\u0441\u043e\u043c\u043d\u0435\u043d\u043d\u043e, \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u044b.<\/p>\n<p>  \u0420\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0451\u0442 \u043e\u0431 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 looking-glass \u043e\u0442 version6.net \u0438 \u043e \u0442\u043e\u043c \u0447\u0442\u043e-\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0432\u0434\u0440\u0443\u0433 \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 looking-glass \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043a\u0440\u043e\u043c\u0435 IP \u0430\u0434\u0440\u0435\u0441\u0430, \u0442\u043e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0432\u044b \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u0441\u044c \u043a \u00ab\u0441\u0442\u0430\u0440\u043e\u0439 \u0448\u043a\u043e\u043b\u0435\u00bb \u0438\u043b\u0438 \u043d\u0435 \u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0438. \u041c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u044b\u043c, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0447\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442. <\/p>\n<ul>\n<li>\u0423 <a href=\"http:\/\/lg.retn.net\/\">ReTN<\/a> (\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f) \u0432\u0441\u0435 \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0435 \u0438\u043c\u044f, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 IP \u0430\u0434\u0440\u0435\u0441.<\/li>\n<li><a href=\"http:\/\/www.msk-ix.ru\/network\/lookingglass.html\">MSX-IX<\/a> \u0432\u0441\u0451 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043e \u043d\u0430 \u0447\u0430\u0441\u0442\u0438, \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043c \u0433\u0434\u0435 \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e \u0438 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432\u0441\u0451 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0436\u0451\u0441\u0442\u043a\u043e.<\/li>\n<li><a href=\"http:\/\/dataix.ru\/rus\/s\/11\/looking_glass.html\">Data IX<\/a> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0441\u0432\u043e\u0431\u043e\u0434\u0443, \u0445\u043e\u0442\u044f \u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u043d \u043d\u0435 IP \u0430\u0434\u0440\u0435\u0441: <i>\u00ab\u0423\u043a\u0430\u0437\u0430\u043d \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u2014 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c IP \u0438\u043b\u0438 IP\/n\u00bb<\/i> \u2014 \u043d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f <i>birdc<\/i>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u043d\u0435\u043f\u043e\u0442\u0440\u0435\u0431\u0441\u0442\u0432\u0430.<\/li>\n<li>\u0410 <a href=\"https:\/\/lg.vk.com\/\">\u0412\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435<\/a> \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d \u0442\u043e\u043b\u044c\u043a\u043e <i>ping<\/i> \u0438 <i>traceroute<\/i> \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 IP \u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438.<\/li>\n<\/ul>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u044b\u043c \u044f \u0434\u0430\u0436\u0435 \u043d\u0430\u0447\u0430\u043b \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u0442\u044c \u043e\u0431 \u044d\u0442\u043e\u043c \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043d\u043e \u043f\u043e\u0442\u043e\u043c <a href=\"https:\/\/github.com\/Cougar\/lg\">\u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432 \u043a\u043e\u0434<\/a> \u0438 \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u0442\u0430\u043a \u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u2014 \u044d\u0442\u043e \u0444\u0438\u0447\u0430, \u0430 \u043d\u0435 \u0431\u0430\u0433. \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"http:\/\/wiki.version6.net\/LG\">version6.net<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u043f\u0440\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0447\u0435\u0441\u0442\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e: <i>&quot;<b>all BGP show commands<\/b>, ping and traceroute&quot;<\/i>. <\/p>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <i>lg.cgi<\/i>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u044f\u0436\u0435\u043b\u043e \u0438 Perl \u0437\u0434\u0435\u0441\u044c \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442:<\/p>\n<blockquote>\n<pre><code class=\"perl\">my %FORM = &cgi_decode($incoming); ... $FORM{addr} =~ s\/\\s.*\/\/ if (($FORM{query} eq &quot;ping&quot;) || ($FORM{query} eq &quot;trace&quot;)); $FORM{addr} =~ s\/[^\\s\\d\\.:\\w\\-_\\\/\\$]\/\/g; <\/code><\/pre>\n<\/blockquote>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <i>$addr<\/i>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0445 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0442\u0430\u0431\u044b, \u043e\u043f\u0446\u0438\u044f <i>\\s<\/i>), \u0431\u0443\u043a\u0432, \u0446\u0438\u0444\u0440, \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 &quot;-&quot;, &quot;_&quot;, &quot;\/&quot;, &quot;$&quot;, &quot;.&quot;, &quot;:&quot;. <\/p>\n<p>  \u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0441 <i>ping<\/i> \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u0440\u043e\u0436\u0435. \u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u0432\u0438\u0436\u0443 \u0432\u044b\u0442\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u044c \u0432\u0432\u043e\u0434 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043b\u0438\u0448\u043d\u0435\u0435 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <i>ping<\/i> \u0438 <i>traceroute<\/i> \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435.<\/p>\n<blockquote>\n<pre><code class=\"perl\">my $command = sprintf($query_cmd, $FORM{addr}); ... if ($FORM{addr} !~ \/^[\\w\\.\\^\\$\\-\\\/ ]*$\/) { \tif ($FORM{addr} =~ \/^[\\w\\.\\^\\$\\-\\:\\\/ ]*$\/) { ... \t} else { \t\t&print_error(&quot;Illegal characters in parameter string&quot;); \t} } <\/code><\/pre>\n<\/blockquote>\n<p>  \u041f\u043e\u0442\u043e\u043c \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 <i>$query_cmd<\/i> \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0432\u043e\u0434\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432: \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u0431\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043f\u0440\u043e\u0431\u0435\u043b\u044b, \u0441\u0438\u043c\u0432\u043e\u043b &quot;_&quot; \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u043c \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u043f\u043e\u0434 \u043e\u043f\u0446\u0438\u044e <i>\\w<\/i> \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0446\u0438\u0444\u0440\u0430\u043c\u0438, \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b &quot;^&quot;. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 &quot;:&quot;, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 IPv6. <\/p>\n<p>  \u0412\u043e\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u0432\u0441\u0451, \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043f\u0443\u0441\u0442\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u044b. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0440\u0430\u043d\u0435\u0435 \u0438 \u043e\u043d\u0430 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0443\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e:<\/p>\n<blockquote>\n<pre><code class=\"perl\">$FORM{addr} = &quot;&quot; if ($FORM{addr} =~ \/^[ ]*$\/); ... if ($query_cmd =~ \/%s\/) { \t&print_error(&quot;Parameter missing&quot;) if ($FORM{addr} eq &quot;&quot;); } else { \t&print_warning(&quot;No parameter needed&quot;) if ($FORM{addr} ne &quot;&quot;); } ... &run_command($FORM{router}, $router_list{$FORM{router}}, $command); <\/code><\/pre>\n<\/blockquote>\n<p>  \u0427\u0442\u043e \u0436\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c? \u0418\u0437 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u0438 \u043a\u0430\u0432\u044b\u0447\u043a\u0438, \u0441\u0438\u043c\u0432\u043e\u043b\u044b &quot;|&quot;, &quot;?&quot; \u0438 \u0432\u0441\u0435 \u0441\u043a\u043e\u0431\u043a\u0438. \u041d\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u0434\u0430\u0436\u0435 \u043e\u0447\u0435\u043d\u044c. \u0428\u0430\u0431\u043b\u043e\u043d \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a (\u0434\u043b\u044f Cisco):<\/p>\n<blockquote>\n<pre><code class=\"perl\">my %valid_query = ( \t&quot;ios&quot;\t\t=&gt;\t{ \t\t&quot;ipv4&quot;\t\t\t=&gt;\t{ \t\t\t&quot;bgp&quot;\t\t\t=&gt;\t&quot;show ip bgp %s&quot;, \t\t\t&quot;advertised-routes&quot;\t=&gt;\t&quot;show ip bgp neighbors %s advertised-routes&quot;, \t\t\t&quot;summary&quot;\t\t=&gt;\t&quot;show ip bgp summary&quot;, \t\t\t&quot;ping&quot;\t\t\t=&gt;\t&quot;ping %s&quot;, \t\t\t&quot;trace&quot;\t\t\t=&gt;\t&quot;traceroute %s&quot; \t\t\t}, ... <\/code><\/pre>\n<\/blockquote>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <i>show ip bgp<\/i>, <i>ping<\/i> \u0438 <i>traceroute<\/i>. \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0447\u0442\u043e <i>show ip bgp summary<\/i> \u0438 <i>show ip bgp neighbors %s advertised-routes<\/i>, \u043c\u043e\u0436\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 <i>show ip bgp %s<\/i>. <\/p>\n<h1>show ip bgp<\/h1>\n<p>  \u041d\u0430\u0448 \u0445\u043b\u0435\u0431. \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0430\u0439\u0442\u0430\u0445 \u0432\u0441\u0451 \u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f, \u0438\u043b\u0438 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u043e\u0434 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0435 \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u0432\u043e\u0434 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d. \u0421\u043a\u043e\u0440\u0435\u0435 \u0434\u0430\u0436\u0435 \u043e\u043d \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d, \u043d\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u043e\u0448\u0438\u0431\u043a\u0430\u043c. \u041e\u0434\u043d\u0430\u043a\u043e \u0435\u0441\u043b\u0438 \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0435 \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u043a\u043e\u0434\u0435 \u0442\u043e \u043c\u043e\u0436\u0435\u043c \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0448\u0438\u0440\u043e\u043a\u0438\u0439 \u0441\u043f\u0435\u043a\u0442\u0440 \u043a\u043e\u043c\u0430\u043d\u0434. \u0421\u0430\u0439\u0442 Cisco, \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0432\u0435\u043d\u0434\u043e\u0440\u0435, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 <a href=\"http:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios\/iproute_bgp\/command\/reference\/irg_book\/irg_bgp5.html\">\u043c\u043d\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432<\/a>. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445, \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430.<\/p>\n<h2>show ip bgp regexp<\/h2>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u0441\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c\u0443 AS-PATH. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"http:\/\/lg.ttk.ru\/?query=bgp&amp;protocol=IPv4&amp;addr=regexp+13238%24&amp;router=sgm01rb\">\u0434\u043e \u0432\u0441\u0435\u0445 \u0441\u0435\u0442\u0435\u0439 Yandex \u0438\u0437 \u0421\u0442\u043e\u043a\u0433\u043e\u043b\u044c\u043c\u0430, \u0422\u0422\u041a<\/a> (GET \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0430):<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">show ip bgp regexp 13238$<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>Router: sgm01rb  Command: show bgp regexp 13238$   Sat Dec 19 16:30:21.141 UTC BGP router identifier 10.146.0.1, local AS number 20485 BGP generic scan interval 60 secs BGP table state: Active Table ID: 0x0   RD version: 0 BGP main routing table version 2995757495 BGP scan interval 60 secs  Status codes: s suppressed, d damped, h history, * valid, &gt; best               i - internal, r RIB-failure, S stale, N Nexthop-discard Origin codes: i - IGP, e - EGP, ? - incomplete    Network            Next Hop            Metric LocPrf Weight Path Route Distinguisher: 20485:1 (default for vrf internet) *&gt;i5.45.192.0\/18      10.78.0.6             1000     70      0 13238 i * i                   10.99.0.8             1000     70      0 13238 i *                     149.6.168.201         1000     70      0 174 13238 i *                     166.63.220.185        1000     70      0 1273 9002 13238 i *                     212.73.250.153        1000     60      0 3356 13238 i *                     213.248.99.221        1000     70      0 1299 13238 i *&gt;i5.45.194.0\/24      10.78.0.6             1000     70      0 13238 i * i                   10.99.0.8             1000     70      0 13238 i *                     212.73.250.153        1000     60      0 3356 13238 i *                     213.248.99.221        1000     70      0 1299 13238 i *&gt;i5.45.196.0\/24      10.78.0.6             1000     70      0 13238 i * i                   10.99.0.8             1000     70      0 13238 i *                     149.6.168.201         1000     70      0 174 13238 i *                     166.63.220.185        1000     70      0 1273 9002 13238 i *                     212.73.250.153        1000     60      0 3356 13238 i *                     213.248.99.221        1000     70      0 1299 13238 i *&gt;i5.45.202.0\/24      10.78.0.6             1000     70      0 13238 i * i                   10.99.0.8             1000     70      0 13238 i *                     212.73.250.153        1000     60      0 3356 13238 i *                     213.248.99.221        1000     70      0 1299 13238 i ...<\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h2>show ip bgp neighbors<\/h2>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0430\u0445. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u043a\u043e\u0441\u0432\u0435\u043d\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432 \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0435\u043d\u043d\u043e\u043c \u0432\u044b\u0432\u043e\u0434\u0435 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432 <a href=\"http:\/\/lg.corbina.ru\/\">\u0411\u0438\u043b\u0430\u0439\u043d\u0430 \u0432 \u0421\u0442\u0430\u0432\u0440\u043e\u043f\u043e\u043b\u0435:<\/a><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">show ip bgp neighbors 10.255.0.2<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> Router: len244-bb.stv  Command: show ip bgp neigh   BGP neighbor is 10.255.0.2,  remote AS 3216, external link   BGP version 4, remote router ID 79.104.32.226   BGP state = Established, up for 1y5w   Last read 00:00:40, last write 00:00:14, hold time is 180, keepalive interval is 60 seconds   Neighbor sessions:     1 active, is not multisession capable   Neighbor capabilities:     Route refresh: advertised and received(new)     Four-octets ASN Capability: advertised and received     Address family IPv4 Unicast: advertised and received     Multisession Capability: advertised   Message statistics:     InQ depth is 0     OutQ depth is 0                               Sent       Rcvd     Opens:                  1          1     Notifications:          0          0     Updates:                1        352     Keepalives:        631466     635532     Route Refresh:          0          0     Total:             631468     635885   Default minimum time between advertisement runs is 30 seconds   For address family: IPv4 Unicast   Session: 10.255.0.2   BGP table version 182470946, neighbor version 182470946\/0   Output queue size : 0   Index 77   77 update-group member   Incoming update prefix filter list is B2B-BRAS-IN   Outgoing update prefix filter list is DENY-ALL   Slow-peer detection is disabled   Slow-peer split-update-group dynamic is disabled                                  Sent       Rcvd   Prefix activity:               ----       ----     Prefixes Current:               0          1 (Consumes 52 bytes)     Prefixes Total:                 0        176     Implicit Withdraw:              0          0     Explicit Withdraw:              0        175     Used as bestpath:             n\/a          1     Used as multipath:            n\/a          0                                     Outbound    Inbound   Local Policy Denied Prefixes:    --------    -------     prefix-list                       16426          0     Well-known Community:         126392327        n\/a     Bestpath from this peer:            347        n\/a     Suppressed due to dampening:      15381        n\/a     Invalid Path:                   2886275        n\/a     Total:                        129310756          0   Maximum prefixes allowed 500   Threshold for warning message 75%, restart interval 3 min   Number of NLRIs in the update sent: max 0, min 0   Last detected as dynamic slow peer: never   Dynamic slow peer recovered: never  Datagrams (max data segment is 1460 bytes): Rcvd: 1268112 (out of order: 0), with data: 635885, total data bytes: 12089768 Sent: 1265174 (retransmit: 1 fastretransmit: 0),with data: 631468, total data bytes: 11997935  ... <\/pre>\n<\/div>\n<\/div>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0434\u043e <i>advertised-routes<\/i>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0441\u043e\u0441\u0435\u0434\u0430, \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435.<\/p>\n<h2>show ip bgp summary<\/h2>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432 \u043e\u0431\u0445\u043e\u0434. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f <a href=\"http:\/\/lg.rtcomm.ru\/lg.php\">\u0420\u0422\u041a\u041e\u041c\u041c<\/a>:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">show ip bgp summary<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> BGP router identifier 81.176.81.18, local AS number 8342  RIB entries 1052472, using 64 MiB of memory  Peers 2, using 5024 bytes of memory  Peer groups 1, using 16 bytes of memory   Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up\/Down State\/PfxRcd  195.161.1.10 4 8342 42323357 15458 0 0 0 01w3d17h 574623  195.161.1.155 4 8342 43105981 15458 0 0 0 01w3d17h 574623   Total number of neighbors 2 <\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h1>Ping \u0438 Traceroute<\/h1>\n<p>  \u0418 \u044d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c: \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u0430, \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043a\u043e\u0434 \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0442\u0440\u043e\u0436\u0435. \u041f\u0440\u0438\u043c\u0435\u0440\u044b, \u043e\u0434\u043d\u0430\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u2014 <a href=\"http:\/\/lg.starnet.ru\/\">Starnet<\/a>, \u043a\u0441\u0442\u0430\u0442\u0438 \u0437\u0434\u0435\u0441\u044c Juniper:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">ping count 5 detail do-not-fragment size 1200 8.8.8.8<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> Router: MSK-IX MX480  Command: ping count 5 detail do-not-fragment size 1200 8.8.8.8   PING 8.8.8.8 (8.8.8.8): 1200 data bytes 1208 bytes from 8.8.8.8 via xe-3\/3\/0.0: icmp_seq=0 ttl=60 time=1.041 ms 1208 bytes from 8.8.8.8 via xe-3\/3\/0.0: icmp_seq=1 ttl=60 time=0.964 ms 1208 bytes from 8.8.8.8 via xe-3\/3\/0.0: icmp_seq=2 ttl=60 time=0.959 ms 1208 bytes from 8.8.8.8 via xe-3\/3\/0.0: icmp_seq=3 ttl=60 time=32.190 ms 1208 bytes from 8.8.8.8 via xe-3\/3\/0.0: icmp_seq=4 ttl=60 time=1.038 ms  --- 8.8.8.8 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min\/avg\/max\/stddev = 0.959\/7.238\/32.190\/12.476 ms ... <\/pre>\n<\/div>\n<\/div>\n<p>  Looking-glass \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u0434\u0430\u0436\u0435 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439, \u0440\u0435\u0448\u0430\u044e\u0449\u0438\u0439 \u043c\u043d\u043e\u0433\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u0441\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u0440\u044f\u0434\u044b \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u043e\u0432 \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u043c\u0438\u0440\u0443, \u043e\u0447\u0435\u043d\u044c \u0447\u0451\u0442\u043a\u0438\u0439 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u0437\u0440\u0435\u043b\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438. \u0423\u043f\u043e\u043c\u044f\u043d\u0443\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439, \u0432 \u0441\u0432\u043e\u0435\u0439 \u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0440\u0435\u0448\u0438\u043b\u0441\u044f \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0430\u0440\u0443\u0436\u0443. <\/p>\n<p>  \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u043b\u0433\u043e, \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 LG \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u043c\u0438\u0440\u0443 \u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u043e\u0439 version6.net. \u041d\u043e \u043b\u044e\u0431\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0435\u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u043c\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0443\u0436\u0430\u0441\u043d\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0451\u043c\u043a\u0438, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u043c\u0438\u0440\u0435. \u0417\u0430\u0433\u043b\u044f\u043d\u0438\u0442\u0435 \u0432 \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u0438 \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u0411\u0443\u0434\u044c\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u0434\u0440\u0443\u0433 \u043a \u0434\u0440\u0443\u0433\u0443, \u0432\u0437\u0430\u0438\u043c\u043e\u0432\u044b\u0440\u0443\u0447\u043a\u0430 \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0441\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u044d\u0442\u043e \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u0442\u044c.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/273517\/\"> http:\/\/habrahabr.ru\/post\/273517\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0417\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b looking-glass, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0437\u0430 \u043a\u0443\u043b\u0438\u0441\u044b \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0441\u0435\u0442\u0435\u0439 \u0432\u043e \u0432\u0441\u0451\u043c \u043c\u0438\u0440\u0435. \u042d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u043c\u0438\u0440\u0435, \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u043d\u043e\u043c \u0437\u0430 \u0441\u043e\u0442\u043d\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0432\u0437\u044f\u0442\u044c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u0445 \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043e\u0434\u043d\u0438\u043c\u0438 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0432\u0441\u0435\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/09b\/934\/b1b\/09b934b1be064154b10a285f5512f596.png\" alt=\"looking-glass version6\" \/><\/div>\n<p>  \u041d\u0430\u0434\u043e \u043b\u0438\u0448\u044c \u0432\u0432\u0435\u0441\u0442\u0438 IP \u0430\u0434\u0440\u0435\u0441 \u0438\u043b\u0438 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432 \u043f\u043e\u043b\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432 \u043e\u0442\u0432\u0435\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0443\u0442\u0438\u043b\u0438\u0442\u044b <i>ping<\/i>. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0434\u0440\u0435\u0441\u0430, \u043d\u043e \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432 \u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0441\u0442\u0443\u043f\u043e\u0440. \u0425\u043e\u0447\u0435\u0442\u0441\u044f \u0431\u0435\u0436\u0430\u0442\u044c \u0438 \u043a\u0440\u0438\u0447\u0430\u0442\u044c \u043d\u0430 \u0432\u0441\u0435\u0445 \u0443\u0433\u043b\u0430\u0445: \u00ab\u0414\u0430 \u0447\u0442\u043e \u0436\u0435 \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043d\u0430\u0434\u043e \u043d\u0435\u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0437\u0430 \u043d\u0435\u0441\u0443\u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c?\u00bb. \u042d\u0442\u043e \u0432\u0441\u0451 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043b\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0432\u044b\u0448\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0441\u0442\u0438 \u0438 \u0443\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0438 \u043d\u0430 \u044d\u0442\u043e, \u043d\u0435\u0441\u043e\u043c\u043d\u0435\u043d\u043d\u043e, \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u044b.<\/p>\n<p>  \u0420\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0451\u0442 \u043e\u0431 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 looking-glass \u043e\u0442 version6.net \u0438 \u043e \u0442\u043e\u043c \u0447\u0442\u043e-\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-270782","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/270782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=270782"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/270782\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=270782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=270782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=270782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}