From: Angel C. <mot...@gm...> - 2011-10-30 20:48:30
|
Hi Tomek, This feature is added in SVN and GIT version as i said in my previous email, not in 3.2.12 Cheers, - Angel On 30 October 2011 21:39, Tomek Suchecki <cza...@gm...> wrote: > my motion is: motion Version 3.2.12, Copyright 2000-2005 Jeroen > Vreeken/Folkert van Heusden/Kenneth Lavrsen, installed from sources > http://sourceforge.net/projects/motion/files/motion%20-%203.2/motion-3.2.12.tar.gz > > my motion.conf is in attachement > > > my streaming is not protected, i`m not asked about password > > > > > 2011/10/30 Angel Carpintero <mot...@gm...> > >> Tomek, >> >> "it not works" or "it now works" ? >> >> If it doesn't work , please try to describe how is your setup and >> motion.conf ... i've tested >> >> and worked like a charm. >> >> Cheers, >> >> - Angel >> >> >> On 30 October 2011 20:34, Tomek Suchecki <cza...@gm...> wrote: >> >>> I`ve newest motion from sources compiled in debian, and it not works... >>> >>> >>> 2011/10/30 Grant <ema...@gm...> >>> >>>> > Hi guys , >>>> > >>>> > SVN and GIT version of motion has stream authorization feature. >>>> > >>>> > new params to setup this in motion.conf are : >>>> > >>>> > # Set the authentication method (default: 0) >>>> > # 0 = disabled >>>> > # 1 = Basic authentication >>>> > # 2 = MD5 digest (the safer authentication) >>>> > stream_auth_method 1 >>>> > >>>> > # Authentication for the stream. Syntax username:password >>>> > # Default: not defined (Disabled) >>>> > stream_authentication username:password >>>> >>>> Thank you for adding this feature. This will be great. >>>> >>>> - Grant >>>> >>>> >>>> > Cheers, >>>> > >>>> > - Angel >>>> > >>>> > On 28 October 2011 09:23, Tomek Suchecki <cza...@gm...> >>>> wrote: >>>> >> >>>> >> It`s not problem with password, it`s problem with proxy. My >>>> experiments >>>> >> with reverse proxy in lighttpd and motion on localhost 8081 shows >>>> it`s >>>> >> impossible. Streaming its either too fast (1 frame/sec) or there are >>>> >> problems with motion and lighttpd uids. >>>> >> I don`t know. >>>> >> >>>> >> 2011/10/27 Harlan Daneker <hda...@gm...> >>>> >>> >>>> >>> I'm not sure what this thread is about exactly, but here is how I >>>> >>> password protect my video output. >>>> >>> >>>> >>> http://httpd.apache.org/docs/2.0/howto/auth.html >>>> >>> >>>> >>> On Thu, Oct 27, 2011 at 10:11 AM, Fritiof Hedman <fr...@he... >>>> > >>>> >>> wrote: >>>> >>>> >>>> >>>> Please read the messages you get carefully. Lars states that he >>>> uses >>>> >>>> Apache, NOT Lighttpd. And yes, these configfiles should work after >>>> >>>> setting up users in Apache. >>>> >>>> le >>>> >>>> And once more, this is a list about Motion. Not Lighttpd. Not >>>> Apache. >>>> >>>> Motion. >>>> >>>> >>>> >>>> /Fritiof >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On 27 October 2011 16:04, Tomek Suchecki <cza...@gm...> >>>> >>>> wrote: >>>> >>>> > Have You tried your configs? I`ve made config for lighttpd same >>>> as >>>> >>>> > yours and >>>> >>>> > proxy doesn`t work. Why? Lighttpd couldnt read motion streaming >>>> (the >>>> >>>> > same >>>> >>>> > uid: www-data)? Too fast streaming (1frame /sec) for lighttpd >>>> proxy? >>>> >>>> > I don`t know. >>>> >>>> > >>>> >>>> > 2011/10/27 Lars Ohgren <mot...@fr...> >>>> >>>> >> >>>> >>>> >> As has already been stated. This is not a list for lighttpd >>>> maybe >>>> >>>> >> lighttp just can't do it? Who knows? (hint: the people at >>>> lighttp >>>> >>>> >> knows...) >>>> >>>> >> >>>> >>>> >> But I got curious and googled for 5 minutes and put two and two >>>> >>>> >> together! >>>> >>>> >> Basic authentication enforced reverse proxy for apache (yep, >>>> tested >>>> >>>> >> too!): >>>> >>>> >> >>>> >>>> >> <VirtualHost *:80> >>>> >>>> >> ServerName www.example.com >>>> >>>> >> ServerAlias example.com >>>> >>>> >> DocumentRoot /opt/http-root/ >>>> >>>> >> <IfModule itk.c> >>>> >>>> >> AssignUserID apache apache >>>> >>>> >> </IfModule> >>>> >>>> >> >>>> >>>> >> <Location /motion> #ww.example.com/motion >>>> >>>> >> AuthType Basic >>>> >>>> >> AuthUserFile >>>> /opt/not-http-root/passwords/motion.htpassword >>>> >>>> >> AuthName "Protected Motion" >>>> >>>> >> Require valid-user >>>> >>>> >> </Location> >>>> >>>> >> >>>> >>>> >> <Proxy *> >>>> >>>> >> Order deny,allow >>>> >>>> >> Allow from all >>>> >>>> >> </Proxy> >>>> >>>> >> >>>> >>>> >> ProxyPass /motion http://127.0.0.1:8081 >>>> >>>> >> ProxyPassReverse /motion http://127.0.0.1:8081 >>>> >>>> >> >>>> >>>> >> </VirtualHost> >>>> >>>> >> >>>> >>>> >> ----- >>>> >>>> >> But is complicated for others. They must open ssh forwarding >>>> (putty) >>>> >>>> >> and modify settings in firexox/ie. I think reverse proxy with >>>> auth >>>> >>>> >> in >>>> >>>> >> lighttpd is good idea. >>>> >>>> >> Question, why my lighttpd wasn`t able to read video streaming on >>>> >>>> >> localhost from motion? >>>> >>>> >>>> >> >> >> ------------------------------------------------------------------------------ >> Get your Android app more play: Bring it to the BlackBerry PlayBook >> in minutes. BlackBerry App World™ now supports Android™ Apps >> for the BlackBerry® PlayBook™. Discover just how easy and simple >> it is! http://p.sf.net/sfu/android-dev2dev >> >> _______________________________________________ >> Motion-user mailing list >> Mot...@li... >> https://lists.sourceforge.net/lists/listinfo/motion-user >> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome >> >> > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > |