{"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\/es\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","title":{"rendered":"Para Chrome se est\u00e1 desarrollando una API para comunicaciones TCP y UDP directas.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>La empresa Google <noindex><a rel=\"nofollow\" href=\"https:\/\/groups.google.com\/a\/chromium.org\/g\/blink-dev\/c\/ARtkaw4e9T4\/m\/npjeMssPCAAJ\">comenz\u00f3<\/a><\/noindex> a implementar una nueva API en Chrome <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/WICG\/raw-sockets\/blob\/master\/docs\/explainer.md\">Raw Sockets<\/a><\/noindex>, permitiendo que las aplicaciones web establezcan conexiones de red directas utilizando los protocolos TCP y UDP. En 2015, el consorcio W3C ya hab\u00eda hecho un intento de estandarizar la API \u201c<noindex><a rel=\"nofollow\" href=\"https:\/\/www.w3.org\/TR\/tcp-udp-sockets\/\">TCP and UDP Socket<\/a><\/noindex>\u201d, pero los miembros del grupo de trabajo no alcanzaron un consenso y el desarrollo de esta API se detuvo.<\/p>\n<p>La necesidad de agregar una nueva API se explica por la posibilidad de interactuar con dispositivos de red que utilizan sus propios protocolos que funcionan sobre TCP y UDP, y que no admiten la interacci\u00f3n a trav\u00e9s de HTTPS o WebSockets. Se observa que la API Raw Sockets complementar\u00e1 las interfaces de programaci\u00f3n de bajo nivel ya existentes en el navegador, como WebUSB, WebMIDI y WebBluetooth, que permiten interactuar con dispositivos locales.<\/p>\n<p>Para evitar un impacto negativo en la seguridad, la API Raw Sockets solo permitir\u00e1 solicitudes de red iniciadas con el consentimiento del usuario y limitadas a una lista de hosts autorizados por el usuario. El usuario deber\u00e1 confirmar expl\u00edcitamente el primer intento de conexi\u00f3n a un nuevo host. A trav\u00e9s de una bandera especial, el usuario podr\u00e1 desactivar la aparici\u00f3n de solicitudes de confirmaci\u00f3n para conexiones repetidas al mismo host. Para prevenir ataques DDoS, la intensidad de las solicitudes a trav\u00e9s de Raw Sockets estar\u00e1 limitada, y el env\u00edo de solicitudes solo ser\u00e1 posible despu\u00e9s de que el usuario interact\u00fae con la p\u00e1gina. Los paquetes UDP recibidos de hosts no aprobados por el usuario ser\u00e1n ignorados y no llegar\u00e1n a la aplicaci\u00f3n web.<\/p>\n<p>  La implementaci\u00f3n inicial no prev\u00e9 la creaci\u00f3n de sockets de escucha, pero en el futuro no se descarta la provisi\u00f3n de llamadas para aceptar conexiones entrantes desde localhost o una lista de hosts conocidos. Tambi\u00e9n se menciona la necesidad de protegerse contra ataques \u201c<noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52169\">DNS rebinding<\/a><\/noindex>\u201d (un atacante puede cambiar la direcci\u00f3n IP del nombre de dominio aprobado por el usuario a nivel de DNS y acceder a otros hosts). Se planea bloquear el acceso a dominios que se resuelven en 127.0.0.0\/8 y redes intranet (se sugiere permitir las solicitudes a localhost solo al ingresar expl\u00edcitamente la direcci\u00f3n IP en el formulario de confirmaci\u00f3n).<\/p>\n<p>Entre los riesgos que pueden surgir al implementar una nueva API se menciona su posible rechazo por parte de fabricantes de otros navegadores, lo que podr\u00eda causar problemas de compatibilidad. Los desarrolladores de los motores Mozilla Gecko y WebKit a\u00fan <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/mozilla\/standards-positions\/issues\/431\">no han definido<\/a><\/noindex> su posici\u00f3n sobre la posible implementaci\u00f3n de la API Raw Sockets, pero anteriormente la compa\u00f1\u00eda Mozilla ya hab\u00eda propuesto <noindex><a rel=\"nofollow\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Archive\/B2G_OS\/API\/TCPSocket\">una API similar<\/a><\/noindex>. En caso de aprobaci\u00f3n en la primera fase, se planea activar la API Raw Sockets en Chrome OS, y luego ofrecerla a los usuarios de Chrome en otros sistemas.<\/p>\n<p>Los desarrolladores web <noindex><a rel=\"nofollow\" href=\"https:\/\/discourse.wicg.io\/t\/filling-the-remaining-gap-between-websocket-webrtc-and-webtranspor\/4366\">se han mostrado<\/a><\/noindex> positivos respecto a la nueva API y han expresado muchas ideas nuevas sobre su aplicaci\u00f3n en \u00e1reas donde las APIs XMLHttpRequest, WebSocket y WebRTC son insuficientes (desde la creaci\u00f3n de clientes de navegador para SSH, RDP, IMAP, SMTP, IRC y protocolos de impresi\u00f3n hasta el desarrollo de sistemas P2P distribuidos con DHT (Tabla Hash Distribuida), soporte para IPFS y la interacci\u00f3n con protocolos espec\u00edficos de dispositivos IoT).<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Fuente: <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.2 - 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\/es\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"es_ES\" \/>\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\/es\/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\udd47Se est\u00e1 desarrollando una API para comunicaciones TCP y UDP directas en Chrome | ProHoster","description":"La empresa Google ha comenzado la implementaci\u00f3n en Chrome de una nueva API","canonical_url":"https:\/\/prohoster.info\/es\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"es_ES","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\/es\/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\/es\/wp-json\/wp\/v2\/posts\/92099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/comments?post=92099"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts\/92099\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/media?parent=92099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/categories?post=92099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/tags?post=92099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}