No streaming when authentication enabled....

Support and queries relating to all previous versions of ZoneMinder
Locked
btrotter
Posts: 57
Joined: Tue Jan 15, 2008 3:31 pm

No streaming when authentication enabled....

Post by btrotter »

I am running 1.22.3 on Ubuntu 7.10.

I have read through the archives and saw that when authentication is enabled, streaming stops working. Turn it on, it stops working, turn it off, it works.
I saw that this is because of the libssl-dev package missing.

I went back into Ubuntu and ran "apt-get install libssl-dev" and let it install. With that package installed, it still does not work. I read a thread where someone asked if zm had to be recompiled, and someone said yes.

I am not sure how to recompile zm. Is it as simple as uninstalling zm and reinstalling it?

I am not a complete newbie, but I am close, so please pardon the basic question.

Thank you!
casall
Posts: 20
Joined: Sun Jan 14, 2007 11:18 pm

Post by casall »

I have exactly the same problem, the only difference is that I am running Mandriva 2008 with Zoneminder 1.23. If I turn authentication on, I don't get any stream, if I turn it off, I get fine stream.
btrotter
Posts: 57
Joined: Tue Jan 15, 2008 3:31 pm

Post by btrotter »

casall wrote:I have exactly the same problem, the only difference is that I am running Mandriva 2008 with Zoneminder 1.23. If I turn authentication on, I don't get any stream, if I turn it off, I get fine stream.
I found a thread on it which says that installing the libssl-dev package fixes the problem, but that doesnt work for me. I saw another thread that said the zoneminder package had to be recompiled, but I dont know how to do this to test it. I dont know if "recompiling" simply means reinstalling.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

Reading a little more would have told you the fix for the debian package. Set it to plain, and restart ZM. Close and restart your browser.
btrotter
Posts: 57
Joined: Tue Jan 15, 2008 3:31 pm

Post by btrotter »

Lee Sharp wrote:Reading a little more would have told you the fix for the debian package. Set it to plain, and restart ZM. Close and restart your browser.
I do remember seeing something about that, but thought it was a compromised work-around which included sending passwords in "clear text".

I will go back and read again.
Thank you.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

It is. It does. It is being worked on. The problem is ssl, and how it is not totally gnu blessed... They are moving the code to a gnu blessed encryption, but it is not totally right yet.
btrotter
Posts: 57
Joined: Tue Jan 15, 2008 3:31 pm

Post by btrotter »

Lee Sharp wrote:It is. It does. It is being worked on. The problem is ssl, and how it is not totally gnu blessed... They are moving the code to a gnu blessed encryption, but it is not totally right yet.
Does the hash authentication work under any of the distros? I have ZM running on an Ubuntu installation, and this workstation does nothing but ZM. If it works correctly under a different Linux distro, I may just load that onto the workstation until Ubuntu/Debian gets fixed.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

If you compile it by hand, it works fine. You will need to have all the dependencies met first. A future version will work as well. I believe some of the Cordel's packages have it fixed as well, but I like Debian based systems, so I do not know...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Any package upto 1.22.3 works fine on any redhat based distros (Fedora, Mandriva, CentOS). Some changes were made in ZM 1.23.x to use gnutls in place of openssl which was requested by the Debian Packager Peter.
Locked