Greg Woods wrote:
What happens when I run radtest is, the first time, it always produces an Access-Reject response, whether or not I provide the correct passcode. The second time I run radtest, it sends radiusd into an infinite loop. ... I ran radiusd under 'strace', and it shows that it is going into an infinite loop trying to write to the otpd socket, and getting a "Broken pipe" error. It will continue to do this, racking up CPU time, until I kill it.
I've committed a fix to CVS head. EPIPE means that the pipe is closed, and any further writes to it are impossible. The code *was* trying to write after EPIPE, which was likely wrong. It might still *not* work. But it should no longer hang.
Does anybody have OTP authentication working with freeradius 2.0.5? Could something in my configuration be causing this problem, or is it more likely a bug?
I don't use the OTP code, sorry. Alan DeKok.