Le 26/03/2013 15:05, Phil Mayers a écrit :
On 26/03/2013 13:52, Emmanuel BILLOT wrote:
authorize {
if (Called-Station-Id =~ /^.*:([-a-zA-Z]+)$/) {
update control {
Tmp-String-0 := "%{1}"
}
}
switch "%{Tmp-String-0}" {
That needs to be:
switch "%{control:Tmp-String-0
On Tue, Mar 26, 2013 at 02:52:48PM +0100, Emmanuel BILLOT wrote:
> Thanks it seems to be ok. Proxy should resent request to virtual
> server so it should work.
> But now i have
>
> authorize {
> if (Called-Station-Id =~ /^.*:([-a-zA-Z]+)$/) {
> update control {
use instead:
update request {
On 26/03/2013 13:52, Emmanuel BILLOT wrote:
authorize {
if (Called-Station-Id =~ /^.*:([-a-zA-Z]+)$/) {
update control {
Tmp-String-0 := "%{1}"
}
}
switch "%{Tmp-String-0}" {
That needs to be:
switch "%{control:Tmp-String-0}" {
-
List info/subscribe/unsubscribe? Se
On Tue, Mar 26, 2013 at 02:24:21PM +0100, Emmanuel BILLOT wrote:
> # Executing section authorize from file /etc/raddb/sites-enabled/default
> +- entering group authorize {...}
> ++? if (Called-Station-Id =~ /^.*:(.*)$/)
> ? Evaluating (Called-Station-Id =~ /^.*:(.*)$/) -> TRUE
> ++? if (Called-Stat
Le 26/03/2013 14:45, Matthew Newton a écrit :
On Tue, Mar 26, 2013 at 02:20:40PM +0100, Emmanuel BILLOT wrote:
How about hyphen SSID ? ex : WIFI-TEST
I failed in writing regex for it...
if (Calling-Station-Id =~ /^.*:([a-zA-Z-]+)$/) {
Matthew
Thanks it seems to be ok. Proxy should resent
On Tue, Mar 26, 2013 at 02:20:40PM +0100, Emmanuel BILLOT wrote:
> How about hyphen SSID ? ex : WIFI-TEST
> I failed in writing regex for it...
if (Calling-Station-Id =~ /^.*:([a-zA-Z-]+)$/) {
Matthew
--
Matthew Newton, Ph.D.
Systems Specialist, Infrastructure Services,
I.T. Services, Univ
Set up proxy.conf with entries for the right ports, then you
should be able to do something like (example, untested):
authorize {
if (Calling-Station-Id =~ /^.*:([a-zA-Z]+)$/) {
update control {
Tmp-String-0 := %{1}
}
}
switch "%{Tmp-String-0}" {
case 'TEST' {
Set up proxy.conf with entries for the right ports, then you
should be able to do something like (example, untested):
authorize {
if (Calling-Station-Id =~ /^.*:([a-zA-Z]+)$/) {
update control {
Tmp-String-0 := %{1}
}
}
switch "%{Tmp-String-0}" {
case 'TEST'
On Tue, Mar 26, 2013 at 10:53:36AM +0100, Emmanuel BILLOT wrote:
> Considering request show lines like
> Called-Station-Id = "C0-8A-DE-3D-B4-09:TEST"
> or
> Called-Station-Id = "C0-8A-DE-3D-B4-09:WIFI"
>
> where TEST and WIFI are the SSID concerned.
>
> How can we route request to different ports
Hi,
We have a Freeradius server configured with 3 instances, each using
particular authorize, authenticate and accounting section.
Each server listen on a particular port.
Each server is used by a WLAN on access point.
Our problem is that many "basic" access point can only declare one
radius
10 matches
Mail list logo