абиллс 0.41, убунту 8.04. юзеры коннектятся через пптп, авторизуются. но: айпи из пула, а не из биллинга даются; скорость не режится и пр
в логах пптпд вижу:
по каким-то причинам не передаются от радиуссервера радиусклиенту необходимые атрибуты... эхх... сколько ж раз я уже в этом форуме произносил эту фразу
radiusd -X
Любой тупик - это тщательно замаскированный выход.
rad_recv: Accounting-Request packet from host 127.0.0.1:32883, id=34, length=111
Acct-Session-Id = "4B29E8823DB300"
User-Name = "olya"
Acct-Status-Type = Start
Service-Type = Framed-User
Framed-Protocol = PPP
Calling-Station-Id = "192.168.0.220"
Acct-Authentic = RADIUS
NAS-Port-Type = Async
Framed-IP-Address = 192.168.1.1
NAS-IP-Address = 192.168.0.2
NAS-Port = 5
Acct-Delay-Time = 0
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 2
modcall[preacct]: module "preprocess" returns noop for request 2
rlm_acct_unique: Hashing 'NAS-Port = 5,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 192.168.0.2,Acct-Session-Id = "4B29E8823DB300",User-Name = "olya"'
rlm_acct_unique: Acct-Unique-Session-ID = "9c46d85dc642b5e1".
modcall[preacct]: module "acct_unique" returns ok for request 2
acct_users: Matched entry DEFAULT at line 1
modcall[preacct]: module "files" returns ok for request 2
modcall: leaving group preacct (returns ok) for request 2
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 2
radius_xlat: '/var/log/freeradius/radacct/127.0.0.1/detail-20091217'
rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/detail-20091217
modcall[accounting]: module "detail" returns ok for request 2
modcall: leaving group accounting (returns ok) for request 2
Sending Accounting-Response of id 34 to 127.0.0.1 port 32883
Finished request 2
Going to the next request
/usr/abills/libexec/ext_acct//README: 1: External: not found
/usr/abills/libexec/ext_acct//README: 3: exacct_program: not found
/usr/abills/libexec/ext_acct//README: 5: MUST: not found
/usr/abills/libexec/ext_acct//README: 6: example:: not found
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 1 ID 33 with timestamp 4b29e882
Cleaning up request 2 ID 34 with timestamp 4b29e882
Nothing to do. Sleeping until we see a request.
rad_recv: Accounting-Request packet from host 127.0.0.1:52220, id=103, length=111
Acct-Session-Id = "4B2A229B520B00"
User-Name = "olya"
Acct-Status-Type = Start
Service-Type = Framed-User
Framed-Protocol = PPP
Calling-Station-Id = "192.168.0.220"
Acct-Authentic = RADIUS
NAS-Port-Type = Async
Framed-IP-Address = 192.168.1.2
NAS-IP-Address = 192.168.0.2
NAS-Port = 5
Acct-Delay-Time = 0
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 5
modcall[preacct]: module "preprocess" returns noop for request 5
rlm_acct_unique: Hashing 'NAS-Port = 5,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 192.168.0.2,Acct-Session-Id = "4B2A229B520B00",User-Name = "olya"'
rlm_acct_unique: Acct-Unique-Session-ID = "561c47bdd47dc69a".
modcall[preacct]: module "acct_unique" returns ok for request 5
modcall: leaving group preacct (returns ok) for request 5
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 5
radius_xlat: '/var/log/freeradius/radacct/127.0.0.1/detail-20091217'
rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/detail-20091217
modcall[accounting]: module "detail" returns ok for request 5
modcall: leaving group accounting (returns ok) for request 5
Sending Accounting-Response of id 103 to 127.0.0.1 port 52220
Finished request 5
Going to the next request
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 4 ID 102 with timestamp 4b2a229b
Cleaning up request 5 ID 103 with timestamp 4b2a229b
Nothing to do. Sleeping until we see a request.
Чем мои отличаются? При том, что я юзаю ПАП и ЧАП, и все на одном серваке настроено.
Можете дать скрин минимальной настройки наса в абиллсе для пптпд? может тут где ошибка...
Поставил с нуля сервак на убунте 8.04, сделал все по инструкции: то же - файлы пустые. какой то затык с этим радиусом.
вот что показывает фрирадиус -Х на новом серваке под виртуалкой
rad_recv: Access-Request packet from host 127.0.0.1:39808, id=172, length=89
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "test"
CHAP-Challenge = 0xbc092968172f3a0e0bf8135f7e36545b1987
CHAP-Password = 0x4649b850d3115fd808e2bbf99291777001
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
Exec-Program output: Auth-Type := Accept
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
modcall[authorize]: module "pre_auth" returns ok for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type Accept
rad_check_password: Auth-Type = Accept, accepting the user
Login OK: [test] (from client localhost port 0)
Sending Access-Accept of id 172 to 127.0.0.1 port 39808
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Accounting-Request packet from host 127.0.0.1:48470, id=173, length=96
Acct-Session-Id = "4B31ED3711B300"
User-Name = "test"
Acct-Status-Type = Start
Service-Type = Framed-User
Framed-Protocol = PPP
Acct-Authentic = RADIUS
NAS-Port-Type = Async
Framed-IP-Address = 192.168.1.1
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Acct-Delay-Time = 0
Finished request 1
Going to the next request
--- Walking the entire request list ---
Waking up in 5 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 172 with timestamp 4b31ed36
Waking up in 1 seconds...
--- Walking the entire request list ---
Cleaning up request 1 ID 173 with timestamp 4b31ed37
Nothing to do. Sleeping until we see a request.