Giter VIP home page Giter VIP logo

Comments (5)

SilentBot1 avatar SilentBot1 commented on May 30, 2024 1

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.

SilentBot1 avatar SilentBot1 commented on May 30, 2024

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 avatar aagaguai commented on May 30, 2024

你好@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.

SilentBot1 avatar SilentBot1 commented on May 30, 2024

@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.

SilentBot1 avatar SilentBot1 commented on May 30, 2024

@aagaguai this should now be published as of version 11.0.2.

from bittorrent-tracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.