GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    rqsd (rq@borg.social)'s status on Saturday, 30-Sep-2023 00:54:10 JST rqsd rqsd

    This is deeply dissatisfying. So apparently, using ports in the IANA dynamic/private port range (49152-65535) for services can lead to a self-connection issue as the kernel picks an ephermeral port and that happens to be a listen port, leading to a collision (https://sgros.blogspot.com/2013/08/tcp-client-self-connect.html). At the same time, IANA is allowed to register whatever for ports 0 through 49151. Some operating systems don't actually use the whole dynamic/private port range, leaving you with leeway. Windows, however, will just straight up fucking yoink the entire range 49152 through 65535 for ephemeral port usage (https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/default-dynamic-port-range-tcpip-chang).

    If you need a throwaway port (e.g. for reverse proxying something or internal services), you thus have to use something in the range IANA can register, basically breaking the namespace promises you're supposed to make. Either you break the system's rules or break IANA rules. :haggard:

    Should you use UNIX domain sockets instead? Yes. Does everything support that? No.

    In conversation Saturday, 30-Sep-2023 00:54:10 JST from borg.social permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      TCP client self connect...
      This is so cool and unexpected, but then nothing out of spec, that I had to reblog it. Namely, if you run the following snippet of the Bour...
    2. Domain not in remote thumbnail source whitelist: learn.microsoft.com
      The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008 - Windows Server
      from Deland-Han
      Describes the changes to the default dynamic port range for TCP/IP in Windows Vista and in Windows Server 2008. Also describes commands that you can use to modify or show the dynamic port range for TCP/IP ports.
    • Haelwenn /элвэн/ :triskell: likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.