Re: [Freevo-users] time data did not match format

2007-01-01 Thread Elizabeth Dodd
On Monday 01 January 2007 6:48 pm, Steve Lane wrote: Hi All I have freevo set up properly and can watch tv, record manually etc ok, but cannot use xmltv program data to record from the program guide. I can't even see a program guide. When I go into TV guide, each channel shows that there is

Re: [Freevo-users] time data did not match format

2007-01-01 Thread Steve Lane
Hi Elizabeth I'm using the python version On Mon, 2007-01-01 at 19:11 +1100, Elizabeth Dodd wrote: On Monday 01 January 2007 6:48 pm, Steve Lane wrote: Hi All I have freevo set up properly and can watch tv, record manually etc ok, but cannot use xmltv program data to record from the

Re: [Freevo-users] time data did not match format

2007-01-01 Thread Elizabeth Dodd
On Monday 01 January 2007 7:46 pm, Steve Lane wrote: Hi Elizabeth I'm using the python version I didn't get that problem solved, tried some fiddles and then went back to the perl one. The perl one just installs on debian, but I couldn't get all the modules sorted out on gentoo (which was one

Re: [Freevo-users] time data did not match format

2007-01-01 Thread Steve Lane
Thanks Elizabeth I'm definitely no guru, so I think for the time being I'll just have to stick to the manual programming, not that that's too much of an issue! Thanks for your help On Mon, 2007-01-01 at 20:06 +1100, Elizabeth Dodd wrote: On Monday 01 January 2007 7:46 pm, Steve Lane wrote: Hi

Re: [Freevo-users] time data did not match format

2007-01-01 Thread Elizabeth Dodd
On Monday 01 January 2007 8:26 pm, Steve Lane wrote: Thanks Elizabeth I'm definitely no guru, so I think for the time being I'll just have to stick to the manual programming, not that that's too much of an issue! Thanks for your help I have teenage males on my payroll and I expect coding jobs

Re: [Freevo-users] FreevoLive!

2007-01-01 Thread Michel Hoogervorst
You must be able to install it simply by typing urpmi xawtv, but I will make sure to have it preinstalled by the next version :-) I don't know about the cx-8800 card, do you know if there is a Mandriva rpm package for this driver? This Live CD is a simple remaster of MCNLive Cherbourg (see

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Jason Tackaberry
On Mon, 2007-01-01 at 07:43 -0800, Ryan Roth wrote: I can change it if that is what people want. I personally like not having blatant visible usernames or passwords in plain text files. The model from the beginning of time has always been that usernames are not secret. I think changing that

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Ryan Roth
IF the salt if stored with the password then there is no reason to really use it right? Jason Tackaberry wrote: On Mon, 2007-01-01 at 08:04 -0800, Ryan Roth wrote: So would you like it changed? I would, yes. :)

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Jason Tackaberry
On Mon, 2007-01-01 at 08:11 -0800, Ryan Roth wrote: IF the salt if stored with the password then there is no reason to really use it right? No, the salt increases the difficulty of dictionary-based attacks considerably.

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Ryan Roth
Index: src/www/web_types.py === --- src/www/web_types.py (revision 8885) +++ src/www/web_types.py (working copy) @@ -1,4 +1,4 @@ -# -*- coding: iso-8859-1 -*- +# /bin/bash: indent: command not found #

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Ryan Roth
Can you apply that for me, I cant write to SVN Jason Tackaberry wrote: On Mon, 2007-01-01 at 08:11 -0800, Ryan Roth wrote: IF the salt if stored with the password then there is no reason to really use it right? No, the salt increases the difficulty of dictionary-based attacks

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Ryan Roth
Here is a more polite way of sending the patch, sorry Index: src/helpers/passwd.py === --- src/helpers/passwd.py (revision 8885) +++ src/helpers/passwd.py (working copy) @@ -28,11 +28,11 @@ # #

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Jason Tackaberry
On Mon, 2007-01-01 at 08:36 -0800, Ryan Roth wrote: Here is a more polite way of sending the patch, sorry No problem. However the patch does need some work: +password = crypt(password, '$1$'+ 'saltedflavor') You're using a fixed salt, which rather defeats the purpose of a salt. You should

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Ryan Roth
I will redo it with crypt then. BTW it does work. It takes the stored password hash, then it hashes the supplied password and compares them. If the hashes are the same you have the same password. When I used the username for salt you could only get a direct match when both the stored

Re: [Freevo-users] wich distribution to use...

2007-01-01 Thread Jaap Struyk
Op za 23-12-2006, om 20:30 schreef Duncan Webb: Strange you should say this, I use lfs and cross-lfs (AMD) on my freevo machines :) Same overhere, got hlfs on my freevo/server and clfs-1.0 on me and my daughters workstation. (with paco as package management) If you use amd for freevo box, take

Re: [Freevo-users] time data did not match format

2007-01-01 Thread Duncan Webb
Elizabeth Dodd wrote: On Monday 01 January 2007 7:46 pm, Steve Lane wrote: Hi Elizabeth I'm using the python version I didn't get that problem solved, tried some fiddles and then went back to the perl one. There are two version of xmltv data 5 and 6, AFAIK freevo support only 5, in

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Jason Tackaberry
On Mon, 2007-01-01 at 08:56 -0800, Ryan Roth wrote: I will redo it with crypt then. BTW it does work. It takes the stored password hash, then it hashes the supplied password and compares them. The patch as submitted wouldn't work (because it had the crypt line that shouldn't have been there,

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Ryan Roth
This is the part I'm stuck on: So the password helper will: 1. Prompt for username and password 2. generate a salt of 8 random bytes (from the set [a–zA–Z0–9./]) gotten from /dev/urandom 3. Output username and crypt.crypt(password, $1$%s$ % salt) How do I get urandom to

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Morten Nilsen
Ryan Roth wrote: How do I get urandom to only do valid chars? with a loop.. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Jason Tackaberry
On Mon, 2007-01-01 at 09:23 -0800, Ryan Roth wrote: How do I get urandom to only do valid chars? You could read in 8 characters, and then coerce them to the range needed with modulo reduction. Something like: import string chars = string.letters + string.digits + '/.'

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Ryan Roth
Yeah I got it, thanks: while len(salt) 8: char = os.urandom(1) if re.match('[a-zA-Z0-9]', char) -1: salt = salt + char - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: [Freevo-users] Securing freevo webserver (was WWW Authentication in SVN version)

2007-01-01 Thread Jason Tackaberry
On Mon, 2007-01-01 at 13:15 -0500, Jason Tackaberry wrote: On Mon, 2007-01-01 at 10:01 -0800, Ryan Roth wrote: while len(salt) 8: char = os.urandom(1) if re.match('[a-zA-Z0-9]', char) -1: salt = salt + char This is fine. A bit hungrier than the code I suggested, but then