Re: Easy way to detect EAP

2007-06-27 Thread Phil Mayers
On Wed, 2007-06-27 at 09:58 +0100, Arran Cudbard-Bell wrote:
 Is there a more reliable method of detecting EAP then checking for the
 presence of an EAP-Message, I heard mention of an EAP-Type attribute...
 guessing this is set by the EAP module in authorize ?

EAP-Type is an internal server attribute added to the config/check
items. See dictionary.freeradius.internal

 
 Is this a control attribute ?
 

They're already called both config and check - let's not start
calling them control as well!

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Easy way to detect EAP

2007-06-27 Thread Arran Cudbard-Bell
Phil Mayers wrote:
 On Wed, 2007-06-27 at 09:58 +0100, Arran Cudbard-Bell wrote:
 Is there a more reliable method of detecting EAP then checking for the
 presence of an EAP-Message, I heard mention of an EAP-Type attribute...
 guessing this is set by the EAP module in authorize ?
 
 EAP-Type is an internal server attribute added to the config/check
 items. See dictionary.freeradius.internal
 
 Is this a control attribute ?

 
 They're already called both config and check - let's not start
 calling them control as well!
 

As of V2 they're now called control attributes in unlang :p

update control {

}
update request {

}
update reply {

}

Fun !
-- 
Arran Cudbard-Bell ([EMAIL PROTECTED])
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08
University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Easy way to detect EAP

2007-06-27 Thread Alan DeKok
Phil Mayers wrote:
 They're already called both config and check - let's not start
 calling them control as well!

  check was used because of the users file.  config was wrong,
because there's also the configuration files.

  In 2.x, the preferred name is control, and the docs  examples are
being updated to use that.

  Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Easy way to detect EAP

2007-06-27 Thread Alan DeKok
Arran Cudbard-Bell wrote:
 Is there a more reliable method of detecting EAP then checking for the
 presence of an EAP-Message, I heard mention of an EAP-Type attribute...
 guessing this is set by the EAP module in authorize ?

  EAP *is* detected by the presence of EAP-Message.

  Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Easy way to detect EAP

2007-06-27 Thread Phil Mayers
On Wed, 2007-06-27 at 13:00 +0200, Alan DeKok wrote:
 Phil Mayers wrote:
  They're already called both config and check - let's not start
  calling them control as well!
 
   check was used because of the users file.  config was wrong,
 because there's also the configuration files.
 
   In 2.x, the preferred name is control, and the docs  examples are
 being updated to use that.

Ok, as long as we pick one ;o)

Cheers,
Phil

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html