Occasionally trackers, DHT nodes, and PEX peers offer peer addresses with a port of 0. What does this mean? In the context of submitting one's own port to a tracker, or in DHT, sending a port of 0 means that the recipient should use the sender's apparent port, due to NAT or similar. But when receiving a list of possible peers for a torrent, how do you interpret a port of 0 then?
BitTorrent peers with zero ports
371 Views Asked by Matt Joiner At
2
There are 2 best solutions below
Related Questions in PORT
- Sniff data packages from application to serial port (/dev/ttyACM0)
- How to choose port number for various microservices? whatever port number I use is already used-blocked or I'm not able to use them
- Why is only the port version not printed in the output?
- Redirect outbound traffic to a different port
- on linux gitclone issue remote server error showing fatal error with proxy n port
- ERR_EMPTY_RESPONSE with docker container port bind
- Block MQTT port from windows firewall
- Localhost doesn't see my file; The requested URL was not found on this server
- Setting up HTML page on port 8083 in NGINX
- ERROR - Container xxx didn't respond to HTTP pings on port: xxx, failing site start
- Docker port exposure with IP resulted to slow postgres database connection
- I don't understand
- Troubleshooting Ineffective Port-Level Value Changes in Kernel Bond Code
- Getting "Jest did not exit one second after the test run has completed" error for test script which was originally passing
- Same IP, same port and nmap scan gives different result. Why?
Related Questions in NAT
- Issue with K6 Operator and Cloud NAT connection count during stress testing
- AWS: Putting together ELB, NAT Gateway and Public Subnet - Not working
- When iptables is used for reverse proxy, how does the proxy server know the client IP address after the real-server replies messages?
- How to make local packets go through nat / prerouting (they go directly to filter / input)
- Usage of Multiple Egress IPs in Google Cloud NAT Setup
- ICMP request not been forwarded by NAT instance
- NAT KeepAlive Package in Android
- Getting internet Access to Ec2 instance in a public subnet without having a public IPv4
- AWS Lambda init phase timeout in VPC
- Node Application not writing to the correct griddb cluster
- P2P Connection Issue with NAT Traversal on Mobile Devices
- Why is Azure NAT not affecting my effective routes from my Azure routing table?
- Why is my device marked as unknown device when using "Mono.Nat.NatUtility.StartDiscovery()"?
- How to perform NAT hole punching on an additional client mid-session?
- Tethering - Sharing mobile network to LAN
Related Questions in BITTORRENT
- Is it possible to get hashes of individual 16KB blocks from a v2 torrent file? v1?
- Send the piece request to Udp peer using UDP Tracker Protocol
- Solve the packing error on peer handshake protocol
- Solve the socket error 10060 ,during making a peer handshake
- Problem in debugging custom python libtorrent client - How to add DHT router
- Unhandled Exception during Handshake in BitTorrent protocol implementation
- Error connecting to BitTorrent tracker: Requested download is not authorized for use with this tracker
- How can I index the bittorrent DHT properly for infohashes?
- 'WinError: The remote computer refused the network connection' is caused from BitTorrent project
- npm: cant import bencode module
- Torrent Trackers return port 0 in for peer in peer list
- Sequential downloading and playback of torrents on the server
- Change category of torrent using qBittorrent web API how?
- Trouble with URL encoding torrent's infoHash using JS
- How to download torrent specific files in python code?
Related Questions in DHT
- In IPFS, will same content produce the same CID on 2 different peers?
- Save values from a DHT11-Sensor to influxDB container
- How do I periodically remove inactive nodes and flush the routing table with the use of kademlia python library?
- How can I index the bittorrent DHT properly for infohashes?
- IPFS not announcing CIDs on indirect peers and unable to get through cmd as CID is not propagated using DHT
- which libp2p module do I use to broadcast data to peers in the network e.g blockchain? do I use mdns or kademlia for blockchain?
- go-libp2p: my nodes don't find any peers with DHT peer discovery
- Kademlia get_providers() fails to find nodes that start_providing() in Rust libp2p
- Are DHT algorithms good for handling large amount of counting states?
- UDP socket connected to DHT node, not recieving data
- In Bittorrent how to announce utp port for other peers
- trying to understand the flow chart of the extended message protocol as mentioned in bep 10
- Do I remove peers after a certain amount of time?(mainline dht)
- How to find metadata in the dht while only having the Infohash?
- Is it possible to receive from one port and send through another in mainline dht?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I am curious from which specification you're deriving that.
Have you considered that it simply might be bogus data, not sanitized by the sender?
Rejecting port zero is not a requirement, since it's technically a valid port (although in practice not really usable) and even if it were you cannot rely on others to sanitize data for you.