Comments (5)
Ah, someone is announcing an invalid port and causing it to crash, yeah, that certainly sounds like a problem.
I'll start having a look into this, hopefully should be a quick fix.
from bittorrent-tracker.
Hi @aagaguai,
Could I verify what your ask is here? Both the transport layer protocols TCP and UDP only support port ranges between 0 and 65535 (2 byte unsigned int), so it's not possible for values outside of these ranges to be supported.
from bittorrent-tracker.
你好@aagaguai,
我可以验证一下您的要求吗?传输层协议 TCP 和 UDP 均仅支持 0 到 65535(2 字节无符号整数)之间的端口范围,因此不可能支持这些范围之外的值。
Yes, but because it is requested through http, it is also possible to pretend to send other port numbers, causing the server to be unable to process and crash, so I hope to solve this problem
from bittorrent-tracker.
@aagaguai please try the changes from the above PR and let me know if this resolves the issue for you.
Once confirmed, I will reach out to the other maintainers to have this reviewed and ideally merged.
from bittorrent-tracker.
@aagaguai this should now be published as of version 11.0.2.
from bittorrent-tracker.
Related Issues (20)
- Tracker fails to work when pushed to a VPS HOT 1
- /stats additionals HOT 3
- 请问支持win10吗? HOT 2
- Typescript Support HOT 1
- HTTP tracker server still runs when the option of Server constructor "http" is set to be false HOT 1
- ERR_PACKAGE_PATH_NOT_EXPORTED on require HOT 2
- EPERM Issue on install
- `peer_id` from announce query string interpreted as latin1 then converted to UTF-8 before being returned as a transformed and wrong value in the peer list. HOT 5
- BEP for WebTorrent HOT 3
- Can you guys provide a binary excuteable by using javascript pkg framework to the release page? HOT 4
- d14:failure reason17:invalid info_hashe HOT 1
- Bittorrent v2 support HOT 13
- npm versions > 10.0.8 will not run due to bug in simple-peer lite HOT 1
- Upload / download count for each peerID HOT 1
- socksProxy Socks.Agent is not a constructor HOT 1
- SSRF Error and UDP not HOT 1
- ipv6 udp tracker outgoing error peers HOT 4
- An error appears on startup: No "exports" main defined HOT 1
- Tracker does not launch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bittorrent-tracker.