forum.bittorrent.org

BitTorrent.org community

You are not logged in.

Announcement

Forums are closed. Use the new mailing list! https://groups.google.com/a/bittorrent.com/forum/#!forum/bt-developers

#1 2008-10-18 02:07:13

gritzko
Member

ut_pex flag: incoming/outgoing

Hi!

As far as I am aware, currently ut_pex sets two flags: encryption (1) and seeder (2). Could it also set a flag (say 4) to indicate whether the connection was incoming or outgoing?
Thus a newcomer peer may boost (initially) its connection success rate by de-prioritizing probably-NATted peers.

Offline

#2 2008-10-23 10:16:53

gritzko
Member

Re: ut_pex flag: incoming/outgoing

PEX crawl
In a nutshell: at least 1/2 of peers are surely unconnectable because of NATs/firewalls; the rest depends on current swarm conditions. The connection success rate may be as low as 10%.

Offline

#3 2010-03-01 03:20:30

ghazel
BitTorrent Developer

Re: ut_pex flag: incoming/outgoing

Current known PEX flags:

1: encryption
2: seed/upload_only
4: uTP support
8: holepunch support
16: outgoing connection (implies peer is connectible)

Offline

#4 2011-03-24 14:34:57

Oliverk48
Member

Re: ut_pex flag: incoming/outgoing

Hey ghazel, I'm new to this whole bittorrent thing, can you elaborate a little bit more on the "8: holepunch support"? What does holepunch stands for? Sorry for my ignorance... I have the feeling this is a very dumb question, lool.


Oliver @ hemorrhoid treatment X dot Org.

Offline

#5 2011-03-24 15:39:27

ghazel
BitTorrent Developer

Re: ut_pex flag: incoming/outgoing

It means the peer supports the holepunch extension.

Offline

Board footer

Powered by FluxBB