Abills+Debian+PPPoE неправильно считается трафик
-
- Сообщения: 98
- Зарегистрирован: Сб апр 12, 2008 7:18 am
- Откуда: Ставропольский край
- Контактная информация:
Вот что дает дебаг радиуса:
Код: Выделить всё
rad_recv: Access-Request packet from host 127.0.0.1:33649, id=185, length=138
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "chernobaev"
MS-CHAP-Challenge = 0x9841a181d9949505908f1796129ec6c2
MS-CHAP2-Response = 0x16005f87ead3af3a95a788d69dca84853cd50000000000000000c2162149348b720f157ea42a7757a7f119542b7f3fb040c2
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 14
modcall[authorize]: module "preprocess" returns ok for request 14
users: Matched entry DEFAULT at line 53
modcall[authorize]: module "files" returns ok for request 14
modcall: leaving group authorize (returns ok) for request 14
rad_check_password: Found Auth-Type Accept
rad_check_password: Auth-Type = Accept, accepting the user
radius_xlat: '/usr/abills/libexec/rauth.pl'
Exec-Program: /usr/abills/libexec/rauth.pl
Exec-Program output: Session-Timeout = 12529, MS-MPPE-Encryption-Types = 0x00000006, Session-Octets-Limit = 52428800, PPPD-Downstream-Speed-Limit = 0, MS-CHAP2-SUCCESS = 0x16533d35454634393335423241313832384630333946463432393332353130423935354536333145304443, MS-MPPE-Encryption-Policy = 0x00000001, Acct-Interim-Interval = 60, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 2, Framed-IP-Address = 172.30.1.227, Framed-IP-Netmask = 255.255.255.255,
Exec-Program-Wait: value-pairs: Session-Timeout = 12529, MS-MPPE-Encryption-Types = 0x00000006, Session-Octets-Limit = 52428800, PPPD-Downstream-Speed-Limit = 0, MS-CHAP2-SUCCESS = 0x16533d35454634393335423241313832384630333946463432393332353130423935354536333145304443, MS-MPPE-Encryption-Policy = 0x00000001, Acct-Interim-Interval = 60, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 2, Framed-IP-Address = 172.30.1.227, Framed-IP-Netmask = 255.255.255.255,
Exec-Program: returned: 0
Sending Access-Accept of id 185 to 127.0.0.1 port 33649
Session-Timeout = 12529
MS-MPPE-Encryption-Types = 0x00000006
Session-Octets-Limit = 52428800
PPPD-Downstream-Speed-Limit = Send-Auth-None
MS-CHAP2-Success = 0x16533d35454634393335423241313832384630333946463432393332353130423935354536333145304443
MS-MPPE-Encryption-Policy = 0x00000001
Acct-Interim-Interval = 60
PPPD-Upstream-Speed-Limit = Bridge-No
Octets-Direction = 2
Framed-IP-Address = 172.30.1.227
Framed-IP-Netmask = 255.255.255.255
Finished request 14
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:33649, id=186, length=102
Acct-Session-Id = "49132967075F00"
User-Name = "chernobaev"
Acct-Status-Type = Start
Service-Type = Framed-User
Framed-Protocol = PPP
Acct-Authentic = RADIUS
NAS-Port-Type = Virtual
Framed-IP-Address = 172.30.1.227
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Acct-Delay-Time = 1
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 15
modcall[preacct]: module "preprocess" returns noop for request 15
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 127.0.0.1,Acct-Session-Id = "49132967075F00",User-Name = "chernobaev"'
rlm_acct_unique: Acct-Unique-Session-ID = "90a6aa2c4840becc".
modcall[preacct]: module "acct_unique" returns ok for request 15
rlm_realm: No '@' in User-Name = "chernobaev", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "suffix" returns noop for request 15
acct_users: Matched entry DEFAULT at line 17
modcall[preacct]: module "files" returns ok for request 15
modcall: leaving group preacct (returns ok) for request 15
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 15
radius_xlat: '/var/log/freeradius/radacct/127.0.0.1/detail-20081106'
rlm_detail: /var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/detail-20081106
modcall[accounting]: module "detail" returns ok for request 15
modcall[accounting]: module "unix" returns ok for request 15
radius_xlat: '/var/log/freeradius/radutmp'
radius_xlat: 'chernobaev'
modcall[accounting]: module "radutmp" returns ok for request 15
modcall: leaving group accounting (returns ok) for request 15
radius_xlat: '/usr/abills/libexec/racct.pl'
Exec-Program: /usr/abills/libexec/racct.pl
Exec-Program output:
Exec-Program: returned: 0
Sending Accounting-Response of id 186 to 127.0.0.1 port 33649
Finished request 15
Going to the next request
--- Walking the entire request list ---
Waking up in 5 seconds...