The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Abills+Freradius+PPTP"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Открытые системы на сервере (VPN)
Изначальное сообщение [ Отслеживать ]

"Abills+Freradius+PPTP"  +/
Сообщение от Азат email on 25-Июл-13, 15:55 
Не могу побороть аутентификацию.
При подключении выдает ошибку 619

Лог Freeradiusa
rad_recv: Access-Request packet from host 127.0.0.1 port 52605, id=203, length=61
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "test"
        Calling-Station-Id = "10.50.0.5"
        NAS-IP-Address = 192.168.64.232
        NAS-Port = 0
# Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+- entering group authorize {...}
++[preprocess] returns ok
Exec-Program output:
Exec-Program: returned: 0
++[abills_preauth] returns ok
++[mschap] returns noop
[files] users: Matched entry DEFAULT at line 38
++[files] returns ok
Exec-Program output:
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
  WARNING: Empty post-auth section.  Using default return values.
# Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
Sending Access-Accept of id 203 to 127.0.0.1 port 52605
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 127.0.0.1 port 33136, id=204, length=61
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "test"
        Calling-Station-Id = "10.50.0.5"
        NAS-IP-Address = 192.168.64.232
        NAS-Port = 0
# Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+- entering group authorize {...}
++[preprocess] returns ok
Exec-Program output:
Exec-Program: returned: 0
++[abills_preauth] returns ok
++[mschap] returns noop
[files] users: Matched entry DEFAULT at line 38
++[files] returns ok
Exec-Program output:
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
  WARNING: Empty post-auth section.  Using default return values.
# Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
Sending Access-Accept of id 204 to 127.0.0.1 port 33136
Finished request 1.
Going to the next request
Waking up in 0.5 seconds.
Cleaning up request 0 ID 203 with timestamp +3
Waking up in 4.4 seconds.
Cleaning up request 1 ID 204 with timestamp +7
Ready to process requests.

не могу побороть WARNING: Empty post-auth section.  Using default return values.
# Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default

Подскажите

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Abills+Freradius+PPTP"  +/
Сообщение от Азат email on 25-Июл-13, 16:02 
>[оверквотинг удален]
> Finished request 1.
> Going to the next request
> Waking up in 0.5 seconds.
> Cleaning up request 0 ID 203 with timestamp +3
> Waking up in 4.4 seconds.
> Cleaning up request 1 ID 204 with timestamp +7
> Ready to process requests.
> не могу побороть WARNING: Empty post-auth section.  Using default return values.
> # Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
> Подскажите

Конфиг abills_default
authorize {
preprocess
abills_preauth
mschap
files
abills_auth
}

preacct {
preprocess
abills_acc
}

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

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "Abills+Freradius+PPTP"  +/
Сообщение от AkeH ay3 email on 25-Июл-13, 20:28 
vi /usr/local/freeradius/etc/raddb/radiusd.conf
Это там есть?
#abills_preauth

exec abills_preauth {
program = "/usr/abills/libexec/rauth.pl pre_auth"
wait = yes
input_pairs = request
shell_escape = yes
#output = no
output_pairs = config
}
#abills_postauth
exec abills_postauth {
program = "/usr/abills/libexec/rauth.pl post_auth"
wait = yes
input_pairs = request
shell_escape = yes
#output = no
output_pairs = config
}

#abills_auth
exec abills_auth {
program = "/usr/abills/libexec/rauth.pl"
wait = yes
input_pairs = request
shell_escape = yes
output = no
output_pairs = reply
}

#abills_acc
exec abills_acc {
program = "/usr/abills/libexec/racct.pl"
wait = yes
input_pairs = request
shell_escape = yes
output = no
output_pairs = reply
}

Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру