hi ,
try to exchange sequece ?
if (Calling-Station-Id == %{sql: SELECT mac FROM `lrc_banlist` WHERE
mac='%{Calling-Station-Id}'}) {
update reply{
Reply-Message := Hello Hello Hello
}
reject
}
-
List
Yes that helped =)
Thank you!
2009/12/27 zhongwei feng feng...@gmail.com
hi ,
try to exchange sequece ?
if (Calling-Station-Id == %{sql: SELECT mac FROM `lrc_banlist` WHERE
mac='%{Calling-Station-Id}'}) {
update reply{
Reply-Message := Hello
Ok I still having trouble with this. Here is my code:
if (Calling-Station-Id == %{sql: SELECT mac FROM `lrc_banlist` WHERE
mac='%{Calling-Station-Id}'}) {
reject
update reply {
On 26/12/2009 08:05, Alex M wrote:
Ok I still having trouble with this. Here is my code:
if (Calling-Station-Id == %{sql: SELECT mac FROM `lrc_banlist`
WHERE mac='%{Calling-Station-Id}'}) {
As suggested I just tried to replace operator = with := and even with ==
but reply message is not getting outputted :(
Maybe I'm missing something?
if (Calling-Station-Id == %{sql: SELECT mac FROM `lrc_banlist` WHERE
mac='%{Calling-Station-Id}'}) {
reject
update reply{
On 26/12/2009 10:11, Alex M wrote:
As suggested I just tried to replace operator = with := and even with
== but reply message is not getting outputted :(
Maybe I'm missing something?
Try moving the reject to after the update stanza. I think a return code
of reject stops the server processing
that worked well!
thank you
I guess once reject is sent there is no further processing of the code.
On Sat, Dec 26, 2009 at 1:16 PM, Arran Cudbard-Bell
a.cudbard-b...@sussex.ac.uk wrote:
On 26/12/2009 10:11, Alex M wrote:
As suggested I just tried to replace operator = with := and even
On 26/12/2009 11:23, Alex M wrote:
that worked well!
Good :)
thank you
I guess once reject is sent there is no further processing of the code.
Yeah similar behaviour to handled. It's why you have to override the
return codes of modules if you want to do additional processing after a
reject.
I need to ask again for help.
So I added this code to Autorize section of Default config file it
blocks banned users well! But I need to tell them why they got banned so I
tried diferent ways to add Reply-Message in the logic
Nothing helped me so far...
So maybe some one can tell me how to
I need to ask again for help.
So I added this code to Autorize section of Default config file it
blocks banned users well! But I need to tell them why they got banned so I
tried diferent ways to add Reply-Message in the logic
Nothing helped me so far...
So maybe some one can tell me how
o no wonder all my trys didnt work =)
Thanks a lot!
On Fri, Dec 25, 2009 at 7:10 PM, t...@kalik.net wrote:
I need to ask again for help.
So I added this code to Autorize section of Default config file it
blocks banned users well! But I need to tell them why they got banned so
I
Alex M wrote:
Well i guess i'm back to my problem :(
I tried group thing and i'm getting som strange un-constant results :(
Can some one tell me how the logic works for groupcheck?
Why? You were given a simple solution. I suggest trying that.
Trying to figure out how to get groups to do
ok fair enough =) will go dig config file...
How can I send the reason for rejection? Just add reply command somewhere
along the lines? Can I link reply message to the reply message associated
with reply in groups?
Tnx again!
On Wed, Dec 16, 2009 at 3:25 AM, Alan DeKok
wow... i managed to make it work w/ groups but i like your way better =)
Thank you!
On Tue, Dec 15, 2009 at 2:36 AM, Alan DeKok al...@deployingradius.comwrote:
Alex M wrote:
Hey all, i'm coming back here w/ my old question of how to reject users
based on their MAC address... but now im
Well i guess i'm back to my problem :(
I tried group thing and i'm getting som strange un-constant results :(
Can some one tell me how the logic works for groupcheck?
If I have Calling-Station-Id and reply reject spesified for the same user
what should happen? what if i have 100 MAC addressed
Hey all, i'm coming back here w/ my old question of how to reject users
based on their MAC address... but now im running FR 2.x.x
So, we have trial access for free, and some people figured that they can
re-register new accounts for trial all over again and have fun this way.
Well thats not fun
Alex M wrote:
Hey all, i'm coming back here w/ my old question of how to reject users
based on their MAC address... but now im running FR 2.x.x
So, we have trial access for free, and some people figured that they can
re-register new accounts for trial all over again and have fun this way.
17 matches
Mail list logo