Jump to content

Recommended Posts

Posted

Здравствуйте.

Много раз возникает ситуация, что пользователь не присутствует на NAS сервере, а radwho показывает что пользователь залогинился и находится на NAS`е.

Скорее всего это происходит из-за плохого канала связи между NAS и Radius.

Подскажите как можно с радиуса непосредственно скинуть пользователя? radzap?

Posted

Я дико извиняюсь, а можно пример использования, а то у меня с ним что-то не получается.

Posted

iserv ~ # radwho | grep test

test test PPP S19 Wed 18:48 10.0.11.2 172.20.11.253

iserv ~ # radzap -h

Usage: radzap [options] server[:port] secret

-d raddb_directory: directory where radiusd.conf is located

-N nas_ip_address: IP address of the NAS to zap.

-P nas_port: NAS port that the user is logged into.

-u username: Name of user to zap (case insensitive).

-U username: like -u, but case-sensitive.

-x : more debugging output

iserv ~ # radzap -u test 127.0.0.1 my_radius_secret

Received response ID 180, code 5, length = 20

iserv ~ # radwho | grep test

iserv ~ #

  • 2 weeks later...
Posted

Можно еще пользоваться accounting update, если оно поддерживается NAS. Очень удобно :)

В микротике есть такое?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...