Всё настроил, как написано вот тут:
http://abills.net.ua/wiki/doku.php?id=a ... l_linux:ru
В результате - все тоже самое. Не идет трафик! ((
./radiusd -X:
Код: Выделить всё
rad_recv: Access-Request packet from host 127.0.0.1 port 60900, id=158, length=84
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "test"
User-Password = "qweqwe"
Calling-Station-Id = "192.168.200.46"
NAS-IP-Address = 127.0.0.2
NAS-Port = 0
+- entering group authorize
++[preprocess] returns ok
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
++[suffix] returns noop
users: Matched entry DEFAULT at line 61
++[files] returns ok
rlm_pap: Found existing Auth-Type, not changing it.
++[pap] returns noop
rad_check_password: Found Auth-Type Accept
rad_check_password: Auth-Type = Accept, accepting the user
+- entering group post-auth
Exec-Program output: Acct-Interim-Interval = 60, Session-Timeout = 14399, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 0, Framed-IP-Address = 192.168.121.102, Session-Octets-Limit = 4194304, Framed-IP-Netmask = 255.255.255.255, PPPD-Downstream-Speed-Limit = 0,
Exec-Program-Wait: value-pairs: Acct-Interim-Interval = 60, Session-Timeout = 14399, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 0, Framed-IP-Address = 192.168.121.102, Session-Octets-Limit = 4194304, Framed-IP-Netmask = 255.255.255.255, PPPD-Downstream-Speed-Limit = 0,
Exec-Program: returned: 0
++[exec] returns noop
Sending Access-Accept of id 158 to 127.0.0.1 port 60900
Acct-Interim-Interval = 60
Session-Timeout = 14399
PPPD-Upstream-Speed-Limit = Bridge-No
Octets-Direction = Route-IP-No
Framed-IP-Address = 192.168.121.102
Session-Octets-Limit = 4194304
Framed-IP-Netmask = 255.255.255.255
PPPD-Downstream-Speed-Limit = Send-Auth-None
Finished request 10.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Accounting-Request packet from host 127.0.0.1 port 53995, id=159, length=112
Acct-Session-Id = "48A9A18B6E6400"
User-Name = "test"
Acct-Status-Type = Start
Service-Type = Framed-User
Framed-Protocol = PPP
Calling-Station-Id = "192.168.200.46"
Acct-Authentic = RADIUS
NAS-Port-Type = Async
Framed-IP-Address = 192.168.121.102
NAS-IP-Address = 127.0.0.2
NAS-Port = 0
Acct-Delay-Time = 0
+- entering group preacct
++[preprocess] returns ok
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 127.0.0.2,Acct-Session-Id = "48A9A18B6E6400",User-Name = "test"'
rlm_acct_unique: Acct-Unique-Session-ID = "03f6b94c33a2006d".
++[acct_unique] returns ok
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
++[suffix] returns noop
acct_users: Matched entry DEFAULT at line 25
++[files] returns ok
+- entering group accounting
expand: /soft/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d -> /soft/freeradius/var/log/radius/radacct/127.0.0.1/detail-20080818
rlm_detail: /soft/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /soft/freeradius/var/log/radius/radacct/127.0.0.1/detail-20080818
expand: %t -> Mon Aug 18 20:21:31 2008
++[detail] returns ok
++[unix] returns ok
expand: /soft/freeradius/var/log/radius/radutmp -> /soft/freeradius/var/log/radius/radutmp
expand: %{User-Name} -> test
++[radutmp] returns ok
expand: %{User-Name} -> test
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] returns updated
Sending Accounting-Response of id 159 to 127.0.0.1 port 53995
Finished request 11.
Cleaning up request 11 ID 159 with timestamp +438
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 10 ID 158 with timestamp +437
Ready to process requests.
rad_recv: Accounting-Request packet from host 127.0.0.1 port 46381, id=160, length=142
Acct-Session-Id = "48A9A18B6E6400"
User-Name = "test"
Acct-Status-Type = Interim-Update
Service-Type = Framed-User
Framed-Protocol = PPP
Acct-Authentic = RADIUS
Acct-Session-Time = 60
Acct-Output-Octets = 511010
Acct-Input-Octets = 66198
Acct-Output-Packets = 564
Acct-Input-Packets = 588
Calling-Station-Id = "192.168.200.46"
NAS-Port-Type = Async
Framed-IP-Address = 192.168.121.102
NAS-IP-Address = 127.0.0.2
NAS-Port = 0
Acct-Delay-Time = 0
+- entering group preacct
++[preprocess] returns ok
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 127.0.0.2,Acct-Session-Id = "48A9A18B6E6400",User-Name = "test"'
rlm_acct_unique: Acct-Unique-Session-ID = "03f6b94c33a2006d".
++[acct_unique] returns ok
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
++[suffix] returns noop
acct_users: Matched entry DEFAULT at line 28
++[files] returns ok
+- entering group accounting
expand: /soft/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d -> /soft/freeradius/var/log/radius/radacct/127.0.0.1/detail-20080818
rlm_detail: /soft/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /soft/freeradius/var/log/radius/radacct/127.0.0.1/detail-20080818
expand: %t -> Mon Aug 18 20:22:31 2008
++[detail] returns ok
++[unix] returns noop
expand: /soft/freeradius/var/log/radius/radutmp -> /soft/freeradius/var/log/radius/radutmp
expand: %{User-Name} -> test
++[radutmp] returns ok
expand: %{User-Name} -> test
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] returns updated
Sending Accounting-Response of id 160 to 127.0.0.1 port 46381
Finished request 12.
Cleaning up request 12 ID 160 with timestamp +498
Going to the next request
Ready to process requests.
rad_recv: Accounting-Request packet from host 127.0.0.1 port 45063, id=161, length=148
Acct-Session-Id = "48A9A18B6E6400"
User-Name = "test"
Acct-Status-Type = Stop
Service-Type = Framed-User
Framed-Protocol = PPP
Acct-Authentic = RADIUS
Acct-Session-Time = 108
Acct-Output-Octets = 1020516
Acct-Input-Octets = 120582
Acct-Output-Packets = 1081
Acct-Input-Packets = 1097
Calling-Station-Id = "192.168.200.46"
NAS-Port-Type = Async
Acct-Terminate-Cause = User-Request
Framed-IP-Address = 192.168.121.102
NAS-IP-Address = 127.0.0.2
NAS-Port = 0
Acct-Delay-Time = 0
+- entering group preacct
++[preprocess] returns ok
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 127.0.0.2,Acct-Session-Id = "48A9A18B6E6400",User-Name = "test"'
rlm_acct_unique: Acct-Unique-Session-ID = "03f6b94c33a2006d".
++[acct_unique] returns ok
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
++[suffix] returns noop
acct_users: Matched entry DEFAULT at line 31
++[files] returns ok
+- entering group accounting
expand: /soft/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d -> /soft/freeradius/var/log/radius/radacct/127.0.0.1/detail-20080818
rlm_detail: /soft/freeradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /soft/freeradius/var/log/radius/radacct/127.0.0.1/detail-20080818
expand: %t -> Mon Aug 18 20:23:19 2008
++[detail] returns ok
++[unix] returns ok
expand: /soft/freeradius/var/log/radius/radutmp -> /soft/freeradius/var/log/radius/radutmp
expand: %{User-Name} -> test
++[radutmp] returns ok
expand: %{User-Name} -> test
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] returns updated
Sending Accounting-Response of id 161 to 127.0.0.1 port 45063
Finished request 13.
Cleaning up request 13 ID 161 with timestamp +546
Going to the next request
Ready to process requests.