[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: mpd-drop-user
From: "Charles" <charles () goma ! kivu-online ! com>
Date: 2009-11-30 10:12:25
Message-ID: 009001ca71a5$9eb75d00$6401a8c0 () mordekai
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi cktan,
Was looking for a similar solution and never made it work.
Basically, in my setup i have users buy airtime for using the internet. I also sell \
access to video clips, when user downloads the video clip, an entry is made in \
radacct table. What I wanted to is for the NAS to re-authenticate every minute to \
check if more entries were added to radacct table.
My solution was to us M0n0wall as my NAS, it has an option in the captive portal \
where you set it to re-authenticate every minute and to disconnect if user has no \
more credit left.
I hope this helps.
Charles
----- Original Message -----
From: cktan
To: FreeRadius users mailing list
Sent: Monday, November 30, 2009 11:51 AM
Subject: MPD : mpd-drop-user
Dear all,
Is anyone try this attribute mpd-drop-user in freeradius with Mysql? MPD support \
this attribute to check the status of account during it update the accounting and if \
the value for this attribute become non-zero, it will disconnect the session for the \
user.
We use MPD to setup a PPPoE server with freeradius to provide authentication to \
users and we have come across to drop the session if the user's account suspended but \
we have no luck to make it work. Currently we try to put this attribute in radreply \
table and it doesn't work for us. Looking for your kind information in this matter.
Thanks in advance.
________________________________________________________________ 5 free Domains \
with Select Hosting Plans. Get yours!
com net org info us name biz cc tv ws mobi
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
__________________________________________________
Buy a domain : http://www.1and1.com/?k_id=25085883
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Hi cktan,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Was looking for a similar solution and never made
it work.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Basically, in my setup i have users buy
airtime for using the internet. I also sell access to video clips, when user
downloads the video clip, an entry is made in </FONT></DIV>
<DIV><FONT size=2 face=Arial>radacct table. What I wanted to is for the NAS to
re-authenticate every minute to check if more entries were added to radacct
table.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>My solution was to us M0n0wall as my NAS, it has an
option in the captive portal where you set it to re-authenticate every minute
and to disconnect if user has no more </FONT></DIV>
<DIV><FONT size=2 face=Arial>credit left.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I hope this helps.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Charles</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; \
MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original \
Message ----- </DIV> <DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=cktan@ocesb.com.my href="mailto:cktan@ocesb.com.my">cktan</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">FreeRadius users mailing
list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 30, 2009 11:51
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> MPD : mpd-drop-user</DIV>
<DIV><BR></DIV>Dear all,<BR><BR>Is anyone try this attribute
<I><B>mpd-drop-user</B></I> in freeradius with Mysql? MPD support this
attribute to check the status of account during it update the accounting and
if the value for this attribute become non-zero, it will disconnect the
session for the user. <BR><BR>We use MPD to setup a PPPoE server with
freeradius to provide authentication to users and we have come across to drop
the session if the user's account suspended but we have no luck to make it
work. Currently we try to put this attribute in radreply table and it doesn't
work for us. Looking for your kind information in this matter. <BR><BR>Thanks
in advance.<BR><BR>
<P></P>
<P></P>________________________________________________________________
<DIV
style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; WIDTH: 468px; BORDER-TOP: 0px; \
BORDER-RIGHT: 0px; solid: "> <FORM method=get action=http://order.1and1.com/dcjump \
target=_blank> <P align=center>5 free Domains with Select Hosting Plans. Get \
yours!</P> <CENTER>
<TABLE border=0 width=320>
<TBODY>
<TR>
<TD class=form><INPUT value=25085883 type=hidden name=k_id> <INPUT
maxLength=500 name=domain> </TD>
<TD><SELECT style="WIDTH: 60px" name=tld> <OPTION selected
value=com>com</OPTION> <OPTION value=net>net</OPTION> <OPTION
value=org>org</OPTION> <OPTION value=info>info</OPTION> <OPTION
value=us>us</OPTION> <OPTION value=name>name</OPTION> <OPTION
value=biz>biz</OPTION> <OPTION value=cc>cc</OPTION> <OPTION
value=tv>tv</OPTION> <OPTION value=ws>ws</OPTION> <OPTION
value=mobi>mobi</OPTION></SELECT> </TD>
<TD> </TD>
<TD><INPUT value="Check Domain" type=submit name=Submit>
</TD></TR></TBODY></TABLE></CENTER></FORM></DIV><BR>-- <BR>This message has
been scanned for viruses and <BR>dangerous content by <A
href="http://www.mailscanner.info/"><B>MailScanner</B></A>, and is
<BR>believed to be clean.
<P>
<HR>
<P></P>-<BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html</BLOCKQUOTE><p></p><p></p>________________________________________________________________
<div style='border:0px; solid black; width:468px;'>
<form method='get' target='_blank' ACTION='http://order.1and1.com/dcjump'>
<p align='center'>5 free Domains with Select Hosting Plans. Get yours!</p>
<center> <table border='0' width='320'>
<tr>
<td class='form'>
<input name='k_id' value='25085883' type='hidden'/>
<input size='20' maxlength='500' name='domain' type='text'/>
</td>
<td>
<select style='width:60px' name='tld'>
<option value='com'>com</option>
<option value='net'>net</option>
<option value='org'>org</option>
<option value='info'>info</option>
<option value='us'>us</option>
<option value='name'>name</option>
<option value='biz'>biz</option>
<option value='cc'>cc</option>
<option value='tv'>tv</option>
<option value='ws'>ws</option>
<option value='mobi'>mobi</option>
</select>
</td>
<td>
</td>
<td>
<input type='submit' name='Submit' value='Check Domain'/>
</td>
</tr>
</table>
</center> </form>
</div>
</BODY></HTML>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic