Здравствуйте. Подскажите пожалуйста какую нибудь программу контроля, учета трафика, с блокировкой пользователя при превышении выделяемого объема трафика. Сначала хотел поставить netams, но во время установки появились вот такие ошибкиmemory.c: In function 'int cShowDebugMemory(cli_def*, char*, char**, int)':
memory.c:68: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o events.o events.c
events.c:14: warning: deprecated conversion from string constant to 'char*'
events.c:14: warning: deprecated conversion from string constant to 'char*'
events.c:14: warning: deprecated conversion from string constant to 'char*'
events.c:14: warning: deprecated conversion from string constant to 'char*'
events.c:14: warning: deprecated conversion from string constant to 'char*'
events.c:14: warning: deprecated conversion from string constant to 'char*'
events.c: In function 'void LogEvent(event_type, oid, oid, oid, const char*, ...)':
events.c:34: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o html.o html.c
html.c: In function 'void sHtmlAction(Service_Html*)':
html.c:87: warning: deprecated conversion from string constant to 'char*'
html.c:91: warning: deprecated conversion from string constant to 'char*'
html.c:96: warning: deprecated conversion from string constant to 'char*'
html.c:157: warning: deprecated conversion from string constant to 'char*'
html.c:193: warning: deprecated conversion from string constant to 'char*'
html.c:195: warning: deprecated conversion from string constant to 'char*'
html.c:197: warning: deprecated conversion from string constant to 'char*'
html.c:204: warning: deprecated conversion from string constant to 'char*'
html.c:206: warning: deprecated conversion from string constant to 'char*'
html.c:230: warning: deprecated conversion from string constant to 'char*'
html.c:580: warning: deprecated conversion from string constant to 'char*'
html.c: In function 'void sHPrintTHeaderTopItem(FILE*, html_top_item*)':
html.c:923: warning: deprecated conversion from string constant to 'char*'
html.c:926: warning: deprecated conversion from string constant to 'char*'
html.c: In function 'void cShowBillingHtml(FILE*, Service_Html*)':
html.c:1061: warning: deprecated conversion from string constant to 'char*'
html.c:1064: warning: deprecated conversion from string constant to 'char*'
html.c:1067: warning: deprecated conversion from string constant to 'char*'
html.c: In function 'void cShowBillingAccountsHtml(FILE*, Service_Html*, tm*)':
html.c:1109: warning: deprecated conversion from string constant to 'char*'
html.c:1112: warning: deprecated conversion from string constant to 'char*'
html.c:1115: warning: deprecated conversion from string constant to 'char*'
html.c:1127: warning: deprecated conversion from string constant to 'char*'
html.c:1182: warning: deprecated conversion from string constant to 'char*'
html.c:1186: warning: deprecated conversion from string constant to 'char*'
html.c:1195: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o bw.o bw.c
bw.c: In function 'void getBW(BWinfo*, cli_def*)':
bw.c:231: warning: deprecated conversion from string constant to 'char*'
bw.c:233: warning: deprecated conversion from string constant to 'char*'
bw.c:234: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o ds_ulog.o ds_ulog.c
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o ds_netgraph.o ds_netgraph.c
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o attrlist.o attrlist.c
attrlist.c: In function 'int setAttr(Attribute**, cli_def*, char**)':
attrlist.c:198: warning: deprecated conversion from string constant to 'char*'
attrlist.c:219: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o time.o time.c
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o st_radius.o st_radius.c
st_radius.c: In member function 'virtual int RADIUS_Storage::ProcessCfg(cli_def*, char**, int, u_char)':
st_radius.c:100: warning: deprecated conversion from string constant to 'char*'
st_radius.c:104: warning: deprecated conversion from string constant to 'char*'
st_radius.c:109: warning: deprecated conversion from string constant to 'char*'
st_radius.c:113: warning: deprecated conversion from string constant to 'char*'
st_radius.c:117: warning: deprecated conversion from string constant to 'char*'
st_radius.c:121: warning: deprecated conversion from string constant to 'char*'
st_radius.c: In member function 'virtual void RADIUS_Storage::ShowCfg(cli_def*, u_char)':
st_radius.c:130: warning: deprecated conversion from string constant to 'char*'
st_radius.c:131: warning: deprecated conversion from string constant to 'char*'
st_radius.c:132: warning: deprecated conversion from string constant to 'char*'
st_radius.c:133: warning: deprecated conversion from string constant to 'char*'
st_radius.c:134: warning: deprecated conversion from string constant to 'char*'
st_radius.c:138: warning: deprecated conversion from string constant to 'char*'
st_radius.c:140: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o s_acl_server.o s_acl_server.c
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:35: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c: In constructor 'Service_AclServer::Service_AclServer()':
s_acl_server.c:69: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c: In member function 'virtual int Service_AclServer::ProcessCfg(cli_def*, char**, int, u_char)':
s_acl_server.c:127: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c: In member function 'virtual void Service_AclServer::Worker()':
s_acl_server.c:161: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c: In member function 'virtual void Service_AclServer::ShowCfg(cli_def*, u_char)':
s_acl_server.c:228: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:229: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:230: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:231: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:232: warning: deprecated conversion from string constant to 'char*'
s_acl_server.c:233: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o mutex.o mutex.c
mutex.c: In function 'int cShowDebugMutex(cli_def*, char*, char**, int)':
mutex.c:294: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o lang.o lang.c
lang.c:14: warning: deprecated conversion from string constant to 'char*'
lang.c:14: warning: deprecated conversion from string constant to 'char*'
lang.c:15: warning: deprecated conversion from string constant to 'char*'
lang.c:15: warning: deprecated conversion from string constant to 'char*'
lang.c: In function 'int cLang(cli_def*, char*, char**, int)':
lang.c:24: warning: deprecated conversion from string constant to 'char*'
lang.c:29: warning: deprecated conversion from string constant to 'char*'
lang.c: In function 'char* Locale(unsigned int, int)':
lang.c:42: warning: deprecated conversion from string constant to 'char*'
lang.c: At global scope:
lang.c:234: warning: deprecated conversion from string constant to 'char*'
lang.c:234: warning: deprecated conversion from string constant to 'char*'
lang.c:234: warning: deprecated conversion from string constant to 'char*'
lang.c:234: warning: deprecated conversion from string constant to 'char*'
lang.c:234: warning: deprecated conversion from string constant to 'char*'
lang.c:234: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o cli.o cli.c
cli.c:17: warning: deprecated conversion from string constant to 'char*'
cli.c:17: warning: deprecated conversion from string constant to 'char*'
cli.c:144: warning: deprecated conversion from string constant to 'char*'
cli.c:144: warning: deprecated conversion from string constant to 'char*'
cli.c:144: warning: deprecated conversion from string constant to 'char*'
cli.c:144: warning: deprecated conversion from string constant to 'char*'
cli.c:144: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o layer7.o layer7.c
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o ds_raw.o ds_raw.c
ds_raw.c: In function 'int cRawData_prepared(cli_def*, ds_raw_data*)':
ds_raw.c:98: warning: deprecated conversion from string constant to 'char*'
ds_raw.c:103: warning: deprecated conversion from string constant to 'char*'
ds_raw.c:112: warning: deprecated conversion from string constant to 'char*'
g++ -g -Wall -pipe -I/usr/local/include -I../lib -DLINUX -D_BSD_SOURCE -I/usr/include/pcap -I/usr/libipq -I../lib/libipulog/include -DIPTBL_NONE -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/include/mysql -DHAVE_BILLING -DDEBUG -DUSE_LIBRADIUS -D_REENTRANT -D_THREAD_SAFE -c -o list.o list.c
./versions.sh /etc/netams.conf /var/log/netams.log
linking for version 3446.1
g++ billing.o s_billing.o main.o common.o versions.o connections.o security.o services.o s_server.o users.o net_units.o s_processor.o messages_fifo.o s_datasource.o policy.o s_storage.o st_hash.o st_sql.o p_prefix.o s_alerter.o s_scheduler.o ds_netflow.o s_html.o s_monitor.o s_quotactl.o s_quota.o st_sql_mysql.o st_sql_oracle.o st_sql_postgres.o iptree.o s_login.o flow.o flowengine.o ds_ipq.o ds_libpcap.o ds_ipfw.o memory.o events.o html.o bw.o ds_ulog.o ds_netgraph.o attrlist.o time.o st_radius.o s_acl_server.o mutex.o lang.o cli.o layer7.o ds_raw.o list.o versions_build.o -L../lib -lnetams -pthread -lpcap -lcrypt -lmysqlclient -L/usr/lib -lradius -L../lib -lcli -lcrypto -o netams
make[1]: Leaving directory `/home/prospekt/Desktop/netams-3.4.1rc1/src'
Вот нашелеще одну вроде не плохую програмку учета-контроля трафика Stargazer, но при ее установке опят же происходит что то мне не понятное
#############################################################################
Building STG 2.4 for Linux
#############################################################################
Checking for -lexpat... no
Checking for -lfbclient... no
Checking for -lmysqlclient... yes
-lexpat not found!
Хочу поставить ipcad, но из того что успел про него прочитать, он вроде ведет только учет трафика и все? Может есть что-то еще не очень сложное при настройке, с возможным расширением(к примеру прикрутить веб статистику для юзеров).