ABillS v0.5

gekz
Сообщения: 169
Зарегистрирован: Пн май 17, 2010 7:30 am

Re: ABillS v0.5

Сообщение gekz » Пн мар 07, 2011 4:17 am

при запуске шейпера

Код: Выделить всё

15:27#rke/usr/local/etc/rc.d#./shaper_start.sh start
Starting abills_shaper.
startng_car shapperTraffic: 2
09980 skipto 10120 ip from table(12) to table(2) in recv ng*
09985 skipto 10125 ip from table(2) to table(13) out xmit ng*
10120 netgraph tablearg ip from table(12) to any in recv ng*
10125 netgraph tablearg ip from any to table(13) out xmit ng*
10220 allow ip from table(9) to table(2) in recv ng*
10225 allow ip from table(2) to table(9) out xmit ng*
Traffic: 3
09970 skipto 10130 ip from table(14) to table(3) in recv ng*
09975 skipto 10135 ip from table(3) to table(15) out xmit ng*
10130 netgraph tablearg ip from table(14) to any in recv ng*
10135 netgraph tablearg ip from any to table(15) out xmit ng*
10230 allow ip from table(9) to table(3) in recv ng*
10235 allow ip from table(3) to table(9) out xmit ng*
Global shaper
10000 netgraph tablearg ip from table(10) to any in recv ng*
10010 netgraph tablearg ip from any to table(11) out xmit ng*
10020 allow ip from table(9) to any in recv ng*
10025 allow ip from any to table(9) out xmit ng*
NAT
ipfw nat 21 config ip 10.10.1.50 log
ipfw: setsockopt(IP_FW_TABLE_ADD): File exists
ipfw: setsockopt(IP_FW_TABLE_ADD): File exists
60010 nat tablearg ip from table(34) to any via em0
60020 nat tablearg ip from any to table(33) via em0
в секции нат чего то не понятное творится

gekz
Сообщения: 169
Зарегистрирован: Пн май 17, 2010 7:30 am

Re: ABillS v0.5

Сообщение gekz » Пн мар 07, 2011 4:45 am

простите разобрался :roll:

l30l3
Сообщения: 82
Зарегистрирован: Вт авг 28, 2007 8:57 am

Re: ABillS v0.5

Сообщение l30l3 » Пн мар 07, 2011 8:01 pm

В карренте ошибки в abills.sql. Во всяком случае для mysql-server-5.5.9

