Packages / openSUSE Leap 15.6 / Source / Development/Languages/Python / python-port-for

Source Package: python-port-for (0.4-bp156.3.2)

Utility that helps with local TCP ports managment

port-for is a command-line utility and a python library that helps with local TCP ports management. It can find an unused TCP localhost port and remember the association:: $ sudo port-for foo 37987 This can be useful when you are installing a stack of software with multiple parts needing port numbers. There are several rules port-for is trying to follow to find and return a new unused port: 1) Port must be unused: port-for checks this by trying to connect to the port and to bind to it. 2) Port must be IANA unassigned and otherwise not well-known: this is acheived by maintaining unassigned ports list (parsed from IANA and Wikipedia). 3) Port shouldn't be inside ephemeral port range. This is important because ports from ephemeral port range can be assigned temporary by OS (e.g. by machine's IP stack) and this may prevent service restart in some circumstances. ``port-for`` doesn't return ports from ephemeral port ranges configured at the current machine. 4) Other heuristics are also applied: ``port-for`` tries to return a port from larger port ranges; it also doesn't return ports that are too close to well-known ports.

Package information

Homepage
[https://github.com/kmike/port-for/]
License
MIT
Mantenedor do pacote downstream
Desconhecido: não informado na fonte indexada

The following binary packages are built from this source package:

Vulnerabilidades conhecidas

Nenhum aviso correspondente nas fontes acompanhadas.

Última sincronização:

[Catálogo de CVE]

Fontes

  • Authoritative source; repository metadata signature verified

    Evidência de assinatura

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable