forum.bitel.ru
http://forum.bitel.ru/

[feature request] access.sh kill
http://forum.bitel.ru/viewtopic.php?f=44&t=9420
Страница 1 из 1

Автор:  Cromeshnic [ 08 июл 2014, 13:36 ]
Заголовок сообщения:  [feature request] access.sh kill

Фичреквест: сделайте kill сессий через командную строку в access.sh
Сейчас только drop можно делать (в базе):

Код:
# ./access.sh help
Java Runtime: Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM [1.6.0_22] /opt/sun-jdk-1.6.0.22/jre
  Runtime name: 18079@host
  Java endorsed dirs: /lib/endorsed:/etc/java-config-2/current-system-vm/lib/endorsed
  OS: Linux 2.6.33-gentoo [amd64], file.encoding: UTF-8, user.name: root
  Heap sizes: current=245248k  free=243967k  max=3639104k
Help:
help - show Help
servmap - show service cache
flushDataLoggers - flush buffer of flow and radius dataLoggers on disk
conpool - db connection pool tracebanlist - show antispam ban list
conlist - show connections list
condrop <id> - drop connection with id
status - show Application status
gc - call garbage collector


А в DialUp можно было делать kill:
Код:
# ./radius.sh help

Usage: [start|stop|help|status|ps|kill|flush_script_cache|sysvar|javavar|conpool]
Parametrs:
         help|?                      - show this help
         start                       - starting RADIUS server
         stop                        - stopping RADIUS server
         status                      - current RADIUS status
         sysvar                      - show system variables
         javavar                     - show java properties
         conpool                     - show connection pool trace, need option db.trace=1 in radius.properties
######## Only for BGRadiusDialup #########
         banlist   - show antispam list
         ps        - active connections list
         kill [-nas <NAS identifier>] [-login <#login>]
                   - kill connections by filter
         kill doesn't work with empty params list

Example: radius.sh start

Example: radius.sh kill -nas supernas.bayan.com -login 11


v 5.2

Там не написано в help dialup, но drop тоже есть

Страница 1 из 1 Часовой пояс: UTC + 5 часов [ Летнее время ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/