Statistics: Posted by Brutus5000 — 15 Sep 2017, 17:31
Statistics: Posted by Ryan_Ryan_Ryan — 04 Sep 2017, 01:10
async def EstablishConnection(self, peer_connection: "GameConnection"):
"""
Attempt to establish a full duplex UDP connection
between self and peer.
:param peer_connection: Client to connect to
:return: (own_addr, remote_addr)
"""
own = self.connectivity.result # type: ConnectivityResult
peer = peer_connection.connectivity.result # type: ConnectivityResult
if peer.state == ConnectivityState.PUBLIC \
and own.state == ConnectivityState.PUBLIC:
[b] self._logger.debug("Connecting %s to host %s directly", self, peer_connection)[/b]
return own.addr, peer.addr
elif peer.state == ConnectivityState.STUN or own.state == ConnectivityState.STUN:
[b] self._logger.debug("Connecting %s to host %s using STUN", self, peer_connection)[/b]
(own_addr, peer_addr) = await self.STUN(peer_connection)
if peer_addr is None or own_addr is None:
[b] self._logger.debug("STUN between %s %s failed", self, peer_connection)
self._logger.debug("Resolved addresses: %s, %s", peer_addr, own_addr)[/b]
if self.player.id < peer_connection.player.id and own.state == ConnectivityState.STUN:
return await self.TURN(peer_connection)
elif peer.state == ConnectivityState.STUN:
return tuple(reversed(await peer_connection.TURN(self)))
else:
return own_addr, peer_addr
[b] self._logger.error("Connection blocked")[/b]
server, protocol = await self.loop.create_datagram_endpoint(lambda: NatServerProtocol(address, self._futures), address)
Statistics: Posted by Ryan_Ryan_Ryan — 03 Sep 2017, 21:19
Name / IP:Port / UID
MrHighCake 61.108.15.94:6112 193533
WarbosGorgutz 37.58.123.3:52340 196906
onkel_mihail 37.58.123.3:61424 169407
Ryan_Ryan_Ryan - - - (me)
aliengfx 37.58.123.3:50038 190575
jebacsuczki 159.205.153.53:6112 68429
Nerfy 77.172.209.155:54476 93547
Xenix 37.146.147.229:6112 209320
yellowcolorado31 68.11.145.168:6112 145905
FRAGMASTER99 37.58.123.3:58270 176589
Zelen 194.165.121.117:6112 158549
SWEDGE 68.108.8.17:6112 164688
Statistics: Posted by Ryan_Ryan_Ryan — 27 Aug 2017, 07:27
Statistics: Posted by Brutus5000 — 21 Aug 2017, 18:05
'proxy/host': 'proxy.{host}',
'proxy/port': 9124,
'lobby/relay/port': 15000,
'lobby/host': 'lobby.{host}',
'lobby/port': 8001,
Search "proxy/port" (1 hit in 1 file)
...\client-devop\src\config\production.py
'proxy/port': 9124,
Statistics: Posted by Ryan_Ryan_Ryan — 20 Aug 2017, 23:36
Line 754: info: ConnectToPeer (name=IkarosDC, uid=204248, address=127.0.0.1:54582, USE PROXY)
Line 760: info: ConnectToPeer (name=Sloth, uid=38166, address=127.0.0.1:54583, USE PROXY)
Line 765: info: ConnectToPeer (name=kukuczka, uid=27975, address=127.0.0.1:54584, USE PROXY)
Line 770: info: ConnectToPeer (name=KaworuKun, uid=217349, address=127.0.0.1:54585, USE PROXY)
Line 784: info: ConnectToPeer (name=Sunaiac, uid=150038, address=127.0.0.1:54586, USE PROXY)
Line 791: info: ConnectToPeer (name=Lout_is_taken, uid=214622, address=127.0.0.1:54587, USE PROXY)
Line 828: info: ConnectToPeer (name=Evil_in_Me, uid=35369, address=127.0.0.1:49547, USE PROXY)
Line 862: info: ConnectToPeer (name=lastman88, uid=35363, address=127.0.0.1:49548, USE PROXY)
Statistics: Posted by Ryan_Ryan_Ryan — 18 Aug 2017, 11:26
Statistics: Posted by Brutus5000 — 16 Aug 2017, 09:58
Statistics: Posted by Ryan_Ryan_Ryan — 16 Aug 2017, 03:24