{"id":55358,"date":"2020-01-18T00:00:00","date_gmt":"2020-01-17T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli"},"modified":"2020-02-18T14:03:28","modified_gmt":"2020-02-18T11:03:28","slug":"razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hr\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","title":{"rendered":"Razvija\u010d Rust-okvira actix-web uklonio je repozitorij zbog progonjenja","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Autor web-okvira napisanog na jeziku Rust <noindex><a rel=\"nofollow\" href=\"https:\/\/crates.io\/crates\/actix-web\">actix-web<\/a><\/noindex> uklonio <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">repozitorij<\/a><\/noindex> nakon \u0161to je do\u0161ao pod udar kritike zbog &#171;neispravne upotrebe&#187; jezika Rust. Framework actix-web, paket koji je preuzet vi\u0161e od 800 tisu\u0107a puta, omogu\u0107uje ugradnju http-server i klijentske funkcionalnosti u aplikacije napisane na jeziku Rust, s fokusom na postizanje maksimalne izvedbe tijekom razvoja i <noindex><a rel=\"nofollow\" href=\"https:\/\/www.techempower.com\/benchmarks\/\">prednja\u010di<\/a><\/noindex> u mnogim testovima web-okvira.<\/p>\n<p>Nekoliko trenutaka prije incidenta, na issues na GitHub-u prijavljeno je otkri\u0107e neodre\u0111enog pona\u0161anja (Undefined Behaviour) u kodu actix-web servera, \u0161to se doga\u0111a u bloku koji se izvr\u0161ava u <noindex><a rel=\"nofollow\" href=\"http:\/\/rustbook.ru\/ch19-01-unsafe-rust.html\">unsafe<\/a><\/noindex> (omogu\u0107uje izvo\u0111enje nesigurnih radnji s pokaziva\u010dima). Autor actix-web-a nije uklonio blok unsafe, ve\u0107 je prepravio poziv ovog bloka kako bi se neodre\u0111eno pona\u0161anje izbjeglo. Prijedloge za uklanjanje unsafe-a autor je odbio, pozivaju\u0107i se na mogu\u0107i gubitak performansi i isti\u010du\u0107i da ne koristi unsafe bez potrebe te da je siguran u sigurnost blokova koji rade u ovom re\u017eimu.<\/p>\n<p>\u010clan tima RustSec, koji je otkrio neodre\u0111eno pona\u0161anje, nije se slo\u017eio i pretpostavio da je upotreba mnogih unsafe-blokova u actix-web-u neopravdana. Nakon toga objavio je<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@shnatsel\/smoke-testing-rust-http-clients-b8f2ee5db4e6\">\u010dlanak<\/a><\/noindex> o neprihvatljivosti upotrebe unsafe, u kojem je, izme\u0111u ostalog, spomenuto da pristup pokaziva\u010dima kori\u0161ten u actix-webu (vi\u0161e promjenjivih pokaziva\u010da na iste podatke) potencijalno mo\u017ee uzrokovati ranjivosti use-after-free i nije u skladu s razvojnim paradigmatom na Rust-u. <\/p>\n<p>Nakon <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/comments\/epoloy\/ive_smoketested_rust_http_clients_heres_what_i\/\">rasprave<\/a><\/noindex> o \u010dlanku na <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/\">Redditu<\/a><\/noindex>, na issues na GitHub-u <noindex><a rel=\"nofollow\" href=\"https:\/\/words.steveklabnik.com\/a-sad-day-for-rust\">pojavio se<\/a><\/noindex> talas trolova i autor actix-web-a je bio izlo\u017een <noindex><a rel=\"nofollow\" href=\"https:\/\/gist.github.com\/pcr910303\/d7722a26499d0e9d2f9034a06f2433b4\">navali kritike<\/a><\/noindex> i uvreda zbog pogre\u0161ne upotrebe Rust-a. Autor nije izdr\u017eao psiholo\u0161ki pritisak, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">uklonio je repozitorij<\/a><\/noindex> i <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/fafhrd91\/status\/1218135374339301378\">napisao<\/a><\/noindex>, da se povukao iz Open Source-a.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Izvor: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52208\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0431\u0440\u0443\u0448\u0438\u043b\u0430\u0441\u044c \u043a\u0440\u0438\u0442\u0438\u043a\u0430 \u0437\u0430 &#171;\u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435&#187; \u044f\u0437\u044b\u043a\u0430 Rust. \u0424\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a actix-web, \u043f\u0430\u043a\u0435\u0442 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u044b\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 800 \u0442\u044b\u0441\u044f\u0447 \u0440\u0430\u0437, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c http-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043b\u0438\u0434\u0438\u0440\u0443\u0435\u0442 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-55358","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hr\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"hr_HR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hr\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-01-17T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:03:28+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Razvija\u010d Rust-okvira actix-web uklonio je repozitorij zbog progonjenja | ProHoster","description":"Autor web-okvira napisanog na jeziku Rust actix-web uklonio je","canonical_url":"https:\/\/prohoster.info\/hr\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hr_HR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster","og:description":"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b","og:url":"https:\/\/prohoster.info\/hr\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-01-17T21:00:00+00:00","article:modified_time":"2020-02-18T11:03:28+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"55358","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:45:29","updated":"2022-09-30 12:43:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/posts\/55358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/comments?post=55358"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/posts\/55358\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/media?parent=55358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/categories?post=55358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hr\/wp-json\/wp\/v2\/tags?post=55358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}