Radius и pptp

Установка, настройка, поддержка
Ответить
maza
Сообщения: 1
Зарегистрирован: Ср сен 27, 2006 5:37 am

Radius и pptp

Сообщение maza »

Доброго времени суток.

Проблема следующая.

PPTP назначает remoute-ip по собственному желанию. Но судя по логам Radius правильно передает FRAMED-IP-ADRRESS из базы Abills'а.

Бьюсь не первый день.

Предоставляю логи и конфиги.

rad_recv: Access-Request packet from host 127.0.0.1:32771, id=106, length=136
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "realmaza"
MS-CHAP-Challenge = 0xe6f5b945f49a69536619b97535b5d656
MS-CHAP2-Response = 0xc98d5a26ad9bfc712c1fea3420c5f523d187000000f4fff6b79df9f412d434a7f1065b9648a1356c7db430e3fba596f91c37
NAS-IP-Address = 192.168.1.254
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
radius_xlat: '/usr/abills/libexec/rauth.pl pre_auth'
Exec-Program: /usr/abills/libexec/rauth.pl pre_auth
Exec-Program output: User-Password == "**************"
Exec-Program-Wait: value-pairs: User-Password == "**********"
Exec-Program: returned: 0
.........
radius_xlat: '/usr/abills/libexec/rauth.pl'
Exec-Program: /usr/abills/libexec/rauth.pl
Exec-Program output: Session-Timeout = 16164, MS-MPPE-Encryption-Types = 0x00000006, Session-Octets-Limit = 541065216, PPPD-Downstream-Speed-Limit = 128, MS-CHAP2-SUCCESS = 0xc9533d36413841463743363841463630354336394136333343313141304443364333433138363637363638, MS-MPPE-Encryption-Policy = 0x00000001, Acct-Interim-Interval = 60, PPPD-Upstream-Speed-Limit = 128, Octets-Direction = 1, Framed-IP-Address = 192.168.1.132, Framed-IP-Netmask = 255.255.255.255,
Exec-Program-Wait: plaintext: Session-Timeout = 16164, MS-MPPE-Encryption-Types = 0x00000006, Session-Octets-Limit = 541065216, PPPD-Downstream-Speed-Limit = 128, MS-CHAP2-SUCCESS = 0xc9533d36413841463743363841463630354336394136333343313141304443364333433138363637363638, MS-MPPE-Encryption-Policy = 0x00000001, Acct-Interim-Interval = 60, PPPD-Upstream-Speed-Limit = 128, OctetOctets-Direction = 1, Framed-IP-Address = 192.168.1.132, Framed-IP-Netmask = 255.255.255.255,
Exec-Program: returned: 0
Sending Access-Accept of id 106 to 127.0.0.1 port 32771
MS-CHAP2-Success = 0xc9533d36413841463743363841463630354336394136333343313141304443364333433138363637363638
MS-MPPE-Recv-Key = 0xb8dd47b507637b2f045e8c81b3832187
MS-MPPE-Send-Key = 0xfc31851f8dfaf7e0fdb65585f0876946
MS-MPPE-Encryption-Policy = 0x00000001
MS-MPPE-Encryption-Types = 0x00000006
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:32771, id=107, length=100
Acct-Session-Id = "451B099C5E1A00"
User-Name = "realmaza"
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 = 192.168.1.254
NAS-Port = 0
Acct-Delay-Time = 0
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 1
modcall[preacct]: module "preprocess" returns noop for request 1
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 192.168.1.254,Acct-Session-Id = "451B099C5E1A00",User-Name = "realmaza"'
rlm_acct_unique: Acct-Unique-Session-ID = "04a94407269e92d1".
modcall: entering group accounting for request 1
radius_xlat: '/var/log/radius/radacct/127.0.0.1/detail-20060928'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/radius/radacct/127.0.0.1/detail-20060928
radius_xlat: '/usr/abills/libexec/racct.pl'
Exec-Program: /usr/abills/libexec/racct.pl
Sending Accounting-Response of id 107 to 127.0.0.1 port 32771
Finished request 1

pptp.conf

ppp /usr/sbin/pppd

option /etc/ppp/options.pptpd

debug

noipparam

logwtmp

bcrelay eth0

#localip 192.168.1.253
#remoteip 192.168.1.234-238,192.168.1.245

axl
Сообщения: 54
Зарегистрирован: Ср май 24, 2006 8:17 am
Откуда: Stakhanov
Контактная информация:

Сообщение axl »

скорее всего у тебя не прописаны некоторые атрибуты в словарях, читай http://abills.asmodeus.com.ua/wiki/doku ... radattr:ru
linux + abills_0.33 + pppd + pptpd

Ответить