Multiplayer Peer-to-Peer Connection Across Firewalls and Network Address Translators Using a Single Local Port on the Local Host

a network address translator and peer-to-peer connection technology, applied in the field of communication, can solve the problems of poor host online experience, complex problem, and non-trivial connection to achieve such a connection

Inactive Publication Date: 2009-09-24
LOGITECH EURO SA
View PDF54 Cites 183 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it is non-trivial to achieve such a connection in case one or both of the hosts are behind a firewall, especially if it also does network address translation, as is the case with the great majority of business and home firewalls nowadays.
The problem is even further complicated in the case where a host attempts multiple peer-to-peer connections at the same time through a single port.
An additional challenge is to be able to set up a new connection through a single (private) port of the host, all the while transferring data through that same port with other hosts.
The result is that if a host happens to be behind a difficult to traverse firewall / NAT, the host's online experience will be poor because a lot of connections will fail.
However, this is a complicated operation for the average user and potentially creates a security hole in the firewall.
Furthermore, this solution fails when two users are behind the same firewall.
Indeed, some firewalls are more difficult to traverse than others, and in the case of Microsoft® the technology will enable peer-to-peer connectivity between hosts behind “easy” firewalls / NATs, but not behind more difficult ones.
But often users already have a firewall before they buy a game.
In case they use a firewall that is not supported by the game, they will run into problems to play online.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multiplayer Peer-to-Peer Connection Across Firewalls and Network Address Translators Using a Single Local Port on the Local Host
  • Multiplayer Peer-to-Peer Connection Across Firewalls and Network Address Translators Using a Single Local Port on the Local Host
  • Multiplayer Peer-to-Peer Connection Across Firewalls and Network Address Translators Using a Single Local Port on the Local Host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020]As shown in the typical setup 10 of FIG. 1, two hosts 12 (e.g., game consoles) are connected each behind a NAT 14 (or a device that is a combination of a router, a firewall, and a NAT) and communicate with STUN servers 16 via a network 20 (e.g., the Internet). When attempting to exchange packets peer-to-peer, the host 12 may either use a random port number every time it attempts a connection, or it may use a predefined unique port number.

[0021]FIG. 2 shows an example of how two hosts 202, 204 with respective NATs 212, 214 trying to open a peer-to-peer channel with each other interact with the STUN servers 218 and find out about their respective NATs' information before attempting a connection using random ports. Each host 202, 204 creates two sockets (socket A and socket B) that are bound to two random ports. A first STUN packet is sent out through socket A of each host 202, 204 to STUN server 1. This will create port A1 on each NAT 212, 214. Then three STUN packets are sent t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A system for providing peer-to-peer connections includes a plurality of host devices behind corresponding NATs; and a plurality of STUN servers. Each host device includes first and second sockets respectively bound to first and second private ports. Each host device sends a first STUN packet through the first socket to a first STUN server and a second group of STUN packets through the second socket to the STUN servers via public ports of the corresponding NAT. The STUN servers identify the public port numbers of the public ports. Each host device calculates a predicted public port number of the corresponding NAT for the second socket, based on the public port numbers of the public ports for the first socket and the second socket, the predicted public port number to be used for peer-to-peer connection between the second socket of the host device and other host devices.

Description

CROSS-REFERENCES TO RELATED APPLICATIONS[0001]This application is a continuation application of, and claims priority to, U.S. patent application Ser. No. 10 / 957,122, filed Sep. 30, 2004, titled “MULTIPLAYER PEER-TO-PEER CONNECTION ACROSS FIREWALLS AND NETWORK ADDRESS TRANSLATORS USING A SINGLE LOCAL PORT ON THE LOCAL HOST”, which is incorporated by reference herein in its entirety for all purposes.BACKGROUND OF THE INVENTION[0002]The present application relates generally to communications between computer devices and, more particularly, to multiplayer peer-to-peer connections across firewalls and network address translators (NATs), using a single port number on each computer device.[0003]More and more applications attempt to create a peer-to-peer connection between two hosts to transfer data. However, it is non-trivial to achieve such a connection in case one or both of the hosts are behind a firewall, especially if it also does network address translation, as is the case with the g...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F15/16
CPCH04L29/12009H04L29/12528H04L29/12537H04L29/12924H04L61/2575H04L69/329H04L61/6063H04L63/029H04L67/104H04L67/1046H04L61/2578H04L2101/663H04L61/00
Inventor JUNCKER, CHRISTOPHEKUTTY, NANDA
Owner LOGITECH EURO SA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products