cntlm with kerberos patch in a docker container
cntlm v0.92.3 source code and kerberos patch were both obtained from sourceforge.
some modification was made to Makefile to allow patch to be applied see commit ae4cb8d6
patch was applied using below command after the Makefile was modified.
git apply -p0 --ignore-whitespace --directory=cntlm-0.92.3 \
201211-cntlm-kerberos-authentication.patch
docker build -t cntlm-gss-docker:0.92.3 .
docker run -it -v ${PWD}/cntlm.conf:/etc/cntlm.conf -p 53128:3128 cntlm-gss-docker:0.92.3 -a ntlmv2
Note: specify
-a ntlmv2if you want to use NTLMv2 as a fallback procedure when Kerberos fails
Once the container is running, use http://localhost:53128 as your proxy on your host.
${PWD}/cntlm.confUsername username
Domain DOMAIN.EXAMPLE.ORG
Password
Proxy parent.proxy.example.org:8080
NoProxy localhost, 127.0.0.*, 10.*, 192.168.*
Listen 0.0.0.0:3128
Auth NTLMv2
PassNTLMv2 hashed-ntlm-passwrd
Content type
Image
Digest
Size
94.4 MB
Last updated
almost 7 years ago
docker pull manishka/cntlm-gss-docker