строка 136 `added` timestamp(14) NOT NULL,
изменил на `added` timestamp,
и
строка 1215 curdate(), ENCODE(ENCODE(md5(RAND())
изменил на curdate(), ENCODE(md5(RAND())

vmart
Сообщения: 12
Зарегистрирован: Ср апр 06, 2011 6:46 am

Re: ABillS v0.5

Сообщение vmart » Пт апр 08, 2011 11:35 am

После того как сегодня обновился перестал работать callback в диалап подключениях. Настройки NAS сервера не менялись.

~AsmodeuS~
Site Admin
Сообщения: 5707
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: ABillS v0.5

Сообщение ~AsmodeuS~ » Пт апр 08, 2011 1:40 pm

вывод радиуса покажите

arthur
Сообщения: 9
Зарегистрирован: Пн мар 07, 2011 6:22 am
Контактная информация:

Re: ABillS v0.5

Сообщение arthur » Пт апр 08, 2011 2:36 pm

~AsmodeuS~ писал(а):вывод радиуса покажите
Вот вывод радиуса:

Fri Apr 8 13:24:30 2011
Acct-Session-Id = "0000023D"
Framed-Protocol = PPP
Framed-IP-Address = 193.xxx.xxx.xxx
User-Name = "test"
Cisco-AVPair = "connect-progress=LAN Ses Up"
Acct-Authentic = RADIUS
Acct-Status-Type = Start
Calling-Station-Id = "xxx2679499"
Called-Station-Id = "444"
NAS-Port-Type = Async
Connect-Info = "49333/24000 V90/V44/LAPM"
Cisco-AVPair = "v92-info=V.92 QC MOH/QC Short Train Success/0/0"
Cisco-NAS-Port = "Async82"
NAS-Port = 82
Service-Type = Framed-User
NAS-IP-Address = 193.xxx.xxx.yyy
Acct-Delay-Time = 0
Timestamp = 1302258270
Request-Authenticator = Verified

Fri Apr 8 13:24:35 2011
Acct-Session-Id = "0000023D"
Framed-Protocol = PPP
Framed-IP-Address = 193.xxx.xxx.xxx
User-Name = "test"
Acct-Authentic = RADIUS
Cisco-AVPair = "connect-progress=LAN Ses Up"
Cisco-AVPair = "nas-tx-speed=42666"
Cisco-AVPair = "nas-rx-speed=24000"
Acct-Session-Time = 5
Acct-Input-Octets = 1198
Acct-Output-Octets = 120
Acct-Input-Packets = 12
Acct-Output-Packets = 6
Acct-Terminate-Cause = User-Request
Cisco-AVPair = "disc-cause-ext=PPP Receive Term"
Acct-Status-Type = Stop
Calling-Station-Id = "xxx2679499"
Called-Station-Id = "444"
NAS-Port-Type = Async
Cisco-AVPair = "v92-info=V.92 QC MOH/QC Short Train Success/0/0"
Cisco-NAS-Port = "Async82"
NAS-Port = 82
Connect-Info = "42666/24000 V90/V44/LAPM"
Service-Type = Framed-User
NAS-IP-Address = 193.xxx.xxx.yyy
Acct-Delay-Time = 0
Timestamp = 1302258275
Request-Authenticator = Verified

arthur
Сообщения: 9
Зарегистрирован: Пн мар 07, 2011 6:22 am
Контактная информация:

Re: ABillS v0.5

Сообщение arthur » Пт апр 08, 2011 2:43 pm

arthur писал(а):
~AsmodeuS~ писал(а):вывод радиуса покажите
и из /var/log/radius/radacct/193.xxx.xxx.yyy/auth-detail-20110408

Fri Apr 8 13:24:29 2011
Packet-Type = Access-Request
Framed-Protocol = PPP
User-Name = "test"
Calling-Station-Id = "xxx2679499"
Called-Station-Id = "444"
NAS-Port-Type = Async
Connect-Info = "49333/24000 V90/V44/LAPM"
Cisco-AVPair = "v92-info=V.92 QC MOH/QC Short Train Success/0/0"
Cisco-NAS-Port = "Async82"
NAS-Port = 82
Service-Type = Framed-User
NAS-IP-Address = 193.xxx.xxx.yyy

~AsmodeuS~
Site Admin
Сообщения: 5707
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: ABillS v0.5

Сообщение ~AsmodeuS~ » Пт апр 08, 2011 3:13 pm

из radiusd -X может ошибка там какаято

arthur
Сообщения: 9
Зарегистрирован: Пн мар 07, 2011 6:22 am
Контактная информация:

Re: ABillS v0.5

Сообщение arthur » Пт апр 08, 2011 5:27 pm

~AsmodeuS~ писал(а):из radiusd -X может ошибка там какаято
rad_recv: Access-Request packet from host 193.xxx.xxx.yyy port 1645, id=36, length=177
Framed-Protocol = PPP
User-Name = "test"
User-Password = "password"
Calling-Station-Id = "XXX2679307"
Called-Station-Id = "444"
NAS-Port-Type = Async
Connect-Info = "42666/26400 V90/V44/LAPM"
Cisco-AVPair = "v92-info=V.92 MOH/No QC Requested/0/0"
Cisco-NAS-Port = "Async88"
NAS-Port = 88
Service-Type = Framed-User
NAS-IP-Address = 193.xxx.xxx.yyy
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
Exec-Program output: Auth-Type := Accept
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
++[abills_preauth] returns ok
++[chap] returns noop
++[mschap] returns noop
[files] users: Matched entry DEFAULT at line 70
++[files] returns ok
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Exec-Program output: Session-Timeout = 86400, Auth-Type : = "Accept", NAS-Port-Type = = "Async" Port-Limit ="1", Service-Type = "Framed-User", Service-T
ype = Framed-User, Framed-Compression = Van-Jacobson-TCP-IP, Framed-Protocol = "PPP", Acct-Interim-Interval = 60, Calling-Station-Id = ~ "^(XXX2(65
....|67[7-9]...|676[7-9]..|66....))$", Framed-Protocol = PPP,
Exec-Program-Wait: plaintext: Session-Timeout = 86400, Auth-Type : = "Accept", NAS-Port-Type = = "Async" Port-Limit ="1", Service-Type = "Framed-User",
Service-Type = Framed-User, Framed-Compression = Van-Jacobson-TCP-IP, Framed-Protocol = "PPP", Acct-Interim-Interval = 60, Calling-Station-Id = ~ "
^(XXX2(65....|67[7-9]...|676[7-9]..|66....))$", Framed-Protocol = PPP,
Exec-Program: returned: 0
++[abills_auth] returns ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
Login OK: [test/password] (from client monk port 88 cli XXX2679307)
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
Sending Access-Accept of id 36 to 193.xxx.xxx.yyy port 1645
Finished request 228.
Going to the next request

~AsmodeuS~
Site Admin
Сообщения: 5707
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: ABillS v0.5

Сообщение ~AsmodeuS~ » Пн апр 11, 2011 8:17 am

arthur писал(а): Exec-Program output: Session-Timeout = 86400, Auth-Type : = "Accept", NAS-Port-Type = = "Async" Port-Limit ="1", Service-Type = "Framed-User", Service-T
ype = Framed-User, Framed-Compression = Van-Jacobson-TCP-IP, Framed-Protocol = "PPP", Acct-Interim-Interval = 60, Calling-Station-Id = ~ "^(XXX2(65
....|67[7-9]...|676[7-9]..|66....))$", Framed-Protocol = PPP,
Exec-Program-Wait: plaintext: Session-Timeout = 86400, Auth-Type : = "Accept", NAS-Port-Type = = "Async" Port-Limit ="1", Service-Type = "Framed-User",
Service-Type = Framed-User, Framed-Compression = Van-Jacobson-TCP-IP, Framed-Protocol = "PPP", Acct-Interim-Interval = 60, Calling-Station-Id = ~ "
^(XXX2(65....|67[7-9]...|676[7-9]..|66....))$", Framed-Protocol = PPP,
Exec-Program: returned: 0

