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
package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Mar 10, 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
¶
View Source
const (
BeginPortRange = 49153
EndPortRange = 65535
)
View Source
var (
ErrPortAlreadyAllocated = errors.New("port has already been allocated")
ErrPortExceedsRange = errors.New("port exceeds upper range")
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.