{"id":92099,"date":"2020-08-22T19:42:21","date_gmt":"2020-08-22T17:42:21","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij"},"modified":"2020-08-22T19:42:21","modified_gmt":"2020-08-22T17:42:21","slug":"dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","title":{"rendered":"A Chrome sz\u00e1m\u00e1ra TCP \u00e9s UDP k\u00f6zvetlen kommunik\u00e1ci\u00f3s API fejleszt\u00e9s alatt \u00e1ll","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>A Google v\u00e1llalat <noindex><a rel=\"nofollow\" href=\"https:\/\/groups.google.com\/a\/chromium.org\/g\/blink-dev\/c\/ARtkaw4e9T4\/m\/npjeMssPCAAJ\">elkezd\u0151d\u00f6tt<\/a><\/noindex> a Chrome \u00faj API-j\u00e1nak megval\u00f3s\u00edt\u00e1sa <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/WICG\/raw-sockets\/blob\/master\/docs\/explainer.md\">Raw Sockets<\/a><\/noindex>, lehet\u0151v\u00e9 t\u00e9ve webalkalmaz\u00e1sok sz\u00e1m\u00e1ra, hogy k\u00f6zvetlen h\u00e1l\u00f3zati kapcsolatokat l\u00e9tes\u00edtsenek TCP \u00e9s UDP protokollok haszn\u00e1lat\u00e1val. 2015-ben a W3C konzorcium m\u00e1r tett egy l\u00e9p\u00e9st az API &#171;standardiz\u00e1l\u00e1sa fel\u00e9,<noindex><a rel=\"nofollow\" href=\"https:\/\/www.w3.org\/TR\/tcp-udp-sockets\/\">TCP and UDP Socket<\/a><\/noindex>&#171;, de a munkacsoport r\u00e9sztvev\u0151i nem tudtak konszenzusra jutni, \u00edgy ennek az API-nak a fejleszt\u00e9se le\u00e1llt.<\/p>\n<p>Az \u00faj API-ra val\u00f3 sz\u00fcks\u00e9gess\u00e9g azzal magyar\u00e1zhat\u00f3, hogy lehet\u0151v\u00e9 teszi a felhaszn\u00e1l\u00f3i eszk\u00f6z\u00f6kkel val\u00f3 interakci\u00f3t, amelyek saj\u00e1t protokollokat haszn\u00e1lnak, amelyek a TCP \u00e9s UDP felett m\u0171k\u00f6dnek, \u00e9s nem t\u00e1mogatj\u00e1k az HTTPS vagy WebSockets \u00e1ltali interakci\u00f3t. A Raw Sockets API kieg\u00e9sz\u00edti a b\u00f6ng\u00e9sz\u0151ben m\u00e1r megl\u00e9v\u0151 alacsony szint\u0171 programoz\u00e1si interf\u00e9szeket, mint a WebUSB, WebMIDI \u00e9s WebBluetooth, amelyek lehet\u0151v\u00e9 teszik a helyi eszk\u00f6z\u00f6kkel val\u00f3 interakci\u00f3t.<\/p>\n<p>A Raw Sockets API biztons\u00e1gra gyakorolt negat\u00edv hat\u00e1s\u00e1nak elker\u00fcl\u00e9se \u00e9rdek\u00e9ben csak felhaszn\u00e1l\u00f3i beleegyez\u00e9ssel kezdem\u00e9nyezett h\u00e1l\u00f3zati h\u00edv\u00e1sokat fogad el, \u00e9s ezeket a felhaszn\u00e1l\u00f3 \u00e1ltal enged\u00e9lyezett hostok list\u00e1j\u00e1ra korl\u00e1tozza. A felhaszn\u00e1l\u00f3nak kifejezetten meg kell er\u0151s\u00edtenie az els\u0151 kapcsolatfelv\u00e9teli k\u00eds\u00e9rletet egy \u00faj host eset\u00e9n. Egy k\u00fcl\u00f6nleges z\u00e1szl\u00f3 seg\u00edts\u00e9g\u00e9vel a felhaszn\u00e1l\u00f3 letilthatja a m\u0171velet meger\u0151s\u00edt\u00e9s\u00e9re vonatkoz\u00f3 ism\u00e9telt k\u00e9r\u00e9sek megjelen\u00edt\u00e9s\u00e9t a tov\u00e1bbi kapcsolatok sor\u00e1n ugyanann\u00e1l a hostn\u00e1l. A DDoS-t\u00e1mad\u00e1sok megel\u0151z\u00e9se \u00e9rdek\u00e9ben a Raw Sockets-en kereszt\u00fcli h\u00edv\u00e1sok intenzit\u00e1s\u00e1t korl\u00e1tozni fogj\u00e1k, \u00e9s k\u00e9r\u00e9sek csak akkor k\u00fcldhet\u0151k, miut\u00e1n a felhaszn\u00e1l\u00f3 interakci\u00f3ba l\u00e9pett az oldallal. Az olyan UDP-csomagokat, amelyeket a felhaszn\u00e1l\u00f3 \u00e1ltal nem enged\u00e9lyezett hostokt\u00f3l kaptak, figyelmen k\u00edv\u00fcl hagyj\u00e1k, \u00e9s nem jutnak el a webalkalmaz\u00e1sig.<\/p>\n<p>  A kezdeti megval\u00f3s\u00edt\u00e1s nem tartalmaz hallgat\u00f3 socketek l\u00e9trehoz\u00e1s\u00e1t, de a j\u00f6v\u0151ben nem z\u00e1rhat\u00f3 ki bej\u00f6v\u0151 kapcsolatok fogad\u00e1s\u00e1ra szolg\u00e1l\u00f3 h\u00edv\u00e1sok biztos\u00edt\u00e1sa localhost vagy ismert hostok list\u00e1ja sz\u00e1m\u00e1ra. Ezenk\u00edv\u00fcl sz\u00f3ba ker\u00fcl a &#171; t\u00e1mad\u00e1sok elleni v\u00e9delem sz\u00fcks\u00e9gess\u00e9ge,<noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52169\">DNS rebinding<\/a><\/noindex>&#187; (a t\u00e1mad\u00f3 DNS szinten megv\u00e1ltoztathatja a j\u00f3v\u00e1hagyott felhaszn\u00e1l\u00f3i domain n\u00e9v IP-c\u00edm\u00e9t \u00e9s hozz\u00e1f\u00e9r\u00e9st nyerhet m\u00e1s hosztokhoz). A 127.0.0.0\/8-ra \u00e9s intranet h\u00e1l\u00f3zatokra mutat\u00f3 domainek hozz\u00e1f\u00e9r\u00e9s\u00e9t tervezik blokkolni (a localhost-ra val\u00f3 hivatkoz\u00e1sokat csak a kifejezett IP-c\u00edm megad\u00e1s\u00e1val javasolt elfogadni a meger\u0151s\u00edt\u00e9s form\u00e1j\u00e1ban).<\/p>\n<p>Az \u00faj API megval\u00f3s\u00edt\u00e1s\u00e1val kapcsolatos kock\u00e1zatok k\u00f6z\u00f6tt eml\u00edtik, hogy m\u00e1s b\u00f6ng\u00e9sz\u0151k gy\u00e1rt\u00f3i esetleg nem fogadj\u00e1k el, ami kompatibilit\u00e1si probl\u00e9m\u00e1khoz vezethet. A Mozilla Gecko \u00e9s a WebKit motorok fejleszt\u0151i m\u00e9g nem alak\u00edtott\u00e1k ki <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/mozilla\/standards-positions\/issues\/431\">\u00e1ll\u00e1sfoglal\u00e1sukat<\/a><\/noindex> a Raw Sockets API esetleges megval\u00f3s\u00edt\u00e1s\u00e1r\u00f3l, de a Mozilla kor\u00e1bban m\u00e1r javasolt egy hasonl\u00f3 API-t a Firefox OS (B2G) projekt keret\u00e9ben. <noindex><a rel=\"nofollow\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Archive\/B2G_OS\/API\/TCPSocket\">Egy hasonl\u00f3 API-t<\/a><\/noindex>. Ha az els\u0151 szakaszban j\u00f3v\u00e1hagy\u00e1sra ker\u00fcl a Raw Sockets API, azt a Chrome OS-ben aktiv\u00e1lj\u00e1k, \u00e9s csak ezt k\u00f6vet\u0151en k\u00edn\u00e1lj\u00e1k fel a Chrome felhaszn\u00e1l\u00f3inak m\u00e1s rendszerekben.<\/p>\n<p>A webfejleszt\u0151k <noindex><a rel=\"nofollow\" href=\"https:\/\/discourse.wicg.io\/t\/filling-the-remaining-gap-between-websocket-webrtc-and-webtranspor\/4366\">pozit\u00edvan<\/a><\/noindex> nyilatkoztak az \u00faj API-r\u00f3l, \u00e9s sok \u00faj \u00f6tletet osztottak meg annak alkalmaz\u00e1s\u00e1r\u00f3l olyan ter\u00fcleteken, ahol az XMLHttpRequest, WebSocket \u00e9s WebRTC API-k nem elegend\u0151k (b\u00f6ng\u00e9sz\u0151alap\u00fa kliensek k\u00e9sz\u00edt\u00e9se SSH, RDP, IMAP, SMTP, IRC \u00e9s nyomtat\u00e1si protokollokhoz, valamint elosztott P2P rendszerek fejleszt\u00e9se DHT (Elosztott Hashel\u0151 T\u00e1bla) t\u00e1mogat\u00e1s\u00e1val, IPFS t\u00e1mogat\u00e1s\u00e1val \u00e9s specifikus IoT eszk\u00f6z\u00f6k protokolljaival val\u00f3 interakci\u00f3val).<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53582\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API Raw Sockets, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0433\u043e web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u044b\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 TCP \u0438 UDP. \u0412 2015 \u0433\u043e\u0434\u0443 \u043a\u043e\u043d\u0441\u043e\u0440\u0446\u0438\u0443\u043c\u043e\u043c W3C \u0443\u0436\u0435 \u0431\u044b\u043b\u0430 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438 API &#171;TCP and UDP Socket&#171;, \u043d\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043d\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043b\u0438 \u043a\u043e\u043d\u0441\u0435\u043d\u0441\u0443\u0441\u0430 \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u043e\u0433\u043e API \u0431\u044b\u043b\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e API [&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-92099","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API\" \/>\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\/hu\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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\u0414\u043b\u044f Chrome \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f API \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u044b\u0445 TCP \u0438 UDP \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0439 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij\" \/>\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-08-22T17:42:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-08-22T17:42:21+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\udd47A Chrome sz\u00e1m\u00e1ra TCP \u00e9s UDP k\u00f6zvetlen kommunik\u00e1ci\u00f3s API fejleszt\u00e9se | ProHoster","description":"A Google elkezdte a Chrome \u00faj API-j\u00e1nak megval\u00f3s\u00edt\u00e1s\u00e1t","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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\u0414\u043b\u044f Chrome \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f API \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u044b\u0445 TCP \u0438 UDP \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0439 | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","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-08-22T17:42:21+00:00","article:modified_time":"2020-08-22T17:42:21+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"92099","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 12:15:35","updated":"2022-09-28 13:53:48","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/92099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=92099"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/92099\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=92099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=92099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=92099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}