есть параметры не разделённые точной их вы сами прописали их система не выдаёт NAS-Port-Type = = "Async" Port-Limit ="1"

vmart
Сообщения: 12
Зарегистрирован: Ср апр 06, 2011 6:46 am

Re: ABillS v0.5

Сообщение vmart » Пн апр 11, 2011 8:56 am

~AsmodeuS~ писал(а):
arthur писал(а): Exec-Program output: Session-Timeout = 86400, Auth-Type : = "Accept", NAS-Port-Type = = "Async" Port-Limit ="1", Service-Type = "Framed-User", Service-T
ype = Framed-User, Framed-Compression = Van-Jacobson-TCP-IP, Framed-Protocol = "PPP", Acct-Interim-Interval = 60, Calling-Station-Id = ~ "^(XXX2(65
....|67[7-9]...|676[7-9]..|66....))$", Framed-Protocol = PPP,
Exec-Program-Wait: plaintext: Session-Timeout = 86400, Auth-Type : = "Accept", NAS-Port-Type = = "Async" Port-Limit ="1", Service-Type = "Framed-User",
Service-Type = Framed-User, Framed-Compression = Van-Jacobson-TCP-IP, Framed-Protocol = "PPP", Acct-Interim-Interval = 60, Calling-Station-Id = ~ "
^(XXX2(65....|67[7-9]...|676[7-9]..|66....))$", Framed-Protocol = PPP,
Exec-Program: returned: 0

есть параметры не разделённые точной их вы сами прописали их система не выдаёт NAS-Port-Type = = "Async" Port-Limit ="1"
Да, это параметры обеспечивающие ограничение по вызывающему номеру. Без них тоже не работает.

Вот что показал debug radius на циске.

