Содержание

MS-CHAP & MPPE

Radius

raddb/radiusd.conf
Нужно создать функции для преавторизации и поставторизации в секции «modules»

exec pre_auth { 
  wait = yes 
  program = "/usr/abills/libexec/rauth.pl pre_auth" 
  input_pairs = request 
  output_pairs = config 
}

exec post_auth {
  wait = yes
  program = "/usr/abills/libexec/rauth.pl post_auth"
  input_pairs = request
  output_pairs = config
}

В секции «authorize» внести pre_auth и раскомментировать mschap

authorize { 
  preprocess
  pre_auth 
  mschap 
  files 
} 

Для оповещения о неавторизированых пользователях. Внесите в секцию «post-auth».

post-auth {
  Post-Auth-Type REJECT {
     post_auth
   }
 }

RFC2548 - Microsoft Vendor-specific RADIUS Attributes
RFC3079 - Deriving Keys for use with Microsoft Point-to-Point Encryption (MPPE)