{"id":249537,"date":"2015-02-03T13:02:02","date_gmt":"2015-02-03T09:02:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=249537"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=249537","title":{"rendered":"<span class=\"post_title\">Heartbleed \u043d\u0430 Rust<\/span>"},"content":{"rendered":"<div class=\"content html_format\">       \u0412 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 Hacker News \u043d\u0435\u043a\u0442\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u043b, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Rust \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u043b\u043e \u0431\u044b Heartlbeed, \u0447\u0442\u043e \u043a\u043e\u0434 \u0431\u044b \u0434\u0430\u0436\u0435 \u043d\u0435 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f. \u042d\u0442\u043e \u043f\u0440\u043e\u0437\u0432\u0443\u0447\u0430\u043b\u043e \u043a\u0430\u043a \u0432\u044b\u0437\u043e\u0432!<\/p>\n<p>  \u0422\u0440\u0435\u0434 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f <a href=\"https:\/\/news.ycombinator.com\/item?id=8954965\">\u0432\u043e\u0442 \u0437\u0434\u0435\u0441\u044c<\/a>. \u042f \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0441\u044f \u043d\u0438 \u043a \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0434\u0438\u0440\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043e \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0438 Heartbleed \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u0447\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043e. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0440\u0430\u0441\u043f\u043b\u044b\u0432\u0447\u0430\u0442\u044b\u0445 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u0432 \u0446\u0435\u043b\u043e\u043c, \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u042f \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u0442\u0435\u043a TLS \u043d\u0430 Rust, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0435\u0436\u0443 \u043f\u0443\u0442\u044c \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0443 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043c\u043e\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442 \u0441\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u0412 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445, \u0446\u0435\u043b\u044c \u0442\u0430\u043a\u043e\u0432\u0430: \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0447\u0438\u0442\u0430\u0435\u0442 \u0444\u0430\u0439\u043b (\u043f\u0430\u043a\u0435\u0442) \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b (\u0441\u0435\u0442\u0438) \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0442\u043d\u043e (\u044d\u0442\u0430\u043a\u0438\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 echo). \u0414\u043b\u0438\u043d\u0430 echo-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043e\u0434\u043d\u0438\u043c \u0431\u0430\u0439\u0442\u043e\u043c, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435. \u042d\u0442\u043e \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 TLS. \u041d\u0430\u0448\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u0430\u0440\u0443 \u0442\u0430\u043a\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, <code>yourping<\/code> \u0438 <code>myping<\/code>, \u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 <code>yourecho<\/code> \u0438 <code>myecho<\/code>. \u0415\u0441\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 <code>your<\/code> \u043f\u0440\u043e\u0441\u043e\u0447\u0430\u0442\u0441\u044f \u0432 \u043f\u0430\u043a\u0435\u0442 <code>my<\/code>, \u0443 \u043d\u0430\u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: heartbleed<sup>1<\/sup>.<\/p>\n<p>  \u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0430 Rust.<\/p>\n<pre><code class=\"rust\">use std::old_io::File;  fn pingback(path : Path, outpath : Path, buffer : &mut[u8]) {         let mut fd = File::open(&path);         match fd.read(buffer) {                 Err(what) =&gt; panic!(&quot;say {}&quot;, what),                 Ok(x) =&gt; if x &lt; 1 { return; }         }         let len = buffer[0] as usize;         let mut outfd = File::create(&outpath);         match outfd.write_all(&buffer[0 .. len]) {                 Err(what) =&gt; panic!(&quot;say {}&quot;, what),                 Ok(_) =&gt; ()         } }   fn main() {         let buffer = &mut[0u8; 256];         pingback(Path::new(&quot;yourping&quot;), Path::new(&quot;yourecho&quot;), buffer);         pingback(Path::new(&quot;myping&quot;), Path::new(&quot;myecho&quot;), buffer); } <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0445\u043e\u0442\u044f \u0438 \u0441 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f\u043c\u0438 \u0438\u0437-\u0437\u0430 \u043b\u0430\u043c\u0435\u0440\u0441\u043a\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f <code>std::old_io<\/code>. \u041d\u0435 \u0431\u043e\u0433 \u0432\u0435\u0441\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u0434, \u043d\u043e \u0438 \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u0443\u0436\u0430\u0441\u043d\u044b\u0439. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0435 \u043c\u0435\u0436\u044a\u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b (FFI) \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 memcpy \u0438\u0437 C.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u0435\u043b\u0430\u0435\u0442 \u0441 \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u0432\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<pre><code class=\"bash\">$ echo \\#i have many secrets. this is one. &gt; yourping $ echo \\#i know your &gt; myping $ .\/bleed $ cat yourecho #i have many secrets. this is one. $ cat myecho #i know your secrets. this is one. <\/code><\/pre>\n<p>  \u0411\u0438\u043d\u0433\u043e! \u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0442\u0435\u043a\u043b\u0438.<\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043d\u0430 Rust \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u044f \u0435\u0449\u0451 \u0438 \u043d\u0435 \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b Heartbleed \u043d\u0430 Rust.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0442\u0434\u043e\u0445\u043d\u0451\u043c \u043e\u0442 Rust \u0438 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430 C.<\/p>\n<pre><code>#include &lt;fcntl.h&gt; #include &lt;unistd.h&gt; #include &lt;assert.h&gt;  void pingback(char *path, char *outpath, unsigned char *buffer) {         int fd;         if ((fd = open(path, O_RDONLY)) == -1)                 assert(!&quot;open&quot;);         if (read(fd, buffer, 256) &lt; 1)                 assert(!&quot;read&quot;);         close(fd);         size_t len = buffer[0];         if ((fd = creat(outpath, 0644)) == -1)                 assert(!&quot;creat&quot;);         if (write(fd, buffer, len) != len)                 assert(!&quot;write&quot;);         close(fd); }  int main(int argc, char **argv) {         unsigned char buffer[256];         pingback(&quot;yourping&quot;, &quot;yourecho&quot;, buffer);         pingback(&quot;myping&quot;, &quot;myecho&quot;, buffer); } <\/code><\/pre>\n<p>  \u0410\u043d\u043a\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e, \u0447\u0442\u043e \u043d\u0438 \u043e\u0434\u0438\u043d \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043d\u0430 C \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u0427\u0442\u043e \u0436\u0435 \u043c\u044b \u0438\u043c\u0435\u0435\u043c?<\/p>\n<p>  <b>\u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043d\u0430 C: heartbleed<br \/>  \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043d\u0430 Rust: (\u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u0434\u043b\u044f \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f)<\/b><\/p>\n<p>  \u0421\u043c\u044b\u0441\u043b \u043f\u043e\u0441\u0442\u0430 \u043d\u0435 \u0432 \u043f\u043e\u0440\u0438\u0446\u0430\u043d\u0438\u0438 Rust. \u042f \u043c\u043e\u0433 \u0431\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043d\u0430 Go, \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043d\u0430 Haskell, \u0435\u0441\u043b\u0438 \u0431\u044b \u044f \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u043c\u0451\u043d \u0434\u043b\u044f <a href=\"http:\/\/codetojoy.blogspot.ru\/2009\/03\/monads-are-burritos.html\">\u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0431\u0443\u0440\u0440\u0438\u0442\u043e<\/a>. \u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u043a\u0430 \u043c\u044b \u043d\u0435 \u043f\u043e\u0439\u043c\u0451\u043c, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 Heartbleed, \u043c\u044b \u0435\u0434\u0432\u0430 \u043b\u0438 \u0441\u043c\u043e\u0436\u0435\u043c \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043d\u0430 \u0432\u043e\u043b\u0448\u0435\u0431\u043d\u044b\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u043e\u0439\u043a\u0438\u0439 \u044f\u0437\u044b\u043a. \u0414\u0430, \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043b\u044b\u0448\u0430\u043b \u043e Heartbleed, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c.<\/p>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043e Heartbleed \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0435 \u043a\u0430\u043a \u043e\u0442\u0441\u044b\u043b\u043a\u0430 \u043a \u0441\u0430\u043c\u043e\u043c\u0443 Heartbleed, \u0430 \u043a \u043f\u0430\u0447\u043a\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0438 \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043b\u0443\u0447\u0448\u0435. \u00ab\u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 Heartbleed, \u043d\u043e \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043e\u0445\u043e\u0436\u0438\u0435\u00bb \u2014 \u043f\u043b\u043e\u0445\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u0421\u043b\u043e\u0436\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043e \u0442\u0430\u043a\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435.<\/p>\n<p>  \u0413\u043e\u0432\u043e\u0440\u044f \u043e\u0431 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044f\u0445 \u0438 \u0438\u0445 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0442\u043e\u0447\u043d\u044b\u043c\u0438 \u0438 \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u044b\u043c\u0438. \u041f\u043e\u0434\u043d\u044f\u0442\u044b\u0439 \u0432\u043e\u043a\u0440\u0443\u0433 Heartbleed (Shellshock, \u0438 \u0442.\u043f.) \u0445\u0430\u0439\u043f \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0446\u0435\u043b\u044c\u044e \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0441\u043e\u0447\u0435\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430. \u041e\u0448\u0438\u0431\u043e\u0447\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0440\u0438\u0432\u043e\u0434\u044f\u0442 \u043a \u043e\u0448\u0438\u0431\u043e\u0447\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c.<\/p>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f<\/h3>\n<p>1. bleed \u2014 \u0441\u043e\u0447\u0438\u0442\u044c\u0441\u044f, \u0438\u0441\u043f\u0443\u0441\u043a\u0430\u0442\u044c<\/p>\n<h3>\u0421\u0441\u044b\u043b\u043a\u0438<\/h3>\n<ul>\n<li><a href=\"http:\/\/www.reddit.com\/r\/rust\/comments\/2uii0u\/heartbleed_in_rust\/\">\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u043d\u0430 reddit<\/a><\/li>\n<li><a href=\"https:\/\/news.ycombinator.com\/item?id=8983771\">\u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u043d\u0430 HackerNews<\/a> (bonus: \u043f\u0440\u043e\u0448\u0442\u0440\u0430\u0444\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u0438\u043d\u0451\u0441 \u0438\u0437\u0432\u0438\u043d\u0435\u043d\u0438\u044f)<\/li>\n<li><a href=\"http:\/\/en.wikipedia.org\/wiki\/Heartbleed\">Wikipedia \u2014 Heartbleed<\/a><\/li>\n<li><a href=\"http:\/\/www.rust-lang.org\/\">The Rust Programming Language<\/a><\/li>\n<li>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u0438\u0434\u0435\u043e \u043e\u0442 Tom Scott \u043e Heartbleed<\/b><\/p>\n<div class=\"spoiler_text\"><iframe loading=\"lazy\" width=\"560\" height=\"349\" src=\"\/\/www.youtube.com\/embed\/rE5dW3BTpn4?wmode=opaque\" frameborder=\"0\" allowfullscreen><\/iframe><\/div>\n<\/div>\n<\/li>\n<\/ul>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/249537\/\"> http:\/\/habrahabr.ru\/post\/249537\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">       \u0412 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 Hacker News \u043d\u0435\u043a\u0442\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u043b, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Rust \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u043b\u043e \u0431\u044b Heartlbeed, \u0447\u0442\u043e \u043a\u043e\u0434 \u0431\u044b \u0434\u0430\u0436\u0435 \u043d\u0435 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f. \u042d\u0442\u043e \u043f\u0440\u043e\u0437\u0432\u0443\u0447\u0430\u043b\u043e \u043a\u0430\u043a \u0432\u044b\u0437\u043e\u0432!<\/p>\n<p>  \u0422\u0440\u0435\u0434 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f <a href=\"https:\/\/news.ycombinator.com\/item?id=8954965\">\u0432\u043e\u0442 \u0437\u0434\u0435\u0441\u044c<\/a>. \u042f \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0441\u044f \u043d\u0438 \u043a \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0434\u0438\u0440\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043e \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0438 Heartbleed \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u0447\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043e. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0440\u0430\u0441\u043f\u043b\u044b\u0432\u0447\u0430\u0442\u044b\u0445 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u0432 \u0446\u0435\u043b\u043e\u043c, \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.  <\/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-249537","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/249537","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=249537"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/249537\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}