Affected by GO-2022-0390
and 3 other vulnerabilities
GO-2022-0390 : Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914 : Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
GO-2024-3304 : Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3305 : Moby Race Condition vulnerability in github.com/moby/moby
Discover Packages
github.com/moby/moby
daemon
networkdriver
portallocator
package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: May 7, 2014
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
BeginPortRange = 49153
EndPortRange = 65535
)
View Source
var (
ErrAllPortsAllocated = errors .New ("all ports are allocated")
ErrPortAlreadyAllocated = errors .New ("port has already been allocated")
ErrUnknownProtocol = errors .New ("unknown protocol")
)
ReleasePort will return the provided port back into the
pool for reuse
RequestPort returns an available port if the port is 0
If the provided port is not 0 then it will be checked if
it is available for allocation
Source Files
¶
Click to show internal directories.
Click to hide internal directories.