Вот лог когда идет через новый радиус и abills.
Apr 11 09:42:37.297: %ISDN-6-CONNECT: Interface Serial0:30 is now connected to xxx679499 N/A
Apr 11 09:42:51.373: RADIUS/ENCODE(000032A4): ask "login: "
Apr 11 09:42:51.373: RADIUS/ENCODE(000032A4): send packet; GET_USER
Apr 11 09:42:51.549: %LINK-3-UPDOWN: Interface Async83, changed state to up
Apr 11 09:42:51.793: RADIUS/ENCODE(000032A4):Orig. component type = ISDN
Apr 11 09:42:51.793: RADIUS(000032A4): Storing nasport 83 in rad_db
Apr 11 09:42:51.793: RADIUS(000032A4): Config NAS IP: 193.xxx.xxx.xxx
Apr 11 09:42:51.793: RADIUS/ENCODE(000032A4): acct_session_id: 12988
Apr 11 09:42:51.793: RADIUS(000032A4): sending
Apr 11 09:42:51.805: RADIUS(000032A4): Send Access-Request to 193.xxx.xxx.xxx:1812 id 1645/84, len 109
Apr 11 09:42:51.805: RADIUS: authenticator 82 9E 86 D8 97 97 30 C5 - C6 1A B9 16 64 40 B1 93
Apr 11 09:42:51.805: RADIUS: Framed-Protocol [7] 6 PPP [1]
Apr 11 09:42:51.805: RADIUS: User-Name [1] 6 "test"
Apr 11 09:42:51.805: RADIUS: User-Password [2] 18 *
Apr 11 09:42:51.805: RADIUS: Calling-Station-Id [31] 12 "xxx679499"
Apr 11 09:42:51.805: RADIUS: Called-Station-Id [30] 8 "658999"
Apr 11 09:42:51.805: RADIUS: NAS-Port-Type [61] 6 Async [0]
Apr 11 09:42:51.809: RADIUS: Vendor, Cisco [26] 15
Apr 11 09:42:51.809: RADIUS: cisco-nas-port [2] 9 "Async83"
Apr 11 09:42:51.809: RADIUS: NAS-Port [5] 6 83
Apr 11 09:42:51.809: RADIUS: Service-Type [6] 6 Framed [2]
Apr 11 09:42:51.809: RADIUS: NAS-IP-Address [4] 6 193.xxx.xxx.xxx
Apr 11 09:42:52.213: RADIUS: Received from id 1645/84 193.xxx.xxx.xxx:1812, Access-Accept, len 20
Apr 11 09:42:52.213: RADIUS: authenticator 7D A8 87 B6 8E 4B A8 FA - 4E A6 E1 4C CE 9B 42 10
Apr 11 09:42:52.213: RADIUS(000032A4): Received from id 1645/84
Apr 11 09:42:52.933: RADIUS/ENCODE(000032A4):Orig. component type = ISDN
Apr 11 09:42:52.933: RADIUS(000032A4): Using existing nas_port 83
Apr 11 09:42:52.933: RADIUS(000032A4): Config NAS IP: 193.xxx.xxx.xxx
Apr 11 09:42:52.933: RADIUS(000032A4): sending
Apr 11 09:42:52.937: RADIUS(000032A4): Send Accounting-Request to 193.xxx.xxx.xxx:1813 id 1646/107, len 160
Apr 11 09:42:52.937: RADIUS: authenticator B2 CC 72 C4 B9 69 1B FA - 17 C7 6C 35 67 4C BF 2D
Apr 11 09:42:52.937: RADIUS: Acct-Session-Id [44] 10 "000032BC"
Apr 11 09:42:52.937: RADIUS: Framed-Protocol [7] 6 PPP [1]
Apr 11 09:42:52.937: RADIUS: Framed-IP-Address [8] 6 193.xxx.xxx.xxx
Apr 11 09:42:52.937: RADIUS: User-Name [1] 6 "test"
Apr 11 09:42:52.937: RADIUS: Vendor, Cisco [26] 35
Apr 11 09:42:52.937: RADIUS: Cisco AVpair [1] 29 "connect-progress=LAN Ses Up"
Apr 11 09:42:52.937: RADIUS: Acct-Authentic [45] 6 RADIUS [1]
Apr 11 09:42:52.937: RADIUS: Acct-Status-Type [40] 6 Start [1]
Apr 11 09:42:52.937: RADIUS: Calling-Station-Id [31] 12 "xxx679499"
Apr 11 09:42:52.941: RADIUS: Called-Station-Id [30] 8 "658999"
Apr 11 09:42:52.941: RADIUS: NAS-Port-Type [61] 6 Async [0]
Apr 11 09:42:52.941: RADIUS: Vendor, Cisco [26] 15
Apr 11 09:42:52.941: RADIUS: cisco-nas-port [2] 9 "Async83"
Apr 11 09:42:52.941: RADIUS: NAS-Port [5] 6 83
Apr 11 09:42:52.941: RADIUS: Service-Type [6] 6 Framed [2]
Apr 11 09:42:52.941: RADIUS: NAS-IP-Address [4] 6 193.xxx.xxx.xxx
Apr 11 09:42:52.941: RADIUS: Acct-Delay-Time [41] 6 0
Apr 11 09:42:53.133: RADIUS: Received from id 1646/107 193.xxx.xxx.xxx:1813, Accounting-response, len 20
Apr 11 09:42:53.133: RADIUS: authenticator D4 13 43 BA 16 92 D5 9B - 88 EE 01 23 8F 69 A9 00
Apr 11 09:42:53.217: %LINEPROTO-5-UPDOWN: Line protocol on Interface Async83, changed state to up
А вот когда идет через старый радиус:
pr 11 09:52:39.709: RADIUS/ENCODE(00003304):Orig. component type = ISDN
Apr 11 09:52:39.709: RADIUS(00003304): Storing nasport 89 in rad_db
Apr 11 09:52:39.709: RADIUS(00003304): Config NAS IP: 193.xxx.xxx.xxx
Apr 11 09:52:39.709: RADIUS/ENCODE(00003304): acct_session_id: 13085
Apr 11 09:52:39.709: RADIUS(00003304): sending
Apr 11 09:52:39.709: RADIUS(00003304): Send Access-Request to 193.xxx.xxx.xxx:1812 id 1645/90, len 186
Apr 11 09:52:39.709: RADIUS: authenticator 8B 3F 2E D5 EA 68 0C EF - C6 07 B0 E3 6B 87 B3 EB
Apr 11 09:52:39.709: RADIUS: Framed-Protocol [7] 6 PPP [1]
Apr 11 09:52:39.709: RADIUS: User-Name [1] 6 "test"
Apr 11 09:52:39.709: RADIUS: User-Password [2] 18 *
Apr 11 09:52:39.709: RADIUS: Calling-Station-Id [31] 8 "xxx444"
Apr 11 09:52:39.713: RADIUS: Called-Station-Id [30] 8 "679499"
Apr 11 09:52:39.713: RADIUS: Vendor, Cisco [26] 15
Apr 11 09:52:39.713: RADIUS: cisco-nas-port [2] 9 "Async89"
Apr 11 09:52:39.713: RADIUS: NAS-Port [5] 6 89
Apr 11 09:52:39.713: RADIUS: NAS-Port-Type [61] 6 Async [0]
Apr 11 09:52:39.713: RADIUS: Connect-Info [77] 26 "44000/24000 V90/V44/LAPM"
Apr 11 09:52:39.713: RADIUS: Vendor, Cisco [26] 55
Apr 11 09:52:39.713: RADIUS: Cisco AVpair [1] 49 "v92-info=V.92 QC MOH/QC Short Train Success/0/0"
Apr 11 09:52:39.713: RADIUS: Service-Type [6] 6 Framed [2]
Apr 11 09:52:39.713: RADIUS: NAS-IP-Address [4] 6 193.xxx.xxx.xxx
Apr 11 09:52:39.725: RADIUS: Received from id 1645/90 193.xxx.xxx.xxx:1812, Access-Accept, len 90
Apr 11 09:52:39.725: RADIUS: authenticator 46 19 08 E1 38 2F DA D5 - CE E9 89 31 8E 1B A0 F2
Apr 11 09:52:39.725: RADIUS: Callback-Number [19] 8 "679499"
Apr 11 09:52:39.725: RADIUS: Vendor, Cisco [26] 38
Apr 11 09:52:39.725: RADIUS: Cisco AVpair [1] 32 "lcp:callback-dialstring=679499"
Apr 11 09:52:39.725: RADIUS: Framed-IP-Address [8] 6 255.255.255.255
Apr 11 09:52:39.725: RADIUS: Framed-Protocol [7] 6 PPP [1]
Apr 11 09:52:39.725: RADIUS: Service-Type [6] 6 Framed [2]
Apr 11 09:52:39.725: RADIUS: Port-Limit [62] 6 1
Apr 11 09:52:39.725: RADIUS(00003304): Received from id 1645/90
Apr 11 09:52:40.317: RADIUS/ENCODE(00003304):Orig. component type = ISDN
Apr 11 09:52:40.317: RADIUS(00003304): Using existing nas_port 89
Apr 11 09:52:40.317: RADIUS(00003304): Config NAS IP: 193.xxx.xxx.xxx
Apr 11 09:52:40.317: RADIUS(00003304): sending
Apr 11 09:52:40.321: RADIUS(00003304): Send Accounting-Request to 193.xxx.xxx.xxx:1813 id 1646/111, len 237
Apr 11 09:52:40.321: RADIUS: authenticator 6E 81 B2 ED 6D B0 0C E2 - 64 A2 63 9F 93 44 5D 63
Apr 11 09:52:40.321: RADIUS: Acct-Session-Id [44] 10 "0000331D"
Apr 11 09:52:40.321: RADIUS: Framed-Protocol [7] 6 PPP [1]
Apr 11 09:52:40.321: RADIUS: Framed-IP-Address [8] 6 193.xxx.xxx.xxx
Apr 11 09:52:40.321: RADIUS: User-Name [1] 6 "test"
Apr 11 09:52:40.321: RADIUS: Vendor, Cisco [26] 35
Apr 11 09:52:40.321: RADIUS: Cisco AVpair [1] 29 "connect-progress=LAN Ses Up"
Apr 11 09:52:40.321: RADIUS: Acct-Authentic [45] 6 RADIUS [1]
Apr 11 09:52:40.321: RADIUS: Acct-Status-Type [40] 6 Start [1]
Apr 11 09:52:40.321: RADIUS: Calling-Station-Id [31] 8 "xxx444"
Apr 11 09:52:40.321: RADIUS: Called-Station-Id [30] 8 "679499"
Apr 11 09:52:40.321: RADIUS: Vendor, Cisco [26] 15
Apr 11 09:52:40.321: RADIUS: cisco-nas-port [2] 9 "Async89"
Apr 11 09:52:40.321: RADIUS: NAS-Port [5] 6 89
Apr 11 09:52:40.321: RADIUS: NAS-Port-Type [61] 6 Async [0]
Apr 11 09:52:40.321: RADIUS: Connect-Info [77] 26 "44000/24000 V90/V44/LAPM"
Apr 11 09:52:40.325: RADIUS: Vendor, Cisco [26] 55
Apr 11 09:52:40.325: RADIUS: Cisco AVpair [1] 49 "v92-info=V.92 QC MOH/QC Short Train Success/0/0"
Apr 11 09:52:40.325: RADIUS: Service-Type [6] 6 Framed [2]
Apr 11 09:52:40.325: RADIUS: NAS-IP-Address [4] 6 193.xxx.xxx.xxx
Apr 11 09:52:40.325: RADIUS: Acct-Delay-Time [41] 6 0
Apr 11 09:52:40.341: RADIUS: Received from id 1646/111 193.xxx.xxx.xxx:1813, Accounting-response, len 20
Apr 11 09:52:40.341: RADIUS: authenticator D5 DF 38 4D 32 3E 27 53 - B0 CD F1 6D 1A C3 29 44
Как видно из логов, при работе через абилс радиус не передает параметры циске что нужно применять callback-script и перезванивать.

