Re: URL authentication

2006-08-03 Thread Joe Warren-Meeks
Anyone got any ideas on this? I'm a little stuck as to where to start.. -- joe. On 1 Aug 2006, at 13:42, Joe Warren-Meeks wrote: Oops, should point out that I'm currently using the following line to get the URL into the access-request: echo User-Name = joe, Password = testing,

Re: URL authentication

2006-08-03 Thread Phil Mayers
Joe Warren-Meeks wrote: Anyone got any ideas on this? I'm a little stuck as to where to start.. I don't know how you'd do it with a database, but with the users file, it'd be something like: username incoming-req-uri != http://foo.com/bar;, Auth-Type := Reject Reply-Message = You

Re: URL authentication

2006-08-03 Thread Thibault Le Meur
This puts it into the access-request and the radius server sees it rad_recv: Access-Request packet from host 127.0.0.1:32770, id=106, length=79 User-Name = joe User-Password = testing incoming-req-uri = http://www.blibble.net/path_to; Processing the authorize

Re: URL authentication

2006-08-03 Thread Joe Warren-Meeks
On 3 Aug 2006, at 11:50, Phil Mayers wrote: Hey Phil, Basically, there are lots of ways of doing what you want to do. From what I remember about the SQL backend, it should just be a case of putting: insert into radchech (username,attribute,op,value) values ( 'username',

URL authentication

2006-08-01 Thread Joe Warren-Meeks
Hey guys, (Using freeradius-1.1.2 on Ubuntu Linux, with MySQL backend) I'm setting up an HTTP based download service and we are looking to authenticate users to download a specific object only. So, I'm looking for a way to authenticate based on username, password and url. Now, I can

Re: URL authentication

2006-08-01 Thread Joe Warren-Meeks
Oops, should point out that I'm currently using the following line to get the URL into the access-request: echo User-Name = joe, Password = testing, incoming-req-uri = http:// www.blibble.net/path_to | ./radclient 127.0.0.1 auth testing123 This puts it into the access-request and the