-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cntlm crashed in sparc solaris 11 #93
Comments
Hello @yfchua, can you elaborate better your use case? I guess the issue is "this only happen after there is change of proxy". This can be due to a race condition. Are you using a pac file? What is the sequence of operations that cause the fault? |
I run the cntlm. Cntlm connect to my company blue coat proxy. Sending PROXY auth request… NTLMv2: Bus error |
According to internet , bus error occur when a process is trying to access memory cpu cannot physically access. This only happens after the proxy was upgraded. |
So the issue happens after an upgrade of the remote proxy, while before this upgrade everything worked fine. It looks like something changed in the NTLM challenge phase. Can you test Cntlm on a windows or mac or linux machine? Just to check if the problem is related to Solaris. This scenario is very difficult to replicate, you could try and debugging it yourself. |
Hi |
Ok, then it is an issue of Sparc Solaris only. Maybe it is related to the cpu endianness. Is it big endian? What is the output of |
It is big endian |
Can you try this branch on my repo?
I guess the nonce is not correctly passed to the NTLM token in case of big endian. |
Hi |
Hello, unfortunately this dump is not helpful, it doesn't show where the program crashed. Just to understand, you said that cntlm worked until the remote proxy was upgraded. What was the change? which authentication method used the old proxy? The new proxy uses NTLMv2. This is probably a problem of uint32 alignment. Also, which compiler are you using? gcc, clang? Can you try again with this repo? |
when the cntlm is running in threading mode, and accessing the https website.
the cntlm will crash with memory fault.
when the cntlm is running in serial mode, and accessing the https website, it is running ok,
this only happen after there is change of proxy.
this is sparc solaris 11,
i run ./configure, gmake to make binary.
THank you
The text was updated successfully, but these errors were encountered: