A lightweight automatically updated cntlm multiarch amd64 and arm64 Docker image.
10K+
A cntlm Docker image:
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 3.24.1-001, 3.24, 3 and contains:
| Name | Version | Type |
|---|---|---|
| cntlm | 0.92.3-r5 | apk |
Details are updated on Dockerhub Overview page when an image is published.
The Docker tag is defined by the alpine version used and an increment to differentiate build with the same alpine version:
<alpine_version>-<increment>
Example: 3.16.3-1
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:3e8d896b2…
Size
3.7 MB
Last updated
3 months ago
docker pull jfxs/alpine-cntlm