vmart
Сообщения: 12
Зарегистрирован: Ср апр 06, 2011 6:46 am

Re: ABillS v0.5

Сообщение vmart » Пн апр 11, 2011 10:56 am

Попробовал еще такой вариант. В тарифном плане в радиус параметрах вставил "Cisco-AVPair = "lcp:callback-dialstring=" и колбек отработал как надо. Т.е. радиус и НАС настроены как надо и проблема в птичке "callback" при активировании который должны передаваться определенные параметры радиуса, чего не происходит :(
Понятно что это не вариант и что в данном случае параметр передается на всех пользователей которые подключены на конкретный тарифный план. Использовал только для теста. :)

~AsmodeuS~
Site Admin
Сообщения: 5707
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: ABillS v0.5

Сообщение ~AsmodeuS~ » Пн апр 11, 2011 2:05 pm

radtest.sh еще дайте

vmart
Сообщения: 12
Зарегистрирован: Ср апр 06, 2011 6:46 am

Re: ABillS v0.5

Сообщение vmart » Пн апр 11, 2011 2:14 pm

~AsmodeuS~ писал(а):radtest.sh еще дайте

[root@server]# ./radtest.sh auth
/usr/abills/libexec
USER_NAME (test):
Framed-Compression = Van-Jacobson-TCP-IP,
Session-Timeout = 86400,
Acct-Interim-Interval = 60,
Framed-Protocol = PPP,
Service-Type = Framed-User,

Auth test end

~AsmodeuS~
Site Admin
Сообщения: 5707
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: ABillS v0.5

Сообщение ~AsmodeuS~ » Пн апр 11, 2011 2:26 pm

vmart писал(а):
~AsmodeuS~ писал(а):radtest.sh еще дайте

[root@server]# ./radtest.sh auth
/usr/abills/libexec
USER_NAME (test):
Framed-Compression = Van-Jacobson-TCP-IP,
Session-Timeout = 86400,
Acct-Interim-Interval = 60,
Framed-Protocol = PPP,
Service-Type = Framed-User,

Auth test end
У вас тут меньше параметров чем передаются через radius думаю стоит внести еще доп что видно біло всю картину

Ответить