A lightweight automatically updated cntlm multiarch amd64 and arm64 Docker image.
10K+
A cntlm Docker image:
Renovate tracks the Alpine and cntlm versions and opens the merge requests,In order to generate your password hash (-H must be the first argument):
docker run --rm -it jfxs/alpine-cntlm -H -u <username> -d <domain> <proxy_host>:<proxy_port>
Enter your password (not displayed) and press enter.
PassLM 8B536635BF212BDF23E58C193159813A
PassNT CA739B6BCB33AEB40B377AA52DD37D94
PassNTLMv2 82C73BA04D05533DD9BD9B3930B41977 # Only for user ...
Get the PassNTLMv2 hash generated previously and run:
docker run -d --rm --name proxy -p 3128:3128 jfxs/alpine-cntlm \
-u <username> -p 82C73BA04D05533DD9BD9B3930B41977 -d <domain> <proxy_host>:<proxy_port>
If necessary, the corporate DNS servers can be set-up:
docker run -d --rm --name proxy --dns 10.x.y.z --dns 10.u.v.w -p 3128:3128 jfxs/alpine-cntlm ...
| Arg. / Opt. | Description | Default |
|---|---|---|
-u | Proxy account/user name. | Required |
-d | Proxy account domain/workgroup name. | Required |
-p | NTLMv2 Hash, required for running the proxy. | Required |
-H | Option to get NTLMv2 hash, must be the first argument. | - |
-w | Workstation NetBIOS name. | cntlm |
-g | Gateway mode, to desactivate: -g no | yes |
-l | Local port for the cntlm proxy service. | 3128 |
-N | Direct access networks, separated by commas. | localhost,127.0.0.*,10.*,192.168.* |
-v | Option for debugging information. | - |
-h | Print usage, must be the first argument. | - |
Docker latest tag is 0.92.3-r5-001, 0.92, 0.
The complete software bill of materials (SBOM) of each published image, with its known vulnerabilities,
is collected in the sbom-docker repository, under the
component alpine-cntlm.
Dockerhub Overview page has the details of the last published image.
Docker tag definition:
cntlm apk package version used (including the Alpine revision, e.g. 0.92.3-r5),<cntlm_version>-<increment>
Example: 0.92.3-r5-001
Cosign public key:
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEa3yV6+yd/l4zh/tfT6Tx+zn0dhy3
BhFqSad1norLeKSCN2MILv4fZ9GA6ODOlJOw+7vzUvzZVr9IXnxEdjoWJw==
-----END PUBLIC KEY-----
The public key is also available online: https://gitlab.com/op_so/docker/cosign-public-key/-/raw/main/cosign.pub.
To verify an image:
cosign verify --key cosign.pub $IMAGE_URI
To verify and get the SBOM attestation:
cosign verify-attestation --key cosign.pub --type spdxjson $IMAGE_URI | jq '.payload | @base64d | fromjson | .predicate'
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE for details.
Content type
Image
Digest
sha256:9053cec73…
Size
3.7 MB
Last updated
1 day ago
docker pull jfxs/alpine-cntlm