Re: hints/acct_users matching of subnets

2007-08-31 Thread A . L . M . Buxey
Hi, > > > Ok, using regex matching fixed it. Thanks! > > > > you might also add those client IP addresses to a huntgroup > > and use the huntgroup name in your hints... > > Hm... thinking of it... is shortname from clients.conf available as an > attribute? Then you could treat all IP addresses e

Re: hints/acct_users matching of subnets

2007-08-31 Thread Stefan Winter
Hi, > > Ok, using regex matching fixed it. Thanks! > > you might also add those client IP addresses to a huntgroup > and use the huntgroup name in your hints... Hm... thinking of it... is shortname from clients.conf available as an attribute? Then you could treat all IP addresses equal by their

Re: hints/acct_users matching of subnets

2007-08-30 Thread A . L . M . Buxey
Hi, > Ok, using regex matching fixed it. Thanks! you might also add those client IP addresses to a huntgroup and use the huntgroup name in your hints... alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: hints/acct_users matching of subnets

2007-08-29 Thread Stefan Winter
> > DEFAULT Client-IP-Address == 158.64.14.224/28, Proxy-To-Realm := NULL > > Nope. There's no "ip/mask" data type. You've got to use a regular > expression to do the matching. Ok, using regex matching fixed it. Thanks! > Maybe this can be fixed in "unlang" in 2.0. IMHO that would be a goo

Re: hints/acct_users matching of subnets

2007-08-29 Thread Alan DeKok
Stefan Winter wrote: > I would like to set up a rule in 1.1.7 that matches a subnet of > Client-IP-Addresses. I did > > DEFAULT Client-IP-Address == 158.64.14.224/28, Proxy-To-Realm := NULL Nope. There's no "ip/mask" data type. You've got to use a regular expression to do the matching. Ma

hints/acct_users matching of subnets

2007-08-28 Thread Stefan Winter
Hi, I guess I just need a RTFM reminder here, but I failed to find something on first glance: I would like to set up a rule in 1.1.7 that matches a subnet of Client-IP-Addresses. I did DEFAULT Client-IP-Address == 158.64.14.224/28, Proxy-To-Realm := NULL in acct_users. I used to